Ignore:
Timestamp:
Mar 11, 2009 3:15:30 PM (15 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r1282 r1309  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.63 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 Free Software Foundation, Inc.
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 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   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20  # Pre-4.2 versions of Zsh do 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
     42as_nl='
     43'
     44export as_nl
     45# Printing a long string crashes Solaris 7 /usr/bin/printf.
     46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49if (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'
     52else
     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'
     72fi
     73
    4274# The user is always right.
    4375if test "${PATH_SEPARATOR+set}" != set; then
    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
     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  }
    5381fi
    5482
     
    6694# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    6795# splitting by setting IFS to empty value.)
    68 as_nl='
    69 '
    7096IFS=" ""        $as_nl"
    7197
     
    90116fi
    91117if test ! -f "$as_myself"; then
    92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    93119  { (exit 1); exit 1; }
    94120fi
     
    103129
    104130# NLS nuisances.
    105 for 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
    109 do
    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
    115 done
     131LC_ALL=C
     132export LC_ALL
     133LANGUAGE=C
     134export LANGUAGE
    116135
    117136# Required to use basename.
     
    135154         X"$0" : 'X\(//\)$' \| \
    136155         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
     156$as_echo X/"$0" |
    138157    sed '/^.*\/\([^/][^/]*\)\/*$/{
    139158            s//\1/
     
    161180fi
    162181
    163   if test $as_have_required = yes &&     (eval ":
     182  if test $as_have_required = yes &&     (eval ":
    164183(as_func_return () {
    165184  (exit \$1)
     
    243262  emulate sh
    244263  NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    246265  # is contrary to our usage.  Disable this feature.
    247266  alias -g '${1+"$@"}'='"$@"'
     
    264283  emulate sh
    265284  NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    267286  # is contrary to our usage.  Disable this feature.
    268287  alias -g '${1+"$@"}'='"$@"'
     
    344363      if test "x$CONFIG_SHELL" != x; then
    345364  for as_var in BASH_ENV ENV
    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+"$@"}
     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+"$@"}
    350369fi
    351370
     
    416435test \$exitcode = 0") || {
    417436  echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
     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.
    421441}
    422442
     
    454474    ' >$as_me.lineno &&
    455475  chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457477   { (exit 1); exit 1; }; }
    458478
     
    482502  ECHO_N='-n';;
    483503esac
    484 
    485504if expr a : '\(a\)' >/dev/null 2>&1 &&
    486505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    495514else
    496515  rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if 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 ||
     516  mkdir conf$$.dir 2>/dev/null
     517fi
     518if (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
    507530    as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
     531  fi
    510532else
    511533  as_ln_s='cp -p'
     
    532554    eval sh -c '\''
    533555      if test -d "$1"; then
    534         test -d "$1/.";
     556        test -d "$1/.";
    535557      else
    536558        case $1 in
    537         -*)set "./$1";;
     559        -*)set "./$1";;
    538560        esac;
    539561        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     
    615637#endif"
    616638
    617 ac_subst_vars='SHELL
     639ac_subst_vars='LTLIBOBJS
     640LIBOBJS
     641LD_RPATH
     642CG_DIR
     643DX_DIR
     644RP_DIR
     645RP2_INCL_DIR
     646TCL_LIB_SPEC
     647TCL_INC_SPEC
     648TCL_VERSION
     649SUBDIRS
     650EGREP
     651GREP
     652CXXCPP
     653ac_ct_CXX
     654CXXFLAGS
     655CXX
     656CPP
     657OBJEXT
     658EXEEXT
     659ac_ct_CC
     660CPPFLAGS
     661LDFLAGS
     662CFLAGS
     663CC
     664MKDIR_P
     665LN_S
     666RANLIB
     667INSTALL_DATA
     668INSTALL_SCRIPT
     669INSTALL_PROGRAM
     670SHLIB_SUFFIX
     671SHLIB_LDFLAGS
     672SHLIB_CFLAGS
     673SHLIB_LD
     674STLIB_LD
     675CFLAGS_OPTIMIZE
     676CFLAGS_DEBUG
     677VERSION
     678target_alias
     679host_alias
     680build_alias
     681LIBS
     682ECHO_T
     683ECHO_N
     684ECHO_C
     685DEFS
     686mandir
     687localedir
     688libdir
     689psdir
     690pdfdir
     691dvidir
     692htmldir
     693infodir
     694docdir
     695oldincludedir
     696includedir
     697localstatedir
     698sharedstatedir
     699sysconfdir
     700datadir
     701datarootdir
     702libexecdir
     703sbindir
     704bindir
     705program_transform_name
     706prefix
     707exec_prefix
     708PACKAGE_BUGREPORT
     709PACKAGE_STRING
     710PACKAGE_VERSION
     711PACKAGE_TARNAME
     712PACKAGE_NAME
    618713PATH_SEPARATOR
    619 PACKAGE_NAME
    620 PACKAGE_TARNAME
    621 PACKAGE_VERSION
    622 PACKAGE_STRING
    623 PACKAGE_BUGREPORT
    624 exec_prefix
    625 prefix
    626 program_transform_name
    627 bindir
    628 sbindir
    629 libexecdir
    630 datarootdir
    631 datadir
    632 sysconfdir
    633 sharedstatedir
    634 localstatedir
    635 includedir
    636 oldincludedir
    637 docdir
    638 infodir
    639 htmldir
    640 dvidir
    641 pdfdir
    642 psdir
    643 libdir
    644 localedir
    645 mandir
    646 DEFS
    647 ECHO_C
    648 ECHO_N
    649 ECHO_T
    650 LIBS
    651 build_alias
    652 host_alias
    653 target_alias
    654 VERSION
    655 CC
    656 CFLAGS
    657 LDFLAGS
    658 CPPFLAGS
    659 ac_ct_CC
    660 EXEEXT
    661 OBJEXT
    662 RANLIB
    663 AR
    664 CPP
    665 GREP
    666 EGREP
    667 DL_LIBS
    668 DL_OBJS
    669 PLAT_OBJS
    670 PLAT_SRCS
    671 CFLAGS_DEBUG
    672 CFLAGS_OPTIMIZE
    673 CFLAGS_WARNING
    674 LDFLAGS_DEBUG
    675 LDFLAGS_OPTIMIZE
    676 CC_SEARCH_FLAGS
    677 LD_SEARCH_FLAGS
    678 STLIB_LD
    679 SHLIB_LD
    680 TCL_SHLIB_LD_EXTRAS
    681 TK_SHLIB_LD_EXTRAS
    682 SHLIB_LD_LIBS
    683 SHLIB_CFLAGS
    684 SHLIB_SUFFIX
    685 MAKE_LIB
    686 MAKE_STUB_LIB
    687 INSTALL_LIB
    688 INSTALL_STUB_LIB
    689 SHLIB_LDFLAGS
    690 INSTALL_PROGRAM
    691 INSTALL_SCRIPT
    692 INSTALL_DATA
    693 LN_S
    694 CXX
    695 CXXFLAGS
    696 ac_ct_CXX
    697 CXXCPP
    698 SUBDIRS
    699 TCL_VERSION
    700 TCL_INC_SPEC
    701 TCL_LIB_SPEC
    702 RP2_INCL_DIR
    703 RP_DIR
    704 DX_DIR
    705 FFMPEG_DIR
    706 CG_DIR
    707 LD_RPATH
    708 LIBOBJS
    709 LTLIBOBJS'
     714SHELL'
    710715ac_subst_files=''
     716ac_user_opts='
     717enable_option_checking
     718with_tcllib
     719with_rappture
     720'
    711721      ac_precious_vars='build_alias
    712722host_alias
     
    727737ac_init_help=
    728738ac_init_version=false
     739ac_unrecognized_opts=
     740ac_unrecognized_sep=
    729741# The variables have the same names as the options, with
    730742# dashes changed to underlines.
     
    825837
    826838  -disable-* | --disable-*)
    827     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     839    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    828840    # Reject names that are not valid shell variable names.
    829     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    830       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     841    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     842      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    831843   { (exit 1); exit 1; }; }
    832     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    833     eval enable_$ac_feature=no ;;
     844    ac_useropt_orig=$ac_useropt
     845    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     846    case $ac_user_opts in
     847      *"
     848"enable_$ac_useropt"
     849"*) ;;
     850      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     851         ac_unrecognized_sep=', ';;
     852    esac
     853    eval enable_$ac_useropt=no ;;
    834854
    835855  -docdir | --docdir | --docdi | --doc | --do)
     
    844864
    845865  -enable-* | --enable-*)
    846     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     866    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    847867    # Reject names that are not valid shell variable names.
    848     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    849       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     868    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     869      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    850870   { (exit 1); exit 1; }; }
    851     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    852     eval enable_$ac_feature=\$ac_optarg ;;
     871    ac_useropt_orig=$ac_useropt
     872    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     873    case $ac_user_opts in
     874      *"
     875"enable_$ac_useropt"
     876"*) ;;
     877      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     878         ac_unrecognized_sep=', ';;
     879    esac
     880    eval enable_$ac_useropt=\$ac_optarg ;;
    853881
    854882  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    10411069
    10421070  -with-* | --with-*)
    1043     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1071    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    10441072    # Reject names that are not valid shell variable names.
    1045     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1046       { echo "$as_me: error: invalid package name: $ac_package" >&2
     1073    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1074      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    10471075   { (exit 1); exit 1; }; }
    1048     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1049     eval with_$ac_package=\$ac_optarg ;;
     1076    ac_useropt_orig=$ac_useropt
     1077    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1078    case $ac_user_opts in
     1079      *"
     1080"with_$ac_useropt"
     1081"*) ;;
     1082      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1083         ac_unrecognized_sep=', ';;
     1084    esac
     1085    eval with_$ac_useropt=\$ac_optarg ;;
    10501086
    10511087  -without-* | --without-*)
    1052     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1088    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    10531089    # Reject names that are not valid shell variable names.
    1054     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1055       { echo "$as_me: error: invalid package name: $ac_package" >&2
     1090    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1091      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    10561092   { (exit 1); exit 1; }; }
    1057     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1058     eval with_$ac_package=no ;;
     1093    ac_useropt_orig=$ac_useropt
     1094    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1095    case $ac_user_opts in
     1096      *"
     1097"with_$ac_useropt"
     1098"*) ;;
     1099      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1100         ac_unrecognized_sep=', ';;
     1101    esac
     1102    eval with_$ac_useropt=no ;;
    10591103
    10601104  --x)
     
    10761120    x_libraries=$ac_optarg ;;
    10771121
    1078   -*) { echo "$as_me: error: unrecognized option: $ac_option
     1122  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    10791123Try \`$0 --help' for more information." >&2
    10801124   { (exit 1); exit 1; }; }
     
    10851129    # Reject names that are not valid shell variable names.
    10861130    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1087       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1131      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    10881132   { (exit 1); exit 1; }; }
    10891133    eval $ac_envvar=\$ac_optarg
     
    10921136  *)
    10931137    # FIXME: should be removed in autoconf 3.0.
    1094     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1138    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    10951139    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1096       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1140      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    10971141    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    10981142    ;;
     
    11031147if test -n "$ac_prev"; then
    11041148  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1105   { echo "$as_me: error: missing argument to $ac_option" >&2
     1149  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    11061150   { (exit 1); exit 1; }; }
    11071151fi
    11081152
    1109 # Be sure to have absolute directory names.
     1153if test -n "$ac_unrecognized_opts"; then
     1154  case $enable_option_checking in
     1155    no) ;;
     1156    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1157   { (exit 1); exit 1; }; } ;;
     1158    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1159  esac
     1160fi
     1161
     1162# Check all directory arguments for consistency.
    11101163for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    11111164                datadir sysconfdir sharedstatedir localstatedir includedir \
     
    11141167do
    11151168  eval ac_val=\$$ac_var
     1169  # Remove trailing slashes.
     1170  case $ac_val in
     1171    */ )
     1172      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1173      eval $ac_var=\$ac_val;;
     1174  esac
     1175  # Be sure to have absolute directory names.
    11161176  case $ac_val in
    11171177    [\\/$]* | ?:[\\/]* )  continue;;
    11181178    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11191179  esac
    1120   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1180  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    11211181   { (exit 1); exit 1; }; }
    11221182done
     
    11331193  if test "x$build_alias" = x; then
    11341194    cross_compiling=maybe
    1135     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1195    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    11361196    If a cross compiler is detected then cross compile mode will be used." >&2
    11371197  elif test "x$build_alias" != "x$host_alias"; then
     
    11491209ac_ls_di=`ls -di .` &&
    11501210ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1151   { echo "$as_me: error: Working directory cannot be determined" >&2
     1211  { $as_echo "$as_me: error: working directory cannot be determined" >&2
    11521212   { (exit 1); exit 1; }; }
    11531213test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1154   { echo "$as_me: error: pwd does not report name of working directory" >&2
     1214  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    11551215   { (exit 1); exit 1; }; }
    11561216
     
    11601220  ac_srcdir_defaulted=yes
    11611221  # Try the directory containing this script, then the parent directory.
    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 ||
    1167 echo X"$0" |
     1222  ac_confdir=`$as_dirname -- "$as_myself" ||
     1223$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1224         X"$as_myself" : 'X\(//\)[^/]' \| \
     1225         X"$as_myself" : 'X\(//\)$' \| \
     1226         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1227$as_echo X"$as_myself" |
    11681228    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    11691229            s//\1/
     
    11921252if test ! -r "$srcdir/$ac_unique_file"; then
    11931253  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1194   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1254  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    11951255   { (exit 1); exit 1; }; }
    11961256fi
    11971257ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    11981258ac_abs_confdir=`(
    1199         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
     1259        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    12001260   { (exit 1); exit 1; }; }
    12011261        pwd)`
     
    12461306Installation directories:
    12471307  --prefix=PREFIX         install architecture-independent files in PREFIX
    1248                           [$ac_default_prefix]
     1308                          [$ac_default_prefix]
    12491309  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1250                           [PREFIX]
     1310                          [PREFIX]
    12511311
    12521312By default, \`make install' will install all the files in
     
    12581318
    12591319Fine tuning of the installation directories:
    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]
     1320  --bindir=DIR            user executables [EPREFIX/bin]
     1321  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1322  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1323  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1324  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1325  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1326  --libdir=DIR            object code libraries [EPREFIX/lib]
     1327  --includedir=DIR        C header files [PREFIX/include]
     1328  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1329  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1330  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1331  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1332  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1333  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1334  --docdir=DIR            documentation root [DATAROOTDIR/doc/vizservers]
     1335  --htmldir=DIR           html documentation [DOCDIR]
     1336  --dvidir=DIR            dvi documentation [DOCDIR]
     1337  --pdfdir=DIR            pdf documentation [DOCDIR]
     1338  --psdir=DIR             ps documentation [DOCDIR]
    12791339_ACEOF
    12801340
     
    12881348   esac
    12891349  cat <<\_ACEOF
    1290 
    1291 Optional Features:
    1292   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    1293   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    1294   --enable-64bit          enable 64bit support (where applicable)
    1295   --enable-64bit-vis      enable 64bit Sparc VIS support
    1296   --enable-corefoundation use CoreFoundation API --enable-corefoundation
    1297   --disable-load          disallow dynamic loading and "load" command
    12981350
    12991351Optional Packages:
     
    13291381  # If there are subdirs, report their specific --help.
    13301382  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1331     test -d "$ac_dir" || continue
     1383    test -d "$ac_dir" ||
     1384      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1385      continue
    13321386    ac_builddir=.
    13331387
     
    13351389.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    13361390*)
    1337   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     1391  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    13381392  # A ".." for each directory in $ac_dir_suffix.
    1339   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1393  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    13401394  case $ac_top_builddir_sub in
    13411395  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    13731427      $SHELL "$ac_srcdir/configure" --help=recursive
    13741428    else
    1375       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1429      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    13761430    fi || ac_status=$?
    13771431    cd "$ac_pwd" || { ac_status=$?; break; }
     
    13831437  cat <<\_ACEOF
    13841438vizservers configure 0.1
    1385 generated by GNU Autoconf 2.61
     1439generated by GNU Autoconf 2.63
    13861440
    13871441Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1388 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     14422002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    13891443This configure script is free software; the Free Software Foundation
    13901444gives unlimited permission to copy, distribute and modify it.
     
    13971451
    13981452It was created by vizservers $as_me 0.1, which was
    1399 generated by GNU Autoconf 2.61.  Invocation command line was
     1453generated by GNU Autoconf 2.63.  Invocation command line was
    14001454
    14011455  $ $0 $@
     
    14331487  IFS=$as_save_IFS
    14341488  test -z "$as_dir" && as_dir=.
    1435   echo "PATH: $as_dir"
     1489  $as_echo "PATH: $as_dir"
    14361490done
    14371491IFS=$as_save_IFS
     
    14681522      continue ;;
    14691523    *\'*)
    1470       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1524      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    14711525    esac
    14721526    case $ac_pass in
     
    15201574    *${as_nl}*)
    15211575      case $ac_var in #(
    1522       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1576      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     1577$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    15241578      esac
    15251579      case $ac_var in #(
    15261580      _ | IFS | as_nl) ;; #(
     1581      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    15271582      *) $as_unset $ac_var ;;
    15281583      esac ;;
     
    15541609      eval ac_val=\$$ac_var
    15551610      case $ac_val in
    1556       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1611      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    15571612      esac
    1558       echo "$ac_var='\''$ac_val'\''"
     1613      $as_echo "$ac_var='\''$ac_val'\''"
    15591614    done | sort
    15601615    echo
     
    15711626        eval ac_val=\$$ac_var
    15721627        case $ac_val in
    1573         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1628        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    15741629        esac
    1575         echo "$ac_var='\''$ac_val'\''"
     1630        $as_echo "$ac_var='\''$ac_val'\''"
    15761631      done | sort
    15771632      echo
     
    15891644    fi
    15901645    test "$ac_signal" != 0 &&
    1591       echo "$as_me: caught signal $ac_signal"
    1592     echo "$as_me: exit $exit_status"
     1646      $as_echo "$as_me: caught signal $ac_signal"
     1647    $as_echo "$as_me: exit $exit_status"
    15931648  } >&5
    15941649  rm -f core *.core core.conftest.* &&
     
    16321687
    16331688# Let the site file select an alternate cache file if it wants to.
    1634 # Prefer explicitly selected file to automatically selected ones.
     1689# Prefer an explicitly selected file to automatically selected ones.
     1690ac_site_file1=NONE
     1691ac_site_file2=NONE
    16351692if test -n "$CONFIG_SITE"; then
    1636   set x "$CONFIG_SITE"
     1693  ac_site_file1=$CONFIG_SITE
    16371694elif test "x$prefix" != xNONE; then
    1638   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1639 else
    1640   set x "$ac_default_prefix/share/config.site" \
    1641         "$ac_default_prefix/etc/config.site"
    1642 fi
    1643 shift
    1644 for ac_site_file
     1695  ac_site_file1=$prefix/share/config.site
     1696  ac_site_file2=$prefix/etc/config.site
     1697else
     1698  ac_site_file1=$ac_default_prefix/share/config.site
     1699  ac_site_file2=$ac_default_prefix/etc/config.site
     1700fi
     1701for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    16451702do
     1703  test "x$ac_site_file" = xNONE && continue
    16461704  if test -r "$ac_site_file"; then
    1647     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1648 echo "$as_me: loading site script $ac_site_file" >&6;}
     1705    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1706$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    16491707    sed 's/^/| /' "$ac_site_file" >&5
    16501708    . "$ac_site_file"
     
    16561714  # files actually), so we avoid doing that.
    16571715  if test -f "$cache_file"; then
    1658     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1659 echo "$as_me: loading cache $cache_file" >&6;}
     1716    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1717$as_echo "$as_me: loading cache $cache_file" >&6;}
    16601718    case $cache_file in
    16611719      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     
    16641722  fi
    16651723else
    1666   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1667 echo "$as_me: creating cache $cache_file" >&6;}
     1724  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1725$as_echo "$as_me: creating cache $cache_file" >&6;}
    16681726  >$cache_file
    16691727fi
     
    16791737  case $ac_old_set,$ac_new_set in
    16801738    set,)
    1681       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1682 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1739      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1740$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    16831741      ac_cache_corrupted=: ;;
    16841742    ,set)
    1685       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1686 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1743      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1744$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    16871745      ac_cache_corrupted=: ;;
    16881746    ,);;
    16891747    *)
    16901748      if test "x$ac_old_val" != "x$ac_new_val"; then
    1691         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1692 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1693         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1694 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1695         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1696 echo "$as_me:   current value: $ac_new_val" >&2;}
    1697         ac_cache_corrupted=:
     1749        # differences in whitespace do not lead to failure.
     1750        ac_old_val_w=`echo x $ac_old_val`
     1751        ac_new_val_w=`echo x $ac_new_val`
     1752        if test "$ac_old_val_w" != "$ac_new_val_w"; then
     1753          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1754$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1755          ac_cache_corrupted=:
     1756        else
     1757          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1758$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     1759          eval $ac_var=\$ac_old_val
     1760        fi
     1761        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     1762$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     1763        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     1764$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    16981765      fi;;
    16991766  esac
     
    17011768  if test "$ac_new_set" = set; then
    17021769    case $ac_new_val in
    1703     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1770    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17041771    *) ac_arg=$ac_var=$ac_new_val ;;
    17051772    esac
     
    17111778done
    17121779if $ac_cache_corrupted; then
    1713   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1714 echo "$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
    1716 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1780  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     1781$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     1782  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1783$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1784  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1785$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    17171786   { (exit 1); exit 1; }; }
    17181787fi
     
    17491818
    17501819
    1751 ac_config_headers="$ac_config_headers nanoscale/config.h"
     1820ac_config_headers="$ac_config_headers nanoscale/config.h nanovis/nvconf.h"
    17521821
    17531822
     
    17721841fi
    17731842
    1774 ac_ext=c
    1775 ac_cpp='$CPP $CPPFLAGS'
    1776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1779 if test -n "$ac_tool_prefix"; then
    1780   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    1781 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    1784 if test "${ac_cv_prog_CC+set}" = set; then
    1785   echo $ECHO_N "(cached) $ECHO_C" >&6
    1786 else
    1787   if test -n "$CC"; then
    1788   ac_cv_prog_CC="$CC" # Let the user override the test.
    1789 else
    1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1791 for as_dir in $PATH
    1792 do
    1793   IFS=$as_save_IFS
    1794   test -z "$as_dir" && as_dir=.
    1795   for ac_exec_ext in '' $ac_executable_extensions; do
    1796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    1797     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1798     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1799     break 2
    1800   fi
    1801 done
    1802 done
    1803 IFS=$as_save_IFS
    1804 
    1805 fi
    1806 fi
    1807 CC=$ac_cv_prog_CC
    1808 if test -n "$CC"; then
    1809   { echo "$as_me:$LINENO: result: $CC" >&5
    1810 echo "${ECHO_T}$CC" >&6; }
    1811 else
    1812   { echo "$as_me:$LINENO: result: no" >&5
    1813 echo "${ECHO_T}no" >&6; }
    1814 fi
    1815 
    1816 
    1817 fi
    1818 if test -z "$ac_cv_prog_CC"; then
    1819   ac_ct_CC=$CC
    1820   # Extract the first word of "gcc", so it can be a program name with args.
    1821 set dummy gcc; ac_word=$2
    1822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    1824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1825   echo $ECHO_N "(cached) $ECHO_C" >&6
    1826 else
    1827   if test -n "$ac_ct_CC"; then
    1828   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1829 else
    1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1831 for as_dir in $PATH
    1832 do
    1833   IFS=$as_save_IFS
    1834   test -z "$as_dir" && as_dir=.
    1835   for ac_exec_ext in '' $ac_executable_extensions; do
    1836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    1837     ac_cv_prog_ac_ct_CC="gcc"
    1838     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1839     break 2
    1840   fi
    1841 done
    1842 done
    1843 IFS=$as_save_IFS
    1844 
    1845 fi
    1846 fi
    1847 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1848 if test -n "$ac_ct_CC"; then
    1849   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1850 echo "${ECHO_T}$ac_ct_CC" >&6; }
    1851 else
    1852   { echo "$as_me:$LINENO: result: no" >&5
    1853 echo "${ECHO_T}no" >&6; }
    1854 fi
    1855 
    1856   if test "x$ac_ct_CC" = x; then
    1857     CC=""
    1858   else
    1859     case $cross_compiling:$ac_tool_warned in
    1860 yes:)
    1861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    1862 whose name does not start with the host triplet.  If you think this
    1863 configuration is useful to you, please write to autoconf@gnu.org." >&5
    1864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    1865 whose name does not start with the host triplet.  If you think this
    1866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    1867 ac_tool_warned=yes ;;
    1868 esac
    1869     CC=$ac_ct_CC
    1870   fi
    1871 else
    1872   CC="$ac_cv_prog_CC"
    1873 fi
    1874 
    1875 if test -z "$CC"; then
    1876           if test -n "$ac_tool_prefix"; then
    1877     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    1878 set dummy ${ac_tool_prefix}cc; ac_word=$2
    1879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    1881 if test "${ac_cv_prog_CC+set}" = set; then
    1882   echo $ECHO_N "(cached) $ECHO_C" >&6
    1883 else
    1884   if test -n "$CC"; then
    1885   ac_cv_prog_CC="$CC" # Let the user override the test.
    1886 else
    1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1888 for as_dir in $PATH
    1889 do
    1890   IFS=$as_save_IFS
    1891   test -z "$as_dir" && as_dir=.
    1892   for ac_exec_ext in '' $ac_executable_extensions; do
    1893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    1894     ac_cv_prog_CC="${ac_tool_prefix}cc"
    1895     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1896     break 2
    1897   fi
    1898 done
    1899 done
    1900 IFS=$as_save_IFS
    1901 
    1902 fi
    1903 fi
    1904 CC=$ac_cv_prog_CC
    1905 if test -n "$CC"; then
    1906   { echo "$as_me:$LINENO: result: $CC" >&5
    1907 echo "${ECHO_T}$CC" >&6; }
    1908 else
    1909   { echo "$as_me:$LINENO: result: no" >&5
    1910 echo "${ECHO_T}no" >&6; }
    1911 fi
    1912 
    1913 
    1914   fi
    1915 fi
    1916 if test -z "$CC"; then
    1917   # Extract the first word of "cc", so it can be a program name with args.
    1918 set dummy cc; ac_word=$2
    1919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    1921 if test "${ac_cv_prog_CC+set}" = set; then
    1922   echo $ECHO_N "(cached) $ECHO_C" >&6
    1923 else
    1924   if test -n "$CC"; then
    1925   ac_cv_prog_CC="$CC" # Let the user override the test.
    1926 else
    1927   ac_prog_rejected=no
    1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1929 for as_dir in $PATH
    1930 do
    1931   IFS=$as_save_IFS
    1932   test -z "$as_dir" && as_dir=.
    1933   for ac_exec_ext in '' $ac_executable_extensions; do
    1934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    1935     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    1936        ac_prog_rejected=yes
    1937        continue
    1938      fi
    1939     ac_cv_prog_CC="cc"
    1940     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1941     break 2
    1942   fi
    1943 done
    1944 done
    1945 IFS=$as_save_IFS
    1946 
    1947 if test $ac_prog_rejected = yes; then
    1948   # We found a bogon in the path, so make sure we never use it.
    1949   set dummy $ac_cv_prog_CC
    1950   shift
    1951   if test $# != 0; then
    1952     # We chose a different compiler from the bogus one.
    1953     # However, it has the same basename, so the bogon will be chosen
    1954     # first if we set CC to just the basename; use the full file name.
    1955     shift
    1956     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    1957   fi
    1958 fi
    1959 fi
    1960 fi
    1961 CC=$ac_cv_prog_CC
    1962 if test -n "$CC"; then
    1963   { echo "$as_me:$LINENO: result: $CC" >&5
    1964 echo "${ECHO_T}$CC" >&6; }
    1965 else
    1966   { echo "$as_me:$LINENO: result: no" >&5
    1967 echo "${ECHO_T}no" >&6; }
    1968 fi
    1969 
    1970 
    1971 fi
    1972 if test -z "$CC"; then
    1973   if test -n "$ac_tool_prefix"; then
    1974   for ac_prog in cl.exe
    1975   do
    1976     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    1980 if test "${ac_cv_prog_CC+set}" = set; then
    1981   echo $ECHO_N "(cached) $ECHO_C" >&6
    1982 else
    1983   if test -n "$CC"; then
    1984   ac_cv_prog_CC="$CC" # Let the user override the test.
    1985 else
    1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1987 for as_dir in $PATH
    1988 do
    1989   IFS=$as_save_IFS
    1990   test -z "$as_dir" && as_dir=.
    1991   for ac_exec_ext in '' $ac_executable_extensions; do
    1992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    1993     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1994     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1995     break 2
    1996   fi
    1997 done
    1998 done
    1999 IFS=$as_save_IFS
    2000 
    2001 fi
    2002 fi
    2003 CC=$ac_cv_prog_CC
    2004 if test -n "$CC"; then
    2005   { echo "$as_me:$LINENO: result: $CC" >&5
    2006 echo "${ECHO_T}$CC" >&6; }
    2007 else
    2008   { echo "$as_me:$LINENO: result: no" >&5
    2009 echo "${ECHO_T}no" >&6; }
    2010 fi
    2011 
    2012 
    2013     test -n "$CC" && break
    2014   done
    2015 fi
    2016 if test -z "$CC"; then
    2017   ac_ct_CC=$CC
    2018   for ac_prog in cl.exe
    2019 do
    2020   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2021 set dummy $ac_prog; ac_word=$2
    2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2025   echo $ECHO_N "(cached) $ECHO_C" >&6
    2026 else
    2027   if test -n "$ac_ct_CC"; then
    2028   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2029 else
    2030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2031 for as_dir in $PATH
    2032 do
    2033   IFS=$as_save_IFS
    2034   test -z "$as_dir" && as_dir=.
    2035   for ac_exec_ext in '' $ac_executable_extensions; do
    2036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2037     ac_cv_prog_ac_ct_CC="$ac_prog"
    2038     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2039     break 2
    2040   fi
    2041 done
    2042 done
    2043 IFS=$as_save_IFS
    2044 
    2045 fi
    2046 fi
    2047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2048 if test -n "$ac_ct_CC"; then
    2049   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2050 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2051 else
    2052   { echo "$as_me:$LINENO: result: no" >&5
    2053 echo "${ECHO_T}no" >&6; }
    2054 fi
    2055 
    2056 
    2057   test -n "$ac_ct_CC" && break
    2058 done
    2059 
    2060   if test "x$ac_ct_CC" = x; then
    2061     CC=""
    2062   else
    2063     case $cross_compiling:$ac_tool_warned in
    2064 yes:)
    2065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2066 whose name does not start with the host triplet.  If you think this
    2067 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2069 whose name does not start with the host triplet.  If you think this
    2070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2071 ac_tool_warned=yes ;;
    2072 esac
    2073     CC=$ac_ct_CC
    2074   fi
    2075 fi
    2076 
    2077 fi
    2078 
    2079 
    2080 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2081 See \`config.log' for more details." >&5
    2082 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2083 See \`config.log' for more details." >&2;}
    2084    { (exit 1); exit 1; }; }
    2085 
    2086 # Provide some information about the compiler.
    2087 echo "$as_me:$LINENO: checking for C compiler version" >&5
    2088 ac_compiler=`set X $ac_compile; echo $2`
    2089 { (ac_try="$ac_compiler --version >&5"
    2090 case "(($ac_try" in
    2091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2092   *) ac_try_echo=$ac_try;;
    2093 esac
    2094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2095   (eval "$ac_compiler --version >&5") 2>&5
    2096   ac_status=$?
    2097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2098   (exit $ac_status); }
    2099 { (ac_try="$ac_compiler -v >&5"
    2100 case "(($ac_try" in
    2101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2102   *) ac_try_echo=$ac_try;;
    2103 esac
    2104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2105   (eval "$ac_compiler -v >&5") 2>&5
    2106   ac_status=$?
    2107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2108   (exit $ac_status); }
    2109 { (ac_try="$ac_compiler -V >&5"
    2110 case "(($ac_try" in
    2111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2112   *) ac_try_echo=$ac_try;;
    2113 esac
    2114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2115   (eval "$ac_compiler -V >&5") 2>&5
    2116   ac_status=$?
    2117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2118   (exit $ac_status); }
    2119 
    2120 cat >conftest.$ac_ext <<_ACEOF
    2121 /* confdefs.h.  */
    2122 _ACEOF
    2123 cat confdefs.h >>conftest.$ac_ext
    2124 cat >>conftest.$ac_ext <<_ACEOF
    2125 /* end confdefs.h.  */
    2126 
    2127 int
    2128 main ()
    2129 {
    2130 
    2131   ;
    2132   return 0;
    2133 }
    2134 _ACEOF
    2135 ac_clean_files_save=$ac_clean_files
    2136 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    2137 # Try to create an executable without -o first, disregard a.out.
    2138 # It will help us diagnose broken compilers, and finding out an intuition
    2139 # of exeext.
    2140 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2141 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    2142 ac_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.
    2147 ac_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.
    2152 ac_rmfiles=
    2153 for ac_file in $ac_files
    2154 do
    2155   case $ac_file in
    2156     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2157     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2158   esac
    2159 done
    2160 rm -f $ac_rmfiles
    2161 
    2162 if { (ac_try="$ac_link_default"
    2163 case "(($ac_try" in
    2164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2165   *) ac_try_echo=$ac_try;;
    2166 esac
    2167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2168   (eval "$ac_link_default") 2>&5
    2169   ac_status=$?
    2170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2171   (exit $ac_status); }; then
    2172   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2173 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2174 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2175 # so that the user can short-circuit this test for compilers unknown to
    2176 # Autoconf.
    2177 for ac_file in $ac_files ''
    2178 do
    2179   test -f "$ac_file" || continue
    2180   case $ac_file in
    2181     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    2182         ;;
    2183     [ab].out )
    2184         # We found the default executable, but exeext='' is most
    2185         # certainly right.
    2186         break;;
    2187     *.* )
    2188         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2189         then :; else
    2190            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2191         fi
    2192         # We set ac_cv_exeext here because the later test for it is not
    2193         # safe: cross compilers may not add the suffix if given an `-o'
    2194         # argument, so we may need to know it at that point already.
    2195         # Even if this section looks crufty: it has the advantage of
    2196         # actually working.
    2197         break;;
    2198     * )
    2199         break;;
    2200   esac
    2201 done
    2202 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2203 
    2204 else
    2205   ac_file=''
    2206 fi
    2207 
    2208 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2209 echo "${ECHO_T}$ac_file" >&6; }
    2210 if test -z "$ac_file"; then
    2211   echo "$as_me: failed program was:" >&5
    2212 sed 's/^/| /' conftest.$ac_ext >&5
    2213 
    2214 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2215 See \`config.log' for more details." >&5
    2216 echo "$as_me: error: C compiler cannot create executables
    2217 See \`config.log' for more details." >&2;}
    2218    { (exit 77); exit 77; }; }
    2219 fi
    2220 
    2221 ac_exeext=$ac_cv_exeext
    2222 
    2223 # Check that the compiler produces executables we can run.  If not, either
    2224 # the compiler is broken, or we cross compile.
    2225 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2226 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    2227 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2228 # If not cross compiling, check that we can run a simple program.
    2229 if test "$cross_compiling" != yes; then
    2230   if { ac_try='./$ac_file'
    2231   { (case "(($ac_try" in
    2232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2233   *) ac_try_echo=$ac_try;;
    2234 esac
    2235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2236   (eval "$ac_try") 2>&5
    2237   ac_status=$?
    2238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2239   (exit $ac_status); }; }; then
    2240     cross_compiling=no
    2241   else
    2242     if test "$cross_compiling" = maybe; then
    2243         cross_compiling=yes
    2244     else
    2245         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2246 If you meant to cross compile, use \`--host'.
    2247 See \`config.log' for more details." >&5
    2248 echo "$as_me: error: cannot run C compiled programs.
    2249 If you meant to cross compile, use \`--host'.
    2250 See \`config.log' for more details." >&2;}
    2251    { (exit 1); exit 1; }; }
    2252     fi
    2253   fi
    2254 fi
    2255 { echo "$as_me:$LINENO: result: yes" >&5
    2256 echo "${ECHO_T}yes" >&6; }
    2257 
    2258 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    2259 ac_clean_files=$ac_clean_files_save
    2260 # Check that the compiler produces executables we can run.  If not, either
    2261 # the compiler is broken, or we cross compile.
    2262 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2263 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2264 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2265 echo "${ECHO_T}$cross_compiling" >&6; }
    2266 
    2267 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2268 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2269 if { (ac_try="$ac_link"
    2270 case "(($ac_try" in
    2271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2272   *) ac_try_echo=$ac_try;;
    2273 esac
    2274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2275   (eval "$ac_link") 2>&5
    2276   ac_status=$?
    2277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2278   (exit $ac_status); }; then
    2279   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    2280 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    2281 # work properly (i.e., refer to `conftest.exe'), while it won't with
    2282 # `rm'.
    2283 for ac_file in conftest.exe conftest conftest.*; do
    2284   test -f "$ac_file" || continue
    2285   case $ac_file in
    2286     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2287     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2288           break;;
    2289     * ) break;;
    2290   esac
    2291 done
    2292 else
    2293   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2294 See \`config.log' for more details." >&5
    2295 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2296 See \`config.log' for more details." >&2;}
    2297    { (exit 1); exit 1; }; }
    2298 fi
    2299 
    2300 rm -f conftest$ac_cv_exeext
    2301 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2302 echo "${ECHO_T}$ac_cv_exeext" >&6; }
    2303 
    2304 rm -f conftest.$ac_ext
    2305 EXEEXT=$ac_cv_exeext
    2306 ac_exeext=$EXEEXT
    2307 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2308 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    2309 if test "${ac_cv_objext+set}" = set; then
    2310   echo $ECHO_N "(cached) $ECHO_C" >&6
    2311 else
    2312   cat >conftest.$ac_ext <<_ACEOF
    2313 /* confdefs.h.  */
    2314 _ACEOF
    2315 cat confdefs.h >>conftest.$ac_ext
    2316 cat >>conftest.$ac_ext <<_ACEOF
    2317 /* end confdefs.h.  */
    2318 
    2319 int
    2320 main ()
    2321 {
    2322 
    2323   ;
    2324   return 0;
    2325 }
    2326 _ACEOF
    2327 rm -f conftest.o conftest.obj
    2328 if { (ac_try="$ac_compile"
    2329 case "(($ac_try" in
    2330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2331   *) ac_try_echo=$ac_try;;
    2332 esac
    2333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2334   (eval "$ac_compile") 2>&5
    2335   ac_status=$?
    2336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2337   (exit $ac_status); }; then
    2338   for ac_file in conftest.o conftest.obj conftest.*; do
    2339   test -f "$ac_file" || continue;
    2340   case $ac_file in
    2341     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    2342     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    2343        break;;
    2344   esac
    2345 done
    2346 else
    2347   echo "$as_me: failed program was:" >&5
    2348 sed 's/^/| /' conftest.$ac_ext >&5
    2349 
    2350 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2351 See \`config.log' for more details." >&5
    2352 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2353 See \`config.log' for more details." >&2;}
    2354    { (exit 1); exit 1; }; }
    2355 fi
    2356 
    2357 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    2358 fi
    2359 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2360 echo "${ECHO_T}$ac_cv_objext" >&6; }
    2361 OBJEXT=$ac_cv_objext
    2362 ac_objext=$OBJEXT
    2363 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2364 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    2365 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2366   echo $ECHO_N "(cached) $ECHO_C" >&6
    2367 else
    2368   cat >conftest.$ac_ext <<_ACEOF
    2369 /* confdefs.h.  */
    2370 _ACEOF
    2371 cat confdefs.h >>conftest.$ac_ext
    2372 cat >>conftest.$ac_ext <<_ACEOF
    2373 /* end confdefs.h.  */
    2374 
    2375 int
    2376 main ()
    2377 {
    2378 #ifndef __GNUC__
    2379        choke me
    2380 #endif
    2381 
    2382   ;
    2383   return 0;
    2384 }
    2385 _ACEOF
    2386 rm -f conftest.$ac_objext
    2387 if { (ac_try="$ac_compile"
    2388 case "(($ac_try" in
    2389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2390   *) ac_try_echo=$ac_try;;
    2391 esac
    2392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2393   (eval "$ac_compile") 2>conftest.er1
    2394   ac_status=$?
    2395   grep -v '^ *+' conftest.er1 >conftest.err
    2396   rm -f conftest.er1
    2397   cat conftest.err >&5
    2398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2399   (exit $ac_status); } && {
    2400          test -z "$ac_c_werror_flag" ||
    2401          test ! -s conftest.err
    2402        } && test -s conftest.$ac_objext; then
    2403   ac_compiler_gnu=yes
    2404 else
    2405   echo "$as_me: failed program was:" >&5
    2406 sed 's/^/| /' conftest.$ac_ext >&5
    2407 
    2408         ac_compiler_gnu=no
    2409 fi
    2410 
    2411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2412 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2413 
    2414 fi
    2415 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2416 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    2417 GCC=`test $ac_compiler_gnu = yes && echo yes`
    2418 ac_test_CFLAGS=${CFLAGS+set}
    2419 ac_save_CFLAGS=$CFLAGS
    2420 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2421 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    2422 if test "${ac_cv_prog_cc_g+set}" = set; then
    2423   echo $ECHO_N "(cached) $ECHO_C" >&6
    2424 else
    2425   ac_save_c_werror_flag=$ac_c_werror_flag
    2426    ac_c_werror_flag=yes
    2427    ac_cv_prog_cc_g=no
    2428    CFLAGS="-g"
    2429    cat >conftest.$ac_ext <<_ACEOF
    2430 /* confdefs.h.  */
    2431 _ACEOF
    2432 cat confdefs.h >>conftest.$ac_ext
    2433 cat >>conftest.$ac_ext <<_ACEOF
    2434 /* end confdefs.h.  */
    2435 
    2436 int
    2437 main ()
    2438 {
    2439 
    2440   ;
    2441   return 0;
    2442 }
    2443 _ACEOF
    2444 rm -f conftest.$ac_objext
    2445 if { (ac_try="$ac_compile"
    2446 case "(($ac_try" in
    2447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2448   *) ac_try_echo=$ac_try;;
    2449 esac
    2450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2451   (eval "$ac_compile") 2>conftest.er1
    2452   ac_status=$?
    2453   grep -v '^ *+' conftest.er1 >conftest.err
    2454   rm -f conftest.er1
    2455   cat conftest.err >&5
    2456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2457   (exit $ac_status); } && {
    2458          test -z "$ac_c_werror_flag" ||
    2459          test ! -s conftest.err
    2460        } && test -s conftest.$ac_objext; then
    2461   ac_cv_prog_cc_g=yes
    2462 else
    2463   echo "$as_me: failed program was:" >&5
    2464 sed 's/^/| /' conftest.$ac_ext >&5
    2465 
    2466         CFLAGS=""
    2467       cat >conftest.$ac_ext <<_ACEOF
    2468 /* confdefs.h.  */
    2469 _ACEOF
    2470 cat confdefs.h >>conftest.$ac_ext
    2471 cat >>conftest.$ac_ext <<_ACEOF
    2472 /* end confdefs.h.  */
    2473 
    2474 int
    2475 main ()
    2476 {
    2477 
    2478   ;
    2479   return 0;
    2480 }
    2481 _ACEOF
    2482 rm -f conftest.$ac_objext
    2483 if { (ac_try="$ac_compile"
    2484 case "(($ac_try" in
    2485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2486   *) ac_try_echo=$ac_try;;
    2487 esac
    2488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2489   (eval "$ac_compile") 2>conftest.er1
    2490   ac_status=$?
    2491   grep -v '^ *+' conftest.er1 >conftest.err
    2492   rm -f conftest.er1
    2493   cat conftest.err >&5
    2494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2495   (exit $ac_status); } && {
    2496          test -z "$ac_c_werror_flag" ||
    2497          test ! -s conftest.err
    2498        } && test -s conftest.$ac_objext; then
    2499   :
    2500 else
    2501   echo "$as_me: failed program was:" >&5
    2502 sed 's/^/| /' conftest.$ac_ext >&5
    2503 
    2504         ac_c_werror_flag=$ac_save_c_werror_flag
    2505          CFLAGS="-g"
    2506          cat >conftest.$ac_ext <<_ACEOF
    2507 /* confdefs.h.  */
    2508 _ACEOF
    2509 cat confdefs.h >>conftest.$ac_ext
    2510 cat >>conftest.$ac_ext <<_ACEOF
    2511 /* end confdefs.h.  */
    2512 
    2513 int
    2514 main ()
    2515 {
    2516 
    2517   ;
    2518   return 0;
    2519 }
    2520 _ACEOF
    2521 rm -f conftest.$ac_objext
    2522 if { (ac_try="$ac_compile"
    2523 case "(($ac_try" in
    2524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2525   *) ac_try_echo=$ac_try;;
    2526 esac
    2527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2528   (eval "$ac_compile") 2>conftest.er1
    2529   ac_status=$?
    2530   grep -v '^ *+' conftest.er1 >conftest.err
    2531   rm -f conftest.er1
    2532   cat conftest.err >&5
    2533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2534   (exit $ac_status); } && {
    2535          test -z "$ac_c_werror_flag" ||
    2536          test ! -s conftest.err
    2537        } && test -s conftest.$ac_objext; then
    2538   ac_cv_prog_cc_g=yes
    2539 else
    2540   echo "$as_me: failed program was:" >&5
    2541 sed 's/^/| /' conftest.$ac_ext >&5
    2542 
    2543 
    2544 fi
    2545 
    2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2547 fi
    2548 
    2549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2550 fi
    2551 
    2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2553    ac_c_werror_flag=$ac_save_c_werror_flag
    2554 fi
    2555 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2556 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    2557 if test "$ac_test_CFLAGS" = set; then
    2558   CFLAGS=$ac_save_CFLAGS
    2559 elif test $ac_cv_prog_cc_g = yes; then
    2560   if test "$GCC" = yes; then
    2561     CFLAGS="-g -O2"
    2562   else
    2563     CFLAGS="-g"
    2564   fi
    2565 else
    2566   if test "$GCC" = yes; then
    2567     CFLAGS="-O2"
    2568   else
    2569     CFLAGS=
    2570   fi
    2571 fi
    2572 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2573 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2574 if test "${ac_cv_prog_cc_c89+set}" = set; then
    2575   echo $ECHO_N "(cached) $ECHO_C" >&6
    2576 else
    2577   ac_cv_prog_cc_c89=no
    2578 ac_save_CC=$CC
    2579 cat >conftest.$ac_ext <<_ACEOF
    2580 /* confdefs.h.  */
    2581 _ACEOF
    2582 cat confdefs.h >>conftest.$ac_ext
    2583 cat >>conftest.$ac_ext <<_ACEOF
    2584 /* end confdefs.h.  */
    2585 #include <stdarg.h>
    2586 #include <stdio.h>
    2587 #include <sys/types.h>
    2588 #include <sys/stat.h>
    2589 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    2590 struct buf { int x; };
    2591 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    2592 static char *e (p, i)
    2593      char **p;
    2594      int i;
    2595 {
    2596   return p[i];
    2597 }
    2598 static char *f (char * (*g) (char **, int), char **p, ...)
    2599 {
    2600   char *s;
    2601   va_list v;
    2602   va_start (v,p);
    2603   s = g (p, va_arg (v,int));
    2604   va_end (v);
    2605   return s;
    2606 }
    2607 
    2608 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2609    function prototypes and stuff, but not '\xHH' hex character constants.
    2610    These don't provoke an error unfortunately, instead are silently treated
    2611    as 'x'.  The following induces an error, until -std is added to get
    2612    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2613    array size at least.  It's necessary to write '\x00'==0 to get something
    2614    that's true only with -std.  */
    2615 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2616 
    2617 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    2618    inside strings and character constants.  */
    2619 #define FOO(x) 'x'
    2620 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    2621 
    2622 int test (int i, double x);
    2623 struct s1 {int (*f) (int a);};
    2624 struct s2 {int (*f) (double a);};
    2625 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    2626 int argc;
    2627 char **argv;
    2628 int
    2629 main ()
    2630 {
    2631 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    2632   ;
    2633   return 0;
    2634 }
    2635 _ACEOF
    2636 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    2637         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    2638 do
    2639   CC="$ac_save_CC $ac_arg"
    2640   rm -f conftest.$ac_objext
    2641 if { (ac_try="$ac_compile"
    2642 case "(($ac_try" in
    2643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2644   *) ac_try_echo=$ac_try;;
    2645 esac
    2646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2647   (eval "$ac_compile") 2>conftest.er1
    2648   ac_status=$?
    2649   grep -v '^ *+' conftest.er1 >conftest.err
    2650   rm -f conftest.er1
    2651   cat conftest.err >&5
    2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2653   (exit $ac_status); } && {
    2654          test -z "$ac_c_werror_flag" ||
    2655          test ! -s conftest.err
    2656        } && test -s conftest.$ac_objext; then
    2657   ac_cv_prog_cc_c89=$ac_arg
    2658 else
    2659   echo "$as_me: failed program was:" >&5
    2660 sed 's/^/| /' conftest.$ac_ext >&5
    2661 
    2662 
    2663 fi
    2664 
    2665 rm -f core conftest.err conftest.$ac_objext
    2666   test "x$ac_cv_prog_cc_c89" != "xno" && break
    2667 done
    2668 rm -f conftest.$ac_ext
    2669 CC=$ac_save_CC
    2670 
    2671 fi
    2672 # AC_CACHE_VAL
    2673 case "x$ac_cv_prog_cc_c89" in
    2674   x)
    2675     { echo "$as_me:$LINENO: result: none needed" >&5
    2676 echo "${ECHO_T}none needed" >&6; } ;;
    2677   xno)
    2678     { echo "$as_me:$LINENO: result: unsupported" >&5
    2679 echo "${ECHO_T}unsupported" >&6; } ;;
    2680   *)
    2681     CC="$CC $ac_cv_prog_cc_c89"
    2682     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2683 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
    2684 esac
    2685 
    2686 
    2687 ac_ext=c
    2688 ac_cpp='$CPP $CPPFLAGS'
    2689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2692 
    2693 
    2694 if test -n "$ac_tool_prefix"; then
    2695   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    2696 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2697 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2699 if test "${ac_cv_prog_RANLIB+set}" = set; then
    2700   echo $ECHO_N "(cached) $ECHO_C" >&6
    2701 else
    2702   if test -n "$RANLIB"; then
    2703   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    2704 else
    2705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2706 for as_dir in $PATH
    2707 do
    2708   IFS=$as_save_IFS
    2709   test -z "$as_dir" && as_dir=.
    2710   for ac_exec_ext in '' $ac_executable_extensions; do
    2711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2712     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2713     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2714     break 2
    2715   fi
    2716 done
    2717 done
    2718 IFS=$as_save_IFS
    2719 
    2720 fi
    2721 fi
    2722 RANLIB=$ac_cv_prog_RANLIB
    2723 if test -n "$RANLIB"; then
    2724   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    2725 echo "${ECHO_T}$RANLIB" >&6; }
    2726 else
    2727   { echo "$as_me:$LINENO: result: no" >&5
    2728 echo "${ECHO_T}no" >&6; }
    2729 fi
    2730 
    2731 
    2732 fi
    2733 if test -z "$ac_cv_prog_RANLIB"; then
    2734   ac_ct_RANLIB=$RANLIB
    2735   # Extract the first word of "ranlib", so it can be a program name with args.
    2736 set dummy ranlib; ac_word=$2
    2737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2739 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2740   echo $ECHO_N "(cached) $ECHO_C" >&6
    2741 else
    2742   if test -n "$ac_ct_RANLIB"; then
    2743   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    2744 else
    2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2746 for as_dir in $PATH
    2747 do
    2748   IFS=$as_save_IFS
    2749   test -z "$as_dir" && as_dir=.
    2750   for ac_exec_ext in '' $ac_executable_extensions; do
    2751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2752     ac_cv_prog_ac_ct_RANLIB="ranlib"
    2753     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2754     break 2
    2755   fi
    2756 done
    2757 done
    2758 IFS=$as_save_IFS
    2759 
    2760 fi
    2761 fi
    2762 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    2763 if test -n "$ac_ct_RANLIB"; then
    2764   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    2765 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    2766 else
    2767   { echo "$as_me:$LINENO: result: no" >&5
    2768 echo "${ECHO_T}no" >&6; }
    2769 fi
    2770 
    2771   if test "x$ac_ct_RANLIB" = x; then
    2772     RANLIB=":"
    2773   else
    2774     case $cross_compiling:$ac_tool_warned in
    2775 yes:)
    2776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2777 whose name does not start with the host triplet.  If you think this
    2778 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2780 whose name does not start with the host triplet.  If you think this
    2781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2782 ac_tool_warned=yes ;;
    2783 esac
    2784     RANLIB=$ac_ct_RANLIB
    2785   fi
    2786 else
    2787   RANLIB="$ac_cv_prog_RANLIB"
    2788 fi
    2789 
    2790 ac_ext=c
    2791 ac_cpp='$CPP $CPPFLAGS'
    2792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2795 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    2797 # On Suns, sometimes $CPP names a directory.
    2798 if test -n "$CPP" && test -d "$CPP"; then
    2799   CPP=
    2800 fi
    2801 if test -z "$CPP"; then
    2802   if test "${ac_cv_prog_CPP+set}" = set; then
    2803   echo $ECHO_N "(cached) $ECHO_C" >&6
    2804 else
    2805       # Double quotes because CPP needs to be expanded
    2806     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    2807     do
    2808       ac_preproc_ok=false
    2809 for ac_c_preproc_warn_flag in '' yes
    2810 do
    2811   # Use a header file that comes with gcc, so configuring glibc
    2812   # with a fresh cross-compiler works.
    2813   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2814   # <limits.h> exists even on freestanding compilers.
    2815   # On the NeXT, cc -E runs the code through the compiler's parser,
    2816   # not just through cpp. "Syntax error" is here to catch this case.
    2817   cat >conftest.$ac_ext <<_ACEOF
    2818 /* confdefs.h.  */
    2819 _ACEOF
    2820 cat confdefs.h >>conftest.$ac_ext
    2821 cat >>conftest.$ac_ext <<_ACEOF
    2822 /* end confdefs.h.  */
    2823 #ifdef __STDC__
    2824 # include <limits.h>
    2825 #else
    2826 # include <assert.h>
    2827 #endif
    2828                      Syntax error
    2829 _ACEOF
    2830 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2831 case "(($ac_try" in
    2832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2833   *) ac_try_echo=$ac_try;;
    2834 esac
    2835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2836   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2837   ac_status=$?
    2838   grep -v '^ *+' conftest.er1 >conftest.err
    2839   rm -f conftest.er1
    2840   cat conftest.err >&5
    2841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2842   (exit $ac_status); } >/dev/null && {
    2843          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2844          test ! -s conftest.err
    2845        }; then
    2846   :
    2847 else
    2848   echo "$as_me: failed program was:" >&5
    2849 sed 's/^/| /' conftest.$ac_ext >&5
    2850 
    2851   # Broken: fails on valid input.
    2852 continue
    2853 fi
    2854 
    2855 rm -f conftest.err conftest.$ac_ext
    2856 
    2857   # OK, works on sane cases.  Now check whether nonexistent headers
    2858   # can be detected and how.
    2859   cat >conftest.$ac_ext <<_ACEOF
    2860 /* confdefs.h.  */
    2861 _ACEOF
    2862 cat confdefs.h >>conftest.$ac_ext
    2863 cat >>conftest.$ac_ext <<_ACEOF
    2864 /* end confdefs.h.  */
    2865 #include <ac_nonexistent.h>
    2866 _ACEOF
    2867 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2868 case "(($ac_try" in
    2869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2870   *) ac_try_echo=$ac_try;;
    2871 esac
    2872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2873   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2874   ac_status=$?
    2875   grep -v '^ *+' conftest.er1 >conftest.err
    2876   rm -f conftest.er1
    2877   cat conftest.err >&5
    2878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2879   (exit $ac_status); } >/dev/null && {
    2880          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2881          test ! -s conftest.err
    2882        }; then
    2883   # Broken: success on invalid input.
    2884 continue
    2885 else
    2886   echo "$as_me: failed program was:" >&5
    2887 sed 's/^/| /' conftest.$ac_ext >&5
    2888 
    2889   # Passes both tests.
    2890 ac_preproc_ok=:
    2891 break
    2892 fi
    2893 
    2894 rm -f conftest.err conftest.$ac_ext
    2895 
    2896 done
    2897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2898 rm -f conftest.err conftest.$ac_ext
    2899 if $ac_preproc_ok; then
    2900   break
    2901 fi
    2902 
    2903     done
    2904     ac_cv_prog_CPP=$CPP
    2905 
    2906 fi
    2907   CPP=$ac_cv_prog_CPP
    2908 else
    2909   ac_cv_prog_CPP=$CPP
    2910 fi
    2911 { echo "$as_me:$LINENO: result: $CPP" >&5
    2912 echo "${ECHO_T}$CPP" >&6; }
    2913 ac_preproc_ok=false
    2914 for ac_c_preproc_warn_flag in '' yes
    2915 do
    2916   # Use a header file that comes with gcc, so configuring glibc
    2917   # with a fresh cross-compiler works.
    2918   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2919   # <limits.h> exists even on freestanding compilers.
    2920   # On the NeXT, cc -E runs the code through the compiler's parser,
    2921   # not just through cpp. "Syntax error" is here to catch this case.
    2922   cat >conftest.$ac_ext <<_ACEOF
    2923 /* confdefs.h.  */
    2924 _ACEOF
    2925 cat confdefs.h >>conftest.$ac_ext
    2926 cat >>conftest.$ac_ext <<_ACEOF
    2927 /* end confdefs.h.  */
    2928 #ifdef __STDC__
    2929 # include <limits.h>
    2930 #else
    2931 # include <assert.h>
    2932 #endif
    2933                      Syntax error
    2934 _ACEOF
    2935 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2936 case "(($ac_try" in
    2937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2938   *) ac_try_echo=$ac_try;;
    2939 esac
    2940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2941   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2942   ac_status=$?
    2943   grep -v '^ *+' conftest.er1 >conftest.err
    2944   rm -f conftest.er1
    2945   cat conftest.err >&5
    2946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2947   (exit $ac_status); } >/dev/null && {
    2948          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2949          test ! -s conftest.err
    2950        }; then
    2951   :
    2952 else
    2953   echo "$as_me: failed program was:" >&5
    2954 sed 's/^/| /' conftest.$ac_ext >&5
    2955 
    2956   # Broken: fails on valid input.
    2957 continue
    2958 fi
    2959 
    2960 rm -f conftest.err conftest.$ac_ext
    2961 
    2962   # OK, works on sane cases.  Now check whether nonexistent headers
    2963   # can be detected and how.
    2964   cat >conftest.$ac_ext <<_ACEOF
    2965 /* confdefs.h.  */
    2966 _ACEOF
    2967 cat confdefs.h >>conftest.$ac_ext
    2968 cat >>conftest.$ac_ext <<_ACEOF
    2969 /* end confdefs.h.  */
    2970 #include <ac_nonexistent.h>
    2971 _ACEOF
    2972 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2973 case "(($ac_try" in
    2974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2975   *) ac_try_echo=$ac_try;;
    2976 esac
    2977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2978   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2979   ac_status=$?
    2980   grep -v '^ *+' conftest.er1 >conftest.err
    2981   rm -f conftest.er1
    2982   cat conftest.err >&5
    2983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2984   (exit $ac_status); } >/dev/null && {
    2985          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2986          test ! -s conftest.err
    2987        }; then
    2988   # Broken: success on invalid input.
    2989 continue
    2990 else
    2991   echo "$as_me: failed program was:" >&5
    2992 sed 's/^/| /' conftest.$ac_ext >&5
    2993 
    2994   # Passes both tests.
    2995 ac_preproc_ok=:
    2996 break
    2997 fi
    2998 
    2999 rm -f conftest.err conftest.$ac_ext
    3000 
    3001 done
    3002 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3003 rm -f conftest.err conftest.$ac_ext
    3004 if $ac_preproc_ok; then
    3005   :
    3006 else
    3007   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3008 See \`config.log' for more details." >&5
    3009 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3010 See \`config.log' for more details." >&2;}
    3011    { (exit 1); exit 1; }; }
    3012 fi
    3013 
    3014 ac_ext=c
    3015 ac_cpp='$CPP $CPPFLAGS'
    3016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3019 
    3020 
    3021 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    3022 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    3023 if test "${ac_cv_path_GREP+set}" = set; then
    3024   echo $ECHO_N "(cached) $ECHO_C" >&6
    3025 else
    3026   # Extract the first word of "grep ggrep" to use in msg output
    3027 if test -z "$GREP"; then
    3028 set dummy grep ggrep; ac_prog_name=$2
    3029 if test "${ac_cv_path_GREP+set}" = set; then
    3030   echo $ECHO_N "(cached) $ECHO_C" >&6
    3031 else
    3032   ac_path_GREP_found=false
    3033 # Loop through the user's path and test for each of PROGNAME-LIST
    3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3035 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3036 do
    3037   IFS=$as_save_IFS
    3038   test -z "$as_dir" && as_dir=.
    3039   for ac_prog in grep ggrep; do
    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.
    3044   # Check for GNU $ac_path_GREP
    3045 case `"$ac_path_GREP" --version 2>&1` in
    3046 *GNU*)
    3047   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    3048 *)
    3049   ac_count=0
    3050   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    3051   while :
    3052   do
    3053     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3054     mv "conftest.tmp" "conftest.in"
    3055     cp "conftest.in" "conftest.nl"
    3056     echo 'GREP' >> "conftest.nl"
    3057     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3058     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3059     ac_count=`expr $ac_count + 1`
    3060     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    3061       # Best one so far, save it but keep looking for a better one
    3062       ac_cv_path_GREP="$ac_path_GREP"
    3063       ac_path_GREP_max=$ac_count
    3064     fi
    3065     # 10*(2^10) chars as input seems more than enough
    3066     test $ac_count -gt 10 && break
    3067   done
    3068   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3069 esac
    3070 
    3071 
    3072     $ac_path_GREP_found && break 3
    3073   done
    3074 done
    3075 
    3076 done
    3077 IFS=$as_save_IFS
    3078 
    3079 
    3080 fi
    3081 
    3082 GREP="$ac_cv_path_GREP"
    3083 if 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
    3085 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3086    { (exit 1); exit 1; }; }
    3087 fi
    3088 
    3089 else
    3090   ac_cv_path_GREP=$GREP
    3091 fi
    3092 
    3093 
    3094 fi
    3095 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    3096 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
    3097  GREP="$ac_cv_path_GREP"
    3098 
    3099 
    3100 { echo "$as_me:$LINENO: checking for egrep" >&5
    3101 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    3102 if test "${ac_cv_path_EGREP+set}" = set; then
    3103   echo $ECHO_N "(cached) $ECHO_C" >&6
    3104 else
    3105   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    3106    then ac_cv_path_EGREP="$GREP -E"
    3107    else
    3108      # Extract the first word of "egrep" to use in msg output
    3109 if test -z "$EGREP"; then
    3110 set dummy egrep; ac_prog_name=$2
    3111 if test "${ac_cv_path_EGREP+set}" = set; then
    3112   echo $ECHO_N "(cached) $ECHO_C" >&6
    3113 else
    3114   ac_path_EGREP_found=false
    3115 # Loop through the user's path and test for each of PROGNAME-LIST
    3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    3118 do
    3119   IFS=$as_save_IFS
    3120   test -z "$as_dir" && as_dir=.
    3121   for ac_prog in egrep; do
    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.
    3126   # Check for GNU $ac_path_EGREP
    3127 case `"$ac_path_EGREP" --version 2>&1` in
    3128 *GNU*)
    3129   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    3130 *)
    3131   ac_count=0
    3132   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    3133   while :
    3134   do
    3135     cat "conftest.in" "conftest.in" >"conftest.tmp"
    3136     mv "conftest.tmp" "conftest.in"
    3137     cp "conftest.in" "conftest.nl"
    3138     echo 'EGREP' >> "conftest.nl"
    3139     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    3140     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3141     ac_count=`expr $ac_count + 1`
    3142     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    3143       # Best one so far, save it but keep looking for a better one
    3144       ac_cv_path_EGREP="$ac_path_EGREP"
    3145       ac_path_EGREP_max=$ac_count
    3146     fi
    3147     # 10*(2^10) chars as input seems more than enough
    3148     test $ac_count -gt 10 && break
    3149   done
    3150   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    3151 esac
    3152 
    3153 
    3154     $ac_path_EGREP_found && break 3
    3155   done
    3156 done
    3157 
    3158 done
    3159 IFS=$as_save_IFS
    3160 
    3161 
    3162 fi
    3163 
    3164 EGREP="$ac_cv_path_EGREP"
    3165 if 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
    3167 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3168    { (exit 1); exit 1; }; }
    3169 fi
    3170 
    3171 else
    3172   ac_cv_path_EGREP=$EGREP
    3173 fi
    3174 
    3175 
    3176    fi
    3177 fi
    3178 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    3179 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
    3180  EGREP="$ac_cv_path_EGREP"
    3181 
    3182 
    3183 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3184 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    3185 if test "${ac_cv_header_stdc+set}" = set; then
    3186   echo $ECHO_N "(cached) $ECHO_C" >&6
    3187 else
    3188   cat >conftest.$ac_ext <<_ACEOF
    3189 /* confdefs.h.  */
    3190 _ACEOF
    3191 cat confdefs.h >>conftest.$ac_ext
    3192 cat >>conftest.$ac_ext <<_ACEOF
    3193 /* end confdefs.h.  */
    3194 #include <stdlib.h>
    3195 #include <stdarg.h>
    3196 #include <string.h>
    3197 #include <float.h>
    3198 
    3199 int
    3200 main ()
    3201 {
    3202 
    3203   ;
    3204   return 0;
    3205 }
    3206 _ACEOF
    3207 rm -f conftest.$ac_objext
    3208 if { (ac_try="$ac_compile"
    3209 case "(($ac_try" in
    3210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3211   *) ac_try_echo=$ac_try;;
    3212 esac
    3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3214   (eval "$ac_compile") 2>conftest.er1
    3215   ac_status=$?
    3216   grep -v '^ *+' conftest.er1 >conftest.err
    3217   rm -f conftest.er1
    3218   cat conftest.err >&5
    3219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3220   (exit $ac_status); } && {
    3221          test -z "$ac_c_werror_flag" ||
    3222          test ! -s conftest.err
    3223        } && test -s conftest.$ac_objext; then
    3224   ac_cv_header_stdc=yes
    3225 else
    3226   echo "$as_me: failed program was:" >&5
    3227 sed 's/^/| /' conftest.$ac_ext >&5
    3228 
    3229         ac_cv_header_stdc=no
    3230 fi
    3231 
    3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3233 
    3234 if test $ac_cv_header_stdc = yes; then
    3235   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3236   cat >conftest.$ac_ext <<_ACEOF
    3237 /* confdefs.h.  */
    3238 _ACEOF
    3239 cat confdefs.h >>conftest.$ac_ext
    3240 cat >>conftest.$ac_ext <<_ACEOF
    3241 /* end confdefs.h.  */
    3242 #include <string.h>
    3243 
    3244 _ACEOF
    3245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3246   $EGREP "memchr" >/dev/null 2>&1; then
    3247   :
    3248 else
    3249   ac_cv_header_stdc=no
    3250 fi
    3251 rm -f conftest*
    3252 
    3253 fi
    3254 
    3255 if test $ac_cv_header_stdc = yes; then
    3256   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3257   cat >conftest.$ac_ext <<_ACEOF
    3258 /* confdefs.h.  */
    3259 _ACEOF
    3260 cat confdefs.h >>conftest.$ac_ext
    3261 cat >>conftest.$ac_ext <<_ACEOF
    3262 /* end confdefs.h.  */
    3263 #include <stdlib.h>
    3264 
    3265 _ACEOF
    3266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3267   $EGREP "free" >/dev/null 2>&1; then
    3268   :
    3269 else
    3270   ac_cv_header_stdc=no
    3271 fi
    3272 rm -f conftest*
    3273 
    3274 fi
    3275 
    3276 if test $ac_cv_header_stdc = yes; then
    3277   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3278   if test "$cross_compiling" = yes; then
    3279   :
    3280 else
    3281   cat >conftest.$ac_ext <<_ACEOF
    3282 /* confdefs.h.  */
    3283 _ACEOF
    3284 cat confdefs.h >>conftest.$ac_ext
    3285 cat >>conftest.$ac_ext <<_ACEOF
    3286 /* end confdefs.h.  */
    3287 #include <ctype.h>
    3288 #include <stdlib.h>
    3289 #if ((' ' & 0x0FF) == 0x020)
    3290 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    3291 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    3292 #else
    3293 # define ISLOWER(c) \
    3294                    (('a' <= (c) && (c) <= 'i') \
    3295                      || ('j' <= (c) && (c) <= 'r') \
    3296                      || ('s' <= (c) && (c) <= 'z'))
    3297 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    3298 #endif
    3299 
    3300 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    3301 int
    3302 main ()
    3303 {
    3304   int i;
    3305   for (i = 0; i < 256; i++)
    3306     if (XOR (islower (i), ISLOWER (i))
    3307         || toupper (i) != TOUPPER (i))
    3308       return 2;
    3309   return 0;
    3310 }
    3311 _ACEOF
    3312 rm -f conftest$ac_exeext
    3313 if { (ac_try="$ac_link"
    3314 case "(($ac_try" in
    3315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3316   *) ac_try_echo=$ac_try;;
    3317 esac
    3318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3319   (eval "$ac_link") 2>&5
    3320   ac_status=$?
    3321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3322   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3323   { (case "(($ac_try" in
    3324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3325   *) ac_try_echo=$ac_try;;
    3326 esac
    3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3328   (eval "$ac_try") 2>&5
    3329   ac_status=$?
    3330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3331   (exit $ac_status); }; }; then
    3332   :
    3333 else
    3334   echo "$as_me: program exited with status $ac_status" >&5
    3335 echo "$as_me: failed program was:" >&5
    3336 sed 's/^/| /' conftest.$ac_ext >&5
    3337 
    3338 ( exit $ac_status )
    3339 ac_cv_header_stdc=no
    3340 fi
    3341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3342 fi
    3343 
    3344 
    3345 fi
    3346 fi
    3347 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3348 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    3349 if test $ac_cv_header_stdc = yes; then
    3350 
    3351 cat >>confdefs.h <<\_ACEOF
    3352 #define STDC_HEADERS 1
    3353 _ACEOF
    3354 
    3355 fi
    3356 
    3357 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3358 
    3359 
    3360 
    3361 
    3362 
    3363 
    3364 
    3365 
    3366 
    3367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    3368                   inttypes.h stdint.h unistd.h
    3369 do
    3370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    3372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    3373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3374   echo $ECHO_N "(cached) $ECHO_C" >&6
    3375 else
    3376   cat >conftest.$ac_ext <<_ACEOF
    3377 /* confdefs.h.  */
    3378 _ACEOF
    3379 cat confdefs.h >>conftest.$ac_ext
    3380 cat >>conftest.$ac_ext <<_ACEOF
    3381 /* end confdefs.h.  */
    3382 $ac_includes_default
    3383 
    3384 #include <$ac_header>
    3385 _ACEOF
    3386 rm -f conftest.$ac_objext
    3387 if { (ac_try="$ac_compile"
    3388 case "(($ac_try" in
    3389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3390   *) ac_try_echo=$ac_try;;
    3391 esac
    3392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3393   (eval "$ac_compile") 2>conftest.er1
    3394   ac_status=$?
    3395   grep -v '^ *+' conftest.er1 >conftest.err
    3396   rm -f conftest.er1
    3397   cat conftest.err >&5
    3398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3399   (exit $ac_status); } && {
    3400          test -z "$ac_c_werror_flag" ||
    3401          test ! -s conftest.err
    3402        } && test -s conftest.$ac_objext; then
    3403   eval "$as_ac_Header=yes"
    3404 else
    3405   echo "$as_me: failed program was:" >&5
    3406 sed 's/^/| /' conftest.$ac_ext >&5
    3407 
    3408         eval "$as_ac_Header=no"
    3409 fi
    3410 
    3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3412 fi
    3413 ac_res=`eval echo '${'$as_ac_Header'}'`
    3414                { echo "$as_me:$LINENO: result: $ac_res" >&5
    3415 echo "${ECHO_T}$ac_res" >&6; }
    3416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    3417   cat >>confdefs.h <<_ACEOF
    3418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    3419 _ACEOF
    3420 
    3421 fi
    3422 
    3423 done
    3424 
    3425 
    3426 
    3427 
    3428     # Step 0.a: Enable 64 bit support?
    3429 
    3430     { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    3431 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }
    3432     # Check whether --enable-64bit was given.
    3433 if test "${enable_64bit+set}" = set; then
    3434   enableval=$enable_64bit; do64bit=$enableval
    3435 else
    3436   do64bit=no
    3437 fi
    3438 
    3439     { echo "$as_me:$LINENO: result: $do64bit" >&5
    3440 echo "${ECHO_T}$do64bit" >&6; }
    3441 
    3442     # Step 0.b: Enable Solaris 64 bit VIS support?
    3443 
    3444     { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    3445 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }
    3446     # Check whether --enable-64bit-vis was given.
    3447 if test "${enable_64bit_vis+set}" = set; then
    3448   enableval=$enable_64bit_vis; do64bitVIS=$enableval
    3449 else
    3450   do64bitVIS=no
    3451 fi
    3452 
    3453     { echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    3454 echo "${ECHO_T}$do64bitVIS" >&6; }
    3455 
    3456     if test "$do64bitVIS" = "yes"; then
    3457         # Force 64bit on with VIS
    3458         do64bit=yes
    3459     fi
    3460 
    3461     # Step 1: set the variable "system" to hold the name and version number
    3462     # for the system.
    3463 
    3464 
    3465     { echo "$as_me:$LINENO: checking system version" >&5
    3466 echo $ECHO_N "checking system version... $ECHO_C" >&6; }
    3467 if test "${tcl_cv_sys_version+set}" = set; then
    3468   echo $ECHO_N "(cached) $ECHO_C" >&6
    3469 else
    3470 
    3471         if test -f /usr/lib/NextStep/software_version; then
    3472             tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version`
    3473         else
    3474             tcl_cv_sys_version=`uname -s`-`uname -r`
    3475             if test "$?" -ne 0 ; then
    3476                 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    3477 echo "$as_me: WARNING: can't find uname command" >&2;}
    3478                 tcl_cv_sys_version=unknown
    3479             else
    3480                 # Special check for weird MP-RAS system (uname returns weird
    3481                 # results, and the version is kept in special file).
    3482 
    3483                 if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
    3484                     tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid`
    3485                 fi
    3486                 if test "`uname -s`" = "AIX" ; then
    3487                     tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
    3488                 fi
    3489             fi
    3490         fi
    3491 
    3492 fi
    3493 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    3494 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }
    3495     system=$tcl_cv_sys_version
    3496 
    3497 
    3498     # Step 2: check for existence of -ldl library.  This is needed because
    3499     # Linux can use either -ldl or -ldld for dynamic loading.
    3500 
    3501     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    3502 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
    3503 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    3504   echo $ECHO_N "(cached) $ECHO_C" >&6
    3505 else
    3506   ac_check_lib_save_LIBS=$LIBS
    3507 LIBS="-ldl  $LIBS"
    3508 cat >conftest.$ac_ext <<_ACEOF
    3509 /* confdefs.h.  */
    3510 _ACEOF
    3511 cat confdefs.h >>conftest.$ac_ext
    3512 cat >>conftest.$ac_ext <<_ACEOF
    3513 /* end confdefs.h.  */
    3514 
    3515 /* Override any GCC internal prototype to avoid an error.
    3516    Use char because int might match the return type of a GCC
    3517    builtin and then its argument prototype would still apply.  */
    3518 #ifdef __cplusplus
    3519 extern "C"
    3520 #endif
    3521 char dlopen ();
    3522 int
    3523 main ()
    3524 {
    3525 return dlopen ();
    3526   ;
    3527   return 0;
    3528 }
    3529 _ACEOF
    3530 rm -f conftest.$ac_objext conftest$ac_exeext
    3531 if { (ac_try="$ac_link"
    3532 case "(($ac_try" in
    3533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3534   *) ac_try_echo=$ac_try;;
    3535 esac
    3536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3537   (eval "$ac_link") 2>conftest.er1
    3538   ac_status=$?
    3539   grep -v '^ *+' conftest.er1 >conftest.err
    3540   rm -f conftest.er1
    3541   cat conftest.err >&5
    3542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3543   (exit $ac_status); } && {
    3544          test -z "$ac_c_werror_flag" ||
    3545          test ! -s conftest.err
    3546        } && test -s conftest$ac_exeext &&
    3547        $as_test_x conftest$ac_exeext; then
    3548   ac_cv_lib_dl_dlopen=yes
    3549 else
    3550   echo "$as_me: failed program was:" >&5
    3551 sed 's/^/| /' conftest.$ac_ext >&5
    3552 
    3553         ac_cv_lib_dl_dlopen=no
    3554 fi
    3555 
    3556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3557       conftest$ac_exeext conftest.$ac_ext
    3558 LIBS=$ac_check_lib_save_LIBS
    3559 fi
    3560 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    3561 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
    3562 if test $ac_cv_lib_dl_dlopen = yes; then
    3563   have_dl=yes
    3564 else
    3565   have_dl=no
    3566 fi
    3567 
    3568 
    3569     # Require ranlib early so we can override it in special cases below.
    3570 
    3571 
    3572 
    3573     # Step 3: set configuration options based on system name and version.
    3574 
    3575     do64bit_ok=no
    3576     LDFLAGS_ORIG="$LDFLAGS"
    3577     TCL_EXPORT_FILE_SUFFIX=""
    3578     UNSHARED_LIB_SUFFIX=""
    3579     TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`'
    3580     ECHO_VERSION='`echo ${VERSION}`'
    3581     TCL_LIB_VERSIONS_OK=ok
    3582     CFLAGS_DEBUG=-g
    3583     CFLAGS_OPTIMIZE=-O
    3584     if test "$GCC" = "yes" ; then
    3585         CFLAGS_WARNING="-Wall -Wno-implicit-int -fno-strict-aliasing"
    3586     else
    3587         CFLAGS_WARNING=""
    3588     fi
    3589     TCL_NEEDS_EXP_FILE=0
    3590     TCL_BUILD_EXP_FILE=""
    3591     TCL_EXP_FILE=""
    3592     # Extract the first word of "ar", so it can be a program name with args.
    3593 set dummy ar; ac_word=$2
    3594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3596 if test "${ac_cv_prog_AR+set}" = set; then
    3597   echo $ECHO_N "(cached) $ECHO_C" >&6
    3598 else
    3599   if test -n "$AR"; then
    3600   ac_cv_prog_AR="$AR" # Let the user override the test.
    3601 else
    3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3603 for as_dir in $PATH
    3604 do
    3605   IFS=$as_save_IFS
    3606   test -z "$as_dir" && as_dir=.
    3607   for ac_exec_ext in '' $ac_executable_extensions; do
    3608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3609     ac_cv_prog_AR="ar"
    3610     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3611     break 2
    3612   fi
    3613 done
    3614 done
    3615 IFS=$as_save_IFS
    3616 
    3617 fi
    3618 fi
    3619 AR=$ac_cv_prog_AR
    3620 if test -n "$AR"; then
    3621   { echo "$as_me:$LINENO: result: $AR" >&5
    3622 echo "${ECHO_T}$AR" >&6; }
    3623 else
    3624   { echo "$as_me:$LINENO: result: no" >&5
    3625 echo "${ECHO_T}no" >&6; }
    3626 fi
    3627 
    3628 
    3629     if test "${AR}" = "" ; then
    3630         { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    3631 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    3632    { (exit 1); exit 1; }; }
    3633     fi
    3634     STLIB_LD='${AR} cr'
    3635     LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
    3636     PLAT_OBJS=""
    3637     PLAT_SRCS=""
    3638     case $system in
    3639         AIX-*)
    3640             if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
    3641                 # AIX requires the _r compiler when gcc isn't being used
    3642                 case "${CC}" in
    3643                     *_r)
    3644                         # ok ...
    3645                         ;;
    3646                     *)
    3647                         CC=${CC}_r
    3648                         ;;
    3649                 esac
    3650                 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    3651 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }
    3652             fi
    3653             LIBS="$LIBS -lc"
    3654             SHLIB_CFLAGS=""
    3655             # Note: need the LIBS below, otherwise Tk won't find Tcl's
    3656             # symbols when dynamically loaded into tclsh.
    3657             SHLIB_LD_LIBS='${LIBS}'
    3658             SHLIB_SUFFIX=".so"
    3659 
    3660             DL_OBJS="tclLoadDl.o"
    3661             LD_LIBRARY_PATH_VAR="LIBPATH"
    3662 
    3663             # Check to enable 64-bit flags for compiler/linker on AIX 4+
    3664             if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    3665                 if test "$GCC" = "yes" ; then
    3666                     { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    3667 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    3668                 else
    3669                     do64bit_ok=yes
    3670                     CFLAGS="$CFLAGS -q64"
    3671                     LDFLAGS="$LDFLAGS -q64"
    3672                     RANLIB="${RANLIB} -X64"
    3673                     AR="${AR} -X64"
    3674                     SHLIB_LD_FLAGS="-b64"
    3675                 fi
    3676             fi
    3677 
    3678             if test "`uname -m`" = "ia64" ; then
    3679                 # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC
    3680                 SHLIB_LD="/usr/ccs/bin/ld -G -z text"
    3681                 # AIX-5 has dl* in libc.so
    3682                 DL_LIBS=""
    3683                 if test "$GCC" = "yes" ; then
    3684                     CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    3685                 else
    3686                     CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
    3687                 fi
    3688                 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
    3689             else
    3690                 if test "$GCC" = "yes" ; then
    3691                     SHLIB_LD="gcc -shared"
    3692                 else
    3693                     SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
    3694                 fi
    3695                 SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}"
    3696                 DL_LIBS="-ldl"
    3697                 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    3698                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    3699                 TCL_NEEDS_EXP_FILE=1
    3700                 TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
    3701             fi
    3702 
    3703             # AIX v<=4.1 has some different flags than 4.2+
    3704             if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
    3705                 LIBOBJS="$LIBOBJS tclLoadAix.o"
    3706                 DL_LIBS="-lld"
    3707             fi
    3708 
    3709             # On AIX <=v4 systems, libbsd.a has to be linked in to support
    3710             # non-blocking file IO.  This library has to be linked in after
    3711             # the MATH_LIBS or it breaks the pow() function.  The way to
    3712             # insure proper sequencing, is to add it to the tail of MATH_LIBS.
    3713             # This library also supplies gettimeofday.
    3714             #
    3715             # AIX does not have a timezone field in struct tm. When the AIX
    3716             # bsd library is used, the timezone global and the gettimeofday
    3717             # methods are to be avoided for timezone deduction instead, we
    3718             # deduce the timezone by comparing the localtime result on a
    3719             # known GMT value.
    3720 
    3721             { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    3722 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }
    3723 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    3724   echo $ECHO_N "(cached) $ECHO_C" >&6
    3725 else
    3726   ac_check_lib_save_LIBS=$LIBS
    3727 LIBS="-lbsd  $LIBS"
    3728 cat >conftest.$ac_ext <<_ACEOF
    3729 /* confdefs.h.  */
    3730 _ACEOF
    3731 cat confdefs.h >>conftest.$ac_ext
    3732 cat >>conftest.$ac_ext <<_ACEOF
    3733 /* end confdefs.h.  */
    3734 
    3735 /* Override any GCC internal prototype to avoid an error.
    3736    Use char because int might match the return type of a GCC
    3737    builtin and then its argument prototype would still apply.  */
    3738 #ifdef __cplusplus
    3739 extern "C"
    3740 #endif
    3741 char gettimeofday ();
    3742 int
    3743 main ()
    3744 {
    3745 return gettimeofday ();
    3746   ;
    3747   return 0;
    3748 }
    3749 _ACEOF
    3750 rm -f conftest.$ac_objext conftest$ac_exeext
    3751 if { (ac_try="$ac_link"
    3752 case "(($ac_try" in
    3753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3754   *) ac_try_echo=$ac_try;;
    3755 esac
    3756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3757   (eval "$ac_link") 2>conftest.er1
    3758   ac_status=$?
    3759   grep -v '^ *+' conftest.er1 >conftest.err
    3760   rm -f conftest.er1
    3761   cat conftest.err >&5
    3762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3763   (exit $ac_status); } && {
    3764          test -z "$ac_c_werror_flag" ||
    3765          test ! -s conftest.err
    3766        } && test -s conftest$ac_exeext &&
    3767        $as_test_x conftest$ac_exeext; then
    3768   ac_cv_lib_bsd_gettimeofday=yes
    3769 else
    3770   echo "$as_me: failed program was:" >&5
    3771 sed 's/^/| /' conftest.$ac_ext >&5
    3772 
    3773         ac_cv_lib_bsd_gettimeofday=no
    3774 fi
    3775 
    3776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3777       conftest$ac_exeext conftest.$ac_ext
    3778 LIBS=$ac_check_lib_save_LIBS
    3779 fi
    3780 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    3781 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }
    3782 if test $ac_cv_lib_bsd_gettimeofday = yes; then
    3783   libbsd=yes
    3784 else
    3785   libbsd=no
    3786 fi
    3787 
    3788             if test $libbsd = yes; then
    3789                 MATH_LIBS="$MATH_LIBS -lbsd"
    3790                 cat >>confdefs.h <<\_ACEOF
    3791 #define USE_DELTA_FOR_TZ 1
    3792 _ACEOF
    3793 
    3794             fi
    3795             ;;
    3796         BeOS*)
    3797             SHLIB_CFLAGS="-fPIC"
    3798             SHLIB_LD="${CC} -nostart"
    3799             SHLIB_LD_LIBS='${LIBS}'
    3800             SHLIB_SUFFIX=".so"
    3801             DL_OBJS="tclLoadDl.o"
    3802             DL_LIBS="-ldl"
    3803 
    3804             #-----------------------------------------------------------
    3805             # Check for inet_ntoa in -lbind, for BeOS (which also needs
    3806             # -lsocket, even if the network functions are in -lnet which
    3807             # is always linked to, for compatibility.
    3808             #-----------------------------------------------------------
    3809             { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    3810 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }
    3811 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    3812   echo $ECHO_N "(cached) $ECHO_C" >&6
    3813 else
    3814   ac_check_lib_save_LIBS=$LIBS
    3815 LIBS="-lbind  $LIBS"
    3816 cat >conftest.$ac_ext <<_ACEOF
    3817 /* confdefs.h.  */
    3818 _ACEOF
    3819 cat confdefs.h >>conftest.$ac_ext
    3820 cat >>conftest.$ac_ext <<_ACEOF
    3821 /* end confdefs.h.  */
    3822 
    3823 /* Override any GCC internal prototype to avoid an error.
    3824    Use char because int might match the return type of a GCC
    3825    builtin and then its argument prototype would still apply.  */
    3826 #ifdef __cplusplus
    3827 extern "C"
    3828 #endif
    3829 char inet_ntoa ();
    3830 int
    3831 main ()
    3832 {
    3833 return inet_ntoa ();
    3834   ;
    3835   return 0;
    3836 }
    3837 _ACEOF
    3838 rm -f conftest.$ac_objext conftest$ac_exeext
    3839 if { (ac_try="$ac_link"
    3840 case "(($ac_try" in
    3841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3842   *) ac_try_echo=$ac_try;;
    3843 esac
    3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3845   (eval "$ac_link") 2>conftest.er1
    3846   ac_status=$?
    3847   grep -v '^ *+' conftest.er1 >conftest.err
    3848   rm -f conftest.er1
    3849   cat conftest.err >&5
    3850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3851   (exit $ac_status); } && {
    3852          test -z "$ac_c_werror_flag" ||
    3853          test ! -s conftest.err
    3854        } && test -s conftest$ac_exeext &&
    3855        $as_test_x conftest$ac_exeext; then
    3856   ac_cv_lib_bind_inet_ntoa=yes
    3857 else
    3858   echo "$as_me: failed program was:" >&5
    3859 sed 's/^/| /' conftest.$ac_ext >&5
    3860 
    3861         ac_cv_lib_bind_inet_ntoa=no
    3862 fi
    3863 
    3864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3865       conftest$ac_exeext conftest.$ac_ext
    3866 LIBS=$ac_check_lib_save_LIBS
    3867 fi
    3868 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    3869 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }
    3870 if test $ac_cv_lib_bind_inet_ntoa = yes; then
    3871   LIBS="$LIBS -lbind -lsocket"
    3872 fi
    3873 
    3874             ;;
    3875         BSD/OS-2.1*|BSD/OS-3*)
    3876             SHLIB_CFLAGS=""
    3877             SHLIB_LD="shlicc -r"
    3878             SHLIB_LD_LIBS='${LIBS}'
    3879             SHLIB_SUFFIX=".so"
    3880             DL_OBJS="tclLoadDl.o"
    3881             DL_LIBS="-ldl"
    3882             CC_SEARCH_FLAGS=""
    3883             LD_SEARCH_FLAGS=""
    3884             ;;
    3885         BSD/OS-4.*)
    3886             SHLIB_CFLAGS="-export-dynamic -fPIC"
    3887             SHLIB_LD="cc -shared"
    3888             SHLIB_LD_LIBS='${LIBS}'
    3889             SHLIB_SUFFIX=".so"
    3890             DL_OBJS="tclLoadDl.o"
    3891             DL_LIBS="-ldl"
    3892             LDFLAGS="$LDFLAGS -export-dynamic"
    3893             CC_SEARCH_FLAGS=""
    3894             LD_SEARCH_FLAGS=""
    3895             ;;
    3896         dgux*)
    3897             SHLIB_CFLAGS="-K PIC"
    3898             SHLIB_LD="cc -G"
    3899             SHLIB_LD_LIBS=""
    3900             SHLIB_SUFFIX=".so"
    3901             DL_OBJS="tclLoadDl.o"
    3902             DL_LIBS="-ldl"
    3903             CC_SEARCH_FLAGS=""
    3904             LD_SEARCH_FLAGS=""
    3905             ;;
    3906         HP-UX-*.11.*)
    3907             # Use updated header definitions where possible
    3908             cat >>confdefs.h <<\_ACEOF
    3909 #define _XOPEN_SOURCE 1
    3910 _ACEOF
    3911           # Use the XOPEN network library
    3912             cat >>confdefs.h <<\_ACEOF
    3913 #define _XOPEN_SOURCE_EXTENDED 1
    3914 _ACEOF
    3915  # Use the XOPEN network library
    3916             LIBS="$LIBS -lxnet"               # Use the XOPEN network library
    3917 
    3918             if test "`uname -m`" = "ia64" ; then
    3919                 SHLIB_SUFFIX=".so"
    3920             else
    3921                 SHLIB_SUFFIX=".sl"
    3922             fi
    3923             { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    3924 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
    3925 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    3926   echo $ECHO_N "(cached) $ECHO_C" >&6
    3927 else
    3928   ac_check_lib_save_LIBS=$LIBS
    3929 LIBS="-ldld  $LIBS"
    3930 cat >conftest.$ac_ext <<_ACEOF
    3931 /* confdefs.h.  */
    3932 _ACEOF
    3933 cat confdefs.h >>conftest.$ac_ext
    3934 cat >>conftest.$ac_ext <<_ACEOF
    3935 /* end confdefs.h.  */
    3936 
    3937 /* Override any GCC internal prototype to avoid an error.
    3938    Use char because int might match the return type of a GCC
    3939    builtin and then its argument prototype would still apply.  */
    3940 #ifdef __cplusplus
    3941 extern "C"
    3942 #endif
    3943 char shl_load ();
    3944 int
    3945 main ()
    3946 {
    3947 return shl_load ();
    3948   ;
    3949   return 0;
    3950 }
    3951 _ACEOF
    3952 rm -f conftest.$ac_objext conftest$ac_exeext
    3953 if { (ac_try="$ac_link"
    3954 case "(($ac_try" in
    3955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3956   *) ac_try_echo=$ac_try;;
    3957 esac
    3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3959   (eval "$ac_link") 2>conftest.er1
    3960   ac_status=$?
    3961   grep -v '^ *+' conftest.er1 >conftest.err
    3962   rm -f conftest.er1
    3963   cat conftest.err >&5
    3964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3965   (exit $ac_status); } && {
    3966          test -z "$ac_c_werror_flag" ||
    3967          test ! -s conftest.err
    3968        } && test -s conftest$ac_exeext &&
    3969        $as_test_x conftest$ac_exeext; then
    3970   ac_cv_lib_dld_shl_load=yes
    3971 else
    3972   echo "$as_me: failed program was:" >&5
    3973 sed 's/^/| /' conftest.$ac_ext >&5
    3974 
    3975         ac_cv_lib_dld_shl_load=no
    3976 fi
    3977 
    3978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3979       conftest$ac_exeext conftest.$ac_ext
    3980 LIBS=$ac_check_lib_save_LIBS
    3981 fi
    3982 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    3983 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
    3984 if test $ac_cv_lib_dld_shl_load = yes; then
    3985   tcl_ok=yes
    3986 else
    3987   tcl_ok=no
    3988 fi
    3989 
    3990             if test "$tcl_ok" = yes; then
    3991                 SHLIB_CFLAGS="+z"
    3992                 SHLIB_LD="ld -b"
    3993                 SHLIB_LD_LIBS='${LIBS}'
    3994                 DL_OBJS="tclLoadShl.o"
    3995                 DL_LIBS="-ldld"
    3996                 LDFLAGS="$LDFLAGS -Wl,-E"
    3997                 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
    3998                 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
    3999                 LD_LIBRARY_PATH_VAR="SHLIB_PATH"
    4000             fi
    4001             if test "$GCC" = "yes" ; then
    4002                 SHLIB_LD="gcc -shared"
    4003                 SHLIB_LD_LIBS='${LIBS}'
    4004                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4005             fi
    4006 
    4007             # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
    4008             #CFLAGS="$CFLAGS +DAportable"
    4009 
    4010             # Check to enable 64-bit flags for compiler/linker
    4011             if test "$do64bit" = "yes" ; then
    4012                 if test "$GCC" = "yes" ; then
    4013                     hpux_arch=`${CC} -dumpmachine`
    4014                     case $hpux_arch in
    4015                         hppa64*)
    4016                             # 64-bit gcc in use.  Fix flags for GNU ld.
    4017                             do64bit_ok=yes
    4018                             SHLIB_LD="${CC} -shared"
    4019                             SHLIB_LD_LIBS='${LIBS}'
    4020                             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4021                             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4022                             ;;
    4023                         *)
    4024                             { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    4025 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    4026                             ;;
    4027                     esac
    4028                 else
    4029                     do64bit_ok=yes
    4030                     CFLAGS="$CFLAGS +DD64"
    4031                     LDFLAGS="$LDFLAGS +DD64"
    4032                 fi
    4033             fi
    4034             ;;
    4035         HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    4036             SHLIB_SUFFIX=".sl"
    4037             { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    4038 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
    4039 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    4040   echo $ECHO_N "(cached) $ECHO_C" >&6
    4041 else
    4042   ac_check_lib_save_LIBS=$LIBS
    4043 LIBS="-ldld  $LIBS"
    4044 cat >conftest.$ac_ext <<_ACEOF
    4045 /* confdefs.h.  */
    4046 _ACEOF
    4047 cat confdefs.h >>conftest.$ac_ext
    4048 cat >>conftest.$ac_ext <<_ACEOF
    4049 /* end confdefs.h.  */
    4050 
    4051 /* Override any GCC internal prototype to avoid an error.
    4052    Use char because int might match the return type of a GCC
    4053    builtin and then its argument prototype would still apply.  */
    4054 #ifdef __cplusplus
    4055 extern "C"
    4056 #endif
    4057 char shl_load ();
    4058 int
    4059 main ()
    4060 {
    4061 return shl_load ();
    4062   ;
    4063   return 0;
    4064 }
    4065 _ACEOF
    4066 rm -f conftest.$ac_objext conftest$ac_exeext
    4067 if { (ac_try="$ac_link"
    4068 case "(($ac_try" in
    4069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4070   *) ac_try_echo=$ac_try;;
    4071 esac
    4072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4073   (eval "$ac_link") 2>conftest.er1
    4074   ac_status=$?
    4075   grep -v '^ *+' conftest.er1 >conftest.err
    4076   rm -f conftest.er1
    4077   cat conftest.err >&5
    4078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4079   (exit $ac_status); } && {
    4080          test -z "$ac_c_werror_flag" ||
    4081          test ! -s conftest.err
    4082        } && test -s conftest$ac_exeext &&
    4083        $as_test_x conftest$ac_exeext; then
    4084   ac_cv_lib_dld_shl_load=yes
    4085 else
    4086   echo "$as_me: failed program was:" >&5
    4087 sed 's/^/| /' conftest.$ac_ext >&5
    4088 
    4089         ac_cv_lib_dld_shl_load=no
    4090 fi
    4091 
    4092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4093       conftest$ac_exeext conftest.$ac_ext
    4094 LIBS=$ac_check_lib_save_LIBS
    4095 fi
    4096 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    4097 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
    4098 if test $ac_cv_lib_dld_shl_load = yes; then
    4099   tcl_ok=yes
    4100 else
    4101   tcl_ok=no
    4102 fi
    4103 
    4104             if test "$tcl_ok" = yes; then
    4105                 SHLIB_CFLAGS="+z"
    4106                 SHLIB_LD="ld -b"
    4107                 SHLIB_LD_LIBS=""
    4108                 DL_OBJS="tclLoadShl.o"
    4109                 DL_LIBS="-ldld"
    4110                 LDFLAGS="$LDFLAGS -Wl,-E"
    4111                 CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
    4112                 LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
    4113                 LD_LIBRARY_PATH_VAR="SHLIB_PATH"
    4114             fi
    4115             ;;
    4116         IRIX-4.*)
    4117             SHLIB_CFLAGS="-G 0"
    4118             SHLIB_SUFFIX=".a"
    4119             SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
    4120             SHLIB_LD_LIBS='${LIBS}'
    4121             DL_OBJS="tclLoadAout.o"
    4122             DL_LIBS=""
    4123             LDFLAGS="$LDFLAGS -Wl,-D,08000000"
    4124             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    4125             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4126             SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
    4127             ;;
    4128         IRIX-5.*)
    4129             SHLIB_CFLAGS=""
    4130             SHLIB_LD="ld -shared -rdata_shared"
    4131             SHLIB_LD_LIBS='${LIBS}'
    4132             SHLIB_SUFFIX=".so"
    4133             DL_OBJS="tclLoadDl.o"
    4134             DL_LIBS=""
    4135             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4136             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4137             ;;
    4138         IRIX-6.*)
    4139             SHLIB_CFLAGS=""
    4140             SHLIB_LD="ld -n32 -shared -rdata_shared"
    4141             SHLIB_LD_LIBS='${LIBS}'
    4142             SHLIB_SUFFIX=".so"
    4143             DL_OBJS="tclLoadDl.o"
    4144             DL_LIBS=""
    4145             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4146             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4147             if test "$GCC" = "yes" ; then
    4148                 CFLAGS="$CFLAGS -mabi=n32"
    4149                 LDFLAGS="$LDFLAGS -mabi=n32"
    4150             else
    4151                 case $system in
    4152                     IRIX-6.3)
    4153                         # Use to build 6.2 compatible binaries on 6.3.
    4154                         CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS"
    4155                         ;;
    4156                     *)
    4157                         CFLAGS="$CFLAGS -n32"
    4158                         ;;
    4159                 esac
    4160                 LDFLAGS="$LDFLAGS -n32"
    4161             fi
    4162             ;;
    4163         IRIX64-6.*)
    4164             SHLIB_CFLAGS=""
    4165             SHLIB_LD="ld -n32 -shared -rdata_shared"
    4166             SHLIB_LD_LIBS='${LIBS}'
    4167             SHLIB_SUFFIX=".so"
    4168             DL_OBJS="tclLoadDl.o"
    4169             DL_LIBS=""
    4170             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4171             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4172 
    4173             # Check to enable 64-bit flags for compiler/linker
    4174 
    4175             if test "$do64bit" = "yes" ; then
    4176                 if test "$GCC" = "yes" ; then
    4177                     { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    4178 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    4179                 else
    4180                     do64bit_ok=yes
    4181                     SHLIB_LD="ld -64 -shared -rdata_shared"
    4182                     CFLAGS="$CFLAGS -64"
    4183                     LDFLAGS="$LDFLAGS -64"
    4184                 fi
    4185             fi
    4186             ;;
    4187         Linux*)
    4188             SHLIB_CFLAGS="-fPIC"
    4189             SHLIB_LD_LIBS='${LIBS}'
    4190             SHLIB_SUFFIX=".so"
    4191 
    4192             CFLAGS_OPTIMIZE=-O2
    4193             # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
    4194             # when you inline the string and math operations.  Turn this off to
    4195             # get rid of the warnings.
    4196             #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
    4197 
    4198             if test "$have_dl" = yes; then
    4199                 SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
    4200                 DL_OBJS="tclLoadDl.o"
    4201                 DL_LIBS="-ldl"
    4202                 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
    4203                 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4204                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4205             else
    4206                 if test "${ac_cv_header_dld_h+set}" = set; then
    4207   { echo "$as_me:$LINENO: checking for dld.h" >&5
    4208 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    4209 if test "${ac_cv_header_dld_h+set}" = set; then
    4210   echo $ECHO_N "(cached) $ECHO_C" >&6
    4211 fi
    4212 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4213 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    4214 else
    4215   # Is the header compilable?
    4216 { echo "$as_me:$LINENO: checking dld.h usability" >&5
    4217 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; }
    4218 cat >conftest.$ac_ext <<_ACEOF
    4219 /* confdefs.h.  */
    4220 _ACEOF
    4221 cat confdefs.h >>conftest.$ac_ext
    4222 cat >>conftest.$ac_ext <<_ACEOF
    4223 /* end confdefs.h.  */
    4224 $ac_includes_default
    4225 #include <dld.h>
    4226 _ACEOF
    4227 rm -f conftest.$ac_objext
    4228 if { (ac_try="$ac_compile"
    4229 case "(($ac_try" in
    4230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4231   *) ac_try_echo=$ac_try;;
    4232 esac
    4233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4234   (eval "$ac_compile") 2>conftest.er1
    4235   ac_status=$?
    4236   grep -v '^ *+' conftest.er1 >conftest.err
    4237   rm -f conftest.er1
    4238   cat conftest.err >&5
    4239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4240   (exit $ac_status); } && {
    4241          test -z "$ac_c_werror_flag" ||
    4242          test ! -s conftest.err
    4243        } && test -s conftest.$ac_objext; then
    4244   ac_header_compiler=yes
    4245 else
    4246   echo "$as_me: failed program was:" >&5
    4247 sed 's/^/| /' conftest.$ac_ext >&5
    4248 
    4249         ac_header_compiler=no
    4250 fi
    4251 
    4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4254 echo "${ECHO_T}$ac_header_compiler" >&6; }
    4255 
    4256 # Is the header present?
    4257 { echo "$as_me:$LINENO: checking dld.h presence" >&5
    4258 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; }
    4259 cat >conftest.$ac_ext <<_ACEOF
    4260 /* confdefs.h.  */
    4261 _ACEOF
    4262 cat confdefs.h >>conftest.$ac_ext
    4263 cat >>conftest.$ac_ext <<_ACEOF
    4264 /* end confdefs.h.  */
    4265 #include <dld.h>
    4266 _ACEOF
    4267 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4268 case "(($ac_try" in
    4269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4270   *) ac_try_echo=$ac_try;;
    4271 esac
    4272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4273   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4274   ac_status=$?
    4275   grep -v '^ *+' conftest.er1 >conftest.err
    4276   rm -f conftest.er1
    4277   cat conftest.err >&5
    4278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4279   (exit $ac_status); } >/dev/null && {
    4280          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4281          test ! -s conftest.err
    4282        }; then
    4283   ac_header_preproc=yes
    4284 else
    4285   echo "$as_me: failed program was:" >&5
    4286 sed 's/^/| /' conftest.$ac_ext >&5
    4287 
    4288   ac_header_preproc=no
    4289 fi
    4290 
    4291 rm -f conftest.err conftest.$ac_ext
    4292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4293 echo "${ECHO_T}$ac_header_preproc" >&6; }
    4294 
    4295 # So?  What about this header?
    4296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4297   yes:no: )
    4298     { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4299 echo "$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
    4301 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4302     ac_header_preproc=yes
    4303     ;;
    4304   no:yes:* )
    4305     { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4306 echo "$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
    4308 echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4309     { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4310 echo "$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
    4312 echo "$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
    4314 echo "$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
    4316 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4317     ( cat <<\_ASBOX
    4318 ## ----------------------------------- ##
    4319 ## Report this to rappture@nanohub.org ##
    4320 ## ----------------------------------- ##
    4321 _ASBOX
    4322      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4323     ;;
    4324 esac
    4325 { echo "$as_me:$LINENO: checking for dld.h" >&5
    4326 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    4327 if test "${ac_cv_header_dld_h+set}" = set; then
    4328   echo $ECHO_N "(cached) $ECHO_C" >&6
    4329 else
    4330   ac_cv_header_dld_h=$ac_header_preproc
    4331 fi
    4332 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4333 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    4334 
    4335 fi
    4336 if test $ac_cv_header_dld_h = yes; then
    4337 
    4338                     SHLIB_LD="ld -shared"
    4339                     DL_OBJS="tclLoadDld.o"
    4340                     DL_LIBS="-ldld"
    4341                     CC_SEARCH_FLAGS=""
    4342                     LD_SEARCH_FLAGS=""
    4343 fi
    4344 
    4345 
    4346             fi
    4347             if test "`uname -m`" = "alpha" ; then
    4348                 CFLAGS="$CFLAGS -mieee"
    4349             fi
    4350             if test $do64bit = yes; then
    4351                 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    4352 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }
    4353 if test "${tcl_cv_cc_m64+set}" = set; then
    4354   echo $ECHO_N "(cached) $ECHO_C" >&6
    4355 else
    4356 
    4357                     hold_cflags=$CFLAGS
    4358                     CFLAGS="$CFLAGS -m64"
    4359                     cat >conftest.$ac_ext <<_ACEOF
    4360 /* confdefs.h.  */
    4361 _ACEOF
    4362 cat confdefs.h >>conftest.$ac_ext
    4363 cat >>conftest.$ac_ext <<_ACEOF
    4364 /* end confdefs.h.  */
    4365 
    4366 int
    4367 main ()
    4368 {
    4369 
    4370   ;
    4371   return 0;
    4372 }
    4373 _ACEOF
    4374 rm -f conftest.$ac_objext conftest$ac_exeext
    4375 if { (ac_try="$ac_link"
    4376 case "(($ac_try" in
    4377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4378   *) ac_try_echo=$ac_try;;
    4379 esac
    4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4381   (eval "$ac_link") 2>conftest.er1
    4382   ac_status=$?
    4383   grep -v '^ *+' conftest.er1 >conftest.err
    4384   rm -f conftest.er1
    4385   cat conftest.err >&5
    4386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4387   (exit $ac_status); } && {
    4388          test -z "$ac_c_werror_flag" ||
    4389          test ! -s conftest.err
    4390        } && test -s conftest$ac_exeext &&
    4391        $as_test_x conftest$ac_exeext; then
    4392   tcl_cv_cc_m64=yes
    4393 else
    4394   echo "$as_me: failed program was:" >&5
    4395 sed 's/^/| /' conftest.$ac_ext >&5
    4396 
    4397         tcl_cv_cc_m64=no
    4398 fi
    4399 
    4400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4401       conftest$ac_exeext conftest.$ac_ext
    4402                     CFLAGS=$hold_cflags
    4403 fi
    4404 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    4405 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }
    4406                 if test $tcl_cv_cc_m64 = yes; then
    4407                     CFLAGS="$CFLAGS -m64"
    4408                     do64bit_ok=yes
    4409                 fi
    4410             fi
    4411 
    4412             # The combo of gcc + glibc has a bug related
    4413             # to inlining of functions like strtod(). The
    4414             # -fno-builtin flag should address this problem
    4415             # but it does not work. The -fno-inline flag
    4416             # is kind of overkill but it works.
    4417             # Disable inlining only when one of the
    4418             # files in compat/*.c is being linked in.
    4419             if test x"${LIBOBJS}" != x ; then
    4420                 CFLAGS="$CFLAGS -fno-inline"
    4421             fi
    4422 
    4423             # XIM peeking works under XFree86.
    4424             cat >>confdefs.h <<\_ACEOF
    4425 #define PEEK_XCLOSEIM 1
    4426 _ACEOF
    4427 
    4428 
    4429             ;;
    4430         GNU*)
    4431             SHLIB_CFLAGS="-fPIC"
    4432             SHLIB_LD_LIBS='${LIBS}'
    4433             SHLIB_SUFFIX=".so"
    4434 
    4435             if test "$have_dl" = yes; then
    4436                 SHLIB_LD="${CC} -shared"
    4437                 DL_OBJS=""
    4438                 DL_LIBS="-ldl"
    4439                 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
    4440                 CC_SEARCH_FLAGS=""
    4441                 LD_SEARCH_FLAGS=""
    4442             else
    4443                 if test "${ac_cv_header_dld_h+set}" = set; then
    4444   { echo "$as_me:$LINENO: checking for dld.h" >&5
    4445 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    4446 if test "${ac_cv_header_dld_h+set}" = set; then
    4447   echo $ECHO_N "(cached) $ECHO_C" >&6
    4448 fi
    4449 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4450 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    4451 else
    4452   # Is the header compilable?
    4453 { echo "$as_me:$LINENO: checking dld.h usability" >&5
    4454 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; }
    4455 cat >conftest.$ac_ext <<_ACEOF
    4456 /* confdefs.h.  */
    4457 _ACEOF
    4458 cat confdefs.h >>conftest.$ac_ext
    4459 cat >>conftest.$ac_ext <<_ACEOF
    4460 /* end confdefs.h.  */
    4461 $ac_includes_default
    4462 #include <dld.h>
    4463 _ACEOF
    4464 rm -f conftest.$ac_objext
    4465 if { (ac_try="$ac_compile"
    4466 case "(($ac_try" in
    4467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4468   *) ac_try_echo=$ac_try;;
    4469 esac
    4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4471   (eval "$ac_compile") 2>conftest.er1
    4472   ac_status=$?
    4473   grep -v '^ *+' conftest.er1 >conftest.err
    4474   rm -f conftest.er1
    4475   cat conftest.err >&5
    4476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4477   (exit $ac_status); } && {
    4478          test -z "$ac_c_werror_flag" ||
    4479          test ! -s conftest.err
    4480        } && test -s conftest.$ac_objext; then
    4481   ac_header_compiler=yes
    4482 else
    4483   echo "$as_me: failed program was:" >&5
    4484 sed 's/^/| /' conftest.$ac_ext >&5
    4485 
    4486         ac_header_compiler=no
    4487 fi
    4488 
    4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4491 echo "${ECHO_T}$ac_header_compiler" >&6; }
    4492 
    4493 # Is the header present?
    4494 { echo "$as_me:$LINENO: checking dld.h presence" >&5
    4495 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; }
    4496 cat >conftest.$ac_ext <<_ACEOF
    4497 /* confdefs.h.  */
    4498 _ACEOF
    4499 cat confdefs.h >>conftest.$ac_ext
    4500 cat >>conftest.$ac_ext <<_ACEOF
    4501 /* end confdefs.h.  */
    4502 #include <dld.h>
    4503 _ACEOF
    4504 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4505 case "(($ac_try" in
    4506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4507   *) ac_try_echo=$ac_try;;
    4508 esac
    4509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4510   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4511   ac_status=$?
    4512   grep -v '^ *+' conftest.er1 >conftest.err
    4513   rm -f conftest.er1
    4514   cat conftest.err >&5
    4515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4516   (exit $ac_status); } >/dev/null && {
    4517          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4518          test ! -s conftest.err
    4519        }; then
    4520   ac_header_preproc=yes
    4521 else
    4522   echo "$as_me: failed program was:" >&5
    4523 sed 's/^/| /' conftest.$ac_ext >&5
    4524 
    4525   ac_header_preproc=no
    4526 fi
    4527 
    4528 rm -f conftest.err conftest.$ac_ext
    4529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4530 echo "${ECHO_T}$ac_header_preproc" >&6; }
    4531 
    4532 # So?  What about this header?
    4533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4534   yes:no: )
    4535     { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4536 echo "$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
    4538 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4539     ac_header_preproc=yes
    4540     ;;
    4541   no:yes:* )
    4542     { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4543 echo "$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
    4545 echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4546     { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4547 echo "$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
    4549 echo "$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
    4551 echo "$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
    4553 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4554     ( cat <<\_ASBOX
    4555 ## ----------------------------------- ##
    4556 ## Report this to rappture@nanohub.org ##
    4557 ## ----------------------------------- ##
    4558 _ASBOX
    4559      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4560     ;;
    4561 esac
    4562 { echo "$as_me:$LINENO: checking for dld.h" >&5
    4563 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    4564 if test "${ac_cv_header_dld_h+set}" = set; then
    4565   echo $ECHO_N "(cached) $ECHO_C" >&6
    4566 else
    4567   ac_cv_header_dld_h=$ac_header_preproc
    4568 fi
    4569 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4570 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    4571 
    4572 fi
    4573 if test $ac_cv_header_dld_h = yes; then
    4574 
    4575                     SHLIB_LD="ld -shared"
    4576                     DL_OBJS=""
    4577                     DL_LIBS="-ldld"
    4578                     CC_SEARCH_FLAGS=""
    4579                     LD_SEARCH_FLAGS=""
    4580 fi
    4581 
    4582 
    4583             fi
    4584             if test "`uname -m`" = "alpha" ; then
    4585                 CFLAGS="$CFLAGS -mieee"
    4586             fi
    4587             ;;
    4588         Lynx*)
    4589             SHLIB_CFLAGS="-fPIC"
    4590             SHLIB_LD_LIBS='${LIBS}'
    4591             SHLIB_SUFFIX=".so"
    4592             CFLAGS_OPTIMIZE=-02
    4593             SHLIB_LD="${CC} -shared "
    4594             DL_OBJS="tclLoadDl.o"
    4595             DL_LIBS="-mshared -ldl"
    4596             LD_FLAGS="-Wl,--export-dynamic"
    4597             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4598             LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4599             ;;
    4600         MP-RAS-02*)
    4601             SHLIB_CFLAGS="-K PIC"
    4602             SHLIB_LD="cc -G"
    4603             SHLIB_LD_LIBS=""
    4604             SHLIB_SUFFIX=".so"
    4605             DL_OBJS="tclLoadDl.o"
    4606             DL_LIBS="-ldl"
    4607             CC_SEARCH_FLAGS=""
    4608             LD_SEARCH_FLAGS=""
    4609             ;;
    4610         MP-RAS-*)
    4611             SHLIB_CFLAGS="-K PIC"
    4612             SHLIB_LD="cc -G"
    4613             SHLIB_LD_LIBS=""
    4614             SHLIB_SUFFIX=".so"
    4615             DL_OBJS="tclLoadDl.o"
    4616             DL_LIBS="-ldl"
    4617             LDFLAGS="$LDFLAGS -Wl,-Bexport"
    4618             CC_SEARCH_FLAGS=""
    4619             LD_SEARCH_FLAGS=""
    4620             ;;
    4621         NetBSD-*|FreeBSD-[1-2].*)
    4622             # Not available on all versions:  check for include file.
    4623             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4624   { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4625 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
    4626 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4627   echo $ECHO_N "(cached) $ECHO_C" >&6
    4628 fi
    4629 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4630 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
    4631 else
    4632   # Is the header compilable?
    4633 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    4634 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
    4635 cat >conftest.$ac_ext <<_ACEOF
    4636 /* confdefs.h.  */
    4637 _ACEOF
    4638 cat confdefs.h >>conftest.$ac_ext
    4639 cat >>conftest.$ac_ext <<_ACEOF
    4640 /* end confdefs.h.  */
    4641 $ac_includes_default
    4642 #include <dlfcn.h>
    4643 _ACEOF
    4644 rm -f conftest.$ac_objext
    4645 if { (ac_try="$ac_compile"
    4646 case "(($ac_try" in
    4647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4648   *) ac_try_echo=$ac_try;;
    4649 esac
    4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4651   (eval "$ac_compile") 2>conftest.er1
    4652   ac_status=$?
    4653   grep -v '^ *+' conftest.er1 >conftest.err
    4654   rm -f conftest.er1
    4655   cat conftest.err >&5
    4656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4657   (exit $ac_status); } && {
    4658          test -z "$ac_c_werror_flag" ||
    4659          test ! -s conftest.err
    4660        } && test -s conftest.$ac_objext; then
    4661   ac_header_compiler=yes
    4662 else
    4663   echo "$as_me: failed program was:" >&5
    4664 sed 's/^/| /' conftest.$ac_ext >&5
    4665 
    4666         ac_header_compiler=no
    4667 fi
    4668 
    4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4670 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4671 echo "${ECHO_T}$ac_header_compiler" >&6; }
    4672 
    4673 # Is the header present?
    4674 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    4675 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
    4676 cat >conftest.$ac_ext <<_ACEOF
    4677 /* confdefs.h.  */
    4678 _ACEOF
    4679 cat confdefs.h >>conftest.$ac_ext
    4680 cat >>conftest.$ac_ext <<_ACEOF
    4681 /* end confdefs.h.  */
    4682 #include <dlfcn.h>
    4683 _ACEOF
    4684 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4685 case "(($ac_try" in
    4686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4687   *) ac_try_echo=$ac_try;;
    4688 esac
    4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4690   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4691   ac_status=$?
    4692   grep -v '^ *+' conftest.er1 >conftest.err
    4693   rm -f conftest.er1
    4694   cat conftest.err >&5
    4695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4696   (exit $ac_status); } >/dev/null && {
    4697          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4698          test ! -s conftest.err
    4699        }; then
    4700   ac_header_preproc=yes
    4701 else
    4702   echo "$as_me: failed program was:" >&5
    4703 sed 's/^/| /' conftest.$ac_ext >&5
    4704 
    4705   ac_header_preproc=no
    4706 fi
    4707 
    4708 rm -f conftest.err conftest.$ac_ext
    4709 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4710 echo "${ECHO_T}$ac_header_preproc" >&6; }
    4711 
    4712 # So?  What about this header?
    4713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4714   yes:no: )
    4715     { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4716 echo "$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
    4718 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    4719     ac_header_preproc=yes
    4720     ;;
    4721   no:yes:* )
    4722     { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    4723 echo "$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
    4725 echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    4726     { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    4727 echo "$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
    4729 echo "$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
    4731 echo "$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
    4733 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    4734     ( cat <<\_ASBOX
    4735 ## ----------------------------------- ##
    4736 ## Report this to rappture@nanohub.org ##
    4737 ## ----------------------------------- ##
    4738 _ASBOX
    4739      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4740     ;;
    4741 esac
    4742 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4743 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
    4744 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4745   echo $ECHO_N "(cached) $ECHO_C" >&6
    4746 else
    4747   ac_cv_header_dlfcn_h=$ac_header_preproc
    4748 fi
    4749 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4750 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
    4751 
    4752 fi
    4753 if test $ac_cv_header_dlfcn_h = yes; then
    4754 
    4755                 # NetBSD/SPARC needs -fPIC, -fpic will not do.
    4756                 SHLIB_CFLAGS="-fPIC"
    4757                 SHLIB_LD="ld -Bshareable -x"
    4758                 SHLIB_LD_LIBS='${LIBS}'
    4759                 SHLIB_SUFFIX=".so"
    4760                 DL_OBJS="tclLoadDl.o"
    4761                 DL_LIBS=""
    4762                 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4763                 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4764                 { echo "$as_me:$LINENO: checking for ELF" >&5
    4765 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
    4766 if test "${tcl_cv_ld_elf+set}" = set; then
    4767   echo $ECHO_N "(cached) $ECHO_C" >&6
    4768 else
    4769 
    4770                     cat >conftest.$ac_ext <<_ACEOF
    4771 /* confdefs.h.  */
    4772 _ACEOF
    4773 cat confdefs.h >>conftest.$ac_ext
    4774 cat >>conftest.$ac_ext <<_ACEOF
    4775 /* end confdefs.h.  */
    4776 
    4777 #ifdef __ELF__
    4778         yes
    4779 #endif
    4780 
    4781 _ACEOF
    4782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4783   $EGREP "yes" >/dev/null 2>&1; then
    4784   tcl_cv_ld_elf=yes
    4785 else
    4786   tcl_cv_ld_elf=no
    4787 fi
    4788 rm -f conftest*
    4789 
    4790 fi
    4791 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    4792 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
    4793                 if test $tcl_cv_ld_elf = yes; then
    4794                     SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
    4795                 else
    4796                     SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4797                 fi
    4798 
    4799 else
    4800 
    4801                 SHLIB_CFLAGS=""
    4802                 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
    4803                 SHLIB_LD_LIBS='${LIBS}'
    4804                 SHLIB_SUFFIX=".a"
    4805                 DL_OBJS="tclLoadAout.o"
    4806                 DL_LIBS=""
    4807                 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    4808                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4809                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4810 
    4811 fi
    4812 
    4813 
    4814 
    4815             # FreeBSD doesn't handle version numbers with dots.
    4816 
    4817             UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4818             TCL_LIB_VERSIONS_OK=nodots
    4819             ;;
    4820         OpenBSD-*)
    4821             case `arch -s` in
    4822             m88k|vax)
    4823                 SHLIB_CFLAGS=""
    4824                 SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
    4825                 SHLIB_LD_LIBS='${LIBS}'
    4826                 SHLIB_SUFFIX=".a"
    4827                 DL_OBJS="tclLoadAout.o"
    4828                 DL_LIBS=""
    4829                 LDFLAGS=""
    4830                 CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    4831                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4832                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4833                 ;;
    4834             *)
    4835                 # OpenBSD/SPARC[64] needs -fPIC, -fpic will not do.
    4836                 case `machine` in
    4837                 sparc|sparc64)
    4838                     SHLIB_CFLAGS="-fPIC";;
    4839                 *)
    4840                     SHLIB_CFLAGS="-fpic";;
    4841                 esac
    4842                 SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
    4843                 SHLIB_LD_LIBS='${LIBS}'
    4844                 SHLIB_SUFFIX=".so"
    4845                 DL_OBJS="tclLoadDl.o"
    4846                 DL_LIBS=""
    4847                 CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4848                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    4849                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4850                 { echo "$as_me:$LINENO: checking for ELF" >&5
    4851 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
    4852 if test "${tcl_cv_ld_elf+set}" = set; then
    4853   echo $ECHO_N "(cached) $ECHO_C" >&6
    4854 else
    4855 
    4856                     cat >conftest.$ac_ext <<_ACEOF
    4857 /* confdefs.h.  */
    4858 _ACEOF
    4859 cat confdefs.h >>conftest.$ac_ext
    4860 cat >>conftest.$ac_ext <<_ACEOF
    4861 /* end confdefs.h.  */
    4862 
    4863 #ifdef __ELF__
    4864         yes
    4865 #endif
    4866 
    4867 _ACEOF
    4868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4869   $EGREP "yes" >/dev/null 2>&1; then
    4870   tcl_cv_ld_elf=yes
    4871 else
    4872   tcl_cv_ld_elf=no
    4873 fi
    4874 rm -f conftest*
    4875 
    4876 fi
    4877 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    4878 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
    4879                 if test $tcl_cv_ld_elf = yes; then
    4880                     LDFLAGS=-Wl,-export-dynamic
    4881                 else
    4882                     LDFLAGS=""
    4883                 fi
    4884                 ;;
    4885             esac
    4886 
    4887             # OpenBSD doesn't do version numbers with dots.
    4888             UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4889             TCL_LIB_VERSIONS_OK=nodots
    4890             ;;
    4891         FreeBSD-*)
    4892             # FreeBSD 3.* and greater have ELF.
    4893             SHLIB_CFLAGS="-fPIC"
    4894             SHLIB_LD="ld -Bshareable -x"
    4895             SHLIB_LD_LIBS='${LIBS}'
    4896             SHLIB_SUFFIX=".so"
    4897             DL_OBJS="tclLoadDl.o"
    4898             DL_LIBS=""
    4899             LDFLAGS="$LDFLAGS -export-dynamic"
    4900             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    4901             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4902             if test "${TCL_THREADS}" = "1" ; then
    4903                 # The -pthread needs to go in the CFLAGS, not LIBS
    4904                 LIBS=`echo $LIBS | sed s/-pthread//`
    4905                 CFLAGS="$CFLAGS -pthread"
    4906                 LDFLAGS="$LDFLAGS -pthread"
    4907             fi
    4908             case $system in
    4909             FreeBSD-3.*)
    4910                 # FreeBSD-3 doesn't handle version numbers with dots.
    4911                 UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    4912                 SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
    4913                 TCL_LIB_VERSIONS_OK=nodots
    4914                 ;;
    4915             esac
    4916             ;;
    4917         Darwin-*)
    4918             CFLAGS_OPTIMIZE="-Os"
    4919             SHLIB_CFLAGS="-fno-common"
    4920             # To avoid discrepancies between what headers configure sees during
    4921             # preprocessing tests and compiling tests, move any -isysroot and
    4922             # -mmacosx-version-min flags from CFLAGS to CPPFLAGS:
    4923             CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \
    4924                 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
    4925                 if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`"
    4926             CFLAGS="`echo " ${CFLAGS}" | \
    4927                 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
    4928                 if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`"
    4929             if test $do64bit = yes; then
    4930                 case `arch` in
    4931                     ppc)
    4932                         { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    4933 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }
    4934 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    4935   echo $ECHO_N "(cached) $ECHO_C" >&6
    4936 else
    4937 
    4938                             hold_cflags=$CFLAGS
    4939                             CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    4940                             cat >conftest.$ac_ext <<_ACEOF
    4941 /* confdefs.h.  */
    4942 _ACEOF
    4943 cat confdefs.h >>conftest.$ac_ext
    4944 cat >>conftest.$ac_ext <<_ACEOF
    4945 /* end confdefs.h.  */
    4946 
    4947 int
    4948 main ()
    4949 {
    4950 
    4951   ;
    4952   return 0;
    4953 }
    4954 _ACEOF
    4955 rm -f conftest.$ac_objext conftest$ac_exeext
    4956 if { (ac_try="$ac_link"
    4957 case "(($ac_try" in
    4958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4959   *) ac_try_echo=$ac_try;;
    4960 esac
    4961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4962   (eval "$ac_link") 2>conftest.er1
    4963   ac_status=$?
    4964   grep -v '^ *+' conftest.er1 >conftest.err
    4965   rm -f conftest.er1
    4966   cat conftest.err >&5
    4967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4968   (exit $ac_status); } && {
    4969          test -z "$ac_c_werror_flag" ||
    4970          test ! -s conftest.err
    4971        } && test -s conftest$ac_exeext &&
    4972        $as_test_x conftest$ac_exeext; then
    4973   tcl_cv_cc_arch_ppc64=yes
    4974 else
    4975   echo "$as_me: failed program was:" >&5
    4976 sed 's/^/| /' conftest.$ac_ext >&5
    4977 
    4978         tcl_cv_cc_arch_ppc64=no
    4979 fi
    4980 
    4981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4982       conftest$ac_exeext conftest.$ac_ext
    4983                             CFLAGS=$hold_cflags
    4984 fi
    4985 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    4986 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }
    4987                         if test $tcl_cv_cc_arch_ppc64 = yes; then
    4988                             CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    4989                             do64bit_ok=yes
    4990                         fi;;
    4991                     i386)
    4992                         { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    4993 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }
    4994 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    4995   echo $ECHO_N "(cached) $ECHO_C" >&6
    4996 else
    4997 
    4998                             hold_cflags=$CFLAGS
    4999                             CFLAGS="$CFLAGS -arch x86_64"
    5000                             cat >conftest.$ac_ext <<_ACEOF
    5001 /* confdefs.h.  */
    5002 _ACEOF
    5003 cat confdefs.h >>conftest.$ac_ext
    5004 cat >>conftest.$ac_ext <<_ACEOF
    5005 /* end confdefs.h.  */
    5006 
    5007 int
    5008 main ()
    5009 {
    5010 
    5011   ;
    5012   return 0;
    5013 }
    5014 _ACEOF
    5015 rm -f conftest.$ac_objext conftest$ac_exeext
    5016 if { (ac_try="$ac_link"
    5017 case "(($ac_try" in
    5018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5019   *) ac_try_echo=$ac_try;;
    5020 esac
    5021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5022   (eval "$ac_link") 2>conftest.er1
    5023   ac_status=$?
    5024   grep -v '^ *+' conftest.er1 >conftest.err
    5025   rm -f conftest.er1
    5026   cat conftest.err >&5
    5027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5028   (exit $ac_status); } && {
    5029          test -z "$ac_c_werror_flag" ||
    5030          test ! -s conftest.err
    5031        } && test -s conftest$ac_exeext &&
    5032        $as_test_x conftest$ac_exeext; then
    5033   tcl_cv_cc_arch_x86_64=yes
    5034 else
    5035   echo "$as_me: failed program was:" >&5
    5036 sed 's/^/| /' conftest.$ac_ext >&5
    5037 
    5038         tcl_cv_cc_arch_x86_64=no
    5039 fi
    5040 
    5041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5042       conftest$ac_exeext conftest.$ac_ext
    5043                             CFLAGS=$hold_cflags
    5044 fi
    5045 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    5046 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }
    5047                         if test $tcl_cv_cc_arch_x86_64 = yes; then
    5048                             CFLAGS="$CFLAGS -arch x86_64"
    5049                             do64bit_ok=yes
    5050                         fi;;
    5051                     *)
    5052                         { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    5053 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    5054                 esac
    5055             else
    5056                 # Check for combined 32-bit and 64-bit fat build
    5057                 echo "$CFLAGS " | grep -E -q -- '-arch (ppc64|x86_64) ' && \
    5058                     echo "$CFLAGS " | grep -E -q -- '-arch (ppc|i386) ' && \
    5059                     fat_32_64=yes
    5060             fi
    5061             SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5062             { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    5063 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }
    5064 if test "${tcl_cv_ld_single_module+set}" = set; then
    5065   echo $ECHO_N "(cached) $ECHO_C" >&6
    5066 else
    5067 
    5068                 hold_ldflags=$LDFLAGS
    5069                 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5070                 cat >conftest.$ac_ext <<_ACEOF
    5071 /* confdefs.h.  */
    5072 _ACEOF
    5073 cat confdefs.h >>conftest.$ac_ext
    5074 cat >>conftest.$ac_ext <<_ACEOF
    5075 /* end confdefs.h.  */
    5076 
    5077 int
    5078 main ()
    5079 {
    5080 int i;
    5081   ;
    5082   return 0;
    5083 }
    5084 _ACEOF
    5085 rm -f conftest.$ac_objext conftest$ac_exeext
    5086 if { (ac_try="$ac_link"
    5087 case "(($ac_try" in
    5088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5089   *) ac_try_echo=$ac_try;;
    5090 esac
    5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5092   (eval "$ac_link") 2>conftest.er1
    5093   ac_status=$?
    5094   grep -v '^ *+' conftest.er1 >conftest.err
    5095   rm -f conftest.er1
    5096   cat conftest.err >&5
    5097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5098   (exit $ac_status); } && {
    5099          test -z "$ac_c_werror_flag" ||
    5100          test ! -s conftest.err
    5101        } && test -s conftest$ac_exeext &&
    5102        $as_test_x conftest$ac_exeext; then
    5103   tcl_cv_ld_single_module=yes
    5104 else
    5105   echo "$as_me: failed program was:" >&5
    5106 sed 's/^/| /' conftest.$ac_ext >&5
    5107 
    5108         tcl_cv_ld_single_module=no
    5109 fi
    5110 
    5111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5112       conftest$ac_exeext conftest.$ac_ext
    5113                 LDFLAGS=$hold_ldflags
    5114 fi
    5115 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    5116 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }
    5117             if test $tcl_cv_ld_single_module = yes; then
    5118                 SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
    5119             fi
    5120             SHLIB_LD_LIBS='${LIBS}'
    5121             SHLIB_SUFFIX=".dylib"
    5122             DL_OBJS="tclLoadDyld.o"
    5123             DL_LIBS=""
    5124             # Don't use -prebind when building for Mac OS X 10.4 or later only:
    5125             test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \
    5126                 "`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \
    5127                 LDFLAGS="$LDFLAGS -prebind"
    5128             LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5129             { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    5130 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }
    5131 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    5132   echo $ECHO_N "(cached) $ECHO_C" >&6
    5133 else
    5134 
    5135                 hold_ldflags=$LDFLAGS
    5136                 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5137                 cat >conftest.$ac_ext <<_ACEOF
    5138 /* confdefs.h.  */
    5139 _ACEOF
    5140 cat confdefs.h >>conftest.$ac_ext
    5141 cat >>conftest.$ac_ext <<_ACEOF
    5142 /* end confdefs.h.  */
    5143 
    5144 int
    5145 main ()
    5146 {
    5147 int i;
    5148   ;
    5149   return 0;
    5150 }
    5151 _ACEOF
    5152 rm -f conftest.$ac_objext conftest$ac_exeext
    5153 if { (ac_try="$ac_link"
    5154 case "(($ac_try" in
    5155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5156   *) ac_try_echo=$ac_try;;
    5157 esac
    5158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5159   (eval "$ac_link") 2>conftest.er1
    5160   ac_status=$?
    5161   grep -v '^ *+' conftest.er1 >conftest.err
    5162   rm -f conftest.er1
    5163   cat conftest.err >&5
    5164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5165   (exit $ac_status); } && {
    5166          test -z "$ac_c_werror_flag" ||
    5167          test ! -s conftest.err
    5168        } && test -s conftest$ac_exeext &&
    5169        $as_test_x conftest$ac_exeext; then
    5170   tcl_cv_ld_search_paths_first=yes
    5171 else
    5172   echo "$as_me: failed program was:" >&5
    5173 sed 's/^/| /' conftest.$ac_ext >&5
    5174 
    5175         tcl_cv_ld_search_paths_first=no
    5176 fi
    5177 
    5178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5179       conftest$ac_exeext conftest.$ac_ext
    5180                 LDFLAGS=$hold_ldflags
    5181 fi
    5182 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    5183 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }
    5184             if test $tcl_cv_ld_search_paths_first = yes; then
    5185                 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5186             fi
    5187             CC_SEARCH_FLAGS=""
    5188             LD_SEARCH_FLAGS=""
    5189             LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
    5190             PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    5191             PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5192             { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    5193 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }
    5194             # Check whether --enable-corefoundation was given.
    5195 if test "${enable_corefoundation+set}" = set; then
    5196   enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    5197 else
    5198   tcl_corefoundation=yes
    5199 fi
    5200 
    5201             { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    5202 echo "${ECHO_T}$tcl_corefoundation" >&6; }
    5203             if test $tcl_corefoundation = yes; then
    5204                 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    5205 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }
    5206 if test "${tcl_cv_lib_corefoundation+set}" = set; then
    5207   echo $ECHO_N "(cached) $ECHO_C" >&6
    5208 else
    5209 
    5210                     hold_libs=$LIBS
    5211                     if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    5212                         # On Tiger there is no 64-bit CF, so remove 64-bit archs
    5213                         # from CFLAGS et al. while testing for presence of CF.
    5214                         # 64-bit CF is disabled in tclUnixPort.h if necessary.
    5215                         eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
    5216                     done; fi
    5217                     LIBS="$LIBS -framework CoreFoundation"
    5218                     cat >conftest.$ac_ext <<_ACEOF
    5219 /* confdefs.h.  */
    5220 _ACEOF
    5221 cat confdefs.h >>conftest.$ac_ext
    5222 cat >>conftest.$ac_ext <<_ACEOF
    5223 /* end confdefs.h.  */
    5224 #include <CoreFoundation/CoreFoundation.h>
    5225 int
    5226 main ()
    5227 {
    5228 CFBundleRef b = CFBundleGetMainBundle();
    5229   ;
    5230   return 0;
    5231 }
    5232 _ACEOF
    5233 rm -f conftest.$ac_objext conftest$ac_exeext
    5234 if { (ac_try="$ac_link"
    5235 case "(($ac_try" in
    5236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5237   *) ac_try_echo=$ac_try;;
    5238 esac
    5239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5240   (eval "$ac_link") 2>conftest.er1
    5241   ac_status=$?
    5242   grep -v '^ *+' conftest.er1 >conftest.err
    5243   rm -f conftest.er1
    5244   cat conftest.err >&5
    5245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5246   (exit $ac_status); } && {
    5247          test -z "$ac_c_werror_flag" ||
    5248          test ! -s conftest.err
    5249        } && test -s conftest$ac_exeext &&
    5250        $as_test_x conftest$ac_exeext; then
    5251   tcl_cv_lib_corefoundation=yes
    5252 else
    5253   echo "$as_me: failed program was:" >&5
    5254 sed 's/^/| /' conftest.$ac_ext >&5
    5255 
    5256         tcl_cv_lib_corefoundation=no
    5257 fi
    5258 
    5259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5260       conftest$ac_exeext conftest.$ac_ext
    5261                     if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    5262                         eval $v'="$hold_'$v'"'
    5263                     done; fi; LIBS=$hold_libs
    5264 fi
    5265 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    5266 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }
    5267                 if test $tcl_cv_lib_corefoundation = yes; then
    5268                     LIBS="$LIBS -framework CoreFoundation"
    5269                     cat >>confdefs.h <<\_ACEOF
    5270 #define HAVE_COREFOUNDATION 1
    5271 _ACEOF
    5272 
    5273                 else
    5274                     tcl_corefoundation=no
    5275                 fi
    5276                 if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5277                     { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    5278 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }
    5279 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    5280   echo $ECHO_N "(cached) $ECHO_C" >&6
    5281 else
    5282 
    5283                         for v in CFLAGS CPPFLAGS LDFLAGS; do
    5284                             eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    5285                         done
    5286                         cat >conftest.$ac_ext <<_ACEOF
    5287 /* confdefs.h.  */
    5288 _ACEOF
    5289 cat confdefs.h >>conftest.$ac_ext
    5290 cat >>conftest.$ac_ext <<_ACEOF
    5291 /* end confdefs.h.  */
    5292 #include <CoreFoundation/CoreFoundation.h>
    5293 int
    5294 main ()
    5295 {
    5296 CFBundleRef b = CFBundleGetMainBundle();
    5297   ;
    5298   return 0;
    5299 }
    5300 _ACEOF
    5301 rm -f conftest.$ac_objext conftest$ac_exeext
    5302 if { (ac_try="$ac_link"
    5303 case "(($ac_try" in
    5304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5305   *) ac_try_echo=$ac_try;;
    5306 esac
    5307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5308   (eval "$ac_link") 2>conftest.er1
    5309   ac_status=$?
    5310   grep -v '^ *+' conftest.er1 >conftest.err
    5311   rm -f conftest.er1
    5312   cat conftest.err >&5
    5313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5314   (exit $ac_status); } && {
    5315          test -z "$ac_c_werror_flag" ||
    5316          test ! -s conftest.err
    5317        } && test -s conftest$ac_exeext &&
    5318        $as_test_x conftest$ac_exeext; then
    5319   tcl_cv_lib_corefoundation_64=yes
    5320 else
    5321   echo "$as_me: failed program was:" >&5
    5322 sed 's/^/| /' conftest.$ac_ext >&5
    5323 
    5324         tcl_cv_lib_corefoundation_64=no
    5325 fi
    5326 
    5327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5328       conftest$ac_exeext conftest.$ac_ext
    5329                         for v in CFLAGS CPPFLAGS LDFLAGS; do
    5330                             eval $v'="$hold_'$v'"'
    5331                         done
    5332 fi
    5333 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    5334 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }
    5335                     if test $tcl_cv_lib_corefoundation_64 = no; then
    5336                         cat >>confdefs.h <<\_ACEOF
    5337 #define NO_COREFOUNDATION_64 1
    5338 _ACEOF
    5339 
    5340                     fi
    5341                 fi
    5342             fi
    5343             cat >>confdefs.h <<\_ACEOF
    5344 #define MAC_OSX_TCL 1
    5345 _ACEOF
    5346 
    5347             ;;
    5348         NEXTSTEP-*)
    5349             SHLIB_CFLAGS=""
    5350             SHLIB_LD="cc -nostdlib -r"
    5351             SHLIB_LD_LIBS=""
    5352             SHLIB_SUFFIX=".so"
    5353             DL_OBJS="tclLoadNext.o"
    5354             DL_LIBS=""
    5355             CC_SEARCH_FLAGS=""
    5356             LD_SEARCH_FLAGS=""
    5357             ;;
    5358         OS/390-*)
    5359             CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5360             cat >>confdefs.h <<\_ACEOF
    5361 #define _OE_SOCKETS 1
    5362 _ACEOF
    5363         # needed in sys/socket.h
    5364             ;;
    5365         OSF1-1.0|OSF1-1.1|OSF1-1.2)
    5366             # OSF/1 1.[012] from OSF, and derivatives, including Paragon OSF/1
    5367             SHLIB_CFLAGS=""
    5368             # Hack: make package name same as library name
    5369             SHLIB_LD='ld -R -export :'
    5370             SHLIB_LD_LIBS=""
    5371             SHLIB_SUFFIX=".so"
    5372             DL_OBJS="tclLoadOSF.o"
    5373             DL_LIBS=""
    5374             CC_SEARCH_FLAGS=""
    5375             LD_SEARCH_FLAGS=""
    5376             ;;
    5377         OSF1-1.*)
    5378             # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2
    5379             SHLIB_CFLAGS="-fPIC"
    5380             if test "$SHARED_BUILD" = "1" ; then
    5381                 SHLIB_LD="ld -shared"
    5382             else
    5383                 SHLIB_LD="ld -non_shared"
    5384             fi
    5385             SHLIB_LD_LIBS=""
    5386             SHLIB_SUFFIX=".so"
    5387             DL_OBJS="tclLoadDl.o"
    5388             DL_LIBS=""
    5389             CC_SEARCH_FLAGS=""
    5390             LD_SEARCH_FLAGS=""
    5391             ;;
    5392         OSF1-V*)
    5393             # Digital OSF/1
    5394             SHLIB_CFLAGS=""
    5395             if test "$SHARED_BUILD" = "1" ; then
    5396                 SHLIB_LD='ld -shared -expect_unresolved "*"'
    5397             else
    5398                 SHLIB_LD='ld -non_shared -expect_unresolved "*"'
    5399             fi
    5400             SHLIB_LD_LIBS=""
    5401             SHLIB_SUFFIX=".so"
    5402             DL_OBJS="tclLoadDl.o"
    5403             DL_LIBS=""
    5404             CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    5405             LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    5406             if test "$GCC" = "yes" ; then
    5407                 CFLAGS="$CFLAGS -mieee"
    5408             else
    5409                 CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee"
    5410             fi
    5411             # see pthread_intro(3) for pthread support on osf1, k.furukawa
    5412             if test "${TCL_THREADS}" = "1" ; then
    5413                 CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
    5414                 CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
    5415                 LIBS=`echo $LIBS | sed s/-lpthreads//`
    5416                 if test "$GCC" = "yes" ; then
    5417                     LIBS="$LIBS -lpthread -lmach -lexc"
    5418                 else
    5419                     CFLAGS="$CFLAGS -pthread"
    5420                     LDFLAGS="$LDFLAGS -pthread"
    5421                 fi
    5422             fi
    5423 
    5424             ;;
    5425         QNX-6*)
    5426             # QNX RTP
    5427             # This may work for all QNX, but it was only reported for v6.
    5428             SHLIB_CFLAGS="-fPIC"
    5429             SHLIB_LD="ld -Bshareable -x"
    5430             SHLIB_LD_LIBS=""
    5431             SHLIB_SUFFIX=".so"
    5432             DL_OBJS="tclLoadDl.o"
    5433             # dlopen is in -lc on QNX
    5434             DL_LIBS=""
    5435             CC_SEARCH_FLAGS=""
    5436             LD_SEARCH_FLAGS=""
    5437             ;;
    5438         RISCos-*)
    5439             SHLIB_CFLAGS="-G 0"
    5440             SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
    5441             SHLIB_LD_LIBS='${LIBS}'
    5442             SHLIB_SUFFIX=".a"
    5443             DL_OBJS="tclLoadAout.o"
    5444             DL_LIBS=""
    5445             LDFLAGS="$LDFLAGS -Wl,-D,08000000"
    5446             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    5447             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5448             ;;
    5449         SCO_SV-3.2*)
    5450             # Note, dlopen is available only on SCO 3.2.5 and greater. However,
    5451             # this test works, since "uname -s" was non-standard in 3.2.4 and
    5452             # below.
    5453             if test "$GCC" = "yes" ; then
    5454                 SHLIB_CFLAGS="-fPIC -melf"
    5455                 LDFLAGS="$LDFLAGS -melf -Wl,-Bexport"
    5456             else
    5457                 SHLIB_CFLAGS="-Kpic -belf"
    5458                 LDFLAGS="$LDFLAGS -belf -Wl,-Bexport"
    5459             fi
    5460             SHLIB_LD="ld -G"
    5461             SHLIB_LD_LIBS=""
    5462             SHLIB_SUFFIX=".so"
    5463             DL_OBJS="tclLoadDl.o"
    5464             DL_LIBS=""
    5465             CC_SEARCH_FLAGS=""
    5466             LD_SEARCH_FLAGS=""
    5467             ;;
    5468         SINIX*5.4*)
    5469             SHLIB_CFLAGS="-K PIC"
    5470             SHLIB_LD="cc -G"
    5471             SHLIB_LD_LIBS=""
    5472             SHLIB_SUFFIX=".so"
    5473             DL_OBJS="tclLoadDl.o"
    5474             DL_LIBS="-ldl"
    5475             CC_SEARCH_FLAGS=""
    5476             LD_SEARCH_FLAGS=""
    5477             ;;
    5478         SunOS-4*)
    5479             SHLIB_CFLAGS="-PIC"
    5480             SHLIB_LD="ld"
    5481             SHLIB_LD_LIBS=""
    5482             SHLIB_SUFFIX=".so"
    5483             DL_OBJS="tclLoadDl.o"
    5484             DL_LIBS="-ldl"
    5485             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    5486             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5487 
    5488             # SunOS can't handle version numbers with dots in them in library
    5489             # specs, like -ltcl7.5, so use -ltcl75 instead.  Also, it
    5490             # requires an extra version number at the end of .so file names.
    5491             # So, the library has to have a name like libtcl75.so.1.0
    5492 
    5493             SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5494             UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
    5495             TCL_LIB_VERSIONS_OK=nodots
    5496             ;;
    5497         SunOS-5.[0-6])
    5498             # Careful to not let 5.10+ fall into this case
    5499 
    5500             # Note: If _REENTRANT isn't defined, then Solaris
    5501             # won't define thread-safe library routines.
    5502 
    5503             cat >>confdefs.h <<\_ACEOF
    5504 #define _REENTRANT 1
    5505 _ACEOF
    5506 
    5507             cat >>confdefs.h <<\_ACEOF
    5508 #define _POSIX_PTHREAD_SEMANTICS 1
    5509 _ACEOF
    5510 
    5511 
    5512             SHLIB_CFLAGS="-KPIC"
    5513 
    5514             # Note: need the LIBS below, otherwise Tk won't find Tcl's
    5515             # symbols when dynamically loaded into tclsh.
    5516 
    5517             SHLIB_LD_LIBS='${LIBS}'
    5518             SHLIB_SUFFIX=".so"
    5519             DL_OBJS="tclLoadDl.o"
    5520             DL_LIBS="-ldl"
    5521             if test "$GCC" = "yes" ; then
    5522                 SHLIB_LD="$CC -shared"
    5523                 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    5524                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5525             else
    5526                 SHLIB_LD="/usr/ccs/bin/ld -G -z text"
    5527                 CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
    5528                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5529             fi
    5530             ;;
    5531         SunOS-5*)
    5532             # Note: If _REENTRANT isn't defined, then Solaris
    5533             # won't define thread-safe library routines.
    5534 
    5535             cat >>confdefs.h <<\_ACEOF
    5536 #define _REENTRANT 1
    5537 _ACEOF
    5538 
    5539             cat >>confdefs.h <<\_ACEOF
    5540 #define _POSIX_PTHREAD_SEMANTICS 1
    5541 _ACEOF
    5542 
    5543 
    5544             SHLIB_CFLAGS="-KPIC"
    5545 
    5546             # Check to enable 64-bit flags for compiler/linker
    5547             if test "$do64bit" = "yes" ; then
    5548                 arch=`isainfo`
    5549                 if test "$arch" = "sparcv9 sparc" ; then
    5550                         if test "$GCC" = "yes" ; then
    5551                             if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5552                                 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    5553 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    5554                             else
    5555                                 do64bit_ok=yes
    5556                                 CFLAGS="$CFLAGS -m64 -mcpu=v9"
    5557                                 LDFLAGS="$LDFLAGS -m64 -mcpu=v9"
    5558                                 SHLIB_CFLAGS="-fPIC"
    5559                             fi
    5560                         else
    5561                             do64bit_ok=yes
    5562                             if test "$do64bitVIS" = "yes" ; then
    5563                                 CFLAGS="$CFLAGS -xarch=v9a"
    5564                                 LDFLAGS="$LDFLAGS -xarch=v9a"
    5565                             else
    5566                                 CFLAGS="$CFLAGS -xarch=v9"
    5567                                 LDFLAGS="$LDFLAGS -xarch=v9"
    5568                             fi
    5569                             # Solaris 64 uses this as well
    5570                             #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64"
    5571                         fi
    5572                 elif test "$arch" = "amd64 i386" ; then
    5573                     if test "$GCC" = "yes" ; then
    5574                         { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    5575 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    5576                     else
    5577                         do64bit_ok=yes
    5578                         CFLAGS="$CFLAGS -xarch=amd64"
    5579                         LDFLAGS="$LDFLAGS -xarch=amd64"
    5580                     fi
    5581                 else
    5582                     { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    5583 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    5584                 fi
    5585             fi
    5586 
    5587             # Note: need the LIBS below, otherwise Tk won't find Tcl's
    5588             # symbols when dynamically loaded into tclsh.
    5589 
    5590             SHLIB_LD_LIBS='${LIBS}'
    5591             SHLIB_SUFFIX=".so"
    5592             DL_OBJS="tclLoadDl.o"
    5593             DL_LIBS="-ldl"
    5594             if test "$GCC" = "yes" ; then
    5595                 SHLIB_LD="$CC -shared"
    5596                 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    5597                 LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5598                 if test "$do64bit_ok" = "yes" ; then
    5599                     # We need to specify -static-libgcc or we need to
    5600                     # add the path to the sparv9 libgcc.
    5601                     SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
    5602                     # for finding sparcv9 libgcc, get the regular libgcc
    5603                     # path, remove so name and append 'sparcv9'
    5604                     #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
    5605                     #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"
    5606                 fi
    5607             else
    5608                 case $system in
    5609                     SunOS-5.[1-9][0-9]*)
    5610                         SHLIB_LD='${CC} -G -z text ${LDFLAGS}';;
    5611                     *)
    5612                         SHLIB_LD="/usr/ccs/bin/ld -G -z text";;
    5613                 esac
    5614                 CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
    5615                 LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
    5616             fi
    5617             ;;
    5618         ULTRIX-4.*)
    5619             SHLIB_CFLAGS="-G 0"
    5620             SHLIB_SUFFIX=".a"
    5621             SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
    5622             SHLIB_LD_LIBS='${LIBS}'
    5623             DL_OBJS="tclLoadAout.o"
    5624             DL_LIBS=""
    5625             LDFLAGS="$LDFLAGS -Wl,-D,08000000"
    5626             CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
    5627             LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    5628             if test "$GCC" != "yes" ; then
    5629                 CFLAGS="$CFLAGS -DHAVE_TZSET -std1"
    5630             fi
    5631             ;;
    5632         UNIX_SV* | UnixWare-5*)
    5633             SHLIB_CFLAGS="-KPIC"
    5634             SHLIB_LD="cc -G"
    5635             SHLIB_LD_LIBS=""
    5636             SHLIB_SUFFIX=".so"
    5637             DL_OBJS="tclLoadDl.o"
    5638             DL_LIBS="-ldl"
    5639             # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    5640             # that don't grok the -Bexport option.  Test that it does.
    5641             { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    5642 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }
    5643 if test "${tcl_cv_ld_Bexport+set}" = set; then
    5644   echo $ECHO_N "(cached) $ECHO_C" >&6
    5645 else
    5646 
    5647                 hold_ldflags=$LDFLAGS
    5648                 LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5649                 cat >conftest.$ac_ext <<_ACEOF
    5650 /* confdefs.h.  */
    5651 _ACEOF
    5652 cat confdefs.h >>conftest.$ac_ext
    5653 cat >>conftest.$ac_ext <<_ACEOF
    5654 /* end confdefs.h.  */
    5655 
    5656 int
    5657 main ()
    5658 {
    5659 int i;
    5660   ;
    5661   return 0;
    5662 }
    5663 _ACEOF
    5664 rm -f conftest.$ac_objext conftest$ac_exeext
    5665 if { (ac_try="$ac_link"
    5666 case "(($ac_try" in
    5667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5668   *) ac_try_echo=$ac_try;;
    5669 esac
    5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5671   (eval "$ac_link") 2>conftest.er1
    5672   ac_status=$?
    5673   grep -v '^ *+' conftest.er1 >conftest.err
    5674   rm -f conftest.er1
    5675   cat conftest.err >&5
    5676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5677   (exit $ac_status); } && {
    5678          test -z "$ac_c_werror_flag" ||
    5679          test ! -s conftest.err
    5680        } && test -s conftest$ac_exeext &&
    5681        $as_test_x conftest$ac_exeext; then
    5682   tcl_cv_ld_Bexport=yes
    5683 else
    5684   echo "$as_me: failed program was:" >&5
    5685 sed 's/^/| /' conftest.$ac_ext >&5
    5686 
    5687         tcl_cv_ld_Bexport=no
    5688 fi
    5689 
    5690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5691       conftest$ac_exeext conftest.$ac_ext
    5692                 LDFLAGS=$hold_ldflags
    5693 fi
    5694 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    5695 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }
    5696             if test $tcl_cv_ld_Bexport = yes; then
    5697                 LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5698             fi
    5699             CC_SEARCH_FLAGS=""
    5700             LD_SEARCH_FLAGS=""
    5701             ;;
    5702     esac
    5703 
    5704     if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5705         { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    5706 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    5707     fi
    5708 
    5709 
    5710 
    5711 
    5712     # Step 4: If pseudo-static linking is in use (see K. B. Kenny, "Dynamic
    5713     # Loading for Tcl -- What Became of It?".  Proc. 2nd Tcl/Tk Workshop,
    5714     # New Orleans, LA, Computerized Processes Unlimited, 1994), then we need
    5715     # to determine which of several header files defines the a.out file
    5716     # format (a.out.h, sys/exec.h, or sys/exec_aout.h).  At present, we
    5717     # support only a file format that is more or less version-7-compatible.
    5718     # In particular,
    5719     #   - a.out files must begin with `struct exec'.
    5720     #   - the N_TXTOFF on the `struct exec' must compute the seek address
    5721     #     of the text segment
    5722     #   - The `struct exec' must contain a_magic, a_text, a_data, a_bss
    5723     #     and a_entry fields.
    5724     # The following compilation should succeed if and only if either sys/exec.h
    5725     # or a.out.h is usable for the purpose.
    5726     #
    5727     # Note that the modified COFF format used on MIPS Ultrix 4.x is usable; the
    5728     # `struct exec' includes a second header that contains information that
    5729     # duplicates the v7 fields that are needed.
    5730 
    5731     if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5732         { echo "$as_me:$LINENO: checking sys/exec.h" >&5
    5733 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; }
    5734 if test "${tcl_cv_sysexec_h+set}" = set; then
    5735   echo $ECHO_N "(cached) $ECHO_C" >&6
    5736 else
    5737 
    5738         cat >conftest.$ac_ext <<_ACEOF
    5739 /* confdefs.h.  */
    5740 _ACEOF
    5741 cat confdefs.h >>conftest.$ac_ext
    5742 cat >>conftest.$ac_ext <<_ACEOF
    5743 /* end confdefs.h.  */
    5744 #include <sys/exec.h>
    5745 int
    5746 main ()
    5747 {
    5748 
    5749             struct exec foo;
    5750             unsigned long seek;
    5751             int flag;
    5752 #if defined(__mips) || defined(mips)
    5753             seek = N_TXTOFF (foo.ex_f, foo.ex_o);
    5754 #else
    5755             seek = N_TXTOFF (foo);
    5756 #endif
    5757             flag = (foo.a_magic == OMAGIC);
    5758             return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;
    5759 
    5760   ;
    5761   return 0;
    5762 }
    5763 _ACEOF
    5764 rm -f conftest.$ac_objext
    5765 if { (ac_try="$ac_compile"
    5766 case "(($ac_try" in
    5767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5768   *) ac_try_echo=$ac_try;;
    5769 esac
    5770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5771   (eval "$ac_compile") 2>conftest.er1
    5772   ac_status=$?
    5773   grep -v '^ *+' conftest.er1 >conftest.err
    5774   rm -f conftest.er1
    5775   cat conftest.err >&5
    5776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5777   (exit $ac_status); } && {
    5778          test -z "$ac_c_werror_flag" ||
    5779          test ! -s conftest.err
    5780        } && test -s conftest.$ac_objext; then
    5781   tcl_cv_sysexec_h=usable
    5782 else
    5783   echo "$as_me: failed program was:" >&5
    5784 sed 's/^/| /' conftest.$ac_ext >&5
    5785 
    5786         tcl_cv_sysexec_h=unusable
    5787 fi
    5788 
    5789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5790 fi
    5791 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    5792 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }
    5793         if test $tcl_cv_sysexec_h = usable; then
    5794             cat >>confdefs.h <<\_ACEOF
    5795 #define USE_SYS_EXEC_H 1
    5796 _ACEOF
    5797 
    5798         else
    5799             { echo "$as_me:$LINENO: checking a.out.h" >&5
    5800 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; }
    5801 if test "${tcl_cv_aout_h+set}" = set; then
    5802   echo $ECHO_N "(cached) $ECHO_C" >&6
    5803 else
    5804 
    5805             cat >conftest.$ac_ext <<_ACEOF
    5806 /* confdefs.h.  */
    5807 _ACEOF
    5808 cat confdefs.h >>conftest.$ac_ext
    5809 cat >>conftest.$ac_ext <<_ACEOF
    5810 /* end confdefs.h.  */
    5811 #include <a.out.h>
    5812 int
    5813 main ()
    5814 {
    5815 
    5816                 struct exec foo;
    5817                 unsigned long seek;
    5818                 int flag;
    5819 #if defined(__mips) || defined(mips)
    5820                 seek = N_TXTOFF (foo.ex_f, foo.ex_o);
    5821 #else
    5822                 seek = N_TXTOFF (foo);
    5823 #endif
    5824                 flag = (foo.a_magic == OMAGIC);
    5825                 return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;
    5826 
    5827   ;
    5828   return 0;
    5829 }
    5830 _ACEOF
    5831 rm -f conftest.$ac_objext
    5832 if { (ac_try="$ac_compile"
    5833 case "(($ac_try" in
    5834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5835   *) ac_try_echo=$ac_try;;
    5836 esac
    5837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5838   (eval "$ac_compile") 2>conftest.er1
    5839   ac_status=$?
    5840   grep -v '^ *+' conftest.er1 >conftest.err
    5841   rm -f conftest.er1
    5842   cat conftest.err >&5
    5843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5844   (exit $ac_status); } && {
    5845          test -z "$ac_c_werror_flag" ||
    5846          test ! -s conftest.err
    5847        } && test -s conftest.$ac_objext; then
    5848   tcl_cv_aout_h=usable
    5849 else
    5850   echo "$as_me: failed program was:" >&5
    5851 sed 's/^/| /' conftest.$ac_ext >&5
    5852 
    5853         tcl_cv_aout_h=unusable
    5854 fi
    5855 
    5856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5857 fi
    5858 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    5859 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }
    5860             if test $tcl_cv_aout_h = usable; then
    5861                 cat >>confdefs.h <<\_ACEOF
    5862 #define USE_A_OUT_H 1
    5863 _ACEOF
    5864 
    5865             else
    5866                 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    5867 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; }
    5868 if test "${tcl_cv_sysexecaout_h+set}" = set; then
    5869   echo $ECHO_N "(cached) $ECHO_C" >&6
    5870 else
    5871 
    5872                 cat >conftest.$ac_ext <<_ACEOF
    5873 /* confdefs.h.  */
    5874 _ACEOF
    5875 cat confdefs.h >>conftest.$ac_ext
    5876 cat >>conftest.$ac_ext <<_ACEOF
    5877 /* end confdefs.h.  */
    5878 #include <sys/exec_aout.h>
    5879 int
    5880 main ()
    5881 {
    5882 
    5883                     struct exec foo;
    5884                     unsigned long seek;
    5885                     int flag;
    5886 #if defined(__mips) || defined(mips)
    5887                     seek = N_TXTOFF (foo.ex_f, foo.ex_o);
    5888 #else
    5889                     seek = N_TXTOFF (foo);
    5890 #endif
    5891                     flag = (foo.a_midmag == OMAGIC);
    5892                     return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;
    5893 
    5894   ;
    5895   return 0;
    5896 }
    5897 _ACEOF
    5898 rm -f conftest.$ac_objext
    5899 if { (ac_try="$ac_compile"
    5900 case "(($ac_try" in
    5901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5902   *) ac_try_echo=$ac_try;;
    5903 esac
    5904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5905   (eval "$ac_compile") 2>conftest.er1
    5906   ac_status=$?
    5907   grep -v '^ *+' conftest.er1 >conftest.err
    5908   rm -f conftest.er1
    5909   cat conftest.err >&5
    5910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5911   (exit $ac_status); } && {
    5912          test -z "$ac_c_werror_flag" ||
    5913          test ! -s conftest.err
    5914        } && test -s conftest.$ac_objext; then
    5915   tcl_cv_sysexecaout_h=usable
    5916 else
    5917   echo "$as_me: failed program was:" >&5
    5918 sed 's/^/| /' conftest.$ac_ext >&5
    5919 
    5920         tcl_cv_sysexecaout_h=unusable
    5921 fi
    5922 
    5923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5924 fi
    5925 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    5926 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }
    5927                 if test $tcl_cv_sysexecaout_h = usable; then
    5928                     cat >>confdefs.h <<\_ACEOF
    5929 #define USE_SYS_EXEC_AOUT_H 1
    5930 _ACEOF
    5931 
    5932                 else
    5933                     DL_OBJS=""
    5934                 fi
    5935             fi
    5936         fi
    5937     fi
    5938 
    5939     # Step 5: disable dynamic loading if requested via a command-line switch.
    5940 
    5941     # Check whether --enable-load was given.
    5942 if test "${enable_load+set}" = set; then
    5943   enableval=$enable_load; tcl_ok=$enableval
    5944 else
    5945   tcl_ok=yes
    5946 fi
    5947 
    5948     if test "$tcl_ok" = "no"; then
    5949         DL_OBJS=""
    5950     fi
    5951 
    5952     if test "x$DL_OBJS" != "x" ; then
    5953         BUILD_DLTEST="\$(DLTEST_TARGETS)"
    5954     else
    5955         echo "Can't figure out how to do dynamic loading or shared libraries"
    5956         echo "on this system."
    5957         SHLIB_CFLAGS=""
    5958         SHLIB_LD=""
    5959         SHLIB_SUFFIX=""
    5960         DL_OBJS="tclLoadNone.o"
    5961         DL_LIBS=""
    5962         LDFLAGS="$LDFLAGS_ORIG"
    5963         CC_SEARCH_FLAGS=""
    5964         LD_SEARCH_FLAGS=""
    5965         BUILD_DLTEST=""
    5966     fi
    5967 
    5968     # If we're running gcc, then change the C flags for compiling shared
    5969     # libraries to the right flags for gcc, instead of those for the
    5970     # standard manufacturer compiler.
    5971 
    5972     if test "$DL_OBJS" != "tclLoadNone.o" ; then
    5973         if test "$GCC" = "yes" ; then
    5974             case $system in
    5975                 AIX-*)
    5976                     ;;
    5977                 BSD/OS*)
    5978                     ;;
    5979                 IRIX*)
    5980                     ;;
    5981                 NetBSD-*|FreeBSD-*|OpenBSD-*)
    5982                     ;;
    5983                 Darwin-*)
    5984                     ;;
    5985                 RISCos-*)
    5986                     ;;
    5987                 SCO_SV-3.2*)
    5988                     ;;
    5989                 ULTRIX-4.*)
    5990                     ;;
    5991                 *)
    5992                     SHLIB_CFLAGS="-fPIC"
    5993                     ;;
    5994             esac
    5995         fi
    5996     fi
    5997 
    5998     if test "$SHARED_LIB_SUFFIX" = "" ; then
    5999         SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}'
    6000     fi
    6001     if test "$UNSHARED_LIB_SUFFIX" = "" ; then
    6002         UNSHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
    6003     fi
    6004 
    6005     if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
    6006         LIB_SUFFIX=${SHARED_LIB_SUFFIX}
    6007         MAKE_LIB='${SHLIB_LD} -o $@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
    6008         INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
    6009     else
    6010         LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
    6011 
    6012         if test "$RANLIB" = "" ; then
    6013             MAKE_LIB='$(STLIB_LD) $@ ${OBJS}'
    6014             INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
    6015         else
    6016             MAKE_LIB='${STLIB_LD} $@ ${OBJS} ; ${RANLIB} $@'
    6017             INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))'
    6018         fi
    6019 
    6020     fi
    6021 
    6022 
    6023     # Stub lib does not depend on shared/static configuration
    6024     if test "$RANLIB" = "" ; then
    6025         MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS}'
    6026         INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)'
    6027     else
    6028         MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS} ; ${RANLIB} $@'
    6029         INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(STUB_LIB_FILE))'
    6030     fi
    6031 
    6032 
    6033 
    6034 
    6035 
    6036 
    6037 
    6038 
    6039 
    6040 
    6041 
    6042 
    6043 
    6044 
    6045 
    6046 
    6047 
    6048 
    6049 
    6050 
    6051 
    6052 
    6053 
    6054 
    6055 
    6056 
    6057 
    6058 
    6059 
    6060 
    6061 
    6062 
     1843SC_CONFIG_CFLAGS
    60631844
    60641845
     
    60871868done
    60881869if test -z "$ac_aux_dir"; then
    6089   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    6090 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     1870  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     1871$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    60911872   { (exit 1); exit 1; }; }
    60921873fi
     
    61141895# OS/2's system install, which has a completely different semantic
    61151896# ./install, which can be erroneously created by make from ./install.sh.
    6116 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    6117 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     1897# Reject install programs that cannot install multiple files.
     1898{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     1899$as_echo_n "checking for a BSD-compatible install... " >&6; }
    61181900if test -z "$INSTALL"; then
    61191901if test "${ac_cv_path_install+set}" = set; then
    6120   echo $ECHO_N "(cached) $ECHO_C" >&6
     1902  $as_echo_n "(cached) " >&6
    61211903else
    61221904  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    61471929            :
    61481930          else
    6149             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    6150             break 3
     1931            rm -rf conftest.one conftest.two conftest.dir
     1932            echo one > conftest.one
     1933            echo two > conftest.two
     1934            mkdir conftest.dir
     1935            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     1936              test -s conftest.one && test -s conftest.two &&
     1937              test -s conftest.dir/conftest.one &&
     1938              test -s conftest.dir/conftest.two
     1939            then
     1940              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1941              break 3
     1942            fi
    61511943          fi
    61521944        fi
     
    61551947    ;;
    61561948esac
     1949
    61571950done
    61581951IFS=$as_save_IFS
    61591952
     1953rm -rf conftest.one conftest.two conftest.dir
    61601954
    61611955fi
     
    61701964  fi
    61711965fi
    6172 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    6173 echo "${ECHO_T}$INSTALL" >&6; }
     1966{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     1967$as_echo "$INSTALL" >&6; }
    61741968
    61751969# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    61841978  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    61851979set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     1980{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     1981$as_echo_n "checking for $ac_word... " >&6; }
    61881982if test "${ac_cv_prog_RANLIB+set}" = set; then
    6189   echo $ECHO_N "(cached) $ECHO_C" >&6
     1983  $as_echo_n "(cached) " >&6
    61901984else
    61911985  if test -n "$RANLIB"; then
     
    62001994  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    62011995    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    6202     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1996    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    62031997    break 2
    62041998  fi
     
    62112005RANLIB=$ac_cv_prog_RANLIB
    62122006if test -n "$RANLIB"; then
    6213   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    6214 echo "${ECHO_T}$RANLIB" >&6; }
    6215 else
    6216   { echo "$as_me:$LINENO: result: no" >&5
    6217 echo "${ECHO_T}no" >&6; }
     2007  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     2008$as_echo "$RANLIB" >&6; }
     2009else
     2010  { $as_echo "$as_me:$LINENO: result: no" >&5
     2011$as_echo "no" >&6; }
    62182012fi
    62192013
     
    62242018  # Extract the first word of "ranlib", so it can be a program name with args.
    62252019set dummy ranlib; ac_word=$2
    6226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2020{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2021$as_echo_n "checking for $ac_word... " >&6; }
    62282022if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    6229   echo $ECHO_N "(cached) $ECHO_C" >&6
     2023  $as_echo_n "(cached) " >&6
    62302024else
    62312025  if test -n "$ac_ct_RANLIB"; then
     
    62402034  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    62412035    ac_cv_prog_ac_ct_RANLIB="ranlib"
    6242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2036    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    62432037    break 2
    62442038  fi
     
    62512045ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    62522046if test -n "$ac_ct_RANLIB"; then
    6253   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    6254 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    6255 else
    6256   { echo "$as_me:$LINENO: result: no" >&5
    6257 echo "${ECHO_T}no" >&6; }
     2047  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2048$as_echo "$ac_ct_RANLIB" >&6; }
     2049else
     2050  { $as_echo "$as_me:$LINENO: result: no" >&5
     2051$as_echo "no" >&6; }
    62582052fi
    62592053
     
    62632057    case $cross_compiling:$ac_tool_warned in
    62642058yes:)
    6265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    6266 whose name does not start with the host triplet.  If you think this
    6267 configuration is useful to you, please write to autoconf@gnu.org." >&5
    6268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    6269 whose name does not start with the host triplet.  If you think this
    6270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2059{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2060$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    62712061ac_tool_warned=yes ;;
    62722062esac
     
    62772067fi
    62782068
    6279 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    6280 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     2069{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2070$as_echo_n "checking whether ln -s works... " >&6; }
    62812071LN_S=$as_ln_s
    62822072if test "$LN_S" = "ln -s"; then
    6283   { echo "$as_me:$LINENO: result: yes" >&5
    6284 echo "${ECHO_T}yes" >&6; }
    6285 else
    6286   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    6287 echo "${ECHO_T}no, using $LN_S" >&6; }
    6288 fi
    6289 
    6290 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    6291 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
     2073  { $as_echo "$as_me:$LINENO: result: yes" >&5
     2074$as_echo "yes" >&6; }
     2075else
     2076  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     2077$as_echo "no, using $LN_S" >&6; }
     2078fi
     2079
     2080{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     2081$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    62922082if test -z "$MKDIR_P"; then
    62932083  if test "${ac_cv_path_mkdir+set}" = set; then
    6294   echo $ECHO_N "(cached) $ECHO_C" >&6
     2084  $as_echo_n "(cached) " >&6
    62952085else
    62962086  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    63272117  fi
    63282118fi
    6329 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    6330 echo "${ECHO_T}$MKDIR_P" >&6; }
     2119{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     2120$as_echo "$MKDIR_P" >&6; }
    63312121
    63322122
     
    63392129  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    63402130set dummy ${ac_tool_prefix}gcc; ac_word=$2
    6341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2131{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2132$as_echo_n "checking for $ac_word... " >&6; }
    63432133if test "${ac_cv_prog_CC+set}" = set; then
    6344   echo $ECHO_N "(cached) $ECHO_C" >&6
     2134  $as_echo_n "(cached) " >&6
    63452135else
    63462136  if test -n "$CC"; then
     
    63552145  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63562146    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    6357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2147    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63582148    break 2
    63592149  fi
     
    63662156CC=$ac_cv_prog_CC
    63672157if test -n "$CC"; then
    6368   { echo "$as_me:$LINENO: result: $CC" >&5
    6369 echo "${ECHO_T}$CC" >&6; }
    6370 else
    6371   { echo "$as_me:$LINENO: result: no" >&5
    6372 echo "${ECHO_T}no" >&6; }
     2158  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2159$as_echo "$CC" >&6; }
     2160else
     2161  { $as_echo "$as_me:$LINENO: result: no" >&5
     2162$as_echo "no" >&6; }
    63732163fi
    63742164
     
    63792169  # Extract the first word of "gcc", so it can be a program name with args.
    63802170set dummy gcc; ac_word=$2
    6381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2171{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2172$as_echo_n "checking for $ac_word... " >&6; }
    63832173if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    6384   echo $ECHO_N "(cached) $ECHO_C" >&6
     2174  $as_echo_n "(cached) " >&6
    63852175else
    63862176  if test -n "$ac_ct_CC"; then
     
    63952185  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63962186    ac_cv_prog_ac_ct_CC="gcc"
    6397     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2187    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63982188    break 2
    63992189  fi
     
    64062196ac_ct_CC=$ac_cv_prog_ac_ct_CC
    64072197if test -n "$ac_ct_CC"; then
    6408   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    6409 echo "${ECHO_T}$ac_ct_CC" >&6; }
    6410 else
    6411   { echo "$as_me:$LINENO: result: no" >&5
    6412 echo "${ECHO_T}no" >&6; }
     2198  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2199$as_echo "$ac_ct_CC" >&6; }
     2200else
     2201  { $as_echo "$as_me:$LINENO: result: no" >&5
     2202$as_echo "no" >&6; }
    64132203fi
    64142204
     
    64182208    case $cross_compiling:$ac_tool_warned in
    64192209yes:)
    6420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    6421 whose name does not start with the host triplet.  If you think this
    6422 configuration is useful to you, please write to autoconf@gnu.org." >&5
    6423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    6424 whose name does not start with the host triplet.  If you think this
    6425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2210{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    64262212ac_tool_warned=yes ;;
    64272213esac
     
    64362222    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    64372223set dummy ${ac_tool_prefix}cc; ac_word=$2
    6438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2224{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2225$as_echo_n "checking for $ac_word... " >&6; }
    64402226if test "${ac_cv_prog_CC+set}" = set; then
    6441   echo $ECHO_N "(cached) $ECHO_C" >&6
     2227  $as_echo_n "(cached) " >&6
    64422228else
    64432229  if test -n "$CC"; then
     
    64522238  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64532239    ac_cv_prog_CC="${ac_tool_prefix}cc"
    6454     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2240    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    64552241    break 2
    64562242  fi
     
    64632249CC=$ac_cv_prog_CC
    64642250if test -n "$CC"; then
    6465   { echo "$as_me:$LINENO: result: $CC" >&5
    6466 echo "${ECHO_T}$CC" >&6; }
    6467 else
    6468   { echo "$as_me:$LINENO: result: no" >&5
    6469 echo "${ECHO_T}no" >&6; }
     2251  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2252$as_echo "$CC" >&6; }
     2253else
     2254  { $as_echo "$as_me:$LINENO: result: no" >&5
     2255$as_echo "no" >&6; }
    64702256fi
    64712257
     
    64762262  # Extract the first word of "cc", so it can be a program name with args.
    64772263set dummy cc; ac_word=$2
    6478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2264{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2265$as_echo_n "checking for $ac_word... " >&6; }
    64802266if test "${ac_cv_prog_CC+set}" = set; then
    6481   echo $ECHO_N "(cached) $ECHO_C" >&6
     2267  $as_echo_n "(cached) " >&6
    64822268else
    64832269  if test -n "$CC"; then
     
    64972283     fi
    64982284    ac_cv_prog_CC="cc"
    6499     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2285    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65002286    break 2
    65012287  fi
     
    65202306CC=$ac_cv_prog_CC
    65212307if test -n "$CC"; then
    6522   { echo "$as_me:$LINENO: result: $CC" >&5
    6523 echo "${ECHO_T}$CC" >&6; }
    6524 else
    6525   { echo "$as_me:$LINENO: result: no" >&5
    6526 echo "${ECHO_T}no" >&6; }
     2308  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2309$as_echo "$CC" >&6; }
     2310else
     2311  { $as_echo "$as_me:$LINENO: result: no" >&5
     2312$as_echo "no" >&6; }
    65272313fi
    65282314
     
    65352321    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    65362322set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2323{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2324$as_echo_n "checking for $ac_word... " >&6; }
    65392325if test "${ac_cv_prog_CC+set}" = set; then
    6540   echo $ECHO_N "(cached) $ECHO_C" >&6
     2326  $as_echo_n "(cached) " >&6
    65412327else
    65422328  if test -n "$CC"; then
     
    65512337  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65522338    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    6553     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2339    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65542340    break 2
    65552341  fi
     
    65622348CC=$ac_cv_prog_CC
    65632349if test -n "$CC"; then
    6564   { echo "$as_me:$LINENO: result: $CC" >&5
    6565 echo "${ECHO_T}$CC" >&6; }
    6566 else
    6567   { echo "$as_me:$LINENO: result: no" >&5
    6568 echo "${ECHO_T}no" >&6; }
     2350  { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2351$as_echo "$CC" >&6; }
     2352else
     2353  { $as_echo "$as_me:$LINENO: result: no" >&5
     2354$as_echo "no" >&6; }
    65692355fi
    65702356
     
    65792365  # Extract the first word of "$ac_prog", so it can be a program name with args.
    65802366set dummy $ac_prog; ac_word=$2
    6581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    6582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     2367{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2368$as_echo_n "checking for $ac_word... " >&6; }
    65832369if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    6584   echo $ECHO_N "(cached) $ECHO_C" >&6
     2370  $as_echo_n "(cached) " >&6
    65852371else
    65862372  if test -n "$ac_ct_CC"; then
     
    65952381  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65962382    ac_cv_prog_ac_ct_CC="$ac_prog"
    6597     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2383    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65982384    break 2
    65992385  fi
     
    66062392ac_ct_CC=$ac_cv_prog_ac_ct_CC
    66072393if test -n "$ac_ct_CC"; then
    6608   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    6609 echo "${ECHO_T}$ac_ct_CC" >&6; }
    6610 else
    6611   { echo "$as_me:$LINENO: result: no" >&5
    6612 echo "${ECHO_T}no" >&6; }
     2394  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2395$as_echo "$ac_ct_CC" >&6; }
     2396else
     2397  { $as_echo "$as_me:$LINENO: result: no" >&5
     2398$as_echo "no" >&6; }
    66132399fi
    66142400
     
    66222408    case $cross_compiling:$ac_tool_warned in
    66232409yes:)
    6624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    6625 whose name does not start with the host triplet.  If you think this
    6626 configuration is useful to you, please write to autoconf@gnu.org." >&5
    6627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    6628 whose name does not start with the host triplet.  If you think this
    6629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2410{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2411$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    66302412ac_tool_warned=yes ;;
    66312413esac
     
    66372419
    66382420
    6639 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2421test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2422$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2423{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    66402424See \`config.log' for more details." >&5
    6641 echo "$as_me: error: no acceptable C compiler found in \$PATH
     2425$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    66422426See \`config.log' for more details." >&2;}
    6643    { (exit 1); exit 1; }; }
     2427   { (exit 1); exit 1; }; }; }
    66442428
    66452429# Provide some information about the compiler.
    6646 echo "$as_me:$LINENO: checking for C compiler version" >&5
    6647 ac_compiler=`set X $ac_compile; echo $2`
     2430$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     2431set X $ac_compile
     2432ac_compiler=$2
    66482433{ (ac_try="$ac_compiler --version >&5"
    66492434case "(($ac_try" in
     
    66512436  *) ac_try_echo=$ac_try;;
    66522437esac
    6653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2439$as_echo "$ac_try_echo") >&5
    66542440  (eval "$ac_compiler --version >&5") 2>&5
    66552441  ac_status=$?
    6656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2442  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    66572443  (exit $ac_status); }
    66582444{ (ac_try="$ac_compiler -v >&5"
     
    66612447  *) ac_try_echo=$ac_try;;
    66622448esac
    6663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2449eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2450$as_echo "$ac_try_echo") >&5
    66642451  (eval "$ac_compiler -v >&5") 2>&5
    66652452  ac_status=$?
    6666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2453  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    66672454  (exit $ac_status); }
    66682455{ (ac_try="$ac_compiler -V >&5"
     
    66712458  *) ac_try_echo=$ac_try;;
    66722459esac
    6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2460eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2461$as_echo "$ac_try_echo") >&5
    66742462  (eval "$ac_compiler -V >&5") 2>&5
    66752463  ac_status=$?
    6676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2464  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    66772465  (exit $ac_status); }
    66782466
    6679 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    6680 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
     2467cat >conftest.$ac_ext <<_ACEOF
     2468/* confdefs.h.  */
     2469_ACEOF
     2470cat confdefs.h >>conftest.$ac_ext
     2471cat >>conftest.$ac_ext <<_ACEOF
     2472/* end confdefs.h.  */
     2473
     2474int
     2475main ()
     2476{
     2477
     2478  ;
     2479  return 0;
     2480}
     2481_ACEOF
     2482ac_clean_files_save=$ac_clean_files
     2483ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     2484# Try to create an executable without -o first, disregard a.out.
     2485# It will help us diagnose broken compilers, and finding out an intuition
     2486# of exeext.
     2487{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2488$as_echo_n "checking for C compiler default output file name... " >&6; }
     2489ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2490
     2491# The possible output files:
     2492ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2493
     2494ac_rmfiles=
     2495for ac_file in $ac_files
     2496do
     2497  case $ac_file in
     2498    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2499    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2500  esac
     2501done
     2502rm -f $ac_rmfiles
     2503
     2504if { (ac_try="$ac_link_default"
     2505case "(($ac_try" in
     2506  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2507  *) ac_try_echo=$ac_try;;
     2508esac
     2509eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2510$as_echo "$ac_try_echo") >&5
     2511  (eval "$ac_link_default") 2>&5
     2512  ac_status=$?
     2513  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2514  (exit $ac_status); }; then
     2515  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2516# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2517# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2518# so that the user can short-circuit this test for compilers unknown to
     2519# Autoconf.
     2520for ac_file in $ac_files ''
     2521do
     2522  test -f "$ac_file" || continue
     2523  case $ac_file in
     2524    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     2525        ;;
     2526    [ab].out )
     2527        # We found the default executable, but exeext='' is most
     2528        # certainly right.
     2529        break;;
     2530    *.* )
     2531        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2532        then :; else
     2533           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2534        fi
     2535        # We set ac_cv_exeext here because the later test for it is not
     2536        # safe: cross compilers may not add the suffix if given an `-o'
     2537        # argument, so we may need to know it at that point already.
     2538        # Even if this section looks crufty: it has the advantage of
     2539        # actually working.
     2540        break;;
     2541    * )
     2542        break;;
     2543  esac
     2544done
     2545test "$ac_cv_exeext" = no && ac_cv_exeext=
     2546
     2547else
     2548  ac_file=''
     2549fi
     2550
     2551{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2552$as_echo "$ac_file" >&6; }
     2553if test -z "$ac_file"; then
     2554  $as_echo "$as_me: failed program was:" >&5
     2555sed 's/^/| /' conftest.$ac_ext >&5
     2556
     2557{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2558$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2559{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2560See \`config.log' for more details." >&5
     2561$as_echo "$as_me: error: C compiler cannot create executables
     2562See \`config.log' for more details." >&2;}
     2563   { (exit 77); exit 77; }; }; }
     2564fi
     2565
     2566ac_exeext=$ac_cv_exeext
     2567
     2568# Check that the compiler produces executables we can run.  If not, either
     2569# the compiler is broken, or we cross compile.
     2570{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2571$as_echo_n "checking whether the C compiler works... " >&6; }
     2572# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2573# If not cross compiling, check that we can run a simple program.
     2574if test "$cross_compiling" != yes; then
     2575  if { ac_try='./$ac_file'
     2576  { (case "(($ac_try" in
     2577  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2578  *) ac_try_echo=$ac_try;;
     2579esac
     2580eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2581$as_echo "$ac_try_echo") >&5
     2582  (eval "$ac_try") 2>&5
     2583  ac_status=$?
     2584  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2585  (exit $ac_status); }; }; then
     2586    cross_compiling=no
     2587  else
     2588    if test "$cross_compiling" = maybe; then
     2589        cross_compiling=yes
     2590    else
     2591        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2592$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2593{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2594If you meant to cross compile, use \`--host'.
     2595See \`config.log' for more details." >&5
     2596$as_echo "$as_me: error: cannot run C compiled programs.
     2597If you meant to cross compile, use \`--host'.
     2598See \`config.log' for more details." >&2;}
     2599   { (exit 1); exit 1; }; }; }
     2600    fi
     2601  fi
     2602fi
     2603{ $as_echo "$as_me:$LINENO: result: yes" >&5
     2604$as_echo "yes" >&6; }
     2605
     2606rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2607ac_clean_files=$ac_clean_files_save
     2608# Check that the compiler produces executables we can run.  If not, either
     2609# the compiler is broken, or we cross compile.
     2610{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2611$as_echo_n "checking whether we are cross compiling... " >&6; }
     2612{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2613$as_echo "$cross_compiling" >&6; }
     2614
     2615{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2616$as_echo_n "checking for suffix of executables... " >&6; }
     2617if { (ac_try="$ac_link"
     2618case "(($ac_try" in
     2619  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2620  *) ac_try_echo=$ac_try;;
     2621esac
     2622eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2623$as_echo "$ac_try_echo") >&5
     2624  (eval "$ac_link") 2>&5
     2625  ac_status=$?
     2626  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2627  (exit $ac_status); }; then
     2628  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     2629# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     2630# work properly (i.e., refer to `conftest.exe'), while it won't with
     2631# `rm'.
     2632for ac_file in conftest.exe conftest conftest.*; do
     2633  test -f "$ac_file" || continue
     2634  case $ac_file in
     2635    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2636    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2637          break;;
     2638    * ) break;;
     2639  esac
     2640done
     2641else
     2642  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2643$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2644{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2645See \`config.log' for more details." >&5
     2646$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2647See \`config.log' for more details." >&2;}
     2648   { (exit 1); exit 1; }; }; }
     2649fi
     2650
     2651rm -f conftest$ac_cv_exeext
     2652{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2653$as_echo "$ac_cv_exeext" >&6; }
     2654
     2655rm -f conftest.$ac_ext
     2656EXEEXT=$ac_cv_exeext
     2657ac_exeext=$EXEEXT
     2658{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2659$as_echo_n "checking for suffix of object files... " >&6; }
     2660if test "${ac_cv_objext+set}" = set; then
     2661  $as_echo_n "(cached) " >&6
     2662else
     2663  cat >conftest.$ac_ext <<_ACEOF
     2664/* confdefs.h.  */
     2665_ACEOF
     2666cat confdefs.h >>conftest.$ac_ext
     2667cat >>conftest.$ac_ext <<_ACEOF
     2668/* end confdefs.h.  */
     2669
     2670int
     2671main ()
     2672{
     2673
     2674  ;
     2675  return 0;
     2676}
     2677_ACEOF
     2678rm -f conftest.o conftest.obj
     2679if { (ac_try="$ac_compile"
     2680case "(($ac_try" in
     2681  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2682  *) ac_try_echo=$ac_try;;
     2683esac
     2684eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2685$as_echo "$ac_try_echo") >&5
     2686  (eval "$ac_compile") 2>&5
     2687  ac_status=$?
     2688  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2689  (exit $ac_status); }; then
     2690  for ac_file in conftest.o conftest.obj conftest.*; do
     2691  test -f "$ac_file" || continue;
     2692  case $ac_file in
     2693    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     2694    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     2695       break;;
     2696  esac
     2697done
     2698else
     2699  $as_echo "$as_me: failed program was:" >&5
     2700sed 's/^/| /' conftest.$ac_ext >&5
     2701
     2702{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2703$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2704{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2705See \`config.log' for more details." >&5
     2706$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2707See \`config.log' for more details." >&2;}
     2708   { (exit 1); exit 1; }; }; }
     2709fi
     2710
     2711rm -f conftest.$ac_cv_objext conftest.$ac_ext
     2712fi
     2713{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2714$as_echo "$ac_cv_objext" >&6; }
     2715OBJEXT=$ac_cv_objext
     2716ac_objext=$OBJEXT
     2717{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2718$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    66812719if test "${ac_cv_c_compiler_gnu+set}" = set; then
    6682   echo $ECHO_N "(cached) $ECHO_C" >&6
     2720  $as_echo_n "(cached) " >&6
    66832721else
    66842722  cat >conftest.$ac_ext <<_ACEOF
     
    67062744  *) ac_try_echo=$ac_try;;
    67072745esac
    6708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2746eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2747$as_echo "$ac_try_echo") >&5
    67092748  (eval "$ac_compile") 2>conftest.er1
    67102749  ac_status=$?
     
    67122751  rm -f conftest.er1
    67132752  cat conftest.err >&5
    6714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2753  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    67152754  (exit $ac_status); } && {
    67162755         test -z "$ac_c_werror_flag" ||
     
    67192758  ac_compiler_gnu=yes
    67202759else
    6721   echo "$as_me: failed program was:" >&5
     2760  $as_echo "$as_me: failed program was:" >&5
    67222761sed 's/^/| /' conftest.$ac_ext >&5
    67232762
     
    67292768
    67302769fi
    6731 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    6732 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    6733 GCC=`test $ac_compiler_gnu = yes && echo yes`
     2770{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2771$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     2772if test $ac_compiler_gnu = yes; then
     2773  GCC=yes
     2774else
     2775  GCC=
     2776fi
    67342777ac_test_CFLAGS=${CFLAGS+set}
    67352778ac_save_CFLAGS=$CFLAGS
    6736 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    6737 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
     2779{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2780$as_echo_n "checking whether $CC accepts -g... " >&6; }
    67382781if test "${ac_cv_prog_cc_g+set}" = set; then
    6739   echo $ECHO_N "(cached) $ECHO_C" >&6
     2782  $as_echo_n "(cached) " >&6
    67402783else
    67412784  ac_save_c_werror_flag=$ac_c_werror_flag
     
    67642807  *) ac_try_echo=$ac_try;;
    67652808esac
    6766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2809eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2810$as_echo "$ac_try_echo") >&5
    67672811  (eval "$ac_compile") 2>conftest.er1
    67682812  ac_status=$?
     
    67702814  rm -f conftest.er1
    67712815  cat conftest.err >&5
    6772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2816  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    67732817  (exit $ac_status); } && {
    67742818         test -z "$ac_c_werror_flag" ||
     
    67772821  ac_cv_prog_cc_g=yes
    67782822else
    6779   echo "$as_me: failed program was:" >&5
     2823  $as_echo "$as_me: failed program was:" >&5
    67802824sed 's/^/| /' conftest.$ac_ext >&5
    67812825
     
    68022846  *) ac_try_echo=$ac_try;;
    68032847esac
    6804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2848eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2849$as_echo "$ac_try_echo") >&5
    68052850  (eval "$ac_compile") 2>conftest.er1
    68062851  ac_status=$?
     
    68082853  rm -f conftest.er1
    68092854  cat conftest.err >&5
    6810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2855  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    68112856  (exit $ac_status); } && {
    68122857         test -z "$ac_c_werror_flag" ||
     
    68152860  :
    68162861else
    6817   echo "$as_me: failed program was:" >&5
     2862  $as_echo "$as_me: failed program was:" >&5
    68182863sed 's/^/| /' conftest.$ac_ext >&5
    68192864
     
    68412886  *) ac_try_echo=$ac_try;;
    68422887esac
    6843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2888eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2889$as_echo "$ac_try_echo") >&5
    68442890  (eval "$ac_compile") 2>conftest.er1
    68452891  ac_status=$?
     
    68472893  rm -f conftest.er1
    68482894  cat conftest.err >&5
    6849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2895  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    68502896  (exit $ac_status); } && {
    68512897         test -z "$ac_c_werror_flag" ||
     
    68542900  ac_cv_prog_cc_g=yes
    68552901else
    6856   echo "$as_me: failed program was:" >&5
     2902  $as_echo "$as_me: failed program was:" >&5
    68572903sed 's/^/| /' conftest.$ac_ext >&5
    68582904
     
    68692915   ac_c_werror_flag=$ac_save_c_werror_flag
    68702916fi
    6871 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    6872 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     2917{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2918$as_echo "$ac_cv_prog_cc_g" >&6; }
    68732919if test "$ac_test_CFLAGS" = set; then
    68742920  CFLAGS=$ac_save_CFLAGS
     
    68862932  fi
    68872933fi
    6888 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    6889 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2934{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2935$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    68902936if test "${ac_cv_prog_cc_c89+set}" = set; then
    6891   echo $ECHO_N "(cached) $ECHO_C" >&6
     2937  $as_echo_n "(cached) " >&6
    68922938else
    68932939  ac_cv_prog_cc_c89=no
     
    69603006  *) ac_try_echo=$ac_try;;
    69613007esac
    6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3008eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3009$as_echo "$ac_try_echo") >&5
    69633010  (eval "$ac_compile") 2>conftest.er1
    69643011  ac_status=$?
     
    69663013  rm -f conftest.er1
    69673014  cat conftest.err >&5
    6968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3015  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    69693016  (exit $ac_status); } && {
    69703017         test -z "$ac_c_werror_flag" ||
     
    69733020  ac_cv_prog_cc_c89=$ac_arg
    69743021else
    6975   echo "$as_me: failed program was:" >&5
     3022  $as_echo "$as_me: failed program was:" >&5
    69763023sed 's/^/| /' conftest.$ac_ext >&5
    69773024
     
    69893036case "x$ac_cv_prog_cc_c89" in
    69903037  x)
    6991     { echo "$as_me:$LINENO: result: none needed" >&5
    6992 echo "${ECHO_T}none needed" >&6; } ;;
     3038    { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3039$as_echo "none needed" >&6; } ;;
    69933040  xno)
    6994     { echo "$as_me:$LINENO: result: unsupported" >&5
    6995 echo "${ECHO_T}unsupported" >&6; } ;;
     3041    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3042$as_echo "unsupported" >&6; } ;;
    69963043  *)
    69973044    CC="$CC $ac_cv_prog_cc_c89"
    6998     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    6999 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     3045    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3046$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    70003047esac
    70013048
     
    70123059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    70133060ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7014 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    7015 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     3061{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3062$as_echo_n "checking how to run the C preprocessor... " >&6; }
    70163063# On Suns, sometimes $CPP names a directory.
    70173064if test -n "$CPP" && test -d "$CPP"; then
     
    70203067if test -z "$CPP"; then
    70213068  if test "${ac_cv_prog_CPP+set}" = set; then
    7022   echo $ECHO_N "(cached) $ECHO_C" >&6
     3069  $as_echo_n "(cached) " >&6
    70233070else
    70243071      # Double quotes because CPP needs to be expanded
     
    70523099  *) ac_try_echo=$ac_try;;
    70533100esac
    7054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3101eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3102$as_echo "$ac_try_echo") >&5
    70553103  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    70563104  ac_status=$?
     
    70583106  rm -f conftest.er1
    70593107  cat conftest.err >&5
    7060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3108  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70613109  (exit $ac_status); } >/dev/null && {
    70623110         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    70653113  :
    70663114else
    7067   echo "$as_me: failed program was:" >&5
     3115  $as_echo "$as_me: failed program was:" >&5
    70683116sed 's/^/| /' conftest.$ac_ext >&5
    70693117
     
    70893137  *) ac_try_echo=$ac_try;;
    70903138esac
    7091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3139eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3140$as_echo "$ac_try_echo") >&5
    70923141  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    70933142  ac_status=$?
     
    70953144  rm -f conftest.er1
    70963145  cat conftest.err >&5
    7097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3146  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70983147  (exit $ac_status); } >/dev/null && {
    70993148         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    71033152continue
    71043153else
    7105   echo "$as_me: failed program was:" >&5
     3154  $as_echo "$as_me: failed program was:" >&5
    71063155sed 's/^/| /' conftest.$ac_ext >&5
    71073156
     
    71283177  ac_cv_prog_CPP=$CPP
    71293178fi
    7130 { echo "$as_me:$LINENO: result: $CPP" >&5
    7131 echo "${ECHO_T}$CPP" >&6; }
     3179{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3180$as_echo "$CPP" >&6; }
    71323181ac_preproc_ok=false
    71333182for ac_c_preproc_warn_flag in '' yes
     
    71573206  *) ac_try_echo=$ac_try;;
    71583207esac
    7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3208eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3209$as_echo "$ac_try_echo") >&5
    71603210  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    71613211  ac_status=$?
     
    71633213  rm -f conftest.er1
    71643214  cat conftest.err >&5
    7165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3215  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71663216  (exit $ac_status); } >/dev/null && {
    71673217         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    71703220  :
    71713221else
    7172   echo "$as_me: failed program was:" >&5
     3222  $as_echo "$as_me: failed program was:" >&5
    71733223sed 's/^/| /' conftest.$ac_ext >&5
    71743224
     
    71943244  *) ac_try_echo=$ac_try;;
    71953245esac
    7196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3247$as_echo "$ac_try_echo") >&5
    71973248  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    71983249  ac_status=$?
     
    72003251  rm -f conftest.er1
    72013252  cat conftest.err >&5
    7202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3253  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    72033254  (exit $ac_status); } >/dev/null && {
    72043255         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    72083259continue
    72093260else
    7210   echo "$as_me: failed program was:" >&5
     3261  $as_echo "$as_me: failed program was:" >&5
    72113262sed 's/^/| /' conftest.$ac_ext >&5
    72123263
     
    72243275  :
    72253276else
    7226   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3277  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3278$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3279{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    72273280See \`config.log' for more details." >&5
    7228 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3281$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    72293282See \`config.log' for more details." >&2;}
    7230    { (exit 1); exit 1; }; }
     3283   { (exit 1); exit 1; }; }; }
    72313284fi
    72323285
     
    72513304    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    72523305set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    7254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3306{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3307$as_echo_n "checking for $ac_word... " >&6; }
    72553308if test "${ac_cv_prog_CXX+set}" = set; then
    7256   echo $ECHO_N "(cached) $ECHO_C" >&6
     3309  $as_echo_n "(cached) " >&6
    72573310else
    72583311  if test -n "$CXX"; then
     
    72673320  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    72683321    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7269     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3322    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    72703323    break 2
    72713324  fi
     
    72783331CXX=$ac_cv_prog_CXX
    72793332if test -n "$CXX"; then
    7280   { echo "$as_me:$LINENO: result: $CXX" >&5
    7281 echo "${ECHO_T}$CXX" >&6; }
    7282 else
    7283   { echo "$as_me:$LINENO: result: no" >&5
    7284 echo "${ECHO_T}no" >&6; }
     3333  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3334$as_echo "$CXX" >&6; }
     3335else
     3336  { $as_echo "$as_me:$LINENO: result: no" >&5
     3337$as_echo "no" >&6; }
    72853338fi
    72863339
     
    72953348  # Extract the first word of "$ac_prog", so it can be a program name with args.
    72963349set dummy $ac_prog; ac_word=$2
    7297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    7298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3350{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3351$as_echo_n "checking for $ac_word... " >&6; }
    72993352if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    7300   echo $ECHO_N "(cached) $ECHO_C" >&6
     3353  $as_echo_n "(cached) " >&6
    73013354else
    73023355  if test -n "$ac_ct_CXX"; then
     
    73113364  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    73123365    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7313     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3366    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    73143367    break 2
    73153368  fi
     
    73223375ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    73233376if test -n "$ac_ct_CXX"; then
    7324   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    7325 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    7326 else
    7327   { echo "$as_me:$LINENO: result: no" >&5
    7328 echo "${ECHO_T}no" >&6; }
     3377  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3378$as_echo "$ac_ct_CXX" >&6; }
     3379else
     3380  { $as_echo "$as_me:$LINENO: result: no" >&5
     3381$as_echo "no" >&6; }
    73293382fi
    73303383
     
    73383391    case $cross_compiling:$ac_tool_warned in
    73393392yes:)
    7340 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    7341 whose name does not start with the host triplet.  If you think this
    7342 configuration is useful to you, please write to autoconf@gnu.org." >&5
    7343 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    7344 whose name does not start with the host triplet.  If you think this
    7345 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3393{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3394$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    73463395ac_tool_warned=yes ;;
    73473396esac
     
    73533402fi
    73543403# Provide some information about the compiler.
    7355 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    7356 ac_compiler=`set X $ac_compile; echo $2`
     3404$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3405set X $ac_compile
     3406ac_compiler=$2
    73573407{ (ac_try="$ac_compiler --version >&5"
    73583408case "(($ac_try" in
     
    73603410  *) ac_try_echo=$ac_try;;
    73613411esac
    7362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3413$as_echo "$ac_try_echo") >&5
    73633414  (eval "$ac_compiler --version >&5") 2>&5
    73643415  ac_status=$?
    7365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3416  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73663417  (exit $ac_status); }
    73673418{ (ac_try="$ac_compiler -v >&5"
     
    73703421  *) ac_try_echo=$ac_try;;
    73713422esac
    7372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3423eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3424$as_echo "$ac_try_echo") >&5
    73733425  (eval "$ac_compiler -v >&5") 2>&5
    73743426  ac_status=$?
    7375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3427  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73763428  (exit $ac_status); }
    73773429{ (ac_try="$ac_compiler -V >&5"
     
    73803432  *) ac_try_echo=$ac_try;;
    73813433esac
    7382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3434eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3435$as_echo "$ac_try_echo") >&5
    73833436  (eval "$ac_compiler -V >&5") 2>&5
    73843437  ac_status=$?
    7385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3438  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73863439  (exit $ac_status); }
    73873440
    7388 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    7389 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
     3441{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3442$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    73903443if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    7391   echo $ECHO_N "(cached) $ECHO_C" >&6
     3444  $as_echo_n "(cached) " >&6
    73923445else
    73933446  cat >conftest.$ac_ext <<_ACEOF
     
    74153468  *) ac_try_echo=$ac_try;;
    74163469esac
    7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3470eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3471$as_echo "$ac_try_echo") >&5
    74183472  (eval "$ac_compile") 2>conftest.er1
    74193473  ac_status=$?
     
    74213475  rm -f conftest.er1
    74223476  cat conftest.err >&5
    7423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3477  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    74243478  (exit $ac_status); } && {
    74253479         test -z "$ac_cxx_werror_flag" ||
     
    74283482  ac_compiler_gnu=yes
    74293483else
    7430   echo "$as_me: failed program was:" >&5
     3484  $as_echo "$as_me: failed program was:" >&5
    74313485sed 's/^/| /' conftest.$ac_ext >&5
    74323486
     
    74383492
    74393493fi
    7440 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    7441 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    7442 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3494{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3495$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3496if test $ac_compiler_gnu = yes; then
     3497  GXX=yes
     3498else
     3499  GXX=
     3500fi
    74433501ac_test_CXXFLAGS=${CXXFLAGS+set}
    74443502ac_save_CXXFLAGS=$CXXFLAGS
    7445 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    7446 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
     3503{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3504$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    74473505if test "${ac_cv_prog_cxx_g+set}" = set; then
    7448   echo $ECHO_N "(cached) $ECHO_C" >&6
     3506  $as_echo_n "(cached) " >&6
    74493507else
    74503508  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    74733531  *) ac_try_echo=$ac_try;;
    74743532esac
    7475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3533eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3534$as_echo "$ac_try_echo") >&5
    74763535  (eval "$ac_compile") 2>conftest.er1
    74773536  ac_status=$?
     
    74793538  rm -f conftest.er1
    74803539  cat conftest.err >&5
    7481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3540  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    74823541  (exit $ac_status); } && {
    74833542         test -z "$ac_cxx_werror_flag" ||
     
    74863545  ac_cv_prog_cxx_g=yes
    74873546else
    7488   echo "$as_me: failed program was:" >&5
     3547  $as_echo "$as_me: failed program was:" >&5
    74893548sed 's/^/| /' conftest.$ac_ext >&5
    74903549
     
    75113570  *) ac_try_echo=$ac_try;;
    75123571esac
    7513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3572eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3573$as_echo "$ac_try_echo") >&5
    75143574  (eval "$ac_compile") 2>conftest.er1
    75153575  ac_status=$?
     
    75173577  rm -f conftest.er1
    75183578  cat conftest.err >&5
    7519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3579  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    75203580  (exit $ac_status); } && {
    75213581         test -z "$ac_cxx_werror_flag" ||
     
    75243584  :
    75253585else
    7526   echo "$as_me: failed program was:" >&5
     3586  $as_echo "$as_me: failed program was:" >&5
    75273587sed 's/^/| /' conftest.$ac_ext >&5
    75283588
     
    75503610  *) ac_try_echo=$ac_try;;
    75513611esac
    7552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3612eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3613$as_echo "$ac_try_echo") >&5
    75533614  (eval "$ac_compile") 2>conftest.er1
    75543615  ac_status=$?
     
    75563617  rm -f conftest.er1
    75573618  cat conftest.err >&5
    7558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3619  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    75593620  (exit $ac_status); } && {
    75603621         test -z "$ac_cxx_werror_flag" ||
     
    75633624  ac_cv_prog_cxx_g=yes
    75643625else
    7565   echo "$as_me: failed program was:" >&5
     3626  $as_echo "$as_me: failed program was:" >&5
    75663627sed 's/^/| /' conftest.$ac_ext >&5
    75673628
     
    75783639   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    75793640fi
    7580 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    7581 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     3641{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3642$as_echo "$ac_cv_prog_cxx_g" >&6; }
    75823643if test "$ac_test_CXXFLAGS" = set; then
    75833644  CXXFLAGS=$ac_save_CXXFLAGS
     
    76063667ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    76073668ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    7608 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    7609 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
     3669{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     3670$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    76103671if test -z "$CXXCPP"; then
    76113672  if test "${ac_cv_prog_CXXCPP+set}" = set; then
    7612   echo $ECHO_N "(cached) $ECHO_C" >&6
     3673  $as_echo_n "(cached) " >&6
    76133674else
    76143675      # Double quotes because CXXCPP needs to be expanded
     
    76423703  *) ac_try_echo=$ac_try;;
    76433704esac
    7644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3706$as_echo "$ac_try_echo") >&5
    76453707  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    76463708  ac_status=$?
     
    76483710  rm -f conftest.er1
    76493711  cat conftest.err >&5
    7650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3712  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    76513713  (exit $ac_status); } >/dev/null && {
    76523714         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    76553717  :
    76563718else
    7657   echo "$as_me: failed program was:" >&5
     3719  $as_echo "$as_me: failed program was:" >&5
    76583720sed 's/^/| /' conftest.$ac_ext >&5
    76593721
     
    76793741  *) ac_try_echo=$ac_try;;
    76803742esac
    7681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3743eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3744$as_echo "$ac_try_echo") >&5
    76823745  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    76833746  ac_status=$?
     
    76853748  rm -f conftest.er1
    76863749  cat conftest.err >&5
    7687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3750  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    76883751  (exit $ac_status); } >/dev/null && {
    76893752         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    76933756continue
    76943757else
    7695   echo "$as_me: failed program was:" >&5
     3758  $as_echo "$as_me: failed program was:" >&5
    76963759sed 's/^/| /' conftest.$ac_ext >&5
    76973760
     
    77183781  ac_cv_prog_CXXCPP=$CXXCPP
    77193782fi
    7720 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
    7721 echo "${ECHO_T}$CXXCPP" >&6; }
     3783{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     3784$as_echo "$CXXCPP" >&6; }
    77223785ac_preproc_ok=false
    77233786for ac_cxx_preproc_warn_flag in '' yes
     
    77473810  *) ac_try_echo=$ac_try;;
    77483811esac
    7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3813$as_echo "$ac_try_echo") >&5
    77503814  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    77513815  ac_status=$?
     
    77533817  rm -f conftest.er1
    77543818  cat conftest.err >&5
    7755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3819  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    77563820  (exit $ac_status); } >/dev/null && {
    77573821         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    77603824  :
    77613825else
    7762   echo "$as_me: failed program was:" >&5
     3826  $as_echo "$as_me: failed program was:" >&5
    77633827sed 's/^/| /' conftest.$ac_ext >&5
    77643828
     
    77843848  *) ac_try_echo=$ac_try;;
    77853849esac
    7786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3850eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3851$as_echo "$ac_try_echo") >&5
    77873852  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    77883853  ac_status=$?
     
    77903855  rm -f conftest.er1
    77913856  cat conftest.err >&5
    7792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3857  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    77933858  (exit $ac_status); } >/dev/null && {
    77943859         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    77983863continue
    77993864else
    7800   echo "$as_me: failed program was:" >&5
     3865  $as_echo "$as_me: failed program was:" >&5
    78013866sed 's/^/| /' conftest.$ac_ext >&5
    78023867
     
    78143879  :
    78153880else
    7816   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     3881  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3882$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3883{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    78173884See \`config.log' for more details." >&5
    7818 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     3885$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    78193886See \`config.log' for more details." >&2;}
    7820    { (exit 1); exit 1; }; }
     3887   { (exit 1); exit 1; }; }; }
    78213888fi
    78223889
     
    78413908    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    78423909set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    7844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3910{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3911$as_echo_n "checking for $ac_word... " >&6; }
    78453912if test "${ac_cv_prog_CXX+set}" = set; then
    7846   echo $ECHO_N "(cached) $ECHO_C" >&6
     3913  $as_echo_n "(cached) " >&6
    78473914else
    78483915  if test -n "$CXX"; then
     
    78573924  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    78583925    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7859     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3926    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    78603927    break 2
    78613928  fi
     
    78683935CXX=$ac_cv_prog_CXX
    78693936if test -n "$CXX"; then
    7870   { echo "$as_me:$LINENO: result: $CXX" >&5
    7871 echo "${ECHO_T}$CXX" >&6; }
    7872 else
    7873   { echo "$as_me:$LINENO: result: no" >&5
    7874 echo "${ECHO_T}no" >&6; }
     3937  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3938$as_echo "$CXX" >&6; }
     3939else
     3940  { $as_echo "$as_me:$LINENO: result: no" >&5
     3941$as_echo "no" >&6; }
    78753942fi
    78763943
     
    78853952  # Extract the first word of "$ac_prog", so it can be a program name with args.
    78863953set dummy $ac_prog; ac_word=$2
    7887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    7888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3954{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3955$as_echo_n "checking for $ac_word... " >&6; }
    78893956if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    7890   echo $ECHO_N "(cached) $ECHO_C" >&6
     3957  $as_echo_n "(cached) " >&6
    78913958else
    78923959  if test -n "$ac_ct_CXX"; then
     
    79013968  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    79023969    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7903     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3970    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    79043971    break 2
    79053972  fi
     
    79123979ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    79133980if test -n "$ac_ct_CXX"; then
    7914   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    7915 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    7916 else
    7917   { echo "$as_me:$LINENO: result: no" >&5
    7918 echo "${ECHO_T}no" >&6; }
     3981  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3982$as_echo "$ac_ct_CXX" >&6; }
     3983else
     3984  { $as_echo "$as_me:$LINENO: result: no" >&5
     3985$as_echo "no" >&6; }
    79193986fi
    79203987
     
    79283995    case $cross_compiling:$ac_tool_warned in
    79293996yes:)
    7930 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    7931 whose name does not start with the host triplet.  If you think this
    7932 configuration is useful to you, please write to autoconf@gnu.org." >&5
    7933 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    7934 whose name does not start with the host triplet.  If you think this
    7935 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3997{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3998$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    79363999ac_tool_warned=yes ;;
    79374000esac
     
    79434006fi
    79444007# Provide some information about the compiler.
    7945 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    7946 ac_compiler=`set X $ac_compile; echo $2`
     4008$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     4009set X $ac_compile
     4010ac_compiler=$2
    79474011{ (ac_try="$ac_compiler --version >&5"
    79484012case "(($ac_try" in
     
    79504014  *) ac_try_echo=$ac_try;;
    79514015esac
    7952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4016eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4017$as_echo "$ac_try_echo") >&5
    79534018  (eval "$ac_compiler --version >&5") 2>&5
    79544019  ac_status=$?
    7955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4020  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    79564021  (exit $ac_status); }
    79574022{ (ac_try="$ac_compiler -v >&5"
     
    79604025  *) ac_try_echo=$ac_try;;
    79614026esac
    7962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4027eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4028$as_echo "$ac_try_echo") >&5
    79634029  (eval "$ac_compiler -v >&5") 2>&5
    79644030  ac_status=$?
    7965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4031  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    79664032  (exit $ac_status); }
    79674033{ (ac_try="$ac_compiler -V >&5"
     
    79704036  *) ac_try_echo=$ac_try;;
    79714037esac
    7972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4038eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4039$as_echo "$ac_try_echo") >&5
    79734040  (eval "$ac_compiler -V >&5") 2>&5
    79744041  ac_status=$?
    7975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4042  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    79764043  (exit $ac_status); }
    79774044
    7978 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    7979 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
     4045{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     4046$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    79804047if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    7981   echo $ECHO_N "(cached) $ECHO_C" >&6
     4048  $as_echo_n "(cached) " >&6
    79824049else
    79834050  cat >conftest.$ac_ext <<_ACEOF
     
    80054072  *) ac_try_echo=$ac_try;;
    80064073esac
    8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4074eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4075$as_echo "$ac_try_echo") >&5
    80084076  (eval "$ac_compile") 2>conftest.er1
    80094077  ac_status=$?
     
    80114079  rm -f conftest.er1
    80124080  cat conftest.err >&5
    8013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4081  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    80144082  (exit $ac_status); } && {
    80154083         test -z "$ac_cxx_werror_flag" ||
     
    80184086  ac_compiler_gnu=yes
    80194087else
    8020   echo "$as_me: failed program was:" >&5
     4088  $as_echo "$as_me: failed program was:" >&5
    80214089sed 's/^/| /' conftest.$ac_ext >&5
    80224090
     
    80284096
    80294097fi
    8030 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    8031 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    8032 GXX=`test $ac_compiler_gnu = yes && echo yes`
     4098{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4099$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     4100if test $ac_compiler_gnu = yes; then
     4101  GXX=yes
     4102else
     4103  GXX=
     4104fi
    80334105ac_test_CXXFLAGS=${CXXFLAGS+set}
    80344106ac_save_CXXFLAGS=$CXXFLAGS
    8035 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    8036 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
     4107{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4108$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    80374109if test "${ac_cv_prog_cxx_g+set}" = set; then
    8038   echo $ECHO_N "(cached) $ECHO_C" >&6
     4110  $as_echo_n "(cached) " >&6
    80394111else
    80404112  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    80634135  *) ac_try_echo=$ac_try;;
    80644136esac
    8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4137eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4138$as_echo "$ac_try_echo") >&5
    80664139  (eval "$ac_compile") 2>conftest.er1
    80674140  ac_status=$?
     
    80694142  rm -f conftest.er1
    80704143  cat conftest.err >&5
    8071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4144  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    80724145  (exit $ac_status); } && {
    80734146         test -z "$ac_cxx_werror_flag" ||
     
    80764149  ac_cv_prog_cxx_g=yes
    80774150else
    8078   echo "$as_me: failed program was:" >&5
     4151  $as_echo "$as_me: failed program was:" >&5
    80794152sed 's/^/| /' conftest.$ac_ext >&5
    80804153
     
    81014174  *) ac_try_echo=$ac_try;;
    81024175esac
    8103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4177$as_echo "$ac_try_echo") >&5
    81044178  (eval "$ac_compile") 2>conftest.er1
    81054179  ac_status=$?
     
    81074181  rm -f conftest.er1
    81084182  cat conftest.err >&5
    8109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4183  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    81104184  (exit $ac_status); } && {
    81114185         test -z "$ac_cxx_werror_flag" ||
     
    81144188  :
    81154189else
    8116   echo "$as_me: failed program was:" >&5
     4190  $as_echo "$as_me: failed program was:" >&5
    81174191sed 's/^/| /' conftest.$ac_ext >&5
    81184192
     
    81404214  *) ac_try_echo=$ac_try;;
    81414215esac
    8142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4216eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4217$as_echo "$ac_try_echo") >&5
    81434218  (eval "$ac_compile") 2>conftest.er1
    81444219  ac_status=$?
     
    81464221  rm -f conftest.er1
    81474222  cat conftest.err >&5
    8148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4223  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    81494224  (exit $ac_status); } && {
    81504225         test -z "$ac_cxx_werror_flag" ||
     
    81534228  ac_cv_prog_cxx_g=yes
    81544229else
    8155   echo "$as_me: failed program was:" >&5
     4230  $as_echo "$as_me: failed program was:" >&5
    81564231sed 's/^/| /' conftest.$ac_ext >&5
    81574232
     
    81684243   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    81694244fi
    8170 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    8171 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     4245{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     4246$as_echo "$ac_cv_prog_cxx_g" >&6; }
    81724247if test "$ac_test_CXXFLAGS" = set; then
    81734248  CXXFLAGS=$ac_save_CXXFLAGS
     
    81994274
    82004275
    8201 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    8202 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    8203 if test "${ac_cv_c_bigendian+set}" = set; then
    8204   echo $ECHO_N "(cached) $ECHO_C" >&6
    8205 else
    8206   # See if sys/param.h defines the BYTE_ORDER macro.
    8207 cat >conftest.$ac_ext <<_ACEOF
     4276
     4277{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4278$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4279if test "${ac_cv_path_GREP+set}" = set; then
     4280  $as_echo_n "(cached) " >&6
     4281else
     4282  if test -z "$GREP"; then
     4283  ac_path_GREP_found=false
     4284  # Loop through the user's path and test for each of PROGNAME-LIST
     4285  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4286for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4287do
     4288  IFS=$as_save_IFS
     4289  test -z "$as_dir" && as_dir=.
     4290  for ac_prog in grep ggrep; do
     4291    for ac_exec_ext in '' $ac_executable_extensions; do
     4292      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4293      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4294# Check for GNU ac_path_GREP and select it if it is found.
     4295  # Check for GNU $ac_path_GREP
     4296case `"$ac_path_GREP" --version 2>&1` in
     4297*GNU*)
     4298  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4299*)
     4300  ac_count=0
     4301  $as_echo_n 0123456789 >"conftest.in"
     4302  while :
     4303  do
     4304    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4305    mv "conftest.tmp" "conftest.in"
     4306    cp "conftest.in" "conftest.nl"
     4307    $as_echo 'GREP' >> "conftest.nl"
     4308    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4309    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4310    ac_count=`expr $ac_count + 1`
     4311    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4312      # Best one so far, save it but keep looking for a better one
     4313      ac_cv_path_GREP="$ac_path_GREP"
     4314      ac_path_GREP_max=$ac_count
     4315    fi
     4316    # 10*(2^10) chars as input seems more than enough
     4317    test $ac_count -gt 10 && break
     4318  done
     4319  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4320esac
     4321
     4322      $ac_path_GREP_found && break 3
     4323    done
     4324  done
     4325done
     4326IFS=$as_save_IFS
     4327  if test -z "$ac_cv_path_GREP"; then
     4328    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4329$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4330   { (exit 1); exit 1; }; }
     4331  fi
     4332else
     4333  ac_cv_path_GREP=$GREP
     4334fi
     4335
     4336fi
     4337{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4338$as_echo "$ac_cv_path_GREP" >&6; }
     4339 GREP="$ac_cv_path_GREP"
     4340
     4341
     4342{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4343$as_echo_n "checking for egrep... " >&6; }
     4344if test "${ac_cv_path_EGREP+set}" = set; then
     4345  $as_echo_n "(cached) " >&6
     4346else
     4347  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4348   then ac_cv_path_EGREP="$GREP -E"
     4349   else
     4350     if test -z "$EGREP"; then
     4351  ac_path_EGREP_found=false
     4352  # Loop through the user's path and test for each of PROGNAME-LIST
     4353  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4354for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4355do
     4356  IFS=$as_save_IFS
     4357  test -z "$as_dir" && as_dir=.
     4358  for ac_prog in egrep; do
     4359    for ac_exec_ext in '' $ac_executable_extensions; do
     4360      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4361      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4362# Check for GNU ac_path_EGREP and select it if it is found.
     4363  # Check for GNU $ac_path_EGREP
     4364case `"$ac_path_EGREP" --version 2>&1` in
     4365*GNU*)
     4366  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4367*)
     4368  ac_count=0
     4369  $as_echo_n 0123456789 >"conftest.in"
     4370  while :
     4371  do
     4372    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4373    mv "conftest.tmp" "conftest.in"
     4374    cp "conftest.in" "conftest.nl"
     4375    $as_echo 'EGREP' >> "conftest.nl"
     4376    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4377    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4378    ac_count=`expr $ac_count + 1`
     4379    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4380      # Best one so far, save it but keep looking for a better one
     4381      ac_cv_path_EGREP="$ac_path_EGREP"
     4382      ac_path_EGREP_max=$ac_count
     4383    fi
     4384    # 10*(2^10) chars as input seems more than enough
     4385    test $ac_count -gt 10 && break
     4386  done
     4387  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4388esac
     4389
     4390      $ac_path_EGREP_found && break 3
     4391    done
     4392  done
     4393done
     4394IFS=$as_save_IFS
     4395  if test -z "$ac_cv_path_EGREP"; then
     4396    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4397$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4398   { (exit 1); exit 1; }; }
     4399  fi
     4400else
     4401  ac_cv_path_EGREP=$EGREP
     4402fi
     4403
     4404   fi
     4405fi
     4406{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4407$as_echo "$ac_cv_path_EGREP" >&6; }
     4408 EGREP="$ac_cv_path_EGREP"
     4409
     4410
     4411{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4412$as_echo_n "checking for ANSI C header files... " >&6; }
     4413if test "${ac_cv_header_stdc+set}" = set; then
     4414  $as_echo_n "(cached) " >&6
     4415else
     4416  cat >conftest.$ac_ext <<_ACEOF
    82084417/* confdefs.h.  */
    82094418_ACEOF
     
    82114420cat >>conftest.$ac_ext <<_ACEOF
    82124421/* end confdefs.h.  */
    8213 #include <sys/types.h>
    8214 #include <sys/param.h>
     4422#include <stdlib.h>
     4423#include <stdarg.h>
     4424#include <string.h>
     4425#include <float.h>
    82154426
    82164427int
    82174428main ()
    82184429{
    8219 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
    8220         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    8221  bogus endian macros
    8222 #endif
    82234430
    82244431  ;
     
    82324439  *) ac_try_echo=$ac_try;;
    82334440esac
    8234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4442$as_echo "$ac_try_echo") >&5
    82354443  (eval "$ac_compile") 2>conftest.er1
    82364444  ac_status=$?
     
    82384446  rm -f conftest.er1
    82394447  cat conftest.err >&5
    8240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4448  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4449  (exit $ac_status); } && {
     4450         test -z "$ac_cxx_werror_flag" ||
     4451         test ! -s conftest.err
     4452       } && test -s conftest.$ac_objext; then
     4453  ac_cv_header_stdc=yes
     4454else
     4455  $as_echo "$as_me: failed program was:" >&5
     4456sed 's/^/| /' conftest.$ac_ext >&5
     4457
     4458        ac_cv_header_stdc=no
     4459fi
     4460
     4461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4462
     4463if test $ac_cv_header_stdc = yes; then
     4464  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     4465  cat >conftest.$ac_ext <<_ACEOF
     4466/* confdefs.h.  */
     4467_ACEOF
     4468cat confdefs.h >>conftest.$ac_ext
     4469cat >>conftest.$ac_ext <<_ACEOF
     4470/* end confdefs.h.  */
     4471#include <string.h>
     4472
     4473_ACEOF
     4474if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4475  $EGREP "memchr" >/dev/null 2>&1; then
     4476  :
     4477else
     4478  ac_cv_header_stdc=no
     4479fi
     4480rm -f conftest*
     4481
     4482fi
     4483
     4484if test $ac_cv_header_stdc = yes; then
     4485  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     4486  cat >conftest.$ac_ext <<_ACEOF
     4487/* confdefs.h.  */
     4488_ACEOF
     4489cat confdefs.h >>conftest.$ac_ext
     4490cat >>conftest.$ac_ext <<_ACEOF
     4491/* end confdefs.h.  */
     4492#include <stdlib.h>
     4493
     4494_ACEOF
     4495if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4496  $EGREP "free" >/dev/null 2>&1; then
     4497  :
     4498else
     4499  ac_cv_header_stdc=no
     4500fi
     4501rm -f conftest*
     4502
     4503fi
     4504
     4505if test $ac_cv_header_stdc = yes; then
     4506  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     4507  if test "$cross_compiling" = yes; then
     4508  :
     4509else
     4510  cat >conftest.$ac_ext <<_ACEOF
     4511/* confdefs.h.  */
     4512_ACEOF
     4513cat confdefs.h >>conftest.$ac_ext
     4514cat >>conftest.$ac_ext <<_ACEOF
     4515/* end confdefs.h.  */
     4516#include <ctype.h>
     4517#include <stdlib.h>
     4518#if ((' ' & 0x0FF) == 0x020)
     4519# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4520# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4521#else
     4522# define ISLOWER(c) \
     4523                   (('a' <= (c) && (c) <= 'i') \
     4524                     || ('j' <= (c) && (c) <= 'r') \
     4525                     || ('s' <= (c) && (c) <= 'z'))
     4526# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4527#endif
     4528
     4529#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4530int
     4531main ()
     4532{
     4533  int i;
     4534  for (i = 0; i < 256; i++)
     4535    if (XOR (islower (i), ISLOWER (i))
     4536        || toupper (i) != TOUPPER (i))
     4537      return 2;
     4538  return 0;
     4539}
     4540_ACEOF
     4541rm -f conftest$ac_exeext
     4542if { (ac_try="$ac_link"
     4543case "(($ac_try" in
     4544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4545  *) ac_try_echo=$ac_try;;
     4546esac
     4547eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4548$as_echo "$ac_try_echo") >&5
     4549  (eval "$ac_link") 2>&5
     4550  ac_status=$?
     4551  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4552  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4553  { (case "(($ac_try" in
     4554  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4555  *) ac_try_echo=$ac_try;;
     4556esac
     4557eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4558$as_echo "$ac_try_echo") >&5
     4559  (eval "$ac_try") 2>&5
     4560  ac_status=$?
     4561  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4562  (exit $ac_status); }; }; then
     4563  :
     4564else
     4565  $as_echo "$as_me: program exited with status $ac_status" >&5
     4566$as_echo "$as_me: failed program was:" >&5
     4567sed 's/^/| /' conftest.$ac_ext >&5
     4568
     4569( exit $ac_status )
     4570ac_cv_header_stdc=no
     4571fi
     4572rm -rf conftest.dSYM
     4573rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4574fi
     4575
     4576
     4577fi
     4578fi
     4579{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4580$as_echo "$ac_cv_header_stdc" >&6; }
     4581if test $ac_cv_header_stdc = yes; then
     4582
     4583cat >>confdefs.h <<\_ACEOF
     4584#define STDC_HEADERS 1
     4585_ACEOF
     4586
     4587fi
     4588
     4589# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4590
     4591
     4592
     4593
     4594
     4595
     4596
     4597
     4598
     4599for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4600                  inttypes.h stdint.h unistd.h
     4601do
     4602as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4603{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     4604$as_echo_n "checking for $ac_header... " >&6; }
     4605if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4606  $as_echo_n "(cached) " >&6
     4607else
     4608  cat >conftest.$ac_ext <<_ACEOF
     4609/* confdefs.h.  */
     4610_ACEOF
     4611cat confdefs.h >>conftest.$ac_ext
     4612cat >>conftest.$ac_ext <<_ACEOF
     4613/* end confdefs.h.  */
     4614$ac_includes_default
     4615
     4616#include <$ac_header>
     4617_ACEOF
     4618rm -f conftest.$ac_objext
     4619if { (ac_try="$ac_compile"
     4620case "(($ac_try" in
     4621  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4622  *) ac_try_echo=$ac_try;;
     4623esac
     4624eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4625$as_echo "$ac_try_echo") >&5
     4626  (eval "$ac_compile") 2>conftest.er1
     4627  ac_status=$?
     4628  grep -v '^ *+' conftest.er1 >conftest.err
     4629  rm -f conftest.er1
     4630  cat conftest.err >&5
     4631  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4632  (exit $ac_status); } && {
     4633         test -z "$ac_cxx_werror_flag" ||
     4634         test ! -s conftest.err
     4635       } && test -s conftest.$ac_objext; then
     4636  eval "$as_ac_Header=yes"
     4637else
     4638  $as_echo "$as_me: failed program was:" >&5
     4639sed 's/^/| /' conftest.$ac_ext >&5
     4640
     4641        eval "$as_ac_Header=no"
     4642fi
     4643
     4644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4645fi
     4646ac_res=`eval 'as_val=${'$as_ac_Header'}
     4647                 $as_echo "$as_val"'`
     4648               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     4649$as_echo "$ac_res" >&6; }
     4650as_val=`eval 'as_val=${'$as_ac_Header'}
     4651                 $as_echo "$as_val"'`
     4652   if test "x$as_val" = x""yes; then
     4653  cat >>confdefs.h <<_ACEOF
     4654#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4655_ACEOF
     4656
     4657fi
     4658
     4659done
     4660
     4661
     4662
     4663 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     4664$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     4665if test "${ac_cv_c_bigendian+set}" = set; then
     4666  $as_echo_n "(cached) " >&6
     4667else
     4668  ac_cv_c_bigendian=unknown
     4669    # See if we're dealing with a universal compiler.
     4670    cat >conftest.$ac_ext <<_ACEOF
     4671/* confdefs.h.  */
     4672_ACEOF
     4673cat confdefs.h >>conftest.$ac_ext
     4674cat >>conftest.$ac_ext <<_ACEOF
     4675/* end confdefs.h.  */
     4676#ifndef __APPLE_CC__
     4677               not a universal capable compiler
     4678             #endif
     4679             typedef int dummy;
     4680
     4681_ACEOF
     4682rm -f conftest.$ac_objext
     4683if { (ac_try="$ac_compile"
     4684case "(($ac_try" in
     4685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4686  *) ac_try_echo=$ac_try;;
     4687esac
     4688eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4689$as_echo "$ac_try_echo") >&5
     4690  (eval "$ac_compile") 2>conftest.er1
     4691  ac_status=$?
     4692  grep -v '^ *+' conftest.er1 >conftest.err
     4693  rm -f conftest.er1
     4694  cat conftest.err >&5
     4695  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4696  (exit $ac_status); } && {
     4697         test -z "$ac_cxx_werror_flag" ||
     4698         test ! -s conftest.err
     4699       } && test -s conftest.$ac_objext; then
     4700
     4701        # Check for potential -arch flags.  It is not universal unless
     4702        # there are some -arch flags.  Note that *ppc* also matches
     4703        # ppc64.  This check is also rather less than ideal.
     4704        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     4705          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     4706        esac
     4707else
     4708  $as_echo "$as_me: failed program was:" >&5
     4709sed 's/^/| /' conftest.$ac_ext >&5
     4710
     4711
     4712fi
     4713
     4714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4715    if test $ac_cv_c_bigendian = unknown; then
     4716      # See if sys/param.h defines the BYTE_ORDER macro.
     4717      cat >conftest.$ac_ext <<_ACEOF
     4718/* confdefs.h.  */
     4719_ACEOF
     4720cat confdefs.h >>conftest.$ac_ext
     4721cat >>conftest.$ac_ext <<_ACEOF
     4722/* end confdefs.h.  */
     4723#include <sys/types.h>
     4724             #include <sys/param.h>
     4725
     4726int
     4727main ()
     4728{
     4729#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     4730                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     4731                     && LITTLE_ENDIAN)
     4732              bogus endian macros
     4733             #endif
     4734
     4735  ;
     4736  return 0;
     4737}
     4738_ACEOF
     4739rm -f conftest.$ac_objext
     4740if { (ac_try="$ac_compile"
     4741case "(($ac_try" in
     4742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4743  *) ac_try_echo=$ac_try;;
     4744esac
     4745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4746$as_echo "$ac_try_echo") >&5
     4747  (eval "$ac_compile") 2>conftest.er1
     4748  ac_status=$?
     4749  grep -v '^ *+' conftest.er1 >conftest.err
     4750  rm -f conftest.er1
     4751  cat conftest.err >&5
     4752  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    82414753  (exit $ac_status); } && {
    82424754         test -z "$ac_cxx_werror_flag" ||
     
    82444756       } && test -s conftest.$ac_objext; then
    82454757  # It does; now see whether it defined to BIG_ENDIAN or not.
    8246 cat >conftest.$ac_ext <<_ACEOF
     4758         cat >conftest.$ac_ext <<_ACEOF
    82474759/* confdefs.h.  */
    82484760_ACEOF
     
    82514763/* end confdefs.h.  */
    82524764#include <sys/types.h>
    8253 #include <sys/param.h>
     4765                #include <sys/param.h>
    82544766
    82554767int
     
    82574769{
    82584770#if BYTE_ORDER != BIG_ENDIAN
    8259  not big endian
    8260 #endif
     4771                not big endian
     4772                #endif
    82614773
    82624774  ;
     
    82704782  *) ac_try_echo=$ac_try;;
    82714783esac
    8272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4784eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4785$as_echo "$ac_try_echo") >&5
    82734786  (eval "$ac_compile") 2>conftest.er1
    82744787  ac_status=$?
     
    82764789  rm -f conftest.er1
    82774790  cat conftest.err >&5
    8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4791  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    82794792  (exit $ac_status); } && {
    82804793         test -z "$ac_cxx_werror_flag" ||
     
    82834796  ac_cv_c_bigendian=yes
    82844797else
    8285   echo "$as_me: failed program was:" >&5
     4798  $as_echo "$as_me: failed program was:" >&5
    82864799sed 's/^/| /' conftest.$ac_ext >&5
    82874800
     
    82914804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    82924805else
    8293   echo "$as_me: failed program was:" >&5
     4806  $as_echo "$as_me: failed program was:" >&5
    82944807sed 's/^/| /' conftest.$ac_ext >&5
    82954808
    8296         # It does not; compile a test program.
    8297 if 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
     4809
     4810fi
     4811
     4812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4813    fi
     4814    if test $ac_cv_c_bigendian = unknown; then
     4815      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     4816      cat >conftest.$ac_ext <<_ACEOF
    83014817/* confdefs.h.  */
    83024818_ACEOF
     
    83044820cat >>conftest.$ac_ext <<_ACEOF
    83054821/* end confdefs.h.  */
    8306 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    8307 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    8308 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    8309 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    8310 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    8311 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     4822#include <limits.h>
     4823
    83124824int
    83134825main ()
    83144826{
    8315  _ascii (); _ebcdic ();
     4827#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     4828              bogus endian macros
     4829             #endif
     4830
    83164831  ;
    83174832  return 0;
     
    83244839  *) ac_try_echo=$ac_try;;
    83254840esac
    8326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4841eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4842$as_echo "$ac_try_echo") >&5
    83274843  (eval "$ac_compile") 2>conftest.er1
    83284844  ac_status=$?
     
    83304846  rm -f conftest.er1
    83314847  cat conftest.err >&5
    8332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4848  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    83334849  (exit $ac_status); } && {
    83344850         test -z "$ac_cxx_werror_flag" ||
    83354851         test ! -s conftest.err
    83364852       } && test -s conftest.$ac_objext; then
    8337   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     4853  # It does; now see whether it defined to _BIG_ENDIAN or not.
     4854         cat >conftest.$ac_ext <<_ACEOF
     4855/* confdefs.h.  */
     4856_ACEOF
     4857cat confdefs.h >>conftest.$ac_ext
     4858cat >>conftest.$ac_ext <<_ACEOF
     4859/* end confdefs.h.  */
     4860#include <limits.h>
     4861
     4862int
     4863main ()
     4864{
     4865#ifndef _BIG_ENDIAN
     4866                 not big endian
     4867                #endif
     4868
     4869  ;
     4870  return 0;
     4871}
     4872_ACEOF
     4873rm -f conftest.$ac_objext
     4874if { (ac_try="$ac_compile"
     4875case "(($ac_try" in
     4876  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4877  *) ac_try_echo=$ac_try;;
     4878esac
     4879eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4880$as_echo "$ac_try_echo") >&5
     4881  (eval "$ac_compile") 2>conftest.er1
     4882  ac_status=$?
     4883  grep -v '^ *+' conftest.er1 >conftest.err
     4884  rm -f conftest.er1
     4885  cat conftest.err >&5
     4886  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4887  (exit $ac_status); } && {
     4888         test -z "$ac_cxx_werror_flag" ||
     4889         test ! -s conftest.err
     4890       } && test -s conftest.$ac_objext; then
    83384891  ac_cv_c_bigendian=yes
    8339 fi
    8340 if 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
    8347 fi
    8348 else
    8349   echo "$as_me: failed program was:" >&5
     4892else
     4893  $as_echo "$as_me: failed program was:" >&5
     4894sed 's/^/| /' conftest.$ac_ext >&5
     4895
     4896        ac_cv_c_bigendian=no
     4897fi
     4898
     4899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4900else
     4901  $as_echo "$as_me: failed program was:" >&5
     4902sed 's/^/| /' conftest.$ac_ext >&5
     4903
     4904
     4905fi
     4906
     4907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4908    fi
     4909    if test $ac_cv_c_bigendian = unknown; then
     4910      # Compile a test program.
     4911      if test "$cross_compiling" = yes; then
     4912  # Try to guess by grepping values from an object file.
     4913         cat >conftest.$ac_ext <<_ACEOF
     4914/* confdefs.h.  */
     4915_ACEOF
     4916cat confdefs.h >>conftest.$ac_ext
     4917cat >>conftest.$ac_ext <<_ACEOF
     4918/* end confdefs.h.  */
     4919short int ascii_mm[] =
     4920                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     4921                short int ascii_ii[] =
     4922                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     4923                int use_ascii (int i) {
     4924                  return ascii_mm[i] + ascii_ii[i];
     4925                }
     4926                short int ebcdic_ii[] =
     4927                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     4928                short int ebcdic_mm[] =
     4929                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     4930                int use_ebcdic (int i) {
     4931                  return ebcdic_mm[i] + ebcdic_ii[i];
     4932                }
     4933                extern int foo;
     4934
     4935int
     4936main ()
     4937{
     4938return use_ascii (foo) == use_ebcdic (foo);
     4939  ;
     4940  return 0;
     4941}
     4942_ACEOF
     4943rm -f conftest.$ac_objext
     4944if { (ac_try="$ac_compile"
     4945case "(($ac_try" in
     4946  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4947  *) ac_try_echo=$ac_try;;
     4948esac
     4949eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4950$as_echo "$ac_try_echo") >&5
     4951  (eval "$ac_compile") 2>conftest.er1
     4952  ac_status=$?
     4953  grep -v '^ *+' conftest.er1 >conftest.err
     4954  rm -f conftest.er1
     4955  cat conftest.err >&5
     4956  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4957  (exit $ac_status); } && {
     4958         test -z "$ac_cxx_werror_flag" ||
     4959         test ! -s conftest.err
     4960       } && test -s conftest.$ac_objext; then
     4961  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     4962              ac_cv_c_bigendian=yes
     4963            fi
     4964            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     4965              if test "$ac_cv_c_bigendian" = unknown; then
     4966                ac_cv_c_bigendian=no
     4967              else
     4968                # finding both strings is unlikely to happen, but who knows?
     4969                ac_cv_c_bigendian=unknown
     4970              fi
     4971            fi
     4972else
     4973  $as_echo "$as_me: failed program was:" >&5
    83504974sed 's/^/| /' conftest.$ac_ext >&5
    83514975
     
    83664990{
    83674991
    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;
     4992             /* Are we little or big endian?  From Harbison&Steele.  */
     4993             union
     4994             {
     4995               long int l;
     4996               char c[sizeof (long int)];
     4997             } u;
     4998             u.l = 1;
     4999             return u.c[sizeof (long int) - 1] == 1;
    83765000
    83775001  ;
     
    83855009  *) ac_try_echo=$ac_try;;
    83865010esac
    8387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5011eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5012$as_echo "$ac_try_echo") >&5
    83885013  (eval "$ac_link") 2>&5
    83895014  ac_status=$?
    8390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5015  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    83915016  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    83925017  { (case "(($ac_try" in
     
    83945019  *) ac_try_echo=$ac_try;;
    83955020esac
    8396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5021eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5022$as_echo "$ac_try_echo") >&5
    83975023  (eval "$ac_try") 2>&5
    83985024  ac_status=$?
    8399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5025  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    84005026  (exit $ac_status); }; }; then
    84015027  ac_cv_c_bigendian=no
    84025028else
    8403   echo "$as_me: program exited with status $ac_status" >&5
    8404 echo "$as_me: failed program was:" >&5
     5029  $as_echo "$as_me: program exited with status $ac_status" >&5
     5030$as_echo "$as_me: failed program was:" >&5
    84055031sed 's/^/| /' conftest.$ac_ext >&5
    84065032
     
    84085034ac_cv_c_bigendian=yes
    84095035fi
     5036rm -rf conftest.dSYM
    84105037rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    84115038fi
    84125039
    84135040
    8414 fi
    8415 
    8416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8417 fi
    8418 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    8419 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    8420 case $ac_cv_c_bigendian in
    8421   yes)
     5041    fi
     5042fi
     5043{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     5044$as_echo "$ac_cv_c_bigendian" >&6; }
     5045 case $ac_cv_c_bigendian in #(
     5046   yes)
     5047     cat >>confdefs.h <<\_ACEOF
     5048#define WORDS_BIGENDIAN 1
     5049_ACEOF
     5050;; #(
     5051   no)
     5052      ;; #(
     5053   universal)
    84225054
    84235055cat >>confdefs.h <<\_ACEOF
    8424 #define WORDS_BIGENDIAN 1
    8425 _ACEOF
    8426  ;;
    8427   no)
    8428      ;;
    8429   *)
    8430     { { echo "$as_me:$LINENO: error: unknown endianness
    8431 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    8432 echo "$as_me: error: unknown endianness
    8433 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     5056#define AC_APPLE_UNIVERSAL_BUILD 1
     5057_ACEOF
     5058
     5059     ;; #(
     5060   *)
     5061     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     5062 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     5063$as_echo "$as_me: error: unknown endianness
     5064 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    84345065   { (exit 1); exit 1; }; } ;;
    8435 esac
     5066 esac
    84365067
    84375068
     
    85055136RP2_INCL_DIR=""
    85065137RP_DIR=""
    8507 { echo "$as_me:$LINENO: checking for rappture" >&5
    8508 echo $ECHO_N "checking for rappture... $ECHO_C" >&6; }
     5138{ $as_echo "$as_me:$LINENO: checking for rappture" >&5
     5139$as_echo_n "checking for rappture... " >&6; }
    85095140if test "x$with_rappture" != "x" ; then
    85105141    if test "x$with_rappture" != "xprefix" ; then
    85115142        if test -f "$with_rappture"
    85125143        then
    8513             { echo "$as_me:$LINENO: result: no" >&5
    8514 echo "${ECHO_T}no" >&6; }
    8515             { { echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5
    8516 echo "$as_me: error: please provide --with-rappture with directory" >&2;}
     5144            { $as_echo "$as_me:$LINENO: result: no" >&5
     5145$as_echo "no" >&6; }
     5146            { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5
     5147$as_echo "$as_me: error: please provide --with-rappture with directory" >&2;}
    85175148   { (exit 1); exit 1; }; }
    85185149        else
     
    85235154                    RP2_INCL_DIR="$with_rappture/include/rappture2"
    85245155                    RP_DIR="$with_rappture"
    8525                     { echo "$as_me:$LINENO: result: yes" >&5
    8526 echo "${ECHO_T}yes" >&6; }
     5156                    { $as_echo "$as_me:$LINENO: result: yes" >&5
     5157$as_echo "yes" >&6; }
    85275158                else
    8528                     { echo "$as_me:$LINENO: result: no" >&5
    8529 echo "${ECHO_T}no" >&6; }
    8530                     { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5
    8531 echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}
     5159                    { $as_echo "$as_me:$LINENO: result: no" >&5
     5160$as_echo "no" >&6; }
     5161                    { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5
     5162$as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}
    85325163   { (exit 1); exit 1; }; }
    85335164                fi
    85345165            else
    8535                 { echo "$as_me:$LINENO: result: no" >&5
    8536 echo "${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
    8538 echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}
     5166                { $as_echo "$as_me:$LINENO: result: no" >&5
     5167$as_echo "no" >&6; }
     5168                { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5
     5169$as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}
    85395170   { (exit 1); exit 1; }; }
    85405171            fi
     
    85435174        RP2_INCL_DIR="$prefix/include/rappture2"
    85445175        RP_DIR="$prefix"
    8545         { echo "$as_me:$LINENO: result: set to prefix" >&5
    8546 echo "${ECHO_T}set to prefix" >&6; }
     5176        { $as_echo "$as_me:$LINENO: result: set to prefix" >&5
     5177$as_echo "set to prefix" >&6; }
    85475178    fi
    85485179else
    8549 
    85505180
    85515181for ac_header in rappture.h
    85525182do
    8553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5183as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    85545184if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8555   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5185  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5186$as_echo_n "checking for $ac_header... " >&6; }
    85575187if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8558   echo $ECHO_N "(cached) $ECHO_C" >&6
    8559 fi
    8560 ac_res=`eval echo '${'$as_ac_Header'}'`
    8561                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8562 echo "${ECHO_T}$ac_res" >&6; }
     5188  $as_echo_n "(cached) " >&6
     5189fi
     5190ac_res=`eval 'as_val=${'$as_ac_Header'}
     5191                 $as_echo "$as_val"'`
     5192               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5193$as_echo "$ac_res" >&6; }
    85635194else
    85645195  # Is the header compilable?
    8565 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8566 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     5196{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5197$as_echo_n "checking $ac_header usability... " >&6; }
    85675198cat >conftest.$ac_ext <<_ACEOF
    85685199/* confdefs.h.  */
     
    85805211  *) ac_try_echo=$ac_try;;
    85815212esac
    8582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5213eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5214$as_echo "$ac_try_echo") >&5
    85835215  (eval "$ac_compile") 2>conftest.er1
    85845216  ac_status=$?
     
    85865218  rm -f conftest.er1
    85875219  cat conftest.err >&5
    8588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5220  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    85895221  (exit $ac_status); } && {
    85905222         test -z "$ac_cxx_werror_flag" ||
     
    85935225  ac_header_compiler=yes
    85945226else
    8595   echo "$as_me: failed program was:" >&5
     5227  $as_echo "$as_me: failed program was:" >&5
    85965228sed 's/^/| /' conftest.$ac_ext >&5
    85975229
     
    86005232
    86015233rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8602 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8603 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5234{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5235$as_echo "$ac_header_compiler" >&6; }
    86045236
    86055237# Is the header present?
    8606 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     5238{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5239$as_echo_n "checking $ac_header presence... " >&6; }
    86085240cat >conftest.$ac_ext <<_ACEOF
    86095241/* confdefs.h.  */
     
    86195251  *) ac_try_echo=$ac_try;;
    86205252esac
    8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5253eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5254$as_echo "$ac_try_echo") >&5
    86225255  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    86235256  ac_status=$?
     
    86255258  rm -f conftest.er1
    86265259  cat conftest.err >&5
    8627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5260  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    86285261  (exit $ac_status); } >/dev/null && {
    86295262         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    86325265  ac_header_preproc=yes
    86335266else
    8634   echo "$as_me: failed program was:" >&5
     5267  $as_echo "$as_me: failed program was:" >&5
    86355268sed 's/^/| /' conftest.$ac_ext >&5
    86365269
     
    86395272
    86405273rm -f conftest.err conftest.$ac_ext
    8641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8642 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5274{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5275$as_echo "$ac_header_preproc" >&6; }
    86435276
    86445277# So?  What about this header?
    86455278case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    86465279  yes:no: )
    8647     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8648 echo "$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
    8650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5280    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5281$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5282    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5283$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    86515284    ac_header_preproc=yes
    86525285    ;;
    86535286  no:yes:* )
    8654     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8655 echo "$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
    8657 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8658     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8659 echo "$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
    8661 echo "$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
    8663 echo "$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
    8665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5287    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5288$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5289    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5290$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5291    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5292$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5293    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5294$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5295    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5296$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5297    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5298$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    86665299    ( cat <<\_ASBOX
    86675300## ----------------------------------- ##
     
    86725305    ;;
    86735306esac
    8674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     5307{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5308$as_echo_n "checking for $ac_header... " >&6; }
    86765309if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8677   echo $ECHO_N "(cached) $ECHO_C" >&6
     5310  $as_echo_n "(cached) " >&6
    86785311else
    86795312  eval "$as_ac_Header=\$ac_header_preproc"
    86805313fi
    8681 ac_res=`eval echo '${'$as_ac_Header'}'`
    8682                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8683 echo "${ECHO_T}$ac_res" >&6; }
    8684 
    8685 fi
    8686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5314ac_res=`eval 'as_val=${'$as_ac_Header'}
     5315                 $as_echo "$as_val"'`
     5316               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5317$as_echo "$ac_res" >&6; }
     5318
     5319fi
     5320as_val=`eval 'as_val=${'$as_ac_Header'}
     5321                 $as_echo "$as_val"'`
     5322   if test "x$as_val" = x""yes; then
    86875323  cat >>confdefs.h <<_ACEOF
    8688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8689 _ACEOF
    8690 
    8691 else
    8692   { { echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5
    8693 echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}
     5324#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5325_ACEOF
     5326
     5327else
     5328  { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5
     5329$as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}
    86945330   { (exit 1); exit 1; }; }
    86955331fi
     
    87005336
    87015337fi
    8702 { echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5
    8703 echo "${ECHO_T}${RP_DIR}/include" >&6; }
     5338{ $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5
     5339$as_echo "${RP_DIR}/include" >&6; }
    87045340
    87055341
    87065342
    87075343if test "${ac_cv_header_GL_glui_h+set}" = set; then
    8708   { echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    8709 echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; }
     5344  { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     5345$as_echo_n "checking for GL/glui.h... " >&6; }
    87105346if test "${ac_cv_header_GL_glui_h+set}" = set; then
    8711   echo $ECHO_N "(cached) $ECHO_C" >&6
    8712 fi
    8713 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    8714 echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; }
     5347  $as_echo_n "(cached) " >&6
     5348fi
     5349{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     5350$as_echo "$ac_cv_header_GL_glui_h" >&6; }
    87155351else
    87165352  # Is the header compilable?
    8717 { echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
    8718 echo $ECHO_N "checking GL/glui.h usability... $ECHO_C" >&6; }
     5353{ $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
     5354$as_echo_n "checking GL/glui.h usability... " >&6; }
    87195355cat >conftest.$ac_ext <<_ACEOF
    87205356/* confdefs.h.  */
     
    87325368  *) ac_try_echo=$ac_try;;
    87335369esac
    8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5370eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5371$as_echo "$ac_try_echo") >&5
    87355372  (eval "$ac_compile") 2>conftest.er1
    87365373  ac_status=$?
     
    87385375  rm -f conftest.er1
    87395376  cat conftest.err >&5
    8740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5377  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    87415378  (exit $ac_status); } && {
    87425379         test -z "$ac_cxx_werror_flag" ||
     
    87455382  ac_header_compiler=yes
    87465383else
    8747   echo "$as_me: failed program was:" >&5
     5384  $as_echo "$as_me: failed program was:" >&5
    87485385sed 's/^/| /' conftest.$ac_ext >&5
    87495386
     
    87525389
    87535390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8754 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8755 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5391{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5392$as_echo "$ac_header_compiler" >&6; }
    87565393
    87575394# Is the header present?
    8758 { echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
    8759 echo $ECHO_N "checking GL/glui.h presence... $ECHO_C" >&6; }
     5395{ $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
     5396$as_echo_n "checking GL/glui.h presence... " >&6; }
    87605397cat >conftest.$ac_ext <<_ACEOF
    87615398/* confdefs.h.  */
     
    87715408  *) ac_try_echo=$ac_try;;
    87725409esac
    8773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5410eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5411$as_echo "$ac_try_echo") >&5
    87745412  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    87755413  ac_status=$?
     
    87775415  rm -f conftest.er1
    87785416  cat conftest.err >&5
    8779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5417  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    87805418  (exit $ac_status); } >/dev/null && {
    87815419         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    87845422  ac_header_preproc=yes
    87855423else
    8786   echo "$as_me: failed program was:" >&5
     5424  $as_echo "$as_me: failed program was:" >&5
    87875425sed 's/^/| /' conftest.$ac_ext >&5
    87885426
     
    87915429
    87925430rm -f conftest.err conftest.$ac_ext
    8793 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8794 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5431{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5432$as_echo "$ac_header_preproc" >&6; }
    87955433
    87965434# So?  What about this header?
    87975435case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    87985436  yes:no: )
    8799     { echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    8800 echo "$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
    8802 echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
     5437    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5438$as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5439    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
     5440$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
    88035441    ac_header_preproc=yes
    88045442    ;;
    88055443  no:yes:* )
    8806     { echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
    8807 echo "$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
    8809 echo "$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
    8811 echo "$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
    8813 echo "$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
    8815 echo "$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
    8817 echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
     5444    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
     5445$as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
     5446    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
     5447$as_echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
     5448    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
     5449$as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
     5450    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     5451$as_echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5452    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
     5453$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
     5454    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
     5455$as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
    88185456    ( cat <<\_ASBOX
    88195457## ----------------------------------- ##
     
    88245462    ;;
    88255463esac
    8826 { echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    8827 echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; }
     5464{ $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     5465$as_echo_n "checking for GL/glui.h... " >&6; }
    88285466if test "${ac_cv_header_GL_glui_h+set}" = set; then
    8829   echo $ECHO_N "(cached) $ECHO_C" >&6
     5467  $as_echo_n "(cached) " >&6
    88305468else
    88315469  ac_cv_header_GL_glui_h=$ac_header_preproc
    88325470fi
    8833 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    8834 echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; }
     5471{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     5472$as_echo "$ac_cv_header_GL_glui_h" >&6; }
    88355473
    88365474fi
     
    88385476
    88395477if test "${ac_cv_header_glui_h+set}" = set; then
    8840   { echo "$as_me:$LINENO: checking for glui.h" >&5
    8841 echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; }
     5478  { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     5479$as_echo_n "checking for glui.h... " >&6; }
    88425480if test "${ac_cv_header_glui_h+set}" = set; then
    8843   echo $ECHO_N "(cached) $ECHO_C" >&6
    8844 fi
    8845 { echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    8846 echo "${ECHO_T}$ac_cv_header_glui_h" >&6; }
     5481  $as_echo_n "(cached) " >&6
     5482fi
     5483{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     5484$as_echo "$ac_cv_header_glui_h" >&6; }
    88475485else
    88485486  # Is the header compilable?
    8849 { echo "$as_me:$LINENO: checking glui.h usability" >&5
    8850 echo $ECHO_N "checking glui.h usability... $ECHO_C" >&6; }
     5487{ $as_echo "$as_me:$LINENO: checking glui.h usability" >&5
     5488$as_echo_n "checking glui.h usability... " >&6; }
    88515489cat >conftest.$ac_ext <<_ACEOF
    88525490/* confdefs.h.  */
     
    88645502  *) ac_try_echo=$ac_try;;
    88655503esac
    8866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5505$as_echo "$ac_try_echo") >&5
    88675506  (eval "$ac_compile") 2>conftest.er1
    88685507  ac_status=$?
     
    88705509  rm -f conftest.er1
    88715510  cat conftest.err >&5
    8872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5511  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    88735512  (exit $ac_status); } && {
    88745513         test -z "$ac_cxx_werror_flag" ||
     
    88775516  ac_header_compiler=yes
    88785517else
    8879   echo "$as_me: failed program was:" >&5
     5518  $as_echo "$as_me: failed program was:" >&5
    88805519sed 's/^/| /' conftest.$ac_ext >&5
    88815520
     
    88845523
    88855524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8886 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8887 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5525{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5526$as_echo "$ac_header_compiler" >&6; }
    88885527
    88895528# Is the header present?
    8890 { echo "$as_me:$LINENO: checking glui.h presence" >&5
    8891 echo $ECHO_N "checking glui.h presence... $ECHO_C" >&6; }
     5529{ $as_echo "$as_me:$LINENO: checking glui.h presence" >&5
     5530$as_echo_n "checking glui.h presence... " >&6; }
    88925531cat >conftest.$ac_ext <<_ACEOF
    88935532/* confdefs.h.  */
     
    89035542  *) ac_try_echo=$ac_try;;
    89045543esac
    8905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5544eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5545$as_echo "$ac_try_echo") >&5
    89065546  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    89075547  ac_status=$?
     
    89095549  rm -f conftest.er1
    89105550  cat conftest.err >&5
    8911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5551  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    89125552  (exit $ac_status); } >/dev/null && {
    89135553         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    89165556  ac_header_preproc=yes
    89175557else
    8918   echo "$as_me: failed program was:" >&5
     5558  $as_echo "$as_me: failed program was:" >&5
    89195559sed 's/^/| /' conftest.$ac_ext >&5
    89205560
     
    89235563
    89245564rm -f conftest.err conftest.$ac_ext
    8925 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8926 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5565{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5566$as_echo "$ac_header_preproc" >&6; }
    89275567
    89285568# So?  What about this header?
    89295569case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    89305570  yes:no: )
    8931     { echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    8932 echo "$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
    8934 echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
     5571    { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5572$as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5573    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
     5574$as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
    89355575    ac_header_preproc=yes
    89365576    ;;
    89375577  no:yes:* )
    8938     { echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
    8939 echo "$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
    8941 echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
    8942     { echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
    8943 echo "$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
    8945 echo "$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
    8947 echo "$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
    8949 echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
     5578    { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
     5579$as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
     5580    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
     5581$as_echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
     5582    { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
     5583$as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
     5584    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     5585$as_echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5586    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
     5587$as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
     5588    { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
     5589$as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
    89505590    ( cat <<\_ASBOX
    89515591## ----------------------------------- ##
     
    89565596    ;;
    89575597esac
    8958 { echo "$as_me:$LINENO: checking for glui.h" >&5
    8959 echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; }
     5598{ $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     5599$as_echo_n "checking for glui.h... " >&6; }
    89605600if test "${ac_cv_header_glui_h+set}" = set; then
    8961   echo $ECHO_N "(cached) $ECHO_C" >&6
     5601  $as_echo_n "(cached) " >&6
    89625602else
    89635603  ac_cv_header_glui_h=$ac_header_preproc
    89645604fi
    8965 { echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    8966 echo "${ECHO_T}$ac_cv_header_glui_h" >&6; }
     5605{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     5606$as_echo "$ac_cv_header_glui_h" >&6; }
    89675607
    89685608fi
     
    89705610
    89715611if test "${ac_cv_header_GL_glut_h+set}" = set; then
    8972   { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    8973 echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
     5612  { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     5613$as_echo_n "checking for GL/glut.h... " >&6; }
    89745614if test "${ac_cv_header_GL_glut_h+set}" = set; then
    8975   echo $ECHO_N "(cached) $ECHO_C" >&6
    8976 fi
    8977 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    8978 echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
     5615  $as_echo_n "(cached) " >&6
     5616fi
     5617{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     5618$as_echo "$ac_cv_header_GL_glut_h" >&6; }
    89795619else
    89805620  # Is the header compilable?
    8981 { echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
    8982 echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }
     5621{ $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
     5622$as_echo_n "checking GL/glut.h usability... " >&6; }
    89835623cat >conftest.$ac_ext <<_ACEOF
    89845624/* confdefs.h.  */
     
    89965636  *) ac_try_echo=$ac_try;;
    89975637esac
    8998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5638eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5639$as_echo "$ac_try_echo") >&5
    89995640  (eval "$ac_compile") 2>conftest.er1
    90005641  ac_status=$?
     
    90025643  rm -f conftest.er1
    90035644  cat conftest.err >&5
    9004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5645  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    90055646  (exit $ac_status); } && {
    90065647         test -z "$ac_cxx_werror_flag" ||
     
    90095650  ac_header_compiler=yes
    90105651else
    9011   echo "$as_me: failed program was:" >&5
     5652  $as_echo "$as_me: failed program was:" >&5
    90125653sed 's/^/| /' conftest.$ac_ext >&5
    90135654
     
    90165657
    90175658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9018 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9019 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5659{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5660$as_echo "$ac_header_compiler" >&6; }
    90205661
    90215662# Is the header present?
    9022 { echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
    9023 echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }
     5663{ $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
     5664$as_echo_n "checking GL/glut.h presence... " >&6; }
    90245665cat >conftest.$ac_ext <<_ACEOF
    90255666/* confdefs.h.  */
     
    90355676  *) ac_try_echo=$ac_try;;
    90365677esac
    9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5678eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5679$as_echo "$ac_try_echo") >&5
    90385680  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    90395681  ac_status=$?
     
    90415683  rm -f conftest.er1
    90425684  cat conftest.err >&5
    9043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5685  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    90445686  (exit $ac_status); } >/dev/null && {
    90455687         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    90485690  ac_header_preproc=yes
    90495691else
    9050   echo "$as_me: failed program was:" >&5
     5692  $as_echo "$as_me: failed program was:" >&5
    90515693sed 's/^/| /' conftest.$ac_ext >&5
    90525694
     
    90555697
    90565698rm -f conftest.err conftest.$ac_ext
    9057 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9058 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5699{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5700$as_echo "$ac_header_preproc" >&6; }
    90595701
    90605702# So?  What about this header?
    90615703case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    90625704  yes:no: )
    9063     { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9064 echo "$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
    9066 echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
     5705    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5706$as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5707    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
     5708$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
    90675709    ac_header_preproc=yes
    90685710    ;;
    90695711  no:yes:* )
    9070     { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
    9071 echo "$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
    9073 echo "$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
    9075 echo "$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
    9077 echo "$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
    9079 echo "$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
    9081 echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
     5712    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
     5713$as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
     5714    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
     5715$as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
     5716    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
     5717$as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
     5718    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
     5719$as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5720    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
     5721$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
     5722    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
     5723$as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
    90825724    ( cat <<\_ASBOX
    90835725## ----------------------------------- ##
     
    90885730    ;;
    90895731esac
    9090 { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    9091 echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
     5732{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     5733$as_echo_n "checking for GL/glut.h... " >&6; }
    90925734if test "${ac_cv_header_GL_glut_h+set}" = set; then
    9093   echo $ECHO_N "(cached) $ECHO_C" >&6
     5735  $as_echo_n "(cached) " >&6
    90945736else
    90955737  ac_cv_header_GL_glut_h=$ac_header_preproc
    90965738fi
    9097 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    9098 echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
     5739{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     5740$as_echo "$ac_cv_header_GL_glut_h" >&6; }
    90995741
    91005742fi
     
    91025744
    91035745if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9104   { echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    9105 echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; }
     5746  { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     5747$as_echo_n "checking for GL/glew.h... " >&6; }
    91065748if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9107   echo $ECHO_N "(cached) $ECHO_C" >&6
    9108 fi
    9109 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    9110 echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; }
     5749  $as_echo_n "(cached) " >&6
     5750fi
     5751{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     5752$as_echo "$ac_cv_header_GL_glew_h" >&6; }
    91115753else
    91125754  # Is the header compilable?
    9113 { echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
    9114 echo $ECHO_N "checking GL/glew.h usability... $ECHO_C" >&6; }
     5755{ $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
     5756$as_echo_n "checking GL/glew.h usability... " >&6; }
    91155757cat >conftest.$ac_ext <<_ACEOF
    91165758/* confdefs.h.  */
     
    91285770  *) ac_try_echo=$ac_try;;
    91295771esac
    9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5772eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5773$as_echo "$ac_try_echo") >&5
    91315774  (eval "$ac_compile") 2>conftest.er1
    91325775  ac_status=$?
     
    91345777  rm -f conftest.er1
    91355778  cat conftest.err >&5
    9136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5779  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    91375780  (exit $ac_status); } && {
    91385781         test -z "$ac_cxx_werror_flag" ||
     
    91415784  ac_header_compiler=yes
    91425785else
    9143   echo "$as_me: failed program was:" >&5
     5786  $as_echo "$as_me: failed program was:" >&5
    91445787sed 's/^/| /' conftest.$ac_ext >&5
    91455788
     
    91485791
    91495792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9150 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9151 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5793{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5794$as_echo "$ac_header_compiler" >&6; }
    91525795
    91535796# Is the header present?
    9154 { echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
    9155 echo $ECHO_N "checking GL/glew.h presence... $ECHO_C" >&6; }
     5797{ $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
     5798$as_echo_n "checking GL/glew.h presence... " >&6; }
    91565799cat >conftest.$ac_ext <<_ACEOF
    91575800/* confdefs.h.  */
     
    91675810  *) ac_try_echo=$ac_try;;
    91685811esac
    9169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5813$as_echo "$ac_try_echo") >&5
    91705814  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    91715815  ac_status=$?
     
    91735817  rm -f conftest.er1
    91745818  cat conftest.err >&5
    9175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5819  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    91765820  (exit $ac_status); } >/dev/null && {
    91775821         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    91805824  ac_header_preproc=yes
    91815825else
    9182   echo "$as_me: failed program was:" >&5
     5826  $as_echo "$as_me: failed program was:" >&5
    91835827sed 's/^/| /' conftest.$ac_ext >&5
    91845828
     
    91875831
    91885832rm -f conftest.err conftest.$ac_ext
    9189 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9190 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5833{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5834$as_echo "$ac_header_preproc" >&6; }
    91915835
    91925836# So?  What about this header?
    91935837case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    91945838  yes:no: )
    9195     { echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9196 echo "$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
    9198 echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
     5839    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5840$as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5841    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
     5842$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
    91995843    ac_header_preproc=yes
    92005844    ;;
    92015845  no:yes:* )
    9202     { echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
    9203 echo "$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
    9205 echo "$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
    9207 echo "$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
    9209 echo "$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
    9211 echo "$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
    9213 echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
     5846    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
     5847$as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
     5848    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
     5849$as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
     5850    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
     5851$as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
     5852    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
     5853$as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5854    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
     5855$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
     5856    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
     5857$as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
    92145858    ( cat <<\_ASBOX
    92155859## ----------------------------------- ##
     
    92205864    ;;
    92215865esac
    9222 { echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    9223 echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; }
     5866{ $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     5867$as_echo_n "checking for GL/glew.h... " >&6; }
    92245868if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9225   echo $ECHO_N "(cached) $ECHO_C" >&6
     5869  $as_echo_n "(cached) " >&6
    92265870else
    92275871  ac_cv_header_GL_glew_h=$ac_header_preproc
    92285872fi
    9229 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    9230 echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; }
     5873{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     5874$as_echo "$ac_cv_header_GL_glew_h" >&6; }
    92315875
    92325876fi
     
    92345878
    92355879if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9236   { echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
    9237 echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; }
     5880  { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     5881$as_echo_n "checking for Cg/cgGL.h... " >&6; }
    92385882if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9239   echo $ECHO_N "(cached) $ECHO_C" >&6
    9240 fi
    9241 { echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
    9242 echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; }
     5883  $as_echo_n "(cached) " >&6
     5884fi
     5885{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     5886$as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
    92435887else
    92445888  # Is the header compilable?
    9245 { echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5
    9246 echo $ECHO_N "checking Cg/cgGL.h usability... $ECHO_C" >&6; }
     5889{ $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5
     5890$as_echo_n "checking Cg/cgGL.h usability... " >&6; }
    92475891cat >conftest.$ac_ext <<_ACEOF
    92485892/* confdefs.h.  */
     
    92605904  *) ac_try_echo=$ac_try;;
    92615905esac
    9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5906eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5907$as_echo "$ac_try_echo") >&5
    92635908  (eval "$ac_compile") 2>conftest.er1
    92645909  ac_status=$?
     
    92665911  rm -f conftest.er1
    92675912  cat conftest.err >&5
    9268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5913  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    92695914  (exit $ac_status); } && {
    92705915         test -z "$ac_cxx_werror_flag" ||
     
    92735918  ac_header_compiler=yes
    92745919else
    9275   echo "$as_me: failed program was:" >&5
     5920  $as_echo "$as_me: failed program was:" >&5
    92765921sed 's/^/| /' conftest.$ac_ext >&5
    92775922
     
    92805925
    92815926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9283 echo "${ECHO_T}$ac_header_compiler" >&6; }
     5927{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5928$as_echo "$ac_header_compiler" >&6; }
    92845929
    92855930# Is the header present?
    9286 { echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5
    9287 echo $ECHO_N "checking Cg/cgGL.h presence... $ECHO_C" >&6; }
     5931{ $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5
     5932$as_echo_n "checking Cg/cgGL.h presence... " >&6; }
    92885933cat >conftest.$ac_ext <<_ACEOF
    92895934/* confdefs.h.  */
     
    92995944  *) ac_try_echo=$ac_try;;
    93005945esac
    9301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5946eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5947$as_echo "$ac_try_echo") >&5
    93025948  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    93035949  ac_status=$?
     
    93055951  rm -f conftest.er1
    93065952  cat conftest.err >&5
    9307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5953  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    93085954  (exit $ac_status); } >/dev/null && {
    93095955         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    93125958  ac_header_preproc=yes
    93135959else
    9314   echo "$as_me: failed program was:" >&5
     5960  $as_echo "$as_me: failed program was:" >&5
    93155961sed 's/^/| /' conftest.$ac_ext >&5
    93165962
     
    93195965
    93205966rm -f conftest.err conftest.$ac_ext
    9321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9322 echo "${ECHO_T}$ac_header_preproc" >&6; }
     5967{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5968$as_echo "$ac_header_preproc" >&6; }
    93235969
    93245970# So?  What about this header?
    93255971case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    93265972  yes:no: )
    9327     { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9328 echo "$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
    9330 echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}
     5973    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5974$as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5975    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5
     5976$as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}
    93315977    ac_header_preproc=yes
    93325978    ;;
    93335979  no:yes:* )
    9334     { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5
    9335 echo "$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
    9337 echo "$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
    9339 echo "$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
    9341 echo "$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
    9343 echo "$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
    9345 echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}
     5980    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5
     5981$as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}
     5982    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&5
     5983$as_echo "$as_me: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&2;}
     5984    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5
     5985$as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}
     5986    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&5
     5987$as_echo "$as_me: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5988    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5
     5989$as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}
     5990    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5
     5991$as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}
    93465992    ( cat <<\_ASBOX
    93475993## ----------------------------------- ##
     
    93525998    ;;
    93535999esac
    9354 { echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
    9355 echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; }
     6000{ $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     6001$as_echo_n "checking for Cg/cgGL.h... " >&6; }
    93566002if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9357   echo $ECHO_N "(cached) $ECHO_C" >&6
     6003  $as_echo_n "(cached) " >&6
    93586004else
    93596005  ac_cv_header_Cg_cgGL_h=$ac_header_preproc
    93606006fi
    9361 { echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
    9362 echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; }
     6007{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     6008$as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
    93636009
    93646010fi
     
    93736019for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    93746020do
    9375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6021as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    93766022if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9377   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    9378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     6023  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6024$as_echo_n "checking for $ac_header... " >&6; }
    93796025if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9380   echo $ECHO_N "(cached) $ECHO_C" >&6
    9381 fi
    9382 ac_res=`eval echo '${'$as_ac_Header'}'`
    9383                { echo "$as_me:$LINENO: result: $ac_res" >&5
    9384 echo "${ECHO_T}$ac_res" >&6; }
     6026  $as_echo_n "(cached) " >&6
     6027fi
     6028ac_res=`eval 'as_val=${'$as_ac_Header'}
     6029                 $as_echo "$as_val"'`
     6030               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6031$as_echo "$ac_res" >&6; }
    93856032else
    93866033  # Is the header compilable?
    9387 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     6034{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6035$as_echo_n "checking $ac_header usability... " >&6; }
    93896036cat >conftest.$ac_ext <<_ACEOF
    93906037/* confdefs.h.  */
     
    94026049  *) ac_try_echo=$ac_try;;
    94036050esac
    9404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6052$as_echo "$ac_try_echo") >&5
    94056053  (eval "$ac_compile") 2>conftest.er1
    94066054  ac_status=$?
     
    94086056  rm -f conftest.er1
    94096057  cat conftest.err >&5
    9410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6058  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    94116059  (exit $ac_status); } && {
    94126060         test -z "$ac_cxx_werror_flag" ||
     
    94156063  ac_header_compiler=yes
    94166064else
    9417   echo "$as_me: failed program was:" >&5
     6065  $as_echo "$as_me: failed program was:" >&5
    94186066sed 's/^/| /' conftest.$ac_ext >&5
    94196067
     
    94226070
    94236071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9424 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9425 echo "${ECHO_T}$ac_header_compiler" >&6; }
     6072{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6073$as_echo "$ac_header_compiler" >&6; }
    94266074
    94276075# Is the header present?
    9428 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     6076{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6077$as_echo_n "checking $ac_header presence... " >&6; }
    94306078cat >conftest.$ac_ext <<_ACEOF
    94316079/* confdefs.h.  */
     
    94416089  *) ac_try_echo=$ac_try;;
    94426090esac
    9443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6091eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6092$as_echo "$ac_try_echo") >&5
    94446093  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    94456094  ac_status=$?
     
    94476096  rm -f conftest.er1
    94486097  cat conftest.err >&5
    9449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6098  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    94506099  (exit $ac_status); } >/dev/null && {
    94516100         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    94546103  ac_header_preproc=yes
    94556104else
    9456   echo "$as_me: failed program was:" >&5
     6105  $as_echo "$as_me: failed program was:" >&5
    94576106sed 's/^/| /' conftest.$ac_ext >&5
    94586107
     
    94616110
    94626111rm -f conftest.err conftest.$ac_ext
    9463 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9464 echo "${ECHO_T}$ac_header_preproc" >&6; }
     6112{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6113$as_echo "$ac_header_preproc" >&6; }
    94656114
    94666115# So?  What about this header?
    94676116case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    94686117  yes:no: )
    9469     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9470 echo "$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
    9472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6118    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6119$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6120    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6121$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    94736122    ac_header_preproc=yes
    94746123    ;;
    94756124  no:yes:* )
    9476     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9477 echo "$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
    9479 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9480     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9481 echo "$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
    9483 echo "$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
    9485 echo "$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
    9487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6125    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6126$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6127    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6128$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6129    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6130$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6131    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6132$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6133    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6134$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6135    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6136$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    94886137    ( cat <<\_ASBOX
    94896138## ----------------------------------- ##
     
    94946143    ;;
    94956144esac
    9496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    9497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     6145{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6146$as_echo_n "checking for $ac_header... " >&6; }
    94986147if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9499   echo $ECHO_N "(cached) $ECHO_C" >&6
     6148  $as_echo_n "(cached) " >&6
    95006149else
    95016150  eval "$as_ac_Header=\$ac_header_preproc"
    95026151fi
    9503 ac_res=`eval echo '${'$as_ac_Header'}'`
    9504                { echo "$as_me:$LINENO: result: $ac_res" >&5
    9505 echo "${ECHO_T}$ac_res" >&6; }
    9506 
    9507 fi
    9508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6152ac_res=`eval 'as_val=${'$as_ac_Header'}
     6153                 $as_echo "$as_val"'`
     6154               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6155$as_echo "$ac_res" >&6; }
     6156
     6157fi
     6158as_val=`eval 'as_val=${'$as_ac_Header'}
     6159                 $as_echo "$as_val"'`
     6160   if test "x$as_val" = x""yes; then
    95096161  cat >>confdefs.h <<_ACEOF
    9510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6162#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    95116163_ACEOF
    95126164
     
    95226174for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    95236175do
    9524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6176as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    95256177if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9526   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    9527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     6178  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6179$as_echo_n "checking for $ac_header... " >&6; }
    95286180if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9529   echo $ECHO_N "(cached) $ECHO_C" >&6
    9530 fi
    9531 ac_res=`eval echo '${'$as_ac_Header'}'`
    9532                { echo "$as_me:$LINENO: result: $ac_res" >&5
    9533 echo "${ECHO_T}$ac_res" >&6; }
     6181  $as_echo_n "(cached) " >&6
     6182fi
     6183ac_res=`eval 'as_val=${'$as_ac_Header'}
     6184                 $as_echo "$as_val"'`
     6185               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6186$as_echo "$ac_res" >&6; }
    95346187else
    95356188  # Is the header compilable?
    9536 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
     6189{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6190$as_echo_n "checking $ac_header usability... " >&6; }
    95386191cat >conftest.$ac_ext <<_ACEOF
    95396192/* confdefs.h.  */
     
    95516204  *) ac_try_echo=$ac_try;;
    95526205esac
    9553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6206eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6207$as_echo "$ac_try_echo") >&5
    95546208  (eval "$ac_compile") 2>conftest.er1
    95556209  ac_status=$?
     
    95576211  rm -f conftest.er1
    95586212  cat conftest.err >&5
    9559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6213  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    95606214  (exit $ac_status); } && {
    95616215         test -z "$ac_cxx_werror_flag" ||
     
    95646218  ac_header_compiler=yes
    95656219else
    9566   echo "$as_me: failed program was:" >&5
     6220  $as_echo "$as_me: failed program was:" >&5
    95676221sed 's/^/| /' conftest.$ac_ext >&5
    95686222
     
    95716225
    95726226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9574 echo "${ECHO_T}$ac_header_compiler" >&6; }
     6227{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6228$as_echo "$ac_header_compiler" >&6; }
    95756229
    95766230# Is the header present?
    9577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
     6231{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6232$as_echo_n "checking $ac_header presence... " >&6; }
    95796233cat >conftest.$ac_ext <<_ACEOF
    95806234/* confdefs.h.  */
     
    95906244  *) ac_try_echo=$ac_try;;
    95916245esac
    9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     6246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6247$as_echo "$ac_try_echo") >&5
    95936248  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    95946249  ac_status=$?
     
    95966251  rm -f conftest.er1
    95976252  cat conftest.err >&5
    9598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6253  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    95996254  (exit $ac_status); } >/dev/null && {
    96006255         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    96036258  ac_header_preproc=yes
    96046259else
    9605   echo "$as_me: failed program was:" >&5
     6260  $as_echo "$as_me: failed program was:" >&5
    96066261sed 's/^/| /' conftest.$ac_ext >&5
    96076262
     
    96106265
    96116266rm -f conftest.err conftest.$ac_ext
    9612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9613 echo "${ECHO_T}$ac_header_preproc" >&6; }
     6267{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6268$as_echo "$ac_header_preproc" >&6; }
    96146269
    96156270# So?  What about this header?
    96166271case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    96176272  yes:no: )
    9618     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9619 echo "$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
    9621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6273    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6274$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6275    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6276$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    96226277    ac_header_preproc=yes
    96236278    ;;
    96246279  no:yes:* )
    9625     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9626 echo "$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
    9628 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9629     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9630 echo "$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
    9632 echo "$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
    9634 echo "$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
    9636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6280    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6281$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6282    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6283$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6284    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6285$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6286    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6287$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6288    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6289$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6290    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6291$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    96376292    ( cat <<\_ASBOX
    96386293## ----------------------------------- ##
     
    96436298    ;;
    96446299esac
    9645 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    9646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     6300{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6301$as_echo_n "checking for $ac_header... " >&6; }
    96476302if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9648   echo $ECHO_N "(cached) $ECHO_C" >&6
     6303  $as_echo_n "(cached) " >&6
    96496304else
    96506305  eval "$as_ac_Header=\$ac_header_preproc"
    96516306fi
    9652 ac_res=`eval echo '${'$as_ac_Header'}'`
    9653                { echo "$as_me:$LINENO: result: $ac_res" >&5
    9654 echo "${ECHO_T}$ac_res" >&6; }
    9655 
    9656 fi
    9657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     6307ac_res=`eval 'as_val=${'$as_ac_Header'}
     6308                 $as_echo "$as_val"'`
     6309               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6310$as_echo "$ac_res" >&6; }
     6311
     6312fi
     6313as_val=`eval 'as_val=${'$as_ac_Header'}
     6314                 $as_echo "$as_val"'`
     6315   if test "x$as_val" = x""yes; then
    96586316  cat >>confdefs.h <<_ACEOF
    9659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6317#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    96606318_ACEOF
    96616319
     
    96656323
    96666324
    9667 { echo "$as_me:$LINENO: checking for DX installation" >&5
    9668 echo $ECHO_N "checking for DX installation... $ECHO_C" >&6; }
     6325{ $as_echo "$as_me:$LINENO: checking for DX installation" >&5
     6326$as_echo_n "checking for DX installation... " >&6; }
    96696327DX_DIR=""
    96706328for dir in \
     
    96796337done
    96806338if test "x${DX_DIR}" = "x" ; then
    9681   { { echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5
    9682 echo "$as_me: error: can't find OpenDX installation" >&2;}
     6339  { { $as_echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5
     6340$as_echo "$as_me: error: can't find OpenDX installation" >&2;}
    96836341   { (exit 1); exit 1; }; }
    96846342fi
     
    96916349
    96926350
    9693 { echo "$as_me:$LINENO: result: ${DX_DIR}" >&5
    9694 echo "${ECHO_T}${DX_DIR}" >&6; }
    9695 
    9696 { echo "$as_me:$LINENO: checking for FFmpeg installation" >&5
    9697 echo $ECHO_N "checking for FFmpeg installation... $ECHO_C" >&6; }
    9698 FFMPEG_DIR=""
    9699 for dir in \
    9700  /apps/rappture \
    9701  /usr
     6351{ $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5
     6352$as_echo "${DX_DIR}" >&6; }
     6353
     6354
     6355
     6356
     6357
     6358
     6359
     6360for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
    97026361do
    9703   if test -r "${dir}/include/ffmpeg/avcodec.h" ; then
    9704     FFMPEG_DIR="$dir"
    9705     break
    9706   fi
     6362as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6363if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6364  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6365$as_echo_n "checking for $ac_header... " >&6; }
     6366if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6367  $as_echo_n "(cached) " >&6
     6368fi
     6369ac_res=`eval 'as_val=${'$as_ac_Header'}
     6370                 $as_echo "$as_val"'`
     6371               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6372$as_echo "$ac_res" >&6; }
     6373else
     6374  # Is the header compilable?
     6375{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6376$as_echo_n "checking $ac_header usability... " >&6; }
     6377cat >conftest.$ac_ext <<_ACEOF
     6378/* confdefs.h.  */
     6379_ACEOF
     6380cat confdefs.h >>conftest.$ac_ext
     6381cat >>conftest.$ac_ext <<_ACEOF
     6382/* end confdefs.h.  */
     6383$ac_includes_default
     6384#include <$ac_header>
     6385_ACEOF
     6386rm -f conftest.$ac_objext
     6387if { (ac_try="$ac_compile"
     6388case "(($ac_try" in
     6389  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6390  *) ac_try_echo=$ac_try;;
     6391esac
     6392eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6393$as_echo "$ac_try_echo") >&5
     6394  (eval "$ac_compile") 2>conftest.er1
     6395  ac_status=$?
     6396  grep -v '^ *+' conftest.er1 >conftest.err
     6397  rm -f conftest.er1
     6398  cat conftest.err >&5
     6399  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6400  (exit $ac_status); } && {
     6401         test -z "$ac_cxx_werror_flag" ||
     6402         test ! -s conftest.err
     6403       } && test -s conftest.$ac_objext; then
     6404  ac_header_compiler=yes
     6405else
     6406  $as_echo "$as_me: failed program was:" >&5
     6407sed 's/^/| /' conftest.$ac_ext >&5
     6408
     6409        ac_header_compiler=no
     6410fi
     6411
     6412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6413{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6414$as_echo "$ac_header_compiler" >&6; }
     6415
     6416# Is the header present?
     6417{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6418$as_echo_n "checking $ac_header presence... " >&6; }
     6419cat >conftest.$ac_ext <<_ACEOF
     6420/* confdefs.h.  */
     6421_ACEOF
     6422cat confdefs.h >>conftest.$ac_ext
     6423cat >>conftest.$ac_ext <<_ACEOF
     6424/* end confdefs.h.  */
     6425#include <$ac_header>
     6426_ACEOF
     6427if { (ac_try="$ac_cpp conftest.$ac_ext"
     6428case "(($ac_try" in
     6429  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6430  *) ac_try_echo=$ac_try;;
     6431esac
     6432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6433$as_echo "$ac_try_echo") >&5
     6434  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6435  ac_status=$?
     6436  grep -v '^ *+' conftest.er1 >conftest.err
     6437  rm -f conftest.er1
     6438  cat conftest.err >&5
     6439  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6440  (exit $ac_status); } >/dev/null && {
     6441         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6442         test ! -s conftest.err
     6443       }; then
     6444  ac_header_preproc=yes
     6445else
     6446  $as_echo "$as_me: failed program was:" >&5
     6447sed 's/^/| /' conftest.$ac_ext >&5
     6448
     6449  ac_header_preproc=no
     6450fi
     6451
     6452rm -f conftest.err conftest.$ac_ext
     6453{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6454$as_echo "$ac_header_preproc" >&6; }
     6455
     6456# So?  What about this header?
     6457case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6458  yes:no: )
     6459    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6460$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6461    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6462$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6463    ac_header_preproc=yes
     6464    ;;
     6465  no:yes:* )
     6466    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6467$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6468    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6469$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6470    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6471$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6472    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6473$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6474    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6475$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6476    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6477$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6478    ( cat <<\_ASBOX
     6479## ----------------------------------- ##
     6480## Report this to rappture@nanohub.org ##
     6481## ----------------------------------- ##
     6482_ASBOX
     6483     ) | sed "s/^/$as_me: WARNING:     /" >&2
     6484    ;;
     6485esac
     6486{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6487$as_echo_n "checking for $ac_header... " >&6; }
     6488if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6489  $as_echo_n "(cached) " >&6
     6490else
     6491  eval "$as_ac_Header=\$ac_header_preproc"
     6492fi
     6493ac_res=`eval 'as_val=${'$as_ac_Header'}
     6494                 $as_echo "$as_val"'`
     6495               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6496$as_echo "$ac_res" >&6; }
     6497
     6498fi
     6499as_val=`eval 'as_val=${'$as_ac_Header'}
     6500                 $as_echo "$as_val"'`
     6501   if test "x$as_val" = x""yes; then
     6502  cat >>confdefs.h <<_ACEOF
     6503#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6504_ACEOF
     6505
     6506fi
     6507
    97076508done
    9708 if test "x${FFMPEG_DIR}" = "x" ; then
    9709   { { echo "$as_me:$LINENO: error: can't find FFmpeg installation" >&5
    9710 echo "$as_me: error: can't find FFmpeg installation" >&2;}
    9711    { (exit 1); exit 1; }; }
    9712 fi
    9713 
    9714 if test "${FFMPEG_DIR}" = "/usr" ; then
    9715   FFMPEG_DIR=""
    9716 #else
    9717 #  LD_RPATH="$loader_run_path:${FFMPEG_DIR}/lib"
    9718 fi
    9719 
    9720 
    9721 { echo "$as_me:$LINENO: result: ${FFMPEG_DIR}" >&5
    9722 echo "${ECHO_T}${FFMPEG_DIR}" >&6; }
    9723 
    9724 { echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
    9725 echo $ECHO_N "checking for nVidia Cg installation... $ECHO_C" >&6; }
     6509
     6510
     6511{ $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
     6512$as_echo_n "checking for nVidia Cg installation... " >&6; }
    97266513CG_DIR=""
    97276514for dir in \
     
    97366523done
    97376524if test "x${CG_DIR}" = "x" ; then
    9738   { { echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5
    9739 echo "$as_me: error: can't find nVidia Cg installation" >&2;}
     6525  { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5
     6526$as_echo "$as_me: error: can't find nVidia Cg installation" >&2;}
    97406527   { (exit 1); exit 1; }; }
    97416528fi
     
    97486535
    97496536
    9750 { echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
    9751 echo "${ECHO_T}${CG_DIR}" >&6; }
     6537{ $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
     6538$as_echo "${CG_DIR}" >&6; }
    97526539
    97536540
     
    97836570    *${as_nl}*)
    97846571      case $ac_var in #(
    9785       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    9786 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     6572      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     6573$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    97876574      esac
    97886575      case $ac_var in #(
    97896576      _ | IFS | as_nl) ;; #(
     6577      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    97906578      *) $as_unset $ac_var ;;
    97916579      esac ;;
     
    98206608  if test -w "$cache_file"; then
    98216609    test "x$cache_file" != "x/dev/null" &&
    9822       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    9823 echo "$as_me: updating cache $cache_file" >&6;}
     6610      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     6611$as_echo "$as_me: updating cache $cache_file" >&6;}
    98246612    cat confcache >$cache_file
    98256613  else
    9826     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    9827 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     6614    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     6615$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    98286616  fi
    98296617fi
     
    98416629  # 1. Remove the extension, and $U if already installed.
    98426630  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    9843   ac_i=`echo "$ac_i" | sed "$ac_script"`
     6631  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
    98446632  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    98456633  #    will be set to the directory where LIBOBJS objects are built.
     
    98536641
    98546642
     6643
    98556644: ${CONFIG_STATUS=./config.status}
     6645ac_write_fail=0
    98566646ac_clean_files_save=$ac_clean_files
    98576647ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    9858 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    9859 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    9860 cat >$CONFIG_STATUS <<_ACEOF
     6648{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     6649$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     6650cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    98616651#! $SHELL
    98626652# Generated by $as_me.
     
    98716661_ACEOF
    98726662
    9873 cat >>$CONFIG_STATUS <<\_ACEOF
     6663cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    98746664## --------------------- ##
    98756665## M4sh Initialization.  ##
     
    98816671  emulate sh
    98826672  NULLCMD=:
    9883   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     6673  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    98846674  # is contrary to our usage.  Disable this feature.
    98856675  alias -g '${1+"$@"}'='"$@"'
     
    99036693as_cr_alnum=$as_cr_Letters$as_cr_digits
    99046694
     6695as_nl='
     6696'
     6697export as_nl
     6698# Printing a long string crashes Solaris 7 /usr/bin/printf.
     6699as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     6700as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     6701as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     6702if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     6703  as_echo='printf %s\n'
     6704  as_echo_n='printf %s'
     6705else
     6706  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     6707    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     6708    as_echo_n='/usr/ucb/echo -n'
     6709  else
     6710    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     6711    as_echo_n_body='eval
     6712      arg=$1;
     6713      case $arg in
     6714      *"$as_nl"*)
     6715        expr "X$arg" : "X\\(.*\\)$as_nl";
     6716        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     6717      esac;
     6718      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     6719    '
     6720    export as_echo_n_body
     6721    as_echo_n='sh -c $as_echo_n_body as_echo'
     6722  fi
     6723  export as_echo_body
     6724  as_echo='sh -c $as_echo_body as_echo'
     6725fi
     6726
    99056727# The user is always right.
    99066728if test "${PATH_SEPARATOR+set}" != set; then
    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
     6729  PATH_SEPARATOR=:
     6730  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     6731    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     6732      PATH_SEPARATOR=';'
     6733  }
    99166734fi
    99176735
     
    99296747# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    99306748# splitting by setting IFS to empty value.)
    9931 as_nl='
    9932 '
    99336749IFS=" ""        $as_nl"
    99346750
     
    99536769fi
    99546770if test ! -f "$as_myself"; then
    9955   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     6771  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    99566772  { (exit 1); exit 1; }
    99576773fi
     
    99666782
    99676783# NLS nuisances.
    9968 for 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
    9972 do
    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
    9978 done
     6784LC_ALL=C
     6785export LC_ALL
     6786LANGUAGE=C
     6787export LANGUAGE
    99796788
    99806789# Required to use basename.
     
    99986807         X"$0" : 'X\(//\)$' \| \
    99996808         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    10000 echo X/"$0" |
     6809$as_echo X/"$0" |
    100016810    sed '/^.*\/\([^/][^/]*\)\/*$/{
    100026811            s//\1/
     
    100496858    ' >$as_me.lineno &&
    100506859  chmod +x "$as_me.lineno" ||
    10051     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     6860    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    100526861   { (exit 1); exit 1; }; }
    100536862
     
    100776886  ECHO_N='-n';;
    100786887esac
    10079 
    100806888if expr a : '\(a\)' >/dev/null 2>&1 &&
    100816889   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    100906898else
    100916899  rm -f conf$$.dir
    10092   mkdir conf$$.dir
    10093 fi
    10094 echo >conf$$.file
    10095 if 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 ||
     6900  mkdir conf$$.dir 2>/dev/null
     6901fi
     6902if (echo >conf$$.file) 2>/dev/null; then
     6903  if ln -s conf$$.file conf$$ 2>/dev/null; then
     6904    as_ln_s='ln -s'
     6905    # ... but there are two gotchas:
     6906    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     6907    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     6908    # In both cases, we have to default to `cp -p'.
     6909    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     6910      as_ln_s='cp -p'
     6911  elif ln conf$$.file conf$$ 2>/dev/null; then
     6912    as_ln_s=ln
     6913  else
    101026914    as_ln_s='cp -p'
    10103 elif ln conf$$.file conf$$ 2>/dev/null; then
    10104   as_ln_s=ln
     6915  fi
    101056916else
    101066917  as_ln_s='cp -p'
     
    101276938    eval sh -c '\''
    101286939      if test -d "$1"; then
    10129         test -d "$1/.";
     6940        test -d "$1/.";
    101306941      else
    101316942        case $1 in
    10132         -*)set "./$1";;
     6943        -*)set "./$1";;
    101336944        esac;
    101346945        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     
    101536964ac_log="
    101546965This file was extended by vizservers $as_me 0.1, which was
    10155 generated by GNU Autoconf 2.61.  Invocation command line was
     6966generated by GNU Autoconf 2.63.  Invocation command line was
    101566967
    101576968  CONFIG_FILES    = $CONFIG_FILES
     
    101666977_ACEOF
    101676978
    10168 cat >>$CONFIG_STATUS <<_ACEOF
     6979case $ac_config_files in *"
     6980"*) set x $ac_config_files; shift; ac_config_files=$*;;
     6981esac
     6982
     6983case $ac_config_headers in *"
     6984"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     6985esac
     6986
     6987
     6988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    101696989# Files that config.status was made for.
    101706990config_files="$ac_config_files"
     
    101736993_ACEOF
    101746994
    10175 cat >>$CONFIG_STATUS <<\_ACEOF
     6995cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    101766996ac_cs_usage="\
    101776997\`$as_me' instantiates files from templates according to the
    101786998current configuration.
    101796999
    10180 Usage: $0 [OPTIONS] [FILE]...
     7000Usage: $0 [OPTION]... [FILE]...
    101817001
    101827002  -h, --help       print this help, then exit
    101837003  -V, --version    print version number and configuration settings, then exit
    10184   -q, --quiet      do not print progress messages
     7004  -q, --quiet, --silent
     7005                   do not print progress messages
    101857006  -d, --debug      don't remove temporary files
    101867007      --recheck    update $as_me by reconfiguring in the same conditions
    10187   --file=FILE[:TEMPLATE]
    10188                    instantiate the configuration file FILE
    10189   --header=FILE[:TEMPLATE]
    10190                    instantiate the configuration header FILE
     7008      --file=FILE[:TEMPLATE]
     7009                   instantiate the configuration file FILE
     7010      --header=FILE[:TEMPLATE]
     7011                   instantiate the configuration header FILE
    101917012
    101927013Configuration files:
     
    101997020
    102007021_ACEOF
    10201 cat >>$CONFIG_STATUS <<_ACEOF
     7022cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    102027023ac_cs_version="\\
    102037024vizservers config.status 0.1
    10204 configured by $0, generated by GNU Autoconf 2.61,
    10205   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    10206 
    10207 Copyright (C) 2006 Free Software Foundation, Inc.
     7025configured by $0, generated by GNU Autoconf 2.63,
     7026  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     7027
     7028Copyright (C) 2008 Free Software Foundation, Inc.
    102087029This config.status script is free software; the Free Software Foundation
    102097030gives unlimited permission to copy, distribute and modify it."
     
    102137034INSTALL='$INSTALL'
    102147035MKDIR_P='$MKDIR_P'
    10215 _ACEOF
    10216 
    10217 cat >>$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.
     7036test -n "\$AWK" || AWK=awk
     7037_ACEOF
     7038
     7039cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7040# The default lists apply if the user does not specify any file.
    102207041ac_need_defaults=:
    102217042while test $# != 0
     
    102397060    ac_cs_recheck=: ;;
    102407061  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    10241     echo "$ac_cs_version"; exit ;;
     7062    $as_echo "$ac_cs_version"; exit ;;
    102427063  --debug | --debu | --deb | --de | --d | -d )
    102437064    debug=: ;;
    102447065  --file | --fil | --fi | --f )
    102457066    $ac_shift
    10246     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     7067    case $ac_optarg in
     7068    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     7069    esac
     7070    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    102477071    ac_need_defaults=false;;
    102487072  --header | --heade | --head | --hea )
    102497073    $ac_shift
    10250     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     7074    case $ac_optarg in
     7075    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     7076    esac
     7077    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
    102517078    ac_need_defaults=false;;
    102527079  --he | --h)
    102537080    # Conflict between --help and --header
    10254     { echo "$as_me: error: ambiguous option: $1
     7081    { $as_echo "$as_me: error: ambiguous option: $1
    102557082Try \`$0 --help' for more information." >&2
    102567083   { (exit 1); exit 1; }; };;
    102577084  --help | --hel | -h )
    10258     echo "$ac_cs_usage"; exit ;;
     7085    $as_echo "$ac_cs_usage"; exit ;;
    102597086  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    102607087  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    102627089
    102637090  # This is an error.
    10264   -*) { echo "$as_me: error: unrecognized option: $1
     7091  -*) { $as_echo "$as_me: error: unrecognized option: $1
    102657092Try \`$0 --help' for more information." >&2
    102667093   { (exit 1); exit 1; }; } ;;
     
    102817108
    102827109_ACEOF
    10283 cat >>$CONFIG_STATUS <<_ACEOF
     7110cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    102847111if \$ac_cs_recheck; then
    10285   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    10286   CONFIG_SHELL=$SHELL
     7112  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     7113  shift
     7114  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     7115  CONFIG_SHELL='$SHELL'
    102877116  export CONFIG_SHELL
    10288   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    10289 fi
    10290 
    10291 _ACEOF
    10292 cat >>$CONFIG_STATUS <<\_ACEOF
     7117  exec "\$@"
     7118fi
     7119
     7120_ACEOF
     7121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    102937122exec 5>>config.log
    102947123{
     
    102977126## Running $as_me. ##
    102987127_ASBOX
    10299   echo "$ac_log"
     7128  $as_echo "$ac_log"
    103007129} >&5
    103017130
    103027131_ACEOF
    10303 cat >>$CONFIG_STATUS <<_ACEOF
    10304 _ACEOF
    10305 
    10306 cat >>$CONFIG_STATUS <<\_ACEOF
     7132cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7133_ACEOF
     7134
     7135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    103077136
    103087137# Handling of arguments.
     
    103117140  case $ac_config_target in
    103127141    "nanoscale/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nanoscale/config.h" ;;
     7142    "nanovis/nvconf.h") CONFIG_HEADERS="$CONFIG_HEADERS nanovis/nvconf.h" ;;
    103137143    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    103147144    "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;;
     
    103217151    "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;;
    103227152
    10323   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    10324 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     7153  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     7154$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    103257155   { (exit 1); exit 1; }; };;
    103267156  esac
     
    103627192} ||
    103637193{
    10364    echo "$me: cannot create a temporary directory in ." >&2
     7194   $as_echo "$as_me: cannot create a temporary directory in ." >&2
    103657195   { (exit 1); exit 1; }
    103667196}
    103677197
    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
     7198# Set up the scripts for CONFIG_FILES section.
     7199# No need to generate them if there are no CONFIG_FILES.
     7200# This happens for instance with `./config.status config.h'.
    103747201if test -n "$CONFIG_FILES"; then
    103757202
    10376 _ACEOF
    10377 
    10378 
    10379 
     7203
     7204ac_cr='
     7205'
     7206ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     7207if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     7208  ac_cs_awk_cr='\\r'
     7209else
     7210  ac_cs_awk_cr=$ac_cr
     7211fi
     7212
     7213echo 'BEGIN {' >"$tmp/subs1.awk" &&
     7214_ACEOF
     7215
     7216
     7217{
     7218  echo "cat >conf$$subs.awk <<_ACEOF" &&
     7219  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     7220  echo "_ACEOF"
     7221} >conf$$subs.sh ||
     7222  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     7223$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     7224   { (exit 1); exit 1; }; }
     7225ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    103807226ac_delim='%!_!# '
    103817227for ac_last_try in false false false false false :; do
    10382   cat >conf$$subs.sed <<_ACEOF
    10383 SHELL!$SHELL$ac_delim
    10384 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    10385 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    10386 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    10387 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    10388 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    10389 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    10390 exec_prefix!$exec_prefix$ac_delim
    10391 prefix!$prefix$ac_delim
    10392 program_transform_name!$program_transform_name$ac_delim
    10393 bindir!$bindir$ac_delim
    10394 sbindir!$sbindir$ac_delim
    10395 libexecdir!$libexecdir$ac_delim
    10396 datarootdir!$datarootdir$ac_delim
    10397 datadir!$datadir$ac_delim
    10398 sysconfdir!$sysconfdir$ac_delim
    10399 sharedstatedir!$sharedstatedir$ac_delim
    10400 localstatedir!$localstatedir$ac_delim
    10401 includedir!$includedir$ac_delim
    10402 oldincludedir!$oldincludedir$ac_delim
    10403 docdir!$docdir$ac_delim
    10404 infodir!$infodir$ac_delim
    10405 htmldir!$htmldir$ac_delim
    10406 dvidir!$dvidir$ac_delim
    10407 pdfdir!$pdfdir$ac_delim
    10408 psdir!$psdir$ac_delim
    10409 libdir!$libdir$ac_delim
    10410 localedir!$localedir$ac_delim
    10411 mandir!$mandir$ac_delim
    10412 DEFS!$DEFS$ac_delim
    10413 ECHO_C!$ECHO_C$ac_delim
    10414 ECHO_N!$ECHO_N$ac_delim
    10415 ECHO_T!$ECHO_T$ac_delim
    10416 LIBS!$LIBS$ac_delim
    10417 build_alias!$build_alias$ac_delim
    10418 host_alias!$host_alias$ac_delim
    10419 target_alias!$target_alias$ac_delim
    10420 VERSION!$VERSION$ac_delim
    10421 CC!$CC$ac_delim
    10422 CFLAGS!$CFLAGS$ac_delim
    10423 LDFLAGS!$LDFLAGS$ac_delim
    10424 CPPFLAGS!$CPPFLAGS$ac_delim
    10425 ac_ct_CC!$ac_ct_CC$ac_delim
    10426 EXEEXT!$EXEEXT$ac_delim
    10427 OBJEXT!$OBJEXT$ac_delim
    10428 RANLIB!$RANLIB$ac_delim
    10429 AR!$AR$ac_delim
    10430 CPP!$CPP$ac_delim
    10431 GREP!$GREP$ac_delim
    10432 EGREP!$EGREP$ac_delim
    10433 DL_LIBS!$DL_LIBS$ac_delim
    10434 DL_OBJS!$DL_OBJS$ac_delim
    10435 PLAT_OBJS!$PLAT_OBJS$ac_delim
    10436 PLAT_SRCS!$PLAT_SRCS$ac_delim
    10437 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim
    10438 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim
    10439 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim
    10440 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim
    10441 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim
    10442 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim
    10443 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim
    10444 STLIB_LD!$STLIB_LD$ac_delim
    10445 SHLIB_LD!$SHLIB_LD$ac_delim
    10446 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim
    10447 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim
    10448 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim
    10449 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim
    10450 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim
    10451 MAKE_LIB!$MAKE_LIB$ac_delim
    10452 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim
    10453 INSTALL_LIB!$INSTALL_LIB$ac_delim
    10454 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim
    10455 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim
    10456 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
    10457 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
    10458 INSTALL_DATA!$INSTALL_DATA$ac_delim
    10459 LN_S!$LN_S$ac_delim
    10460 CXX!$CXX$ac_delim
    10461 CXXFLAGS!$CXXFLAGS$ac_delim
    10462 ac_ct_CXX!$ac_ct_CXX$ac_delim
    10463 CXXCPP!$CXXCPP$ac_delim
    10464 SUBDIRS!$SUBDIRS$ac_delim
    10465 TCL_VERSION!$TCL_VERSION$ac_delim
    10466 TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim
    10467 TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim
    10468 RP2_INCL_DIR!$RP2_INCL_DIR$ac_delim
    10469 RP_DIR!$RP_DIR$ac_delim
    10470 DX_DIR!$DX_DIR$ac_delim
    10471 FFMPEG_DIR!$FFMPEG_DIR$ac_delim
    10472 CG_DIR!$CG_DIR$ac_delim
    10473 LD_RPATH!$LD_RPATH$ac_delim
    10474 LIBOBJS!$LIBOBJS$ac_delim
    10475 LTLIBOBJS!$LTLIBOBJS$ac_delim
    10476 _ACEOF
    10477 
    10478   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
     7228  . ./conf$$subs.sh ||
     7229    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     7230$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     7231   { (exit 1); exit 1; }; }
     7232
     7233  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     7234  if test $ac_delim_n = $ac_delim_num; then
    104797235    break
    104807236  elif $ac_last_try; then
    10481     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    10482 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     7237    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     7238$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    104837239   { (exit 1); exit 1; }; }
    104847240  else
     
    104867242  fi
    104877243done
    10488 
    10489 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    10490 if test -n "$ac_eof"; then
    10491   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    10492   ac_eof=`expr $ac_eof + 1`
    10493 fi
    10494 
    10495 cat >>$CONFIG_STATUS <<_ACEOF
    10496 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    10497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
    10498 _ACEOF
    10499 sed '
    10500 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    10501 s/^/s,@/; s/!/@,|#_!!_#|/
    10502 :n
    10503 t n
    10504 s/'"$ac_delim"'$/,g/; t
    10505 s/$/\\/; p
    10506 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    10507 ' >>$CONFIG_STATUS <conf$$subs.sed
    10508 rm -f conf$$subs.sed
    10509 cat >>$CONFIG_STATUS <<_ACEOF
    10510 :end
    10511 s/|#_!!_#|//g
    10512 CEOF$ac_eof
    10513 _ACEOF
    10514 
     7244rm -f conf$$subs.sh
     7245
     7246cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7247cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     7248_ACEOF
     7249sed -n '
     7250h
     7251s/^/S["/; s/!.*/"]=/
     7252p
     7253g
     7254s/^[^!]*!//
     7255:repl
     7256t repl
     7257s/'"$ac_delim"'$//
     7258t delim
     7259:nl
     7260h
     7261s/\(.\{148\}\).*/\1/
     7262t more1
     7263s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     7264p
     7265n
     7266b repl
     7267:more1
     7268s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     7269p
     7270g
     7271s/.\{148\}//
     7272t nl
     7273:delim
     7274h
     7275s/\(.\{148\}\).*/\1/
     7276t more2
     7277s/["\\]/\\&/g; s/^/"/; s/$/"/
     7278p
     7279b
     7280:more2
     7281s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     7282p
     7283g
     7284s/.\{148\}//
     7285t delim
     7286' <conf$$subs.awk | sed '
     7287/^[^""]/{
     7288  N
     7289  s/\n//
     7290}
     7291' >>$CONFIG_STATUS || ac_write_fail=1
     7292rm -f conf$$subs.awk
     7293cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7294_ACAWK
     7295cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     7296  for (key in S) S_is_set[key] = 1
     7297  FS = ""
     7298
     7299}
     7300{
     7301  line = $ 0
     7302  nfields = split(line, field, "@")
     7303  substed = 0
     7304  len = length(field[1])
     7305  for (i = 2; i < nfields; i++) {
     7306    key = field[i]
     7307    keylen = length(key)
     7308    if (S_is_set[key]) {
     7309      value = S[key]
     7310      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     7311      len += length(value) + length(field[++i])
     7312      substed = 1
     7313    } else
     7314      len += 1 + keylen
     7315  }
     7316
     7317  print line
     7318}
     7319
     7320_ACAWK
     7321_ACEOF
     7322cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7323if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     7324  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     7325else
     7326  cat
     7327fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     7328  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     7329$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     7330   { (exit 1); exit 1; }; }
     7331_ACEOF
    105157332
    105167333# VPATH may cause trouble with some makes, so we remove $(srcdir),
     
    105297346fi
    105307347
    10531 cat >>$CONFIG_STATUS <<\_ACEOF
     7348cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    105327349fi # test -n "$CONFIG_FILES"
    105337350
    10534 
    10535 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
     7351# Set up the scripts for CONFIG_HEADERS section.
     7352# No need to generate them if there are no CONFIG_HEADERS.
     7353# This happens for instance with `./config.status Makefile'.
     7354if test -n "$CONFIG_HEADERS"; then
     7355cat >"$tmp/defines.awk" <<\_ACAWK ||
     7356BEGIN {
     7357_ACEOF
     7358
     7359# Transform confdefs.h into an awk script `defines.awk', embedded as
     7360# here-document in config.status, that substitutes the proper values into
     7361# config.h.in to produce config.h.
     7362
     7363# Create a delimiter string that does not exist in confdefs.h, to ease
     7364# handling of long lines.
     7365ac_delim='%!_!# '
     7366for ac_last_try in false false :; do
     7367  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     7368  if test -z "$ac_t"; then
     7369    break
     7370  elif $ac_last_try; then
     7371    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     7372$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     7373   { (exit 1); exit 1; }; }
     7374  else
     7375    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     7376  fi
     7377done
     7378
     7379# For the awk script, D is an array of macro values keyed by name,
     7380# likewise P contains macro parameters if any.  Preserve backslash
     7381# newline sequences.
     7382
     7383ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     7384sed -n '
     7385s/.\{148\}/&'"$ac_delim"'/g
     7386t rset
     7387:rset
     7388s/^[     ]*#[    ]*define[       ][      ]*/ /
     7389t def
     7390d
     7391:def
     7392s/\\$//
     7393t bsnl
     7394s/["\\]/\\&/g
     7395s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     7396D["\1"]=" \3"/p
     7397s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
     7398d
     7399:bsnl
     7400s/["\\]/\\&/g
     7401s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     7402D["\1"]=" \3\\\\\\n"\\/p
     7403t cont
     7404s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     7405t cont
     7406d
     7407:cont
     7408n
     7409s/.\{148\}/&'"$ac_delim"'/g
     7410t clear
     7411:clear
     7412s/\\$//
     7413t bsnlc
     7414s/["\\]/\\&/g; s/^/"/; s/$/"/p
     7415d
     7416:bsnlc
     7417s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     7418b cont
     7419' <confdefs.h | sed '
     7420s/'"$ac_delim"'/"\\\
     7421"/g' >>$CONFIG_STATUS || ac_write_fail=1
     7422
     7423cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7424  for (key in D) D_is_set[key] = 1
     7425  FS = ""
     7426}
     7427/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     7428  line = \$ 0
     7429  split(line, arg, " ")
     7430  if (arg[1] == "#") {
     7431    defundef = arg[2]
     7432    mac1 = arg[3]
     7433  } else {
     7434    defundef = substr(arg[1], 2)
     7435    mac1 = arg[2]
     7436  }
     7437  split(mac1, mac2, "(") #)
     7438  macro = mac2[1]
     7439  prefix = substr(line, 1, index(line, defundef) - 1)
     7440  if (D_is_set[macro]) {
     7441    # Preserve the white space surrounding the "#".
     7442    print prefix "define", macro P[macro] D[macro]
     7443    next
     7444  } else {
     7445    # Replace #undef with comments.  This is necessary, for example,
     7446    # in the case of _POSIX_SOURCE, which is predefined and required
     7447    # on some systems where configure will not decide to define it.
     7448    if (defundef == "undef") {
     7449      print "/*", prefix defundef, macro, "*/"
     7450      next
     7451    }
     7452  }
     7453}
     7454{ print }
     7455_ACAWK
     7456_ACEOF
     7457cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7458  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     7459$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     7460   { (exit 1); exit 1; }; }
     7461fi # test -n "$CONFIG_HEADERS"
     7462
     7463
     7464eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     7465shift
     7466for ac_tag
    105367467do
    105377468  case $ac_tag in
     
    105407471  case $ac_mode$ac_tag in
    105417472  :[FHL]*:*);;
    10542   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    10543 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     7473  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     7474$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    105447475   { (exit 1); exit 1; }; };;
    105457476  :[FH]-) ac_tag=-:-;;
     
    105707501           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    105717502           esac ||
    10572            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    10573 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     7503           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     7504$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    105747505   { (exit 1); exit 1; }; };;
    105757506      esac
    10576       ac_file_inputs="$ac_file_inputs $ac_f"
     7507      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     7508      ac_file_inputs="$ac_file_inputs '$ac_f'"
    105777509    done
    105787510
     
    105807512    # use $as_me), people would be surprised to read:
    105817513    #    /* config.h.  Generated by config.status.  */
    10582     configure_input="Generated from "`IFS=:
    10583           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
     7514    configure_input='Generated from '`
     7515          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     7516        `' by configure.'
    105847517    if test x"$ac_file" != x-; then
    105857518      configure_input="$ac_file.  $configure_input"
    10586       { echo "$as_me:$LINENO: creating $ac_file" >&5
    10587 echo "$as_me: creating $ac_file" >&6;}
     7519      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     7520$as_echo "$as_me: creating $ac_file" >&6;}
    105887521    fi
     7522    # Neutralize special characters interpreted by sed in replacement strings.
     7523    case $configure_input in #(
     7524    *\&* | *\|* | *\\* )
     7525       ac_sed_conf_input=`$as_echo "$configure_input" |
     7526       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     7527    *) ac_sed_conf_input=$configure_input;;
     7528    esac
    105897529
    105907530    case $ac_tag in
    10591     *:-:* | *:-) cat >"$tmp/stdin";;
     7531    *:-:* | *:-) cat >"$tmp/stdin" \
     7532      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     7533$as_echo "$as_me: error: could not create $ac_file" >&2;}
     7534   { (exit 1); exit 1; }; } ;;
    105927535    esac
    105937536    ;;
     
    105997542         X"$ac_file" : 'X\(//\)$' \| \
    106007543         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    10601 echo X"$ac_file" |
     7544$as_echo X"$ac_file" |
    106027545    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    106037546            s//\1/
     
    106257568    while :; do
    106267569      case $as_dir in #(
    10627       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
     7570      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    106287571      *) as_qdir=$as_dir;;
    106297572      esac
     
    106347577         X"$as_dir" : 'X\(//\)$' \| \
    106357578         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    10636 echo X"$as_dir" |
     7579$as_echo X"$as_dir" |
    106377580    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    106387581            s//\1/
     
    106557598    done
    106567599    test -z "$as_dirs" || eval "mkdir $as_dirs"
    10657   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    10658 echo "$as_me: error: cannot create directory $as_dir" >&2;}
     7600  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     7601$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    106597602   { (exit 1); exit 1; }; }; }
    106607603  ac_builddir=.
     
    106637606.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    106647607*)
    10665   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     7608  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    106667609  # A ".." for each directory in $ac_dir_suffix.
    10667   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     7610  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    106687611  case $ac_top_builddir_sub in
    106697612  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    107107653_ACEOF
    107117654
    10712 cat >>$CONFIG_STATUS <<\_ACEOF
     7655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    107137656# If the template does not know about datarootdir, expand it.
    107147657# FIXME: This hack should be removed a few years after 2.60.
    107157658ac_datarootdir_hack=; ac_datarootdir_seen=
    107167659
    10717 case `sed -n '/datarootdir/ {
     7660ac_sed_dataroot='
     7661/datarootdir/ {
    107187662  p
    107197663  q
     
    107247668/@localedir@/p
    107257669/@mandir@/p
    10726 ' $ac_file_inputs` in
     7670'
     7671case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    107277672*datarootdir*) ac_datarootdir_seen=yes;;
    107287673*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    10729   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    10730 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    10731 _ACEOF
    10732 cat >>$CONFIG_STATUS <<_ACEOF
     7674  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     7675$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     7676_ACEOF
     7677cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    107337678  ac_datarootdir_hack='
    107347679  s&@datadir@&$datadir&g
     
    107447689# Shell code in configure.ac might set extrasub.
    107457690# FIXME: do we really want to maintain this feature?
    10746 cat >>$CONFIG_STATUS <<_ACEOF
    10747   sed "$ac_vpsub
     7691cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7692ac_sed_extra="$ac_vpsub
    107487693$extrasub
    107497694_ACEOF
    10750 cat >>$CONFIG_STATUS <<\_ACEOF
     7695cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    107517696:t
    107527697/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    10753 s&@configure_input@&$configure_input&;t t
     7698s|@configure_input@|$ac_sed_conf_input|;t t
    107547699s&@top_builddir@&$ac_top_builddir_sub&;t t
     7700s&@top_build_prefix@&$ac_top_build_prefix&;t t
    107557701s&@srcdir@&$ac_srcdir&;t t
    107567702s&@abs_srcdir@&$ac_abs_srcdir&;t t
     
    107637709s&@MKDIR_P@&$ac_MKDIR_P&;t t
    107647710$ac_datarootdir_hack
    10765 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
     7711"
     7712eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     7713  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     7714$as_echo "$as_me: error: could not create $ac_file" >&2;}
     7715   { (exit 1); exit 1; }; }
    107667716
    107677717test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    107687718  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    107697719  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    10770   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     7720  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    107717721which seems to be undefined.  Please make sure it is defined." >&5
    10772 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     7722$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    107737723which seems to be undefined.  Please make sure it is defined." >&2;}
    107747724
    107757725  rm -f "$tmp/stdin"
    107767726  case $ac_file in
    10777   -) cat "$tmp/out"; rm -f "$tmp/out";;
    10778   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
    10779   esac
     7727  -) cat "$tmp/out" && rm -f "$tmp/out";;
     7728  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     7729  esac \
     7730  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     7731$as_echo "$as_me: error: could not create $ac_file" >&2;}
     7732   { (exit 1); exit 1; }; }
    107807733 ;;
    107817734  :H)
     
    107837736  # CONFIG_HEADER
    107847737  #
    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.
    10789 rm -f conftest.defines conftest.tail
    10790 # First, append a space to every undef/define line, to ease matching.
    10791 echo '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.
    10797 ac_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.
    10802 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
    10803 ac_dB='\\)[      (].*,\\1define\\2'
    10804 ac_dC=' '
    10805 ac_dD=' ,'
    10806 
    10807 uniq 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.)
    10825 echo 's/ $//
    10826 s,^[     #]*u.*,/* & */,' >>conftest.defines
    10827 
    10828 # Break up conftest.defines:
    10829 ac_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.
    10835 ac_in='$ac_file_inputs'
    10836 ac_out='"$tmp/out1"'
    10837 ac_nxt='"$tmp/out2"'
    10838 
    10839 while :
    10840 do
    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
    10847 b
    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
    10858 done
    10859 rm -f conftest.defines conftest.tail
    10860 
    10861 echo "ac_result=$ac_in" >>$CONFIG_STATUS
    10862 cat >>$CONFIG_STATUS <<\_ACEOF
    108637738  if test x"$ac_file" != x-; then
    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
    10868 echo "$as_me: $ac_file is unchanged" >&6;}
     7739    {
     7740      $as_echo "/* $configure_input  */" \
     7741      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     7742    } >"$tmp/config.h" \
     7743      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     7744$as_echo "$as_me: error: could not create $ac_file" >&2;}
     7745   { (exit 1); exit 1; }; }
     7746    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     7747      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     7748$as_echo "$as_me: $ac_file is unchanged" >&6;}
    108697749    else
    10870       rm -f $ac_file
    10871       mv "$tmp/config.h" $ac_file
     7750      rm -f "$ac_file"
     7751      mv "$tmp/config.h" "$ac_file" \
     7752        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     7753$as_echo "$as_me: error: could not create $ac_file" >&2;}
     7754   { (exit 1); exit 1; }; }
    108727755    fi
    108737756  else
    10874     echo "/* $configure_input  */"
    10875     cat "$ac_result"
     7757    $as_echo "/* $configure_input  */" \
     7758      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     7759      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     7760$as_echo "$as_me: error: could not create -" >&2;}
     7761   { (exit 1); exit 1; }; }
    108767762  fi
    10877   rm -f "$tmp/out12"
    108787763 ;;
    108797764
     
    108887773chmod +x $CONFIG_STATUS
    108897774ac_clean_files=$ac_clean_files_save
     7775
     7776test $ac_write_fail = 0 ||
     7777  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     7778$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     7779   { (exit 1); exit 1; }; }
    108907780
    108917781
     
    109107800  $ac_cs_success || { (exit 1); exit 1; }
    109117801fi
    10912 
     7802if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     7803  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     7804$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     7805fi
     7806
Note: See TracChangeset for help on using the changeset viewer.