| 
sl@0
 | 
     1  | 
#! /bin/sh
  | 
| 
sl@0
 | 
     2  | 
  | 
| 
sl@0
 | 
     3  | 
# Guess values for system-dependent variables and create Makefiles.
  | 
| 
sl@0
 | 
     4  | 
# Generated automatically using autoconf version 2.13 
  | 
| 
sl@0
 | 
     5  | 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  | 
| 
sl@0
 | 
     6  | 
#
  | 
| 
sl@0
 | 
     7  | 
# This configure script is free software; the Free Software Foundation
  | 
| 
sl@0
 | 
     8  | 
# gives unlimited permission to copy, distribute and modify it.
  | 
| 
sl@0
 | 
     9  | 
  | 
| 
sl@0
 | 
    10  | 
# Defaults:
  | 
| 
sl@0
 | 
    11  | 
ac_help=
  | 
| 
sl@0
 | 
    12  | 
ac_default_prefix=/usr/local
  | 
| 
sl@0
 | 
    13  | 
# Any additions from configure.in:
  | 
| 
sl@0
 | 
    14  | 
ac_help="$ac_help
  | 
| 
sl@0
 | 
    15  | 
  --enable-threads        build with threads"
  | 
| 
sl@0
 | 
    16  | 
ac_help="$ac_help
  | 
| 
sl@0
 | 
    17  | 
  --enable-shared         build and link with shared libraries [--enable-shared]"
  | 
| 
sl@0
 | 
    18  | 
ac_help="$ac_help
  | 
| 
sl@0
 | 
    19  | 
  --enable-64bit          enable 64bit support (where applicable = amd64|ia64)"
  | 
| 
sl@0
 | 
    20  | 
ac_help="$ac_help
  | 
| 
sl@0
 | 
    21  | 
  --enable-symbols        build with debugging symbols [--disable-symbols]"
  | 
| 
sl@0
 | 
    22  | 
  | 
| 
sl@0
 | 
    23  | 
# Initialize some variables set by options.
  | 
| 
sl@0
 | 
    24  | 
# The variables have the same names as the options, with
  | 
| 
sl@0
 | 
    25  | 
# dashes changed to underlines.
  | 
| 
sl@0
 | 
    26  | 
build=NONE
  | 
| 
sl@0
 | 
    27  | 
cache_file=./config.cache
  | 
| 
sl@0
 | 
    28  | 
exec_prefix=NONE
  | 
| 
sl@0
 | 
    29  | 
host=NONE
  | 
| 
sl@0
 | 
    30  | 
no_create=
  | 
| 
sl@0
 | 
    31  | 
nonopt=NONE
  | 
| 
sl@0
 | 
    32  | 
no_recursion=
  | 
| 
sl@0
 | 
    33  | 
prefix=NONE
  | 
| 
sl@0
 | 
    34  | 
program_prefix=NONE
  | 
| 
sl@0
 | 
    35  | 
program_suffix=NONE
  | 
| 
sl@0
 | 
    36  | 
program_transform_name=s,x,x,
  | 
| 
sl@0
 | 
    37  | 
silent=
  | 
| 
sl@0
 | 
    38  | 
site=
  | 
| 
sl@0
 | 
    39  | 
srcdir=
  | 
| 
sl@0
 | 
    40  | 
target=NONE
  | 
| 
sl@0
 | 
    41  | 
verbose=
  | 
| 
sl@0
 | 
    42  | 
x_includes=NONE
  | 
| 
sl@0
 | 
    43  | 
x_libraries=NONE
  | 
| 
sl@0
 | 
    44  | 
bindir='${exec_prefix}/bin'
 | 
| 
sl@0
 | 
    45  | 
sbindir='${exec_prefix}/sbin'
 | 
| 
sl@0
 | 
    46  | 
libexecdir='${exec_prefix}/libexec'
 | 
| 
sl@0
 | 
    47  | 
datadir='${prefix}/share'
 | 
| 
sl@0
 | 
    48  | 
sysconfdir='${prefix}/etc'
 | 
| 
sl@0
 | 
    49  | 
sharedstatedir='${prefix}/com'
 | 
| 
sl@0
 | 
    50  | 
localstatedir='${prefix}/var'
 | 
| 
sl@0
 | 
    51  | 
libdir='${exec_prefix}/lib'
 | 
| 
sl@0
 | 
    52  | 
includedir='${prefix}/include'
 | 
| 
sl@0
 | 
    53  | 
oldincludedir='/usr/include'
  | 
| 
sl@0
 | 
    54  | 
infodir='${prefix}/info'
 | 
| 
sl@0
 | 
    55  | 
mandir='${prefix}/man'
 | 
| 
sl@0
 | 
    56  | 
  | 
| 
sl@0
 | 
    57  | 
# Initialize some other variables.
  | 
| 
sl@0
 | 
    58  | 
subdirs=
  | 
| 
sl@0
 | 
    59  | 
MFLAGS= MAKEFLAGS=
  | 
| 
sl@0
 | 
    60  | 
SHELL=${CONFIG_SHELL-/bin/sh}
 | 
| 
sl@0
 | 
    61  | 
# Maximum number of lines to put in a shell here document.
  | 
| 
sl@0
 | 
    62  | 
ac_max_here_lines=12
  | 
| 
sl@0
 | 
    63  | 
  | 
| 
sl@0
 | 
    64  | 
ac_prev=
  | 
| 
sl@0
 | 
    65  | 
for ac_option
  | 
| 
sl@0
 | 
    66  | 
do
  | 
| 
sl@0
 | 
    67  | 
  | 
| 
sl@0
 | 
    68  | 
  # If the previous option needs an argument, assign it.
  | 
| 
sl@0
 | 
    69  | 
  if test -n "$ac_prev"; then
  | 
| 
sl@0
 | 
    70  | 
    eval "$ac_prev=\$ac_option"
  | 
| 
sl@0
 | 
    71  | 
    ac_prev=
  | 
| 
sl@0
 | 
    72  | 
    continue
  | 
| 
sl@0
 | 
    73  | 
  fi
  | 
| 
sl@0
 | 
    74  | 
  | 
| 
sl@0
 | 
    75  | 
  case "$ac_option" in
  | 
| 
sl@0
 | 
    76  | 
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  | 
| 
sl@0
 | 
    77  | 
  *) ac_optarg= ;;
  | 
| 
sl@0
 | 
    78  | 
  esac
  | 
| 
sl@0
 | 
    79  | 
  | 
| 
sl@0
 | 
    80  | 
  # Accept the important Cygnus configure options, so we can diagnose typos.
  | 
| 
sl@0
 | 
    81  | 
  | 
| 
sl@0
 | 
    82  | 
  case "$ac_option" in
  | 
| 
sl@0
 | 
    83  | 
  | 
| 
sl@0
 | 
    84  | 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  | 
| 
sl@0
 | 
    85  | 
    ac_prev=bindir ;;
  | 
| 
sl@0
 | 
    86  | 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  | 
| 
sl@0
 | 
    87  | 
    bindir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
    88  | 
  | 
| 
sl@0
 | 
    89  | 
  -build | --build | --buil | --bui | --bu)
  | 
| 
sl@0
 | 
    90  | 
    ac_prev=build ;;
  | 
| 
sl@0
 | 
    91  | 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  | 
| 
sl@0
 | 
    92  | 
    build="$ac_optarg" ;;
  | 
| 
sl@0
 | 
    93  | 
  | 
| 
sl@0
 | 
    94  | 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | 
| 
sl@0
 | 
    95  | 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  | 
| 
sl@0
 | 
    96  | 
    ac_prev=cache_file ;;
  | 
| 
sl@0
 | 
    97  | 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | 
| 
sl@0
 | 
    98  | 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  | 
| 
sl@0
 | 
    99  | 
    cache_file="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   100  | 
  | 
| 
sl@0
 | 
   101  | 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  | 
| 
sl@0
 | 
   102  | 
    ac_prev=datadir ;;
  | 
| 
sl@0
 | 
   103  | 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | 
| 
sl@0
 | 
   104  | 
  | --da=*)
  | 
| 
sl@0
 | 
   105  | 
    datadir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   106  | 
  | 
| 
sl@0
 | 
   107  | 
  -disable-* | --disable-*)
  | 
| 
sl@0
 | 
   108  | 
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  | 
| 
sl@0
 | 
   109  | 
    # Reject names that are not valid shell variable names.
  | 
| 
sl@0
 | 
   110  | 
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  | 
| 
sl@0
 | 
   111  | 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   112  | 
    fi
  | 
| 
sl@0
 | 
   113  | 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  | 
| 
sl@0
 | 
   114  | 
    eval "enable_${ac_feature}=no" ;;
 | 
| 
sl@0
 | 
   115  | 
  | 
| 
sl@0
 | 
   116  | 
  -enable-* | --enable-*)
  | 
| 
sl@0
 | 
   117  | 
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  | 
| 
sl@0
 | 
   118  | 
    # Reject names that are not valid shell variable names.
  | 
| 
sl@0
 | 
   119  | 
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  | 
| 
sl@0
 | 
   120  | 
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   121  | 
    fi
  | 
| 
sl@0
 | 
   122  | 
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  | 
| 
sl@0
 | 
   123  | 
    case "$ac_option" in
  | 
| 
sl@0
 | 
   124  | 
      *=*) ;;
  | 
| 
sl@0
 | 
   125  | 
      *) ac_optarg=yes ;;
  | 
| 
sl@0
 | 
   126  | 
    esac
  | 
| 
sl@0
 | 
   127  | 
    eval "enable_${ac_feature}='$ac_optarg'" ;;
 | 
| 
sl@0
 | 
   128  | 
  | 
| 
sl@0
 | 
   129  | 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | 
| 
sl@0
 | 
   130  | 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | 
| 
sl@0
 | 
   131  | 
  | --exec | --exe | --ex)
  | 
| 
sl@0
 | 
   132  | 
    ac_prev=exec_prefix ;;
  | 
| 
sl@0
 | 
   133  | 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | 
| 
sl@0
 | 
   134  | 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | 
| 
sl@0
 | 
   135  | 
  | --exec=* | --exe=* | --ex=*)
  | 
| 
sl@0
 | 
   136  | 
    exec_prefix="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   137  | 
  | 
| 
sl@0
 | 
   138  | 
  -gas | --gas | --ga | --g)
  | 
| 
sl@0
 | 
   139  | 
    # Obsolete; use --with-gas.
  | 
| 
sl@0
 | 
   140  | 
    with_gas=yes ;;
  | 
| 
sl@0
 | 
   141  | 
  | 
| 
sl@0
 | 
   142  | 
  -help | --help | --hel | --he)
  | 
| 
sl@0
 | 
   143  | 
    # Omit some internal or obsolete options to make the list less imposing.
  | 
| 
sl@0
 | 
   144  | 
    # This message is too long to be a string in the A/UX 3.1 sh.
  | 
| 
sl@0
 | 
   145  | 
    cat << EOF
  | 
| 
sl@0
 | 
   146  | 
Usage: configure [options] [host]
  | 
| 
sl@0
 | 
   147  | 
Options: [defaults in brackets after descriptions]
  | 
| 
sl@0
 | 
   148  | 
Configuration:
  | 
| 
sl@0
 | 
   149  | 
  --cache-file=FILE       cache test results in FILE
  | 
| 
sl@0
 | 
   150  | 
  --help                  print this message
  | 
| 
sl@0
 | 
   151  | 
  --no-create             do not create output files
  | 
| 
sl@0
 | 
   152  | 
  --quiet, --silent       do not print \`checking...' messages
  | 
| 
sl@0
 | 
   153  | 
  --version               print the version of autoconf that created configure
  | 
| 
sl@0
 | 
   154  | 
Directory and file names:
  | 
| 
sl@0
 | 
   155  | 
  --prefix=PREFIX         install architecture-independent files in PREFIX
  | 
| 
sl@0
 | 
   156  | 
                          [$ac_default_prefix]
  | 
| 
sl@0
 | 
   157  | 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  | 
| 
sl@0
 | 
   158  | 
                          [same as prefix]
  | 
| 
sl@0
 | 
   159  | 
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  | 
| 
sl@0
 | 
   160  | 
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  | 
| 
sl@0
 | 
   161  | 
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  | 
| 
sl@0
 | 
   162  | 
  --datadir=DIR           read-only architecture-independent data in DIR
  | 
| 
sl@0
 | 
   163  | 
                          [PREFIX/share]
  | 
| 
sl@0
 | 
   164  | 
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  | 
| 
sl@0
 | 
   165  | 
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
  | 
| 
sl@0
 | 
   166  | 
                          [PREFIX/com]
  | 
| 
sl@0
 | 
   167  | 
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  | 
| 
sl@0
 | 
   168  | 
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  | 
| 
sl@0
 | 
   169  | 
  --includedir=DIR        C header files in DIR [PREFIX/include]
  | 
| 
sl@0
 | 
   170  | 
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  | 
| 
sl@0
 | 
   171  | 
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  | 
| 
sl@0
 | 
   172  | 
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  | 
| 
sl@0
 | 
   173  | 
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  | 
| 
sl@0
 | 
   174  | 
  --program-prefix=PREFIX prepend PREFIX to installed program names
  | 
| 
sl@0
 | 
   175  | 
  --program-suffix=SUFFIX append SUFFIX to installed program names
  | 
| 
sl@0
 | 
   176  | 
  --program-transform-name=PROGRAM
  | 
| 
sl@0
 | 
   177  | 
                          run sed PROGRAM on installed program names
  | 
| 
sl@0
 | 
   178  | 
EOF
  | 
| 
sl@0
 | 
   179  | 
    cat << EOF
  | 
| 
sl@0
 | 
   180  | 
Host type:
  | 
| 
sl@0
 | 
   181  | 
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  | 
| 
sl@0
 | 
   182  | 
  --host=HOST             configure for HOST [guessed]
  | 
| 
sl@0
 | 
   183  | 
  --target=TARGET         configure for TARGET [TARGET=HOST]
  | 
| 
sl@0
 | 
   184  | 
Features and packages:
  | 
| 
sl@0
 | 
   185  | 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  | 
| 
sl@0
 | 
   186  | 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  | 
| 
sl@0
 | 
   187  | 
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  | 
| 
sl@0
 | 
   188  | 
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  | 
| 
sl@0
 | 
   189  | 
  --x-includes=DIR        X include files are in DIR
  | 
| 
sl@0
 | 
   190  | 
  --x-libraries=DIR       X library files are in DIR
  | 
| 
sl@0
 | 
   191  | 
EOF
  | 
| 
sl@0
 | 
   192  | 
    if test -n "$ac_help"; then
  | 
| 
sl@0
 | 
   193  | 
      echo "--enable and --with options recognized:$ac_help"
  | 
| 
sl@0
 | 
   194  | 
    fi
  | 
| 
sl@0
 | 
   195  | 
    exit 0 ;;
  | 
| 
sl@0
 | 
   196  | 
  | 
| 
sl@0
 | 
   197  | 
  -host | --host | --hos | --ho)
  | 
| 
sl@0
 | 
   198  | 
    ac_prev=host ;;
  | 
| 
sl@0
 | 
   199  | 
  -host=* | --host=* | --hos=* | --ho=*)
  | 
| 
sl@0
 | 
   200  | 
    host="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   201  | 
  | 
| 
sl@0
 | 
   202  | 
  -includedir | --includedir | --includedi | --included | --include \
  | 
| 
sl@0
 | 
   203  | 
  | --includ | --inclu | --incl | --inc)
  | 
| 
sl@0
 | 
   204  | 
    ac_prev=includedir ;;
  | 
| 
sl@0
 | 
   205  | 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | 
| 
sl@0
 | 
   206  | 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
  | 
| 
sl@0
 | 
   207  | 
    includedir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   208  | 
  | 
| 
sl@0
 | 
   209  | 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
  | 
| 
sl@0
 | 
   210  | 
    ac_prev=infodir ;;
  | 
| 
sl@0
 | 
   211  | 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  | 
| 
sl@0
 | 
   212  | 
    infodir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   213  | 
  | 
| 
sl@0
 | 
   214  | 
  -libdir | --libdir | --libdi | --libd)
  | 
| 
sl@0
 | 
   215  | 
    ac_prev=libdir ;;
  | 
| 
sl@0
 | 
   216  | 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  | 
| 
sl@0
 | 
   217  | 
    libdir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   218  | 
  | 
| 
sl@0
 | 
   219  | 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | 
| 
sl@0
 | 
   220  | 
  | --libexe | --libex | --libe)
  | 
| 
sl@0
 | 
   221  | 
    ac_prev=libexecdir ;;
  | 
| 
sl@0
 | 
   222  | 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | 
| 
sl@0
 | 
   223  | 
  | --libexe=* | --libex=* | --libe=*)
  | 
| 
sl@0
 | 
   224  | 
    libexecdir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   225  | 
  | 
| 
sl@0
 | 
   226  | 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | 
| 
sl@0
 | 
   227  | 
  | --localstate | --localstat | --localsta | --localst \
  | 
| 
sl@0
 | 
   228  | 
  | --locals | --local | --loca | --loc | --lo)
  | 
| 
sl@0
 | 
   229  | 
    ac_prev=localstatedir ;;
  | 
| 
sl@0
 | 
   230  | 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | 
| 
sl@0
 | 
   231  | 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | 
| 
sl@0
 | 
   232  | 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  | 
| 
sl@0
 | 
   233  | 
    localstatedir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   234  | 
  | 
| 
sl@0
 | 
   235  | 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  | 
| 
sl@0
 | 
   236  | 
    ac_prev=mandir ;;
  | 
| 
sl@0
 | 
   237  | 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  | 
| 
sl@0
 | 
   238  | 
    mandir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   239  | 
  | 
| 
sl@0
 | 
   240  | 
  -nfp | --nfp | --nf)
  | 
| 
sl@0
 | 
   241  | 
    # Obsolete; use --without-fp.
  | 
| 
sl@0
 | 
   242  | 
    with_fp=no ;;
  | 
| 
sl@0
 | 
   243  | 
  | 
| 
sl@0
 | 
   244  | 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | 
| 
sl@0
 | 
   245  | 
  | --no-cr | --no-c)
  | 
| 
sl@0
 | 
   246  | 
    no_create=yes ;;
  | 
| 
sl@0
 | 
   247  | 
  | 
| 
sl@0
 | 
   248  | 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | 
| 
sl@0
 | 
   249  | 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  | 
| 
sl@0
 | 
   250  | 
    no_recursion=yes ;;
  | 
| 
sl@0
 | 
   251  | 
  | 
| 
sl@0
 | 
   252  | 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | 
| 
sl@0
 | 
   253  | 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | 
| 
sl@0
 | 
   254  | 
  | --oldin | --oldi | --old | --ol | --o)
  | 
| 
sl@0
 | 
   255  | 
    ac_prev=oldincludedir ;;
  | 
| 
sl@0
 | 
   256  | 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | 
| 
sl@0
 | 
   257  | 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | 
| 
sl@0
 | 
   258  | 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  | 
| 
sl@0
 | 
   259  | 
    oldincludedir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   260  | 
  | 
| 
sl@0
 | 
   261  | 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  | 
| 
sl@0
 | 
   262  | 
    ac_prev=prefix ;;
  | 
| 
sl@0
 | 
   263  | 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  | 
| 
sl@0
 | 
   264  | 
    prefix="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   265  | 
  | 
| 
sl@0
 | 
   266  | 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | 
| 
sl@0
 | 
   267  | 
  | --program-pre | --program-pr | --program-p)
  | 
| 
sl@0
 | 
   268  | 
    ac_prev=program_prefix ;;
  | 
| 
sl@0
 | 
   269  | 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | 
| 
sl@0
 | 
   270  | 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  | 
| 
sl@0
 | 
   271  | 
    program_prefix="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   272  | 
  | 
| 
sl@0
 | 
   273  | 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | 
| 
sl@0
 | 
   274  | 
  | --program-suf | --program-su | --program-s)
  | 
| 
sl@0
 | 
   275  | 
    ac_prev=program_suffix ;;
  | 
| 
sl@0
 | 
   276  | 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | 
| 
sl@0
 | 
   277  | 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  | 
| 
sl@0
 | 
   278  | 
    program_suffix="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   279  | 
  | 
| 
sl@0
 | 
   280  | 
  -program-transform-name | --program-transform-name \
  | 
| 
sl@0
 | 
   281  | 
  | --program-transform-nam | --program-transform-na \
  | 
| 
sl@0
 | 
   282  | 
  | --program-transform-n | --program-transform- \
  | 
| 
sl@0
 | 
   283  | 
  | --program-transform | --program-transfor \
  | 
| 
sl@0
 | 
   284  | 
  | --program-transfo | --program-transf \
  | 
| 
sl@0
 | 
   285  | 
  | --program-trans | --program-tran \
  | 
| 
sl@0
 | 
   286  | 
  | --progr-tra | --program-tr | --program-t)
  | 
| 
sl@0
 | 
   287  | 
    ac_prev=program_transform_name ;;
  | 
| 
sl@0
 | 
   288  | 
  -program-transform-name=* | --program-transform-name=* \
  | 
| 
sl@0
 | 
   289  | 
  | --program-transform-nam=* | --program-transform-na=* \
  | 
| 
sl@0
 | 
   290  | 
  | --program-transform-n=* | --program-transform-=* \
  | 
| 
sl@0
 | 
   291  | 
  | --program-transform=* | --program-transfor=* \
  | 
| 
sl@0
 | 
   292  | 
  | --program-transfo=* | --program-transf=* \
  | 
| 
sl@0
 | 
   293  | 
  | --program-trans=* | --program-tran=* \
  | 
| 
sl@0
 | 
   294  | 
  | --progr-tra=* | --program-tr=* | --program-t=*)
  | 
| 
sl@0
 | 
   295  | 
    program_transform_name="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   296  | 
  | 
| 
sl@0
 | 
   297  | 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | 
| 
sl@0
 | 
   298  | 
  | -silent | --silent | --silen | --sile | --sil)
  | 
| 
sl@0
 | 
   299  | 
    silent=yes ;;
  | 
| 
sl@0
 | 
   300  | 
  | 
| 
sl@0
 | 
   301  | 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  | 
| 
sl@0
 | 
   302  | 
    ac_prev=sbindir ;;
  | 
| 
sl@0
 | 
   303  | 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | 
| 
sl@0
 | 
   304  | 
  | --sbi=* | --sb=*)
  | 
| 
sl@0
 | 
   305  | 
    sbindir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   306  | 
  | 
| 
sl@0
 | 
   307  | 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | 
| 
sl@0
 | 
   308  | 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | 
| 
sl@0
 | 
   309  | 
  | --sharedst | --shareds | --shared | --share | --shar \
  | 
| 
sl@0
 | 
   310  | 
  | --sha | --sh)
  | 
| 
sl@0
 | 
   311  | 
    ac_prev=sharedstatedir ;;
  | 
| 
sl@0
 | 
   312  | 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | 
| 
sl@0
 | 
   313  | 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | 
| 
sl@0
 | 
   314  | 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | 
| 
sl@0
 | 
   315  | 
  | --sha=* | --sh=*)
  | 
| 
sl@0
 | 
   316  | 
    sharedstatedir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   317  | 
  | 
| 
sl@0
 | 
   318  | 
  -site | --site | --sit)
  | 
| 
sl@0
 | 
   319  | 
    ac_prev=site ;;
  | 
| 
sl@0
 | 
   320  | 
  -site=* | --site=* | --sit=*)
  | 
| 
sl@0
 | 
   321  | 
    site="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   322  | 
  | 
| 
sl@0
 | 
   323  | 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  | 
| 
sl@0
 | 
   324  | 
    ac_prev=srcdir ;;
  | 
| 
sl@0
 | 
   325  | 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  | 
| 
sl@0
 | 
   326  | 
    srcdir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   327  | 
  | 
| 
sl@0
 | 
   328  | 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | 
| 
sl@0
 | 
   329  | 
  | --syscon | --sysco | --sysc | --sys | --sy)
  | 
| 
sl@0
 | 
   330  | 
    ac_prev=sysconfdir ;;
  | 
| 
sl@0
 | 
   331  | 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | 
| 
sl@0
 | 
   332  | 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  | 
| 
sl@0
 | 
   333  | 
    sysconfdir="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   334  | 
  | 
| 
sl@0
 | 
   335  | 
  -target | --target | --targe | --targ | --tar | --ta | --t)
  | 
| 
sl@0
 | 
   336  | 
    ac_prev=target ;;
  | 
| 
sl@0
 | 
   337  | 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  | 
| 
sl@0
 | 
   338  | 
    target="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   339  | 
  | 
| 
sl@0
 | 
   340  | 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  | 
| 
sl@0
 | 
   341  | 
    verbose=yes ;;
  | 
| 
sl@0
 | 
   342  | 
  | 
| 
sl@0
 | 
   343  | 
  -version | --version | --versio | --versi | --vers)
  | 
| 
sl@0
 | 
   344  | 
    echo "configure generated by autoconf version 2.13"
  | 
| 
sl@0
 | 
   345  | 
    exit 0 ;;
  | 
| 
sl@0
 | 
   346  | 
  | 
| 
sl@0
 | 
   347  | 
  -with-* | --with-*)
  | 
| 
sl@0
 | 
   348  | 
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  | 
| 
sl@0
 | 
   349  | 
    # Reject names that are not valid shell variable names.
  | 
| 
sl@0
 | 
   350  | 
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  | 
| 
sl@0
 | 
   351  | 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   352  | 
    fi
  | 
| 
sl@0
 | 
   353  | 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
  | 
| 
sl@0
 | 
   354  | 
    case "$ac_option" in
  | 
| 
sl@0
 | 
   355  | 
      *=*) ;;
  | 
| 
sl@0
 | 
   356  | 
      *) ac_optarg=yes ;;
  | 
| 
sl@0
 | 
   357  | 
    esac
  | 
| 
sl@0
 | 
   358  | 
    eval "with_${ac_package}='$ac_optarg'" ;;
 | 
| 
sl@0
 | 
   359  | 
  | 
| 
sl@0
 | 
   360  | 
  -without-* | --without-*)
  | 
| 
sl@0
 | 
   361  | 
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  | 
| 
sl@0
 | 
   362  | 
    # Reject names that are not valid shell variable names.
  | 
| 
sl@0
 | 
   363  | 
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  | 
| 
sl@0
 | 
   364  | 
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   365  | 
    fi
  | 
| 
sl@0
 | 
   366  | 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
  | 
| 
sl@0
 | 
   367  | 
    eval "with_${ac_package}=no" ;;
 | 
| 
sl@0
 | 
   368  | 
  | 
| 
sl@0
 | 
   369  | 
  --x)
  | 
| 
sl@0
 | 
   370  | 
    # Obsolete; use --with-x.
  | 
| 
sl@0
 | 
   371  | 
    with_x=yes ;;
  | 
| 
sl@0
 | 
   372  | 
  | 
| 
sl@0
 | 
   373  | 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | 
| 
sl@0
 | 
   374  | 
  | --x-incl | --x-inc | --x-in | --x-i)
  | 
| 
sl@0
 | 
   375  | 
    ac_prev=x_includes ;;
  | 
| 
sl@0
 | 
   376  | 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | 
| 
sl@0
 | 
   377  | 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  | 
| 
sl@0
 | 
   378  | 
    x_includes="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   379  | 
  | 
| 
sl@0
 | 
   380  | 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | 
| 
sl@0
 | 
   381  | 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  | 
| 
sl@0
 | 
   382  | 
    ac_prev=x_libraries ;;
  | 
| 
sl@0
 | 
   383  | 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | 
| 
sl@0
 | 
   384  | 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  | 
| 
sl@0
 | 
   385  | 
    x_libraries="$ac_optarg" ;;
  | 
| 
sl@0
 | 
   386  | 
  | 
| 
sl@0
 | 
   387  | 
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   388  | 
    ;;
  | 
| 
sl@0
 | 
   389  | 
  | 
| 
sl@0
 | 
   390  | 
  *)
  | 
| 
sl@0
 | 
   391  | 
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  | 
| 
sl@0
 | 
   392  | 
      echo "configure: warning: $ac_option: invalid host type" 1>&2
  | 
| 
sl@0
 | 
   393  | 
    fi
  | 
| 
sl@0
 | 
   394  | 
    if test "x$nonopt" != xNONE; then
  | 
| 
sl@0
 | 
   395  | 
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   396  | 
    fi
  | 
| 
sl@0
 | 
   397  | 
    nonopt="$ac_option"
  | 
| 
sl@0
 | 
   398  | 
    ;;
  | 
| 
sl@0
 | 
   399  | 
  | 
| 
sl@0
 | 
   400  | 
  esac
  | 
| 
sl@0
 | 
   401  | 
done
  | 
| 
sl@0
 | 
   402  | 
  | 
| 
sl@0
 | 
   403  | 
if test -n "$ac_prev"; then
  | 
| 
sl@0
 | 
   404  | 
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   405  | 
fi
  | 
| 
sl@0
 | 
   406  | 
  | 
| 
sl@0
 | 
   407  | 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  | 
| 
sl@0
 | 
   408  | 
  | 
| 
sl@0
 | 
   409  | 
# File descriptor usage:
  | 
| 
sl@0
 | 
   410  | 
# 0 standard input
  | 
| 
sl@0
 | 
   411  | 
# 1 file creation
  | 
| 
sl@0
 | 
   412  | 
# 2 errors and warnings
  | 
| 
sl@0
 | 
   413  | 
# 3 some systems may open it to /dev/tty
  | 
| 
sl@0
 | 
   414  | 
# 4 used on the Kubota Titan
  | 
| 
sl@0
 | 
   415  | 
# 6 checking for... messages and results
  | 
| 
sl@0
 | 
   416  | 
# 5 compiler messages saved in config.log
  | 
| 
sl@0
 | 
   417  | 
if test "$silent" = yes; then
  | 
| 
sl@0
 | 
   418  | 
  exec 6>/dev/null
  | 
| 
sl@0
 | 
   419  | 
else
  | 
| 
sl@0
 | 
   420  | 
  exec 6>&1
  | 
| 
sl@0
 | 
   421  | 
fi
  | 
| 
sl@0
 | 
   422  | 
exec 5>./config.log
  | 
| 
sl@0
 | 
   423  | 
  | 
| 
sl@0
 | 
   424  | 
echo "\
  | 
| 
sl@0
 | 
   425  | 
This file contains any messages produced by compilers while
  | 
| 
sl@0
 | 
   426  | 
running configure, to aid debugging if configure makes a mistake.
  | 
| 
sl@0
 | 
   427  | 
" 1>&5
  | 
| 
sl@0
 | 
   428  | 
  | 
| 
sl@0
 | 
   429  | 
# Strip out --no-create and --no-recursion so they do not pile up.
  | 
| 
sl@0
 | 
   430  | 
# Also quote any args containing shell metacharacters.
  | 
| 
sl@0
 | 
   431  | 
ac_configure_args=
  | 
| 
sl@0
 | 
   432  | 
for ac_arg
  | 
| 
sl@0
 | 
   433  | 
do
  | 
| 
sl@0
 | 
   434  | 
  case "$ac_arg" in
  | 
| 
sl@0
 | 
   435  | 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | 
| 
sl@0
 | 
   436  | 
  | --no-cr | --no-c) ;;
  | 
| 
sl@0
 | 
   437  | 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | 
| 
sl@0
 | 
   438  | 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  | 
| 
sl@0
 | 
   439  | 
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
 | 
| 
sl@0
 | 
   440  | 
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  | 
| 
sl@0
 | 
   441  | 
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  | 
| 
sl@0
 | 
   442  | 
  esac
  | 
| 
sl@0
 | 
   443  | 
done
  | 
| 
sl@0
 | 
   444  | 
  | 
| 
sl@0
 | 
   445  | 
# NLS nuisances.
  | 
| 
sl@0
 | 
   446  | 
# Only set these to C if already set.  These must not be set unconditionally
  | 
| 
sl@0
 | 
   447  | 
# because not all systems understand e.g. LANG=C (notably SCO).
  | 
| 
sl@0
 | 
   448  | 
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  | 
| 
sl@0
 | 
   449  | 
# Non-C LC_CTYPE values break the ctype check.
  | 
| 
sl@0
 | 
   450  | 
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
 | 
| 
sl@0
 | 
   451  | 
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
 | 
| 
sl@0
 | 
   452  | 
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
 | 
| 
sl@0
 | 
   453  | 
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
 | 
| 
sl@0
 | 
   454  | 
  | 
| 
sl@0
 | 
   455  | 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
  | 
| 
sl@0
 | 
   456  | 
rm -rf conftest* confdefs.h
  | 
| 
sl@0
 | 
   457  | 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  | 
| 
sl@0
 | 
   458  | 
echo > confdefs.h
  | 
| 
sl@0
 | 
   459  | 
  | 
| 
sl@0
 | 
   460  | 
# A filename unique to this package, relative to the directory that
  | 
| 
sl@0
 | 
   461  | 
# configure is in, which we can look for to find out if srcdir is correct.
  | 
| 
sl@0
 | 
   462  | 
ac_unique_file=../generic/tcl.h
  | 
| 
sl@0
 | 
   463  | 
  | 
| 
sl@0
 | 
   464  | 
# Find the source files, if location was not specified.
  | 
| 
sl@0
 | 
   465  | 
if test -z "$srcdir"; then
  | 
| 
sl@0
 | 
   466  | 
  ac_srcdir_defaulted=yes
  | 
| 
sl@0
 | 
   467  | 
  # Try the directory containing this script, then its parent.
  | 
| 
sl@0
 | 
   468  | 
  ac_prog=$0
  | 
| 
sl@0
 | 
   469  | 
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  | 
| 
sl@0
 | 
   470  | 
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  | 
| 
sl@0
 | 
   471  | 
  srcdir=$ac_confdir
  | 
| 
sl@0
 | 
   472  | 
  if test ! -r $srcdir/$ac_unique_file; then
  | 
| 
sl@0
 | 
   473  | 
    srcdir=..
  | 
| 
sl@0
 | 
   474  | 
  fi
  | 
| 
sl@0
 | 
   475  | 
else
  | 
| 
sl@0
 | 
   476  | 
  ac_srcdir_defaulted=no
  | 
| 
sl@0
 | 
   477  | 
fi
  | 
| 
sl@0
 | 
   478  | 
if test ! -r $srcdir/$ac_unique_file; then
  | 
| 
sl@0
 | 
   479  | 
  if test "$ac_srcdir_defaulted" = yes; then
  | 
| 
sl@0
 | 
   480  | 
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   481  | 
  else
  | 
| 
sl@0
 | 
   482  | 
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   483  | 
  fi
  | 
| 
sl@0
 | 
   484  | 
fi
  | 
| 
sl@0
 | 
   485  | 
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
 | 
| 
sl@0
 | 
   486  | 
  | 
| 
sl@0
 | 
   487  | 
# Prefer explicitly selected file to automatically selected ones.
  | 
| 
sl@0
 | 
   488  | 
if test -z "$CONFIG_SITE"; then
  | 
| 
sl@0
 | 
   489  | 
  if test "x$prefix" != xNONE; then
  | 
| 
sl@0
 | 
   490  | 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  | 
| 
sl@0
 | 
   491  | 
  else
  | 
| 
sl@0
 | 
   492  | 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  | 
| 
sl@0
 | 
   493  | 
  fi
  | 
| 
sl@0
 | 
   494  | 
fi
  | 
| 
sl@0
 | 
   495  | 
for ac_site_file in $CONFIG_SITE; do
  | 
| 
sl@0
 | 
   496  | 
  if test -r "$ac_site_file"; then
  | 
| 
sl@0
 | 
   497  | 
    echo "loading site script $ac_site_file"
  | 
| 
sl@0
 | 
   498  | 
    . "$ac_site_file"
  | 
| 
sl@0
 | 
   499  | 
  fi
  | 
| 
sl@0
 | 
   500  | 
done
  | 
| 
sl@0
 | 
   501  | 
  | 
| 
sl@0
 | 
   502  | 
if test -r "$cache_file"; then
  | 
| 
sl@0
 | 
   503  | 
  echo "loading cache $cache_file"
  | 
| 
sl@0
 | 
   504  | 
  . $cache_file
  | 
| 
sl@0
 | 
   505  | 
else
  | 
| 
sl@0
 | 
   506  | 
  echo "creating cache $cache_file"
  | 
| 
sl@0
 | 
   507  | 
  > $cache_file
  | 
| 
sl@0
 | 
   508  | 
fi
  | 
| 
sl@0
 | 
   509  | 
  | 
| 
sl@0
 | 
   510  | 
ac_ext=c
  | 
| 
sl@0
 | 
   511  | 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  | 
| 
sl@0
 | 
   512  | 
ac_cpp='$CPP $CPPFLAGS'
  | 
| 
sl@0
 | 
   513  | 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 | 
| 
sl@0
 | 
   514  | 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 | 
| 
sl@0
 | 
   515  | 
cross_compiling=$ac_cv_prog_cc_cross
  | 
| 
sl@0
 | 
   516  | 
  | 
| 
sl@0
 | 
   517  | 
ac_exeext=
  | 
| 
sl@0
 | 
   518  | 
ac_objext=o
  | 
| 
sl@0
 | 
   519  | 
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  | 
| 
sl@0
 | 
   520  | 
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  | 
| 
sl@0
 | 
   521  | 
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  | 
| 
sl@0
 | 
   522  | 
    ac_n= ac_c='
  | 
| 
sl@0
 | 
   523  | 
' ac_t='	'
  | 
| 
sl@0
 | 
   524  | 
  else
  | 
| 
sl@0
 | 
   525  | 
    ac_n=-n ac_c= ac_t=
  | 
| 
sl@0
 | 
   526  | 
  fi
  | 
| 
sl@0
 | 
   527  | 
else
  | 
| 
sl@0
 | 
   528  | 
  ac_n= ac_c='\c' ac_t=
  | 
| 
sl@0
 | 
   529  | 
fi
  | 
| 
sl@0
 | 
   530  | 
  | 
| 
sl@0
 | 
   531  | 
  | 
| 
sl@0
 | 
   532  | 
  | 
| 
sl@0
 | 
   533  | 
  | 
| 
sl@0
 | 
   534  | 
TCL_VERSION=8.4
  | 
| 
sl@0
 | 
   535  | 
TCL_MAJOR_VERSION=8
  | 
| 
sl@0
 | 
   536  | 
TCL_MINOR_VERSION=4
  | 
| 
sl@0
 | 
   537  | 
TCL_PATCH_LEVEL=".15"
  | 
| 
sl@0
 | 
   538  | 
VER=$TCL_MAJOR_VERSION$TCL_MINOR_VERSION
  | 
| 
sl@0
 | 
   539  | 
  | 
| 
sl@0
 | 
   540  | 
TCL_DDE_VERSION=1.2
  | 
| 
sl@0
 | 
   541  | 
TCL_DDE_MAJOR_VERSION=1
  | 
| 
sl@0
 | 
   542  | 
TCL_DDE_MINOR_VERSION=2
  | 
| 
sl@0
 | 
   543  | 
DDEVER=$TCL_DDE_MAJOR_VERSION$TCL_DDE_MINOR_VERSION
  | 
| 
sl@0
 | 
   544  | 
  | 
| 
sl@0
 | 
   545  | 
TCL_REG_VERSION=1.1
  | 
| 
sl@0
 | 
   546  | 
TCL_REG_MAJOR_VERSION=1
  | 
| 
sl@0
 | 
   547  | 
TCL_REG_MINOR_VERSION=1
  | 
| 
sl@0
 | 
   548  | 
REGVER=$TCL_REG_MAJOR_VERSION$TCL_REG_MINOR_VERSION
  | 
| 
sl@0
 | 
   549  | 
  | 
| 
sl@0
 | 
   550  | 
#------------------------------------------------------------------------
  | 
| 
sl@0
 | 
   551  | 
# Handle the --prefix=... option
  | 
| 
sl@0
 | 
   552  | 
#------------------------------------------------------------------------
  | 
| 
sl@0
 | 
   553  | 
  | 
| 
sl@0
 | 
   554  | 
if test "${prefix}" = "NONE"; then
 | 
| 
sl@0
 | 
   555  | 
    prefix=/usr/local
  | 
| 
sl@0
 | 
   556  | 
fi
  | 
| 
sl@0
 | 
   557  | 
if test "${exec_prefix}" = "NONE"; then
 | 
| 
sl@0
 | 
   558  | 
    exec_prefix=$prefix
  | 
| 
sl@0
 | 
   559  | 
fi
  | 
| 
sl@0
 | 
   560  | 
# libdir must be a fully qualified path (not ${exec_prefix}/lib)
 | 
| 
sl@0
 | 
   561  | 
eval libdir="$libdir"
  | 
| 
sl@0
 | 
   562  | 
  | 
| 
sl@0
 | 
   563  | 
#------------------------------------------------------------------------
  | 
| 
sl@0
 | 
   564  | 
# Standard compiler checks
  | 
| 
sl@0
 | 
   565  | 
#------------------------------------------------------------------------
  | 
| 
sl@0
 | 
   566  | 
  | 
| 
sl@0
 | 
   567  | 
# If the user did not set CFLAGS, set it now to keep
  | 
| 
sl@0
 | 
   568  | 
# the AC_PROG_CC macro from adding "-g -O2".
  | 
| 
sl@0
 | 
   569  | 
if test "${CFLAGS+set}" != "set" ; then
 | 
| 
sl@0
 | 
   570  | 
    CFLAGS=""
  | 
| 
sl@0
 | 
   571  | 
fi
  | 
| 
sl@0
 | 
   572  | 
  | 
| 
sl@0
 | 
   573  | 
# Extract the first word of "gcc", so it can be a program name with args.
  | 
| 
sl@0
 | 
   574  | 
set dummy gcc; ac_word=$2
  | 
| 
sl@0
 | 
   575  | 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   576  | 
echo "configure:577: checking for $ac_word" >&5
  | 
| 
sl@0
 | 
   577  | 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   578  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   579  | 
else
  | 
| 
sl@0
 | 
   580  | 
  if test -n "$CC"; then
  | 
| 
sl@0
 | 
   581  | 
  ac_cv_prog_CC="$CC" # Let the user override the test.
  | 
| 
sl@0
 | 
   582  | 
else
  | 
| 
sl@0
 | 
   583  | 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
 | 
| 
sl@0
 | 
   584  | 
  ac_dummy="$PATH"
  | 
| 
sl@0
 | 
   585  | 
  for ac_dir in $ac_dummy; do
  | 
| 
sl@0
 | 
   586  | 
    test -z "$ac_dir" && ac_dir=.
  | 
| 
sl@0
 | 
   587  | 
    if test -f $ac_dir/$ac_word; then
  | 
| 
sl@0
 | 
   588  | 
      ac_cv_prog_CC="gcc"
  | 
| 
sl@0
 | 
   589  | 
      break
  | 
| 
sl@0
 | 
   590  | 
    fi
  | 
| 
sl@0
 | 
   591  | 
  done
  | 
| 
sl@0
 | 
   592  | 
  IFS="$ac_save_ifs"
  | 
| 
sl@0
 | 
   593  | 
fi
  | 
| 
sl@0
 | 
   594  | 
fi
  | 
| 
sl@0
 | 
   595  | 
CC="$ac_cv_prog_CC"
  | 
| 
sl@0
 | 
   596  | 
if test -n "$CC"; then
  | 
| 
sl@0
 | 
   597  | 
  echo "$ac_t""$CC" 1>&6
  | 
| 
sl@0
 | 
   598  | 
else
  | 
| 
sl@0
 | 
   599  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
   600  | 
fi
  | 
| 
sl@0
 | 
   601  | 
  | 
| 
sl@0
 | 
   602  | 
if test -z "$CC"; then
  | 
| 
sl@0
 | 
   603  | 
  # Extract the first word of "cc", so it can be a program name with args.
  | 
| 
sl@0
 | 
   604  | 
set dummy cc; ac_word=$2
  | 
| 
sl@0
 | 
   605  | 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   606  | 
echo "configure:607: checking for $ac_word" >&5
  | 
| 
sl@0
 | 
   607  | 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   608  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   609  | 
else
  | 
| 
sl@0
 | 
   610  | 
  if test -n "$CC"; then
  | 
| 
sl@0
 | 
   611  | 
  ac_cv_prog_CC="$CC" # Let the user override the test.
  | 
| 
sl@0
 | 
   612  | 
else
  | 
| 
sl@0
 | 
   613  | 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
 | 
| 
sl@0
 | 
   614  | 
  ac_prog_rejected=no
  | 
| 
sl@0
 | 
   615  | 
  ac_dummy="$PATH"
  | 
| 
sl@0
 | 
   616  | 
  for ac_dir in $ac_dummy; do
  | 
| 
sl@0
 | 
   617  | 
    test -z "$ac_dir" && ac_dir=.
  | 
| 
sl@0
 | 
   618  | 
    if test -f $ac_dir/$ac_word; then
  | 
| 
sl@0
 | 
   619  | 
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
  | 
| 
sl@0
 | 
   620  | 
        ac_prog_rejected=yes
  | 
| 
sl@0
 | 
   621  | 
	continue
  | 
| 
sl@0
 | 
   622  | 
      fi
  | 
| 
sl@0
 | 
   623  | 
      ac_cv_prog_CC="cc"
  | 
| 
sl@0
 | 
   624  | 
      break
  | 
| 
sl@0
 | 
   625  | 
    fi
  | 
| 
sl@0
 | 
   626  | 
  done
  | 
| 
sl@0
 | 
   627  | 
  IFS="$ac_save_ifs"
  | 
| 
sl@0
 | 
   628  | 
if test $ac_prog_rejected = yes; then
  | 
| 
sl@0
 | 
   629  | 
  # We found a bogon in the path, so make sure we never use it.
  | 
| 
sl@0
 | 
   630  | 
  set dummy $ac_cv_prog_CC
  | 
| 
sl@0
 | 
   631  | 
  shift
  | 
| 
sl@0
 | 
   632  | 
  if test $# -gt 0; then
  | 
| 
sl@0
 | 
   633  | 
    # We chose a different compiler from the bogus one.
  | 
| 
sl@0
 | 
   634  | 
    # However, it has the same basename, so the bogon will be chosen
  | 
| 
sl@0
 | 
   635  | 
    # first if we set CC to just the basename; use the full file name.
  | 
| 
sl@0
 | 
   636  | 
    shift
  | 
| 
sl@0
 | 
   637  | 
    set dummy "$ac_dir/$ac_word" "$@"
  | 
| 
sl@0
 | 
   638  | 
    shift
  | 
| 
sl@0
 | 
   639  | 
    ac_cv_prog_CC="$@"
  | 
| 
sl@0
 | 
   640  | 
  fi
  | 
| 
sl@0
 | 
   641  | 
fi
  | 
| 
sl@0
 | 
   642  | 
fi
  | 
| 
sl@0
 | 
   643  | 
fi
  | 
| 
sl@0
 | 
   644  | 
CC="$ac_cv_prog_CC"
  | 
| 
sl@0
 | 
   645  | 
if test -n "$CC"; then
  | 
| 
sl@0
 | 
   646  | 
  echo "$ac_t""$CC" 1>&6
  | 
| 
sl@0
 | 
   647  | 
else
  | 
| 
sl@0
 | 
   648  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
   649  | 
fi
  | 
| 
sl@0
 | 
   650  | 
  | 
| 
sl@0
 | 
   651  | 
  if test -z "$CC"; then
  | 
| 
sl@0
 | 
   652  | 
    case "`uname -s`" in
  | 
| 
sl@0
 | 
   653  | 
    *win32* | *WIN32*)
  | 
| 
sl@0
 | 
   654  | 
      # Extract the first word of "cl", so it can be a program name with args.
  | 
| 
sl@0
 | 
   655  | 
set dummy cl; ac_word=$2
  | 
| 
sl@0
 | 
   656  | 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   657  | 
echo "configure:658: checking for $ac_word" >&5
  | 
| 
sl@0
 | 
   658  | 
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   659  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   660  | 
else
  | 
| 
sl@0
 | 
   661  | 
  if test -n "$CC"; then
  | 
| 
sl@0
 | 
   662  | 
  ac_cv_prog_CC="$CC" # Let the user override the test.
  | 
| 
sl@0
 | 
   663  | 
else
  | 
| 
sl@0
 | 
   664  | 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
 | 
| 
sl@0
 | 
   665  | 
  ac_dummy="$PATH"
  | 
| 
sl@0
 | 
   666  | 
  for ac_dir in $ac_dummy; do
  | 
| 
sl@0
 | 
   667  | 
    test -z "$ac_dir" && ac_dir=.
  | 
| 
sl@0
 | 
   668  | 
    if test -f $ac_dir/$ac_word; then
  | 
| 
sl@0
 | 
   669  | 
      ac_cv_prog_CC="cl"
  | 
| 
sl@0
 | 
   670  | 
      break
  | 
| 
sl@0
 | 
   671  | 
    fi
  | 
| 
sl@0
 | 
   672  | 
  done
  | 
| 
sl@0
 | 
   673  | 
  IFS="$ac_save_ifs"
  | 
| 
sl@0
 | 
   674  | 
fi
  | 
| 
sl@0
 | 
   675  | 
fi
  | 
| 
sl@0
 | 
   676  | 
CC="$ac_cv_prog_CC"
  | 
| 
sl@0
 | 
   677  | 
if test -n "$CC"; then
  | 
| 
sl@0
 | 
   678  | 
  echo "$ac_t""$CC" 1>&6
  | 
| 
sl@0
 | 
   679  | 
else
  | 
| 
sl@0
 | 
   680  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
   681  | 
fi
  | 
| 
sl@0
 | 
   682  | 
 ;;
  | 
| 
sl@0
 | 
   683  | 
    esac
  | 
| 
sl@0
 | 
   684  | 
  fi
  | 
| 
sl@0
 | 
   685  | 
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   686  | 
fi
  | 
| 
sl@0
 | 
   687  | 
  | 
| 
sl@0
 | 
   688  | 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   689  | 
echo "configure:690: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
  | 
| 
sl@0
 | 
   690  | 
  | 
| 
sl@0
 | 
   691  | 
ac_ext=c
  | 
| 
sl@0
 | 
   692  | 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  | 
| 
sl@0
 | 
   693  | 
ac_cpp='$CPP $CPPFLAGS'
  | 
| 
sl@0
 | 
   694  | 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 | 
| 
sl@0
 | 
   695  | 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 | 
| 
sl@0
 | 
   696  | 
cross_compiling=$ac_cv_prog_cc_cross
  | 
| 
sl@0
 | 
   697  | 
  | 
| 
sl@0
 | 
   698  | 
cat > conftest.$ac_ext << EOF
  | 
| 
sl@0
 | 
   699  | 
  | 
| 
sl@0
 | 
   700  | 
#line 701 "configure"
  | 
| 
sl@0
 | 
   701  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
   702  | 
  | 
| 
sl@0
 | 
   703  | 
main(){return(0);}
 | 
| 
sl@0
 | 
   704  | 
EOF
  | 
| 
sl@0
 | 
   705  | 
if { (eval echo configure:706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
| 
sl@0
 | 
   706  | 
  ac_cv_prog_cc_works=yes
  | 
| 
sl@0
 | 
   707  | 
  # If we can't run a trivial program, we are probably using a cross compiler.
  | 
| 
sl@0
 | 
   708  | 
  if (./conftest; exit) 2>/dev/null; then
  | 
| 
sl@0
 | 
   709  | 
    ac_cv_prog_cc_cross=no
  | 
| 
sl@0
 | 
   710  | 
  else
  | 
| 
sl@0
 | 
   711  | 
    ac_cv_prog_cc_cross=yes
  | 
| 
sl@0
 | 
   712  | 
  fi
  | 
| 
sl@0
 | 
   713  | 
else
  | 
| 
sl@0
 | 
   714  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
   715  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
   716  | 
  ac_cv_prog_cc_works=no
  | 
| 
sl@0
 | 
   717  | 
fi
  | 
| 
sl@0
 | 
   718  | 
rm -fr conftest*
  | 
| 
sl@0
 | 
   719  | 
ac_ext=c
  | 
| 
sl@0
 | 
   720  | 
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  | 
| 
sl@0
 | 
   721  | 
ac_cpp='$CPP $CPPFLAGS'
  | 
| 
sl@0
 | 
   722  | 
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 | 
| 
sl@0
 | 
   723  | 
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 | 
| 
sl@0
 | 
   724  | 
cross_compiling=$ac_cv_prog_cc_cross
  | 
| 
sl@0
 | 
   725  | 
  | 
| 
sl@0
 | 
   726  | 
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
  | 
| 
sl@0
 | 
   727  | 
if test $ac_cv_prog_cc_works = no; then
  | 
| 
sl@0
 | 
   728  | 
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   729  | 
fi
  | 
| 
sl@0
 | 
   730  | 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   731  | 
echo "configure:732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
  | 
| 
sl@0
 | 
   732  | 
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
  | 
| 
sl@0
 | 
   733  | 
cross_compiling=$ac_cv_prog_cc_cross
  | 
| 
sl@0
 | 
   734  | 
  | 
| 
sl@0
 | 
   735  | 
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   736  | 
echo "configure:737: checking whether we are using GNU C" >&5
  | 
| 
sl@0
 | 
   737  | 
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   738  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   739  | 
else
  | 
| 
sl@0
 | 
   740  | 
  cat > conftest.c <<EOF
  | 
| 
sl@0
 | 
   741  | 
#ifdef __GNUC__
  | 
| 
sl@0
 | 
   742  | 
  yes;
  | 
| 
sl@0
 | 
   743  | 
#endif
  | 
| 
sl@0
 | 
   744  | 
EOF
  | 
| 
sl@0
 | 
   745  | 
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 | 
| 
sl@0
 | 
   746  | 
  ac_cv_prog_gcc=yes
  | 
| 
sl@0
 | 
   747  | 
else
  | 
| 
sl@0
 | 
   748  | 
  ac_cv_prog_gcc=no
  | 
| 
sl@0
 | 
   749  | 
fi
  | 
| 
sl@0
 | 
   750  | 
fi
  | 
| 
sl@0
 | 
   751  | 
  | 
| 
sl@0
 | 
   752  | 
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
  | 
| 
sl@0
 | 
   753  | 
  | 
| 
sl@0
 | 
   754  | 
if test $ac_cv_prog_gcc = yes; then
  | 
| 
sl@0
 | 
   755  | 
  GCC=yes
  | 
| 
sl@0
 | 
   756  | 
else
  | 
| 
sl@0
 | 
   757  | 
  GCC=
  | 
| 
sl@0
 | 
   758  | 
fi
  | 
| 
sl@0
 | 
   759  | 
  | 
| 
sl@0
 | 
   760  | 
ac_test_CFLAGS="${CFLAGS+set}"
 | 
| 
sl@0
 | 
   761  | 
ac_save_CFLAGS="$CFLAGS"
  | 
| 
sl@0
 | 
   762  | 
CFLAGS=
  | 
| 
sl@0
 | 
   763  | 
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 | 
| 
sl@0
 | 
   764  | 
echo "configure:765: checking whether ${CC-cc} accepts -g" >&5
 | 
| 
sl@0
 | 
   765  | 
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   766  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   767  | 
else
  | 
| 
sl@0
 | 
   768  | 
  echo 'void f(){}' > conftest.c
 | 
| 
sl@0
 | 
   769  | 
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
 | 
| 
sl@0
 | 
   770  | 
  ac_cv_prog_cc_g=yes
  | 
| 
sl@0
 | 
   771  | 
else
  | 
| 
sl@0
 | 
   772  | 
  ac_cv_prog_cc_g=no
  | 
| 
sl@0
 | 
   773  | 
fi
  | 
| 
sl@0
 | 
   774  | 
rm -f conftest*
  | 
| 
sl@0
 | 
   775  | 
  | 
| 
sl@0
 | 
   776  | 
fi
  | 
| 
sl@0
 | 
   777  | 
  | 
| 
sl@0
 | 
   778  | 
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
  | 
| 
sl@0
 | 
   779  | 
if test "$ac_test_CFLAGS" = set; then
  | 
| 
sl@0
 | 
   780  | 
  CFLAGS="$ac_save_CFLAGS"
  | 
| 
sl@0
 | 
   781  | 
elif test $ac_cv_prog_cc_g = yes; then
  | 
| 
sl@0
 | 
   782  | 
  if test "$GCC" = yes; then
  | 
| 
sl@0
 | 
   783  | 
    CFLAGS="-g -O2"
  | 
| 
sl@0
 | 
   784  | 
  else
  | 
| 
sl@0
 | 
   785  | 
    CFLAGS="-g"
  | 
| 
sl@0
 | 
   786  | 
  fi
  | 
| 
sl@0
 | 
   787  | 
else
  | 
| 
sl@0
 | 
   788  | 
  if test "$GCC" = yes; then
  | 
| 
sl@0
 | 
   789  | 
    CFLAGS="-O2"
  | 
| 
sl@0
 | 
   790  | 
  else
  | 
| 
sl@0
 | 
   791  | 
    CFLAGS=
  | 
| 
sl@0
 | 
   792  | 
  fi
  | 
| 
sl@0
 | 
   793  | 
fi
  | 
| 
sl@0
 | 
   794  | 
  | 
| 
sl@0
 | 
   795  | 
  | 
| 
sl@0
 | 
   796  | 
# To properly support cross-compilation, one would
  | 
| 
sl@0
 | 
   797  | 
# need to use these tool checks instead of
  | 
| 
sl@0
 | 
   798  | 
# the ones below and reconfigure with
  | 
| 
sl@0
 | 
   799  | 
# autoconf 2.50. You can also just set
  | 
| 
sl@0
 | 
   800  | 
# the CC, AR, RANLIB, and RC environment
  | 
| 
sl@0
 | 
   801  | 
# variables if you want to cross compile.
  | 
| 
sl@0
 | 
   802  | 
  | 
| 
sl@0
 | 
   803  | 
if test "${GCC}" = "yes" ; then
 | 
| 
sl@0
 | 
   804  | 
    # Extract the first word of "ar", so it can be a program name with args.
  | 
| 
sl@0
 | 
   805  | 
set dummy ar; ac_word=$2
  | 
| 
sl@0
 | 
   806  | 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   807  | 
echo "configure:808: checking for $ac_word" >&5
  | 
| 
sl@0
 | 
   808  | 
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   809  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   810  | 
else
  | 
| 
sl@0
 | 
   811  | 
  if test -n "$AR"; then
  | 
| 
sl@0
 | 
   812  | 
  ac_cv_prog_AR="$AR" # Let the user override the test.
  | 
| 
sl@0
 | 
   813  | 
else
  | 
| 
sl@0
 | 
   814  | 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
 | 
| 
sl@0
 | 
   815  | 
  ac_dummy="$PATH"
  | 
| 
sl@0
 | 
   816  | 
  for ac_dir in $ac_dummy; do
  | 
| 
sl@0
 | 
   817  | 
    test -z "$ac_dir" && ac_dir=.
  | 
| 
sl@0
 | 
   818  | 
    if test -f $ac_dir/$ac_word; then
  | 
| 
sl@0
 | 
   819  | 
      ac_cv_prog_AR="ar"
  | 
| 
sl@0
 | 
   820  | 
      break
  | 
| 
sl@0
 | 
   821  | 
    fi
  | 
| 
sl@0
 | 
   822  | 
  done
  | 
| 
sl@0
 | 
   823  | 
  IFS="$ac_save_ifs"
  | 
| 
sl@0
 | 
   824  | 
fi
  | 
| 
sl@0
 | 
   825  | 
fi
  | 
| 
sl@0
 | 
   826  | 
AR="$ac_cv_prog_AR"
  | 
| 
sl@0
 | 
   827  | 
if test -n "$AR"; then
  | 
| 
sl@0
 | 
   828  | 
  echo "$ac_t""$AR" 1>&6
  | 
| 
sl@0
 | 
   829  | 
else
  | 
| 
sl@0
 | 
   830  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
   831  | 
fi
  | 
| 
sl@0
 | 
   832  | 
  | 
| 
sl@0
 | 
   833  | 
    # Extract the first word of "ranlib", so it can be a program name with args.
  | 
| 
sl@0
 | 
   834  | 
set dummy ranlib; ac_word=$2
  | 
| 
sl@0
 | 
   835  | 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   836  | 
echo "configure:837: checking for $ac_word" >&5
  | 
| 
sl@0
 | 
   837  | 
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   838  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   839  | 
else
  | 
| 
sl@0
 | 
   840  | 
  if test -n "$RANLIB"; then
  | 
| 
sl@0
 | 
   841  | 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  | 
| 
sl@0
 | 
   842  | 
else
  | 
| 
sl@0
 | 
   843  | 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
 | 
| 
sl@0
 | 
   844  | 
  ac_dummy="$PATH"
  | 
| 
sl@0
 | 
   845  | 
  for ac_dir in $ac_dummy; do
  | 
| 
sl@0
 | 
   846  | 
    test -z "$ac_dir" && ac_dir=.
  | 
| 
sl@0
 | 
   847  | 
    if test -f $ac_dir/$ac_word; then
  | 
| 
sl@0
 | 
   848  | 
      ac_cv_prog_RANLIB="ranlib"
  | 
| 
sl@0
 | 
   849  | 
      break
  | 
| 
sl@0
 | 
   850  | 
    fi
  | 
| 
sl@0
 | 
   851  | 
  done
  | 
| 
sl@0
 | 
   852  | 
  IFS="$ac_save_ifs"
  | 
| 
sl@0
 | 
   853  | 
fi
  | 
| 
sl@0
 | 
   854  | 
fi
  | 
| 
sl@0
 | 
   855  | 
RANLIB="$ac_cv_prog_RANLIB"
  | 
| 
sl@0
 | 
   856  | 
if test -n "$RANLIB"; then
  | 
| 
sl@0
 | 
   857  | 
  echo "$ac_t""$RANLIB" 1>&6
  | 
| 
sl@0
 | 
   858  | 
else
  | 
| 
sl@0
 | 
   859  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
   860  | 
fi
  | 
| 
sl@0
 | 
   861  | 
  | 
| 
sl@0
 | 
   862  | 
    # Extract the first word of "windres", so it can be a program name with args.
  | 
| 
sl@0
 | 
   863  | 
set dummy windres; ac_word=$2
  | 
| 
sl@0
 | 
   864  | 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   865  | 
echo "configure:866: checking for $ac_word" >&5
  | 
| 
sl@0
 | 
   866  | 
if eval "test \"`echo '$''{'ac_cv_prog_RC'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   867  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   868  | 
else
  | 
| 
sl@0
 | 
   869  | 
  if test -n "$RC"; then
  | 
| 
sl@0
 | 
   870  | 
  ac_cv_prog_RC="$RC" # Let the user override the test.
  | 
| 
sl@0
 | 
   871  | 
else
  | 
| 
sl@0
 | 
   872  | 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
 | 
| 
sl@0
 | 
   873  | 
  ac_dummy="$PATH"
  | 
| 
sl@0
 | 
   874  | 
  for ac_dir in $ac_dummy; do
  | 
| 
sl@0
 | 
   875  | 
    test -z "$ac_dir" && ac_dir=.
  | 
| 
sl@0
 | 
   876  | 
    if test -f $ac_dir/$ac_word; then
  | 
| 
sl@0
 | 
   877  | 
      ac_cv_prog_RC="windres"
  | 
| 
sl@0
 | 
   878  | 
      break
  | 
| 
sl@0
 | 
   879  | 
    fi
  | 
| 
sl@0
 | 
   880  | 
  done
  | 
| 
sl@0
 | 
   881  | 
  IFS="$ac_save_ifs"
  | 
| 
sl@0
 | 
   882  | 
fi
  | 
| 
sl@0
 | 
   883  | 
fi
  | 
| 
sl@0
 | 
   884  | 
RC="$ac_cv_prog_RC"
  | 
| 
sl@0
 | 
   885  | 
if test -n "$RC"; then
  | 
| 
sl@0
 | 
   886  | 
  echo "$ac_t""$RC" 1>&6
  | 
| 
sl@0
 | 
   887  | 
else
  | 
| 
sl@0
 | 
   888  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
   889  | 
fi
  | 
| 
sl@0
 | 
   890  | 
  | 
| 
sl@0
 | 
   891  | 
  | 
| 
sl@0
 | 
   892  | 
    if test "${AR}" = "" ; then
 | 
| 
sl@0
 | 
   893  | 
	{ echo "configure: error: Required archive tool 'ar' not found on PATH." 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   894  | 
    fi
  | 
| 
sl@0
 | 
   895  | 
    if test "${RANLIB}" = "" ; then
 | 
| 
sl@0
 | 
   896  | 
	{ echo "configure: error: Required archive index tool 'ranlib' not found on PATH." 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   897  | 
    fi
  | 
| 
sl@0
 | 
   898  | 
    if test "${RC}" = "" ; then
 | 
| 
sl@0
 | 
   899  | 
	{ echo "configure: error: Required resource tool 'windres' not found on PATH." 1>&2; exit 1; }
 | 
| 
sl@0
 | 
   900  | 
    fi
  | 
| 
sl@0
 | 
   901  | 
fi
  | 
| 
sl@0
 | 
   902  | 
  | 
| 
sl@0
 | 
   903  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
   904  | 
# Checks to see if the make progeam sets the $MAKE variable.
  | 
| 
sl@0
 | 
   905  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
   906  | 
  | 
| 
sl@0
 | 
   907  | 
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
 | 
| 
sl@0
 | 
   908  | 
echo "configure:909: checking whether ${MAKE-make} sets \${MAKE}" >&5
 | 
| 
sl@0
 | 
   909  | 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
 | 
| 
sl@0
 | 
   910  | 
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   911  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   912  | 
else
  | 
| 
sl@0
 | 
   913  | 
  cat > conftestmake <<\EOF
  | 
| 
sl@0
 | 
   914  | 
all:
  | 
| 
sl@0
 | 
   915  | 
	@echo 'ac_maketemp="${MAKE}"'
 | 
| 
sl@0
 | 
   916  | 
EOF
  | 
| 
sl@0
 | 
   917  | 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  | 
| 
sl@0
 | 
   918  | 
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
 | 
| 
sl@0
 | 
   919  | 
if test -n "$ac_maketemp"; then
  | 
| 
sl@0
 | 
   920  | 
  eval ac_cv_prog_make_${ac_make}_set=yes
 | 
| 
sl@0
 | 
   921  | 
else
  | 
| 
sl@0
 | 
   922  | 
  eval ac_cv_prog_make_${ac_make}_set=no
 | 
| 
sl@0
 | 
   923  | 
fi
  | 
| 
sl@0
 | 
   924  | 
rm -f conftestmake
  | 
| 
sl@0
 | 
   925  | 
fi
  | 
| 
sl@0
 | 
   926  | 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 | 
| 
sl@0
 | 
   927  | 
  echo "$ac_t""yes" 1>&6
  | 
| 
sl@0
 | 
   928  | 
  SET_MAKE=
  | 
| 
sl@0
 | 
   929  | 
else
  | 
| 
sl@0
 | 
   930  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
   931  | 
  SET_MAKE="MAKE=${MAKE-make}"
 | 
| 
sl@0
 | 
   932  | 
fi
  | 
| 
sl@0
 | 
   933  | 
  | 
| 
sl@0
 | 
   934  | 
  | 
| 
sl@0
 | 
   935  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
   936  | 
# Perform additinal compiler tests.
  | 
| 
sl@0
 | 
   937  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
   938  | 
  | 
| 
sl@0
 | 
   939  | 
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   940  | 
echo "configure:941: checking for Cygwin environment" >&5
  | 
| 
sl@0
 | 
   941  | 
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   942  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   943  | 
else
  | 
| 
sl@0
 | 
   944  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
   945  | 
#line 946 "configure"
  | 
| 
sl@0
 | 
   946  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
   947  | 
  | 
| 
sl@0
 | 
   948  | 
int main() {
 | 
| 
sl@0
 | 
   949  | 
  | 
| 
sl@0
 | 
   950  | 
#ifndef __CYGWIN__
  | 
| 
sl@0
 | 
   951  | 
#define __CYGWIN__ __CYGWIN32__
  | 
| 
sl@0
 | 
   952  | 
#endif
  | 
| 
sl@0
 | 
   953  | 
return __CYGWIN__;
  | 
| 
sl@0
 | 
   954  | 
; return 0; }
  | 
| 
sl@0
 | 
   955  | 
EOF
  | 
| 
sl@0
 | 
   956  | 
if { (eval echo configure:957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
   957  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
   958  | 
  ac_cv_cygwin=yes
  | 
| 
sl@0
 | 
   959  | 
else
  | 
| 
sl@0
 | 
   960  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
   961  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
   962  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
   963  | 
  ac_cv_cygwin=no
  | 
| 
sl@0
 | 
   964  | 
fi
  | 
| 
sl@0
 | 
   965  | 
rm -f conftest*
  | 
| 
sl@0
 | 
   966  | 
rm -f conftest*
  | 
| 
sl@0
 | 
   967  | 
fi
  | 
| 
sl@0
 | 
   968  | 
  | 
| 
sl@0
 | 
   969  | 
echo "$ac_t""$ac_cv_cygwin" 1>&6
  | 
| 
sl@0
 | 
   970  | 
CYGWIN=
  | 
| 
sl@0
 | 
   971  | 
test "$ac_cv_cygwin" = yes && CYGWIN=yes
  | 
| 
sl@0
 | 
   972  | 
  | 
| 
sl@0
 | 
   973  | 
if test "$ac_cv_cygwin" = "yes" ; then
  | 
| 
sl@0
 | 
   974  | 
    { echo "configure: error: Compiling under Cygwin is not currently supported.
 | 
| 
sl@0
 | 
   975  | 
A maintainer for the Cygwin port of Tcl/Tk is needed. See the README
  | 
| 
sl@0
 | 
   976  | 
file for information about building with Mingw." 1>&2; exit 1; }
  | 
| 
sl@0
 | 
   977  | 
fi
  | 
| 
sl@0
 | 
   978  | 
  | 
| 
sl@0
 | 
   979  | 
  | 
| 
sl@0
 | 
   980  | 
echo $ac_n "checking for SEH support in compiler""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
   981  | 
echo "configure:982: checking for SEH support in compiler" >&5
  | 
| 
sl@0
 | 
   982  | 
if eval "test \"`echo '$''{'tcl_cv_seh'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
   983  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
   984  | 
else
  | 
| 
sl@0
 | 
   985  | 
  if test "$cross_compiling" = yes; then
  | 
| 
sl@0
 | 
   986  | 
  tcl_cv_seh=no
  | 
| 
sl@0
 | 
   987  | 
else
  | 
| 
sl@0
 | 
   988  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
   989  | 
#line 990 "configure"
  | 
| 
sl@0
 | 
   990  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
   991  | 
  | 
| 
sl@0
 | 
   992  | 
#define WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
   993  | 
#include <windows.h>
  | 
| 
sl@0
 | 
   994  | 
#undef WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
   995  | 
  | 
| 
sl@0
 | 
   996  | 
int main(int argc, char** argv) {
 | 
| 
sl@0
 | 
   997  | 
    int a, b = 0;
  | 
| 
sl@0
 | 
   998  | 
    __try {
 | 
| 
sl@0
 | 
   999  | 
        a = 666 / b;
  | 
| 
sl@0
 | 
  1000  | 
    }
  | 
| 
sl@0
 | 
  1001  | 
    __except (EXCEPTION_EXECUTE_HANDLER) {
 | 
| 
sl@0
 | 
  1002  | 
        return 0;
  | 
| 
sl@0
 | 
  1003  | 
    }
  | 
| 
sl@0
 | 
  1004  | 
    return 1;
  | 
| 
sl@0
 | 
  1005  | 
}
  | 
| 
sl@0
 | 
  1006  | 
  | 
| 
sl@0
 | 
  1007  | 
EOF
  | 
| 
sl@0
 | 
  1008  | 
if { (eval echo configure:1009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
| 
sl@0
 | 
  1009  | 
then
  | 
| 
sl@0
 | 
  1010  | 
  tcl_cv_seh=yes
  | 
| 
sl@0
 | 
  1011  | 
else
  | 
| 
sl@0
 | 
  1012  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1013  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1014  | 
  rm -fr conftest*
  | 
| 
sl@0
 | 
  1015  | 
  tcl_cv_seh=no
  | 
| 
sl@0
 | 
  1016  | 
fi
  | 
| 
sl@0
 | 
  1017  | 
rm -fr conftest*
  | 
| 
sl@0
 | 
  1018  | 
fi
  | 
| 
sl@0
 | 
  1019  | 
  | 
| 
sl@0
 | 
  1020  | 
  | 
| 
sl@0
 | 
  1021  | 
fi
  | 
| 
sl@0
 | 
  1022  | 
  | 
| 
sl@0
 | 
  1023  | 
echo "$ac_t""$tcl_cv_seh" 1>&6
  | 
| 
sl@0
 | 
  1024  | 
if test "$tcl_cv_seh" = "no" ; then
  | 
| 
sl@0
 | 
  1025  | 
    cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1026  | 
#define HAVE_NO_SEH 1
  | 
| 
sl@0
 | 
  1027  | 
EOF
  | 
| 
sl@0
 | 
  1028  | 
  | 
| 
sl@0
 | 
  1029  | 
fi
  | 
| 
sl@0
 | 
  1030  | 
  | 
| 
sl@0
 | 
  1031  | 
#
  | 
| 
sl@0
 | 
  1032  | 
# Check to see if the excpt.h include file provided contains the
  | 
| 
sl@0
 | 
  1033  | 
# definition for EXCEPTION_DISPOSITION; if not, which is the case
  | 
| 
sl@0
 | 
  1034  | 
# with Cygwin's version as of 2002-04-10, define it to be int, 
  | 
| 
sl@0
 | 
  1035  | 
# sufficient for getting the current code to work.
  | 
| 
sl@0
 | 
  1036  | 
#
  | 
| 
sl@0
 | 
  1037  | 
echo $ac_n "checking for EXCEPTION_DISPOSITION support in include files""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1038  | 
echo "configure:1039: checking for EXCEPTION_DISPOSITION support in include files" >&5
  | 
| 
sl@0
 | 
  1039  | 
if eval "test \"`echo '$''{'tcl_cv_eh_disposition'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1040  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1041  | 
else
  | 
| 
sl@0
 | 
  1042  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1043  | 
#line 1044 "configure"
  | 
| 
sl@0
 | 
  1044  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1045  | 
  | 
| 
sl@0
 | 
  1046  | 
#define WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
  1047  | 
#include <windows.h>
  | 
| 
sl@0
 | 
  1048  | 
#undef WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
  1049  | 
  | 
| 
sl@0
 | 
  1050  | 
int main() {
 | 
| 
sl@0
 | 
  1051  | 
  | 
| 
sl@0
 | 
  1052  | 
  EXCEPTION_DISPOSITION x;
  | 
| 
sl@0
 | 
  1053  | 
  | 
| 
sl@0
 | 
  1054  | 
; return 0; }
  | 
| 
sl@0
 | 
  1055  | 
EOF
  | 
| 
sl@0
 | 
  1056  | 
if { (eval echo configure:1057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
  1057  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1058  | 
  tcl_cv_eh_disposition=yes
  | 
| 
sl@0
 | 
  1059  | 
else
  | 
| 
sl@0
 | 
  1060  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1061  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1062  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1063  | 
  tcl_cv_eh_disposition=no
  | 
| 
sl@0
 | 
  1064  | 
fi
  | 
| 
sl@0
 | 
  1065  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1066  | 
  | 
| 
sl@0
 | 
  1067  | 
fi
  | 
| 
sl@0
 | 
  1068  | 
  | 
| 
sl@0
 | 
  1069  | 
echo "$ac_t""$tcl_cv_eh_disposition" 1>&6
  | 
| 
sl@0
 | 
  1070  | 
if test "$tcl_cv_eh_disposition" = "no" ; then
  | 
| 
sl@0
 | 
  1071  | 
    cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1072  | 
#define EXCEPTION_DISPOSITION int
  | 
| 
sl@0
 | 
  1073  | 
EOF
  | 
| 
sl@0
 | 
  1074  | 
  | 
| 
sl@0
 | 
  1075  | 
fi
  | 
| 
sl@0
 | 
  1076  | 
  | 
| 
sl@0
 | 
  1077  | 
  | 
| 
sl@0
 | 
  1078  | 
# Check to see if the winsock2.h include file provided contains
  | 
| 
sl@0
 | 
  1079  | 
# typedefs like LPFN_ACCEPT and friends.
  | 
| 
sl@0
 | 
  1080  | 
#
  | 
| 
sl@0
 | 
  1081  | 
echo $ac_n "checking for LPFN_ACCEPT support in winsock2.h""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1082  | 
echo "configure:1083: checking for LPFN_ACCEPT support in winsock2.h" >&5
  | 
| 
sl@0
 | 
  1083  | 
if eval "test \"`echo '$''{'tcl_cv_lpfn_decls'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1084  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1085  | 
else
  | 
| 
sl@0
 | 
  1086  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1087  | 
#line 1088 "configure"
  | 
| 
sl@0
 | 
  1088  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1089  | 
  | 
| 
sl@0
 | 
  1090  | 
#define WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
  1091  | 
#include <windows.h>
  | 
| 
sl@0
 | 
  1092  | 
#undef WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
  1093  | 
#include <winsock2.h>
  | 
| 
sl@0
 | 
  1094  | 
  | 
| 
sl@0
 | 
  1095  | 
int main() {
 | 
| 
sl@0
 | 
  1096  | 
  | 
| 
sl@0
 | 
  1097  | 
  LPFN_ACCEPT accept;
  | 
| 
sl@0
 | 
  1098  | 
  | 
| 
sl@0
 | 
  1099  | 
; return 0; }
  | 
| 
sl@0
 | 
  1100  | 
EOF
  | 
| 
sl@0
 | 
  1101  | 
if { (eval echo configure:1102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
  1102  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1103  | 
  tcl_cv_lpfn_decls=yes
  | 
| 
sl@0
 | 
  1104  | 
else
  | 
| 
sl@0
 | 
  1105  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1106  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1107  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1108  | 
  tcl_cv_lpfn_decls=no
  | 
| 
sl@0
 | 
  1109  | 
fi
  | 
| 
sl@0
 | 
  1110  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1111  | 
  | 
| 
sl@0
 | 
  1112  | 
fi
  | 
| 
sl@0
 | 
  1113  | 
  | 
| 
sl@0
 | 
  1114  | 
echo "$ac_t""$tcl_cv_lpfn_decls" 1>&6
  | 
| 
sl@0
 | 
  1115  | 
if test "$tcl_cv_lpfn_decls" = "no" ; then
  | 
| 
sl@0
 | 
  1116  | 
    cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1117  | 
#define HAVE_NO_LPFN_DECLS 1
  | 
| 
sl@0
 | 
  1118  | 
EOF
  | 
| 
sl@0
 | 
  1119  | 
  | 
| 
sl@0
 | 
  1120  | 
fi
  | 
| 
sl@0
 | 
  1121  | 
  | 
| 
sl@0
 | 
  1122  | 
# Check to see if winnt.h defines CHAR, SHORT, and LONG
  | 
| 
sl@0
 | 
  1123  | 
# even if VOID has already been #defined. The win32api
  | 
| 
sl@0
 | 
  1124  | 
# used by mingw and cygwin is known to do this.
  | 
| 
sl@0
 | 
  1125  | 
  | 
| 
sl@0
 | 
  1126  | 
echo $ac_n "checking for winnt.h that ignores VOID define""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1127  | 
echo "configure:1128: checking for winnt.h that ignores VOID define" >&5
  | 
| 
sl@0
 | 
  1128  | 
if eval "test \"`echo '$''{'tcl_cv_winnt_ignore_void'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1129  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1130  | 
else
  | 
| 
sl@0
 | 
  1131  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1132  | 
#line 1133 "configure"
  | 
| 
sl@0
 | 
  1133  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1134  | 
  | 
| 
sl@0
 | 
  1135  | 
#define VOID void
  | 
| 
sl@0
 | 
  1136  | 
#define WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
  1137  | 
#include <windows.h>
  | 
| 
sl@0
 | 
  1138  | 
#undef WIN32_LEAN_AND_MEAN
  | 
| 
sl@0
 | 
  1139  | 
  | 
| 
sl@0
 | 
  1140  | 
int main() {
 | 
| 
sl@0
 | 
  1141  | 
  | 
| 
sl@0
 | 
  1142  | 
  CHAR c;
  | 
| 
sl@0
 | 
  1143  | 
  SHORT s;
  | 
| 
sl@0
 | 
  1144  | 
  LONG l;
  | 
| 
sl@0
 | 
  1145  | 
  | 
| 
sl@0
 | 
  1146  | 
; return 0; }
  | 
| 
sl@0
 | 
  1147  | 
EOF
  | 
| 
sl@0
 | 
  1148  | 
if { (eval echo configure:1149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
  1149  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1150  | 
  tcl_cv_winnt_ignore_void=yes
  | 
| 
sl@0
 | 
  1151  | 
else
  | 
| 
sl@0
 | 
  1152  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1153  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1154  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1155  | 
  tcl_cv_winnt_ignore_void=no
  | 
| 
sl@0
 | 
  1156  | 
fi
  | 
| 
sl@0
 | 
  1157  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1158  | 
  | 
| 
sl@0
 | 
  1159  | 
fi
  | 
| 
sl@0
 | 
  1160  | 
  | 
| 
sl@0
 | 
  1161  | 
echo "$ac_t""$tcl_cv_winnt_ignore_void" 1>&6
  | 
| 
sl@0
 | 
  1162  | 
if test "$tcl_cv_winnt_ignore_void" = "yes" ; then
  | 
| 
sl@0
 | 
  1163  | 
    cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1164  | 
#define HAVE_WINNT_IGNORE_VOID 1
  | 
| 
sl@0
 | 
  1165  | 
EOF
  | 
| 
sl@0
 | 
  1166  | 
  | 
| 
sl@0
 | 
  1167  | 
fi
  | 
| 
sl@0
 | 
  1168  | 
  | 
| 
sl@0
 | 
  1169  | 
# Check to see if malloc.h is missing the alloca function
  | 
| 
sl@0
 | 
  1170  | 
# declaration. This is known to be a problem with Mingw.
  | 
| 
sl@0
 | 
  1171  | 
# If we compiled without the function declaration, it
  | 
| 
sl@0
 | 
  1172  | 
# would work but we would get a warning message from gcc.
  | 
| 
sl@0
 | 
  1173  | 
# If we add the function declaration ourselves, it
  | 
| 
sl@0
 | 
  1174  | 
# would not compile correctly because the _alloca
  | 
| 
sl@0
 | 
  1175  | 
# function expects the argument to be passed in a
  | 
| 
sl@0
 | 
  1176  | 
# register and not on the stack. Instead, we just
  | 
| 
sl@0
 | 
  1177  | 
# call it from inline asm code.
  | 
| 
sl@0
 | 
  1178  | 
  | 
| 
sl@0
 | 
  1179  | 
echo $ac_n "checking for alloca declaration in malloc.h""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1180  | 
echo "configure:1181: checking for alloca declaration in malloc.h" >&5
  | 
| 
sl@0
 | 
  1181  | 
if eval "test \"`echo '$''{'tcl_cv_malloc_decl_alloca'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1182  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1183  | 
else
  | 
| 
sl@0
 | 
  1184  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1185  | 
#line 1186 "configure"
  | 
| 
sl@0
 | 
  1186  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1187  | 
  | 
| 
sl@0
 | 
  1188  | 
#include <malloc.h>
  | 
| 
sl@0
 | 
  1189  | 
  | 
| 
sl@0
 | 
  1190  | 
int main() {
 | 
| 
sl@0
 | 
  1191  | 
  | 
| 
sl@0
 | 
  1192  | 
  size_t arg = 0;
  | 
| 
sl@0
 | 
  1193  | 
  void* ptr;
  | 
| 
sl@0
 | 
  1194  | 
  ptr = alloca;
  | 
| 
sl@0
 | 
  1195  | 
  ptr = alloca(arg);
  | 
| 
sl@0
 | 
  1196  | 
  | 
| 
sl@0
 | 
  1197  | 
; return 0; }
  | 
| 
sl@0
 | 
  1198  | 
EOF
  | 
| 
sl@0
 | 
  1199  | 
if { (eval echo configure:1200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
  1200  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1201  | 
  tcl_cv_malloc_decl_alloca=yes
  | 
| 
sl@0
 | 
  1202  | 
else
  | 
| 
sl@0
 | 
  1203  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1204  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1205  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1206  | 
  tcl_cv_malloc_decl_alloca=no
  | 
| 
sl@0
 | 
  1207  | 
fi
  | 
| 
sl@0
 | 
  1208  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1209  | 
  | 
| 
sl@0
 | 
  1210  | 
fi
  | 
| 
sl@0
 | 
  1211  | 
  | 
| 
sl@0
 | 
  1212  | 
echo "$ac_t""$tcl_cv_malloc_decl_alloca" 1>&6
  | 
| 
sl@0
 | 
  1213  | 
if test "$tcl_cv_malloc_decl_alloca" = "no" &&
  | 
| 
sl@0
 | 
  1214  | 
   test "${GCC}" = "yes" ; then
 | 
| 
sl@0
 | 
  1215  | 
    cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1216  | 
#define HAVE_ALLOCA_GCC_INLINE 1
  | 
| 
sl@0
 | 
  1217  | 
EOF
  | 
| 
sl@0
 | 
  1218  | 
  | 
| 
sl@0
 | 
  1219  | 
fi
  | 
| 
sl@0
 | 
  1220  | 
  | 
| 
sl@0
 | 
  1221  | 
# See if the compiler supports casting to a union type.
  | 
| 
sl@0
 | 
  1222  | 
# This is used to stop gcc from printing a compiler
  | 
| 
sl@0
 | 
  1223  | 
# warning when initializing a union member.
  | 
| 
sl@0
 | 
  1224  | 
  | 
| 
sl@0
 | 
  1225  | 
echo $ac_n "checking for cast to union support""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1226  | 
echo "configure:1227: checking for cast to union support" >&5
  | 
| 
sl@0
 | 
  1227  | 
if eval "test \"`echo '$''{'tcl_cv_cast_to_union'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1228  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1229  | 
else
  | 
| 
sl@0
 | 
  1230  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1231  | 
#line 1232 "configure"
  | 
| 
sl@0
 | 
  1232  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1233  | 
  | 
| 
sl@0
 | 
  1234  | 
int main() {
 | 
| 
sl@0
 | 
  1235  | 
  | 
| 
sl@0
 | 
  1236  | 
  union foo { int i; double d; };
 | 
| 
sl@0
 | 
  1237  | 
  union foo f = (union foo) (int) 0;
  | 
| 
sl@0
 | 
  1238  | 
  | 
| 
sl@0
 | 
  1239  | 
; return 0; }
  | 
| 
sl@0
 | 
  1240  | 
EOF
  | 
| 
sl@0
 | 
  1241  | 
if { (eval echo configure:1242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
  1242  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1243  | 
  tcl_cv_cast_to_union=yes
  | 
| 
sl@0
 | 
  1244  | 
else
  | 
| 
sl@0
 | 
  1245  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1246  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1247  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1248  | 
  tcl_cv_cast_to_union=no
  | 
| 
sl@0
 | 
  1249  | 
fi
  | 
| 
sl@0
 | 
  1250  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1251  | 
  | 
| 
sl@0
 | 
  1252  | 
fi
  | 
| 
sl@0
 | 
  1253  | 
  | 
| 
sl@0
 | 
  1254  | 
echo "$ac_t""$tcl_cv_cast_to_union" 1>&6
  | 
| 
sl@0
 | 
  1255  | 
if test "$tcl_cv_cast_to_union" = "yes"; then
  | 
| 
sl@0
 | 
  1256  | 
    cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1257  | 
#define HAVE_CAST_TO_UNION 1
  | 
| 
sl@0
 | 
  1258  | 
EOF
  | 
| 
sl@0
 | 
  1259  | 
  | 
| 
sl@0
 | 
  1260  | 
fi
  | 
| 
sl@0
 | 
  1261  | 
  | 
| 
sl@0
 | 
  1262  | 
  | 
| 
sl@0
 | 
  1263  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1264  | 
# Determines the correct binary file extension (.o, .obj, .exe etc.)
  | 
| 
sl@0
 | 
  1265  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1266  | 
  | 
| 
sl@0
 | 
  1267  | 
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1268  | 
echo "configure:1269: checking for object suffix" >&5
  | 
| 
sl@0
 | 
  1269  | 
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1270  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1271  | 
else
  | 
| 
sl@0
 | 
  1272  | 
  rm -f conftest*
  | 
| 
sl@0
 | 
  1273  | 
echo 'int i = 1;' > conftest.$ac_ext
  | 
| 
sl@0
 | 
  1274  | 
if { (eval echo configure:1275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
  1275  | 
  for ac_file in conftest.*; do
  | 
| 
sl@0
 | 
  1276  | 
    case $ac_file in
  | 
| 
sl@0
 | 
  1277  | 
    *.c) ;;
  | 
| 
sl@0
 | 
  1278  | 
    *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
  | 
| 
sl@0
 | 
  1279  | 
    esac
  | 
| 
sl@0
 | 
  1280  | 
  done
  | 
| 
sl@0
 | 
  1281  | 
else
  | 
| 
sl@0
 | 
  1282  | 
  { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
 | 
| 
sl@0
 | 
  1283  | 
fi
  | 
| 
sl@0
 | 
  1284  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1285  | 
fi
  | 
| 
sl@0
 | 
  1286  | 
  | 
| 
sl@0
 | 
  1287  | 
echo "$ac_t""$ac_cv_objext" 1>&6
  | 
| 
sl@0
 | 
  1288  | 
OBJEXT=$ac_cv_objext
  | 
| 
sl@0
 | 
  1289  | 
ac_objext=$ac_cv_objext
  | 
| 
sl@0
 | 
  1290  | 
  | 
| 
sl@0
 | 
  1291  | 
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1292  | 
echo "configure:1293: checking for mingw32 environment" >&5
  | 
| 
sl@0
 | 
  1293  | 
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1294  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1295  | 
else
  | 
| 
sl@0
 | 
  1296  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1297  | 
#line 1298 "configure"
  | 
| 
sl@0
 | 
  1298  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1299  | 
  | 
| 
sl@0
 | 
  1300  | 
int main() {
 | 
| 
sl@0
 | 
  1301  | 
return __MINGW32__;
  | 
| 
sl@0
 | 
  1302  | 
; return 0; }
  | 
| 
sl@0
 | 
  1303  | 
EOF
  | 
| 
sl@0
 | 
  1304  | 
if { (eval echo configure:1305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
| 
sl@0
 | 
  1305  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1306  | 
  ac_cv_mingw32=yes
  | 
| 
sl@0
 | 
  1307  | 
else
  | 
| 
sl@0
 | 
  1308  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1309  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1310  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1311  | 
  ac_cv_mingw32=no
  | 
| 
sl@0
 | 
  1312  | 
fi
  | 
| 
sl@0
 | 
  1313  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1314  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1315  | 
fi
  | 
| 
sl@0
 | 
  1316  | 
  | 
| 
sl@0
 | 
  1317  | 
echo "$ac_t""$ac_cv_mingw32" 1>&6
  | 
| 
sl@0
 | 
  1318  | 
MINGW32=
  | 
| 
sl@0
 | 
  1319  | 
test "$ac_cv_mingw32" = yes && MINGW32=yes
  | 
| 
sl@0
 | 
  1320  | 
  | 
| 
sl@0
 | 
  1321  | 
  | 
| 
sl@0
 | 
  1322  | 
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1323  | 
echo "configure:1324: checking for executable suffix" >&5
  | 
| 
sl@0
 | 
  1324  | 
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1325  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1326  | 
else
  | 
| 
sl@0
 | 
  1327  | 
  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
  | 
| 
sl@0
 | 
  1328  | 
  ac_cv_exeext=.exe
  | 
| 
sl@0
 | 
  1329  | 
else
  | 
| 
sl@0
 | 
  1330  | 
  rm -f conftest*
  | 
| 
sl@0
 | 
  1331  | 
  echo 'int main () { return 0; }' > conftest.$ac_ext
 | 
| 
sl@0
 | 
  1332  | 
  ac_cv_exeext=
  | 
| 
sl@0
 | 
  1333  | 
  if { (eval echo configure:1334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
 | 
| 
sl@0
 | 
  1334  | 
    for file in conftest.*; do
  | 
| 
sl@0
 | 
  1335  | 
      case $file in
  | 
| 
sl@0
 | 
  1336  | 
      *.c | *.o | *.obj) ;;
  | 
| 
sl@0
 | 
  1337  | 
      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
  | 
| 
sl@0
 | 
  1338  | 
      esac
  | 
| 
sl@0
 | 
  1339  | 
    done
  | 
| 
sl@0
 | 
  1340  | 
  else
  | 
| 
sl@0
 | 
  1341  | 
    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
 | 
| 
sl@0
 | 
  1342  | 
  fi
  | 
| 
sl@0
 | 
  1343  | 
  rm -f conftest*
  | 
| 
sl@0
 | 
  1344  | 
  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
 | 
| 
sl@0
 | 
  1345  | 
fi
  | 
| 
sl@0
 | 
  1346  | 
fi
  | 
| 
sl@0
 | 
  1347  | 
  | 
| 
sl@0
 | 
  1348  | 
EXEEXT=""
  | 
| 
sl@0
 | 
  1349  | 
test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
 | 
| 
sl@0
 | 
  1350  | 
echo "$ac_t""${ac_cv_exeext}" 1>&6
 | 
| 
sl@0
 | 
  1351  | 
ac_exeext=$EXEEXT
  | 
| 
sl@0
 | 
  1352  | 
  | 
| 
sl@0
 | 
  1353  | 
  | 
| 
sl@0
 | 
  1354  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1355  | 
# Check whether --enable-threads or --disable-threads was given.
  | 
| 
sl@0
 | 
  1356  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1357  | 
  | 
| 
sl@0
 | 
  1358  | 
  | 
| 
sl@0
 | 
  1359  | 
    echo $ac_n "checking for building with threads""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1360  | 
echo "configure:1361: checking for building with threads" >&5
  | 
| 
sl@0
 | 
  1361  | 
    # Check whether --enable-threads or --disable-threads was given.
  | 
| 
sl@0
 | 
  1362  | 
if test "${enable_threads+set}" = set; then
 | 
| 
sl@0
 | 
  1363  | 
  enableval="$enable_threads"
  | 
| 
sl@0
 | 
  1364  | 
  tcl_ok=$enableval
  | 
| 
sl@0
 | 
  1365  | 
else
  | 
| 
sl@0
 | 
  1366  | 
  tcl_ok=no
  | 
| 
sl@0
 | 
  1367  | 
fi
  | 
| 
sl@0
 | 
  1368  | 
  | 
| 
sl@0
 | 
  1369  | 
  | 
| 
sl@0
 | 
  1370  | 
    if test "$tcl_ok" = "yes"; then
  | 
| 
sl@0
 | 
  1371  | 
	echo "$ac_t""yes" 1>&6
  | 
| 
sl@0
 | 
  1372  | 
	TCL_THREADS=1
  | 
| 
sl@0
 | 
  1373  | 
	cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1374  | 
#define TCL_THREADS 1
  | 
| 
sl@0
 | 
  1375  | 
EOF
  | 
| 
sl@0
 | 
  1376  | 
  | 
| 
sl@0
 | 
  1377  | 
	# USE_THREAD_ALLOC tells us to try the special thread-based
  | 
| 
sl@0
 | 
  1378  | 
	# allocator that significantly reduces lock contention
  | 
| 
sl@0
 | 
  1379  | 
	cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1380  | 
#define USE_THREAD_ALLOC 1
  | 
| 
sl@0
 | 
  1381  | 
EOF
  | 
| 
sl@0
 | 
  1382  | 
  | 
| 
sl@0
 | 
  1383  | 
    else
  | 
| 
sl@0
 | 
  1384  | 
	TCL_THREADS=0
  | 
| 
sl@0
 | 
  1385  | 
	echo "$ac_t""no (default)" 1>&6
  | 
| 
sl@0
 | 
  1386  | 
    fi
  | 
| 
sl@0
 | 
  1387  | 
    
  | 
| 
sl@0
 | 
  1388  | 
  | 
| 
sl@0
 | 
  1389  | 
  | 
| 
sl@0
 | 
  1390  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1391  | 
# The statements below define a collection of symbols related to
  | 
| 
sl@0
 | 
  1392  | 
# building libtcl as a shared library instead of a static library.
  | 
| 
sl@0
 | 
  1393  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1394  | 
  | 
| 
sl@0
 | 
  1395  | 
  | 
| 
sl@0
 | 
  1396  | 
    echo $ac_n "checking how to build libraries""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1397  | 
echo "configure:1398: checking how to build libraries" >&5
  | 
| 
sl@0
 | 
  1398  | 
    # Check whether --enable-shared or --disable-shared was given.
  | 
| 
sl@0
 | 
  1399  | 
if test "${enable_shared+set}" = set; then
 | 
| 
sl@0
 | 
  1400  | 
  enableval="$enable_shared"
  | 
| 
sl@0
 | 
  1401  | 
  tcl_ok=$enableval
  | 
| 
sl@0
 | 
  1402  | 
else
  | 
| 
sl@0
 | 
  1403  | 
  tcl_ok=yes
  | 
| 
sl@0
 | 
  1404  | 
fi
  | 
| 
sl@0
 | 
  1405  | 
  | 
| 
sl@0
 | 
  1406  | 
  | 
| 
sl@0
 | 
  1407  | 
    if test "${enable_shared+set}" = set; then
 | 
| 
sl@0
 | 
  1408  | 
	enableval="$enable_shared"
  | 
| 
sl@0
 | 
  1409  | 
	tcl_ok=$enableval
  | 
| 
sl@0
 | 
  1410  | 
    else
  | 
| 
sl@0
 | 
  1411  | 
	tcl_ok=yes
  | 
| 
sl@0
 | 
  1412  | 
    fi
  | 
| 
sl@0
 | 
  1413  | 
  | 
| 
sl@0
 | 
  1414  | 
    if test "$tcl_ok" = "yes" ; then
  | 
| 
sl@0
 | 
  1415  | 
	echo "$ac_t""shared" 1>&6
  | 
| 
sl@0
 | 
  1416  | 
	SHARED_BUILD=1
  | 
| 
sl@0
 | 
  1417  | 
    else
  | 
| 
sl@0
 | 
  1418  | 
	echo "$ac_t""static" 1>&6
  | 
| 
sl@0
 | 
  1419  | 
	SHARED_BUILD=0
  | 
| 
sl@0
 | 
  1420  | 
	cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1421  | 
#define STATIC_BUILD 1
  | 
| 
sl@0
 | 
  1422  | 
EOF
  | 
| 
sl@0
 | 
  1423  | 
  | 
| 
sl@0
 | 
  1424  | 
    fi
  | 
| 
sl@0
 | 
  1425  | 
  | 
| 
sl@0
 | 
  1426  | 
  | 
| 
sl@0
 | 
  1427  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1428  | 
# The statements below define a collection of compile flags.  This 
  | 
| 
sl@0
 | 
  1429  | 
# macro depends on the value of SHARED_BUILD, and should be called
  | 
| 
sl@0
 | 
  1430  | 
# after SC_ENABLE_SHARED checks the configure switches.
  | 
| 
sl@0
 | 
  1431  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1432  | 
  | 
| 
sl@0
 | 
  1433  | 
  | 
| 
sl@0
 | 
  1434  | 
  | 
| 
sl@0
 | 
  1435  | 
    # Step 0: Enable 64 bit support?
  | 
| 
sl@0
 | 
  1436  | 
  | 
| 
sl@0
 | 
  1437  | 
    echo $ac_n "checking if 64bit support is requested""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1438  | 
echo "configure:1439: checking if 64bit support is requested" >&5
  | 
| 
sl@0
 | 
  1439  | 
    # Check whether --enable-64bit or --disable-64bit was given.
  | 
| 
sl@0
 | 
  1440  | 
if test "${enable_64bit+set}" = set; then
 | 
| 
sl@0
 | 
  1441  | 
  enableval="$enable_64bit"
  | 
| 
sl@0
 | 
  1442  | 
  do64bit=$enableval
  | 
| 
sl@0
 | 
  1443  | 
else
  | 
| 
sl@0
 | 
  1444  | 
  do64bit=no
  | 
| 
sl@0
 | 
  1445  | 
fi
  | 
| 
sl@0
 | 
  1446  | 
  | 
| 
sl@0
 | 
  1447  | 
    echo "$ac_t""$do64bit" 1>&6
  | 
| 
sl@0
 | 
  1448  | 
  | 
| 
sl@0
 | 
  1449  | 
    # Set some defaults (may get changed below)
  | 
| 
sl@0
 | 
  1450  | 
    EXTRA_CFLAGS=""
  | 
| 
sl@0
 | 
  1451  | 
  | 
| 
sl@0
 | 
  1452  | 
    # Extract the first word of "cygpath", so it can be a program name with args.
  | 
| 
sl@0
 | 
  1453  | 
set dummy cygpath; ac_word=$2
  | 
| 
sl@0
 | 
  1454  | 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1455  | 
echo "configure:1456: checking for $ac_word" >&5
  | 
| 
sl@0
 | 
  1456  | 
if eval "test \"`echo '$''{'ac_cv_prog_CYGPATH'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1457  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1458  | 
else
  | 
| 
sl@0
 | 
  1459  | 
  if test -n "$CYGPATH"; then
  | 
| 
sl@0
 | 
  1460  | 
  ac_cv_prog_CYGPATH="$CYGPATH" # Let the user override the test.
  | 
| 
sl@0
 | 
  1461  | 
else
  | 
| 
sl@0
 | 
  1462  | 
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
 | 
| 
sl@0
 | 
  1463  | 
  ac_dummy="$PATH"
  | 
| 
sl@0
 | 
  1464  | 
  for ac_dir in $ac_dummy; do
  | 
| 
sl@0
 | 
  1465  | 
    test -z "$ac_dir" && ac_dir=.
  | 
| 
sl@0
 | 
  1466  | 
    if test -f $ac_dir/$ac_word; then
  | 
| 
sl@0
 | 
  1467  | 
      ac_cv_prog_CYGPATH="cygpath -w"
  | 
| 
sl@0
 | 
  1468  | 
      break
  | 
| 
sl@0
 | 
  1469  | 
    fi
  | 
| 
sl@0
 | 
  1470  | 
  done
  | 
| 
sl@0
 | 
  1471  | 
  IFS="$ac_save_ifs"
  | 
| 
sl@0
 | 
  1472  | 
  test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo"
  | 
| 
sl@0
 | 
  1473  | 
fi
  | 
| 
sl@0
 | 
  1474  | 
fi
  | 
| 
sl@0
 | 
  1475  | 
CYGPATH="$ac_cv_prog_CYGPATH"
  | 
| 
sl@0
 | 
  1476  | 
if test -n "$CYGPATH"; then
  | 
| 
sl@0
 | 
  1477  | 
  echo "$ac_t""$CYGPATH" 1>&6
  | 
| 
sl@0
 | 
  1478  | 
else
  | 
| 
sl@0
 | 
  1479  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
  1480  | 
fi
  | 
| 
sl@0
 | 
  1481  | 
  | 
| 
sl@0
 | 
  1482  | 
  | 
| 
sl@0
 | 
  1483  | 
    SHLIB_SUFFIX=".dll"
  | 
| 
sl@0
 | 
  1484  | 
  | 
| 
sl@0
 | 
  1485  | 
    # MACHINE is IX86 for LINK, but this is used by the manifest,
  | 
| 
sl@0
 | 
  1486  | 
    # which requires x86|amd64|ia64.
  | 
| 
sl@0
 | 
  1487  | 
    MACHINE="X86"
  | 
| 
sl@0
 | 
  1488  | 
  | 
| 
sl@0
 | 
  1489  | 
    # Check for a bug in gcc's windres that causes the
  | 
| 
sl@0
 | 
  1490  | 
    # compile to fail when a Windows native path is
  | 
| 
sl@0
 | 
  1491  | 
    # passed into windres. The mingw toolchain requires
  | 
| 
sl@0
 | 
  1492  | 
    # Windows native paths while Cygwin should work
  | 
| 
sl@0
 | 
  1493  | 
    # with both. Avoid the bug by passing a POSIX
  | 
| 
sl@0
 | 
  1494  | 
    # path when using the Cygwin toolchain.
  | 
| 
sl@0
 | 
  1495  | 
  | 
| 
sl@0
 | 
  1496  | 
    if test "$GCC" = "yes" && test "$CYGPATH" != "echo" ; then
  | 
| 
sl@0
 | 
  1497  | 
	conftest=/tmp/conftest.rc
  | 
| 
sl@0
 | 
  1498  | 
	echo "STRINGTABLE BEGIN" > $conftest
  | 
| 
sl@0
 | 
  1499  | 
	echo "101 \"name\"" >> $conftest
  | 
| 
sl@0
 | 
  1500  | 
	echo "END" >> $conftest
  | 
| 
sl@0
 | 
  1501  | 
  | 
| 
sl@0
 | 
  1502  | 
	echo $ac_n "checking for Windows native path bug in windres""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1503  | 
echo "configure:1504: checking for Windows native path bug in windres" >&5
  | 
| 
sl@0
 | 
  1504  | 
	cyg_conftest=`$CYGPATH $conftest`
  | 
| 
sl@0
 | 
  1505  | 
	if { ac_try='$RC -o conftest.res.o $cyg_conftest'; { (eval echo configure:1506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
 | 
| 
sl@0
 | 
  1506  | 
	    echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
  1507  | 
	else
  | 
| 
sl@0
 | 
  1508  | 
	    echo "$ac_t""yes" 1>&6
  | 
| 
sl@0
 | 
  1509  | 
	    CYGPATH=echo
  | 
| 
sl@0
 | 
  1510  | 
	fi
  | 
| 
sl@0
 | 
  1511  | 
	conftest=
  | 
| 
sl@0
 | 
  1512  | 
	cyg_conftest=
  | 
| 
sl@0
 | 
  1513  | 
    fi
  | 
| 
sl@0
 | 
  1514  | 
  | 
| 
sl@0
 | 
  1515  | 
    if test "$CYGPATH" = "echo" || test "$ac_cv_cygwin" = "yes"; then
  | 
| 
sl@0
 | 
  1516  | 
        DEPARG='"$<"'
  | 
| 
sl@0
 | 
  1517  | 
    else
  | 
| 
sl@0
 | 
  1518  | 
        DEPARG='"$(shell $(CYGPATH) $<)"'
  | 
| 
sl@0
 | 
  1519  | 
    fi
  | 
| 
sl@0
 | 
  1520  | 
  | 
| 
sl@0
 | 
  1521  | 
    # set various compiler flags depending on whether we are using gcc or cl
  | 
| 
sl@0
 | 
  1522  | 
  | 
| 
sl@0
 | 
  1523  | 
    echo $ac_n "checking compiler flags""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1524  | 
echo "configure:1525: checking compiler flags" >&5
  | 
| 
sl@0
 | 
  1525  | 
    if test "${GCC}" = "yes" ; then
 | 
| 
sl@0
 | 
  1526  | 
	if test "$do64bit" != "no" ; then
  | 
| 
sl@0
 | 
  1527  | 
	    echo "configure: warning: "64bit mode not supported with GCC on Windows"" 1>&2
  | 
| 
sl@0
 | 
  1528  | 
	fi
  | 
| 
sl@0
 | 
  1529  | 
	SHLIB_LD=""
  | 
| 
sl@0
 | 
  1530  | 
	SHLIB_LD_LIBS=""
  | 
| 
sl@0
 | 
  1531  | 
	LIBS=""
  | 
| 
sl@0
 | 
  1532  | 
	LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32"
  | 
| 
sl@0
 | 
  1533  | 
	STLIB_LD='${AR} cr'
 | 
| 
sl@0
 | 
  1534  | 
	RC_OUT=-o
  | 
| 
sl@0
 | 
  1535  | 
	RC_TYPE=
  | 
| 
sl@0
 | 
  1536  | 
	RC_INCLUDE=--include
  | 
| 
sl@0
 | 
  1537  | 
	RC_DEFINE=--define
  | 
| 
sl@0
 | 
  1538  | 
	RES=res.o
  | 
| 
sl@0
 | 
  1539  | 
	MAKE_LIB="\${STLIB_LD} \$@"
 | 
| 
sl@0
 | 
  1540  | 
	POST_MAKE_LIB="\${RANLIB} \$@"
 | 
| 
sl@0
 | 
  1541  | 
	MAKE_EXE="\${CC} -o \$@"
 | 
| 
sl@0
 | 
  1542  | 
	LIBPREFIX="lib"
  | 
| 
sl@0
 | 
  1543  | 
  | 
| 
sl@0
 | 
  1544  | 
	#if test "$ac_cv_cygwin" = "yes"; then
  | 
| 
sl@0
 | 
  1545  | 
	#    extra_cflags="-mno-cygwin"
  | 
| 
sl@0
 | 
  1546  | 
	#    extra_ldflags="-mno-cygwin"
  | 
| 
sl@0
 | 
  1547  | 
	#else
  | 
| 
sl@0
 | 
  1548  | 
	#    extra_cflags=""
  | 
| 
sl@0
 | 
  1549  | 
	#    extra_ldflags=""
  | 
| 
sl@0
 | 
  1550  | 
	#fi
  | 
| 
sl@0
 | 
  1551  | 
  | 
| 
sl@0
 | 
  1552  | 
	if test "$ac_cv_cygwin" = "yes"; then
  | 
| 
sl@0
 | 
  1553  | 
	  touch ac$$.c
  | 
| 
sl@0
 | 
  1554  | 
	  if ${CC} -c -mwin32 ac$$.c >/dev/null 2>&1; then
 | 
| 
sl@0
 | 
  1555  | 
	    case "$extra_cflags" in
  | 
| 
sl@0
 | 
  1556  | 
	      *-mwin32*) ;;
  | 
| 
sl@0
 | 
  1557  | 
	      *) extra_cflags="-mwin32 $extra_cflags" ;;
  | 
| 
sl@0
 | 
  1558  | 
	    esac
  | 
| 
sl@0
 | 
  1559  | 
	    case "$extra_ldflags" in
  | 
| 
sl@0
 | 
  1560  | 
	      *-mwin32*) ;;
  | 
| 
sl@0
 | 
  1561  | 
	      *) extra_ldflags="-mwin32 $extra_ldflags" ;;
  | 
| 
sl@0
 | 
  1562  | 
	    esac
  | 
| 
sl@0
 | 
  1563  | 
	  fi
  | 
| 
sl@0
 | 
  1564  | 
	  rm -f ac$$.o ac$$.c
  | 
| 
sl@0
 | 
  1565  | 
	else
  | 
| 
sl@0
 | 
  1566  | 
	  extra_cflags=''
  | 
| 
sl@0
 | 
  1567  | 
	  extra_ldflags=''
  | 
| 
sl@0
 | 
  1568  | 
	fi
  | 
| 
sl@0
 | 
  1569  | 
  | 
| 
sl@0
 | 
  1570  | 
	if test "${SHARED_BUILD}" = "0" ; then
 | 
| 
sl@0
 | 
  1571  | 
	    # static
  | 
| 
sl@0
 | 
  1572  | 
            echo "$ac_t""using static flags" 1>&6
  | 
| 
sl@0
 | 
  1573  | 
	    runtime=
  | 
| 
sl@0
 | 
  1574  | 
	    MAKE_DLL="echo "
  | 
| 
sl@0
 | 
  1575  | 
	    LIBSUFFIX="s\${DBGX}.a"
 | 
| 
sl@0
 | 
  1576  | 
	    LIBFLAGSUFFIX="s\${DBGX}"
 | 
| 
sl@0
 | 
  1577  | 
	    LIBRARIES="\${STATIC_LIBRARIES}"
 | 
| 
sl@0
 | 
  1578  | 
	    EXESUFFIX="s\${DBGX}.exe"
 | 
| 
sl@0
 | 
  1579  | 
	else
  | 
| 
sl@0
 | 
  1580  | 
	    # dynamic
  | 
| 
sl@0
 | 
  1581  | 
            echo "$ac_t""using shared flags" 1>&6
  | 
| 
sl@0
 | 
  1582  | 
  | 
| 
sl@0
 | 
  1583  | 
	    # ad-hoc check to see if CC supports -shared.
  | 
| 
sl@0
 | 
  1584  | 
	    if "${CC}" -shared 2>&1 | egrep ': -shared not supported' >/dev/null; then
 | 
| 
sl@0
 | 
  1585  | 
		{ echo "configure: error: ${CC} does not support the -shared option.
 | 
| 
sl@0
 | 
  1586  | 
                You will need to upgrade to a newer version of the toolchain." 1>&2; exit 1; }
  | 
| 
sl@0
 | 
  1587  | 
	    fi
  | 
| 
sl@0
 | 
  1588  | 
  | 
| 
sl@0
 | 
  1589  | 
	    runtime=
  | 
| 
sl@0
 | 
  1590  | 
	    # Link with gcc since ld does not link to default libs like
  | 
| 
sl@0
 | 
  1591  | 
	    # -luser32 and -lmsvcrt by default. Make sure CFLAGS is
  | 
| 
sl@0
 | 
  1592  | 
	    # included so -mno-cygwin passed the correct libs to the linker.
  | 
| 
sl@0
 | 
  1593  | 
	    SHLIB_LD='${CC} -shared ${CFLAGS}'
 | 
| 
sl@0
 | 
  1594  | 
	    SHLIB_LD_LIBS='${LIBS}'
 | 
| 
sl@0
 | 
  1595  | 
	    # Add SHLIB_LD_LIBS to the Make rule, not here.
  | 
| 
sl@0
 | 
  1596  | 
	    MAKE_DLL="\${SHLIB_LD} \$(LDFLAGS) -o \$@ ${extra_ldflags} \
 | 
| 
sl@0
 | 
  1597  | 
	        -Wl,--out-implib,\$(patsubst %.dll,lib%.a,\$@)"
  | 
| 
sl@0
 | 
  1598  | 
  | 
| 
sl@0
 | 
  1599  | 
	    LIBSUFFIX="\${DBGX}.a"
 | 
| 
sl@0
 | 
  1600  | 
	    LIBFLAGSUFFIX="\${DBGX}"
 | 
| 
sl@0
 | 
  1601  | 
	    EXESUFFIX="\${DBGX}.exe"
 | 
| 
sl@0
 | 
  1602  | 
	    LIBRARIES="\${SHARED_LIBRARIES}"
 | 
| 
sl@0
 | 
  1603  | 
	fi
  | 
| 
sl@0
 | 
  1604  | 
	# DLLSUFFIX is separate because it is the building block for
  | 
| 
sl@0
 | 
  1605  | 
	# users of tclConfig.sh that may build shared or static.
  | 
| 
sl@0
 | 
  1606  | 
	DLLSUFFIX="\${DBGX}.dll"
 | 
| 
sl@0
 | 
  1607  | 
	SHLIB_SUFFIX=.dll
  | 
| 
sl@0
 | 
  1608  | 
  | 
| 
sl@0
 | 
  1609  | 
	EXTRA_CFLAGS="${extra_cflags}"
 | 
| 
sl@0
 | 
  1610  | 
  | 
| 
sl@0
 | 
  1611  | 
	CFLAGS_DEBUG=-g
  | 
| 
sl@0
 | 
  1612  | 
	CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
  | 
| 
sl@0
 | 
  1613  | 
	CFLAGS_WARNING="-Wall -Wconversion"
  | 
| 
sl@0
 | 
  1614  | 
	LDFLAGS_DEBUG=
  | 
| 
sl@0
 | 
  1615  | 
	LDFLAGS_OPTIMIZE=
  | 
| 
sl@0
 | 
  1616  | 
  | 
| 
sl@0
 | 
  1617  | 
	# Specify the CC output file names based on the target name
  | 
| 
sl@0
 | 
  1618  | 
	CC_OBJNAME="-o \$@"
  | 
| 
sl@0
 | 
  1619  | 
	CC_EXENAME="-o \$@"
  | 
| 
sl@0
 | 
  1620  | 
  | 
| 
sl@0
 | 
  1621  | 
	# Specify linker flags depending on the type of app being 
  | 
| 
sl@0
 | 
  1622  | 
	# built -- Console vs. Window.
  | 
| 
sl@0
 | 
  1623  | 
	#
  | 
| 
sl@0
 | 
  1624  | 
	# ORIGINAL COMMENT:
  | 
| 
sl@0
 | 
  1625  | 
	# We need to pass -e _WinMain@16 so that ld will use
  | 
| 
sl@0
 | 
  1626  | 
	# WinMain() instead of main() as the entry point. We can't
  | 
| 
sl@0
 | 
  1627  | 
	# use autoconf to check for this case since it would need
  | 
| 
sl@0
 | 
  1628  | 
	# to run an executable and that does not work when
  | 
| 
sl@0
 | 
  1629  | 
	# cross compiling. Remove this -e workaround once we
  | 
| 
sl@0
 | 
  1630  | 
	# require a gcc that does not have this bug.
  | 
| 
sl@0
 | 
  1631  | 
	#
  | 
| 
sl@0
 | 
  1632  | 
	# MK NOTE: Tk should use a different mechanism. This causes 
  | 
| 
sl@0
 | 
  1633  | 
	# interesting problems, such as wish dying at startup.
  | 
| 
sl@0
 | 
  1634  | 
	#LDFLAGS_WINDOW="-mwindows -e _WinMain@16 ${extra_ldflags}"
 | 
| 
sl@0
 | 
  1635  | 
	LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}"
 | 
| 
sl@0
 | 
  1636  | 
	LDFLAGS_WINDOW="-mwindows ${extra_ldflags}"
 | 
| 
sl@0
 | 
  1637  | 
    else
  | 
| 
sl@0
 | 
  1638  | 
	if test "${SHARED_BUILD}" = "0" ; then
 | 
| 
sl@0
 | 
  1639  | 
	    # static
  | 
| 
sl@0
 | 
  1640  | 
            echo "$ac_t""using static flags" 1>&6
  | 
| 
sl@0
 | 
  1641  | 
	    runtime=-MT
  | 
| 
sl@0
 | 
  1642  | 
	    MAKE_DLL="echo "
  | 
| 
sl@0
 | 
  1643  | 
	    LIBSUFFIX="s\${DBGX}.lib"
 | 
| 
sl@0
 | 
  1644  | 
	    LIBFLAGSUFFIX="s\${DBGX}"
 | 
| 
sl@0
 | 
  1645  | 
	    LIBRARIES="\${STATIC_LIBRARIES}"
 | 
| 
sl@0
 | 
  1646  | 
	    EXESUFFIX="s\${DBGX}.exe"
 | 
| 
sl@0
 | 
  1647  | 
	    SHLIB_LD_LIBS=""
  | 
| 
sl@0
 | 
  1648  | 
	else
  | 
| 
sl@0
 | 
  1649  | 
	    # dynamic
  | 
| 
sl@0
 | 
  1650  | 
            echo "$ac_t""using shared flags" 1>&6
  | 
| 
sl@0
 | 
  1651  | 
	    runtime=-MD
  | 
| 
sl@0
 | 
  1652  | 
	    # Add SHLIB_LD_LIBS to the Make rule, not here.
  | 
| 
sl@0
 | 
  1653  | 
	    MAKE_DLL="\${SHLIB_LD} \$(LDFLAGS) -out:\$@"
 | 
| 
sl@0
 | 
  1654  | 
	    LIBSUFFIX="\${DBGX}.lib"
 | 
| 
sl@0
 | 
  1655  | 
	    LIBFLAGSUFFIX="\${DBGX}"
 | 
| 
sl@0
 | 
  1656  | 
	    EXESUFFIX="\${DBGX}.exe"
 | 
| 
sl@0
 | 
  1657  | 
	    LIBRARIES="\${SHARED_LIBRARIES}"
 | 
| 
sl@0
 | 
  1658  | 
	    SHLIB_LD_LIBS='${LIBS}'
 | 
| 
sl@0
 | 
  1659  | 
	fi
  | 
| 
sl@0
 | 
  1660  | 
	# DLLSUFFIX is separate because it is the building block for
  | 
| 
sl@0
 | 
  1661  | 
	# users of tclConfig.sh that may build shared or static.
  | 
| 
sl@0
 | 
  1662  | 
	DLLSUFFIX="\${DBGX}.dll"
 | 
| 
sl@0
 | 
  1663  | 
  | 
| 
sl@0
 | 
  1664  | 
	# This is a 2-stage check to make sure we have the 64-bit SDK
  | 
| 
sl@0
 | 
  1665  | 
	# We have to know where the SDK is installed.
  | 
| 
sl@0
 | 
  1666  | 
	# This magic is based on MS Platform SDK for Win2003 SP1 - hobbs
  | 
| 
sl@0
 | 
  1667  | 
	if test "$do64bit" != "no" ; then
  | 
| 
sl@0
 | 
  1668  | 
	    if test "x${MSSDK}x" = "xx" ; then
 | 
| 
sl@0
 | 
  1669  | 
		MSSDK="C:/Progra~1/Microsoft Platform SDK"
  | 
| 
sl@0
 | 
  1670  | 
	    fi
  | 
| 
sl@0
 | 
  1671  | 
	    MSSDK=`echo "$MSSDK" | sed -e 's!\\\!/!g'`
  | 
| 
sl@0
 | 
  1672  | 
	    PATH64=""
  | 
| 
sl@0
 | 
  1673  | 
	    case "$do64bit" in
  | 
| 
sl@0
 | 
  1674  | 
		amd64|x64|yes)
  | 
| 
sl@0
 | 
  1675  | 
		    MACHINE="AMD64" ; # default to AMD64 64-bit build
  | 
| 
sl@0
 | 
  1676  | 
		    PATH64="${MSSDK}/Bin/Win64/x86/AMD64"
 | 
| 
sl@0
 | 
  1677  | 
		    ;;
  | 
| 
sl@0
 | 
  1678  | 
		ia64)
  | 
| 
sl@0
 | 
  1679  | 
		    MACHINE="IA64"
  | 
| 
sl@0
 | 
  1680  | 
		    PATH64="${MSSDK}/Bin/Win64"
 | 
| 
sl@0
 | 
  1681  | 
		    ;;
  | 
| 
sl@0
 | 
  1682  | 
	    esac
  | 
| 
sl@0
 | 
  1683  | 
	    if test ! -d "${PATH64}" ; then
 | 
| 
sl@0
 | 
  1684  | 
		echo "configure: warning: Could not find 64-bit $MACHINE SDK to enable 64bit mode" 1>&2
  | 
| 
sl@0
 | 
  1685  | 
		echo "configure: warning: Ensure latest Platform SDK is installed" 1>&2
  | 
| 
sl@0
 | 
  1686  | 
		do64bit="no"
  | 
| 
sl@0
 | 
  1687  | 
	    else
  | 
| 
sl@0
 | 
  1688  | 
		echo "$ac_t""   Using 64-bit $MACHINE mode" 1>&6
  | 
| 
sl@0
 | 
  1689  | 
	    fi
  | 
| 
sl@0
 | 
  1690  | 
	fi
  | 
| 
sl@0
 | 
  1691  | 
  | 
| 
sl@0
 | 
  1692  | 
	if test "$do64bit" != "no" ; then
  | 
| 
sl@0
 | 
  1693  | 
	    # The space-based-path will work for the Makefile, but will
  | 
| 
sl@0
 | 
  1694  | 
	    # not work if AC_TRY_COMPILE is called.
  | 
| 
sl@0
 | 
  1695  | 
	    CC="\"${PATH64}/cl.exe\" -I\"${MSSDK}/Include\" \
 | 
| 
sl@0
 | 
  1696  | 
		-I\"${MSSDK}/Include/crt\" -I\"${MSSDK}/Include/crt/sys\""
 | 
| 
sl@0
 | 
  1697  | 
	    RC="\"${MSSDK}/bin/rc.exe\""
 | 
| 
sl@0
 | 
  1698  | 
	    CFLAGS_DEBUG="-nologo -Zi -Od ${runtime}d"
 | 
| 
sl@0
 | 
  1699  | 
	    # Do not use -O2 for Win64 - this has proved buggy in code gen.
  | 
| 
sl@0
 | 
  1700  | 
	    CFLAGS_OPTIMIZE="-nologo -O1 ${runtime}"
 | 
| 
sl@0
 | 
  1701  | 
	    lflags="-nologo -MACHINE:${MACHINE} -LIBPATH:\"${MSSDK}/Lib/${MACHINE}\""
 | 
| 
sl@0
 | 
  1702  | 
	    LINKBIN="\"${PATH64}/link.exe\""
 | 
| 
sl@0
 | 
  1703  | 
	    # Avoid 'unresolved external symbol __security_cookie' errors.
  | 
| 
sl@0
 | 
  1704  | 
	    # c.f. http://support.microsoft.com/?id=894573
  | 
| 
sl@0
 | 
  1705  | 
	    LIBS="user32.lib advapi32.lib bufferoverflowU.lib"
  | 
| 
sl@0
 | 
  1706  | 
	else
  | 
| 
sl@0
 | 
  1707  | 
	    RC="rc"
  | 
| 
sl@0
 | 
  1708  | 
	    # -Od - no optimization
  | 
| 
sl@0
 | 
  1709  | 
	    # -WX - warnings as errors
  | 
| 
sl@0
 | 
  1710  | 
	    CFLAGS_DEBUG="-nologo -Z7 -Od -WX ${runtime}d"
 | 
| 
sl@0
 | 
  1711  | 
	    # -O2 - create fast code (/Og /Oi /Ot /Oy /Ob2 /Gs /GF /Gy)
  | 
| 
sl@0
 | 
  1712  | 
	    CFLAGS_OPTIMIZE="-nologo -O2 ${runtime}"
 | 
| 
sl@0
 | 
  1713  | 
	    lflags="-nologo"
  | 
| 
sl@0
 | 
  1714  | 
	    LINKBIN="link"
  | 
| 
sl@0
 | 
  1715  | 
	    LIBS="user32.lib advapi32.lib"
  | 
| 
sl@0
 | 
  1716  | 
	fi
  | 
| 
sl@0
 | 
  1717  | 
  | 
| 
sl@0
 | 
  1718  | 
	LIBS_GUI="gdi32.lib comdlg32.lib imm32.lib comctl32.lib shell32.lib"
  | 
| 
sl@0
 | 
  1719  | 
	SHLIB_LD="${LINKBIN} -dll -incremental:no ${lflags}"
 | 
| 
sl@0
 | 
  1720  | 
	# link -lib only works when -lib is the first arg
  | 
| 
sl@0
 | 
  1721  | 
	STLIB_LD="${LINKBIN} -lib ${lflags}"
 | 
| 
sl@0
 | 
  1722  | 
	RC_OUT=-fo
  | 
| 
sl@0
 | 
  1723  | 
	RC_TYPE=-r
  | 
| 
sl@0
 | 
  1724  | 
	RC_INCLUDE=-i
  | 
| 
sl@0
 | 
  1725  | 
	RC_DEFINE=-d
  | 
| 
sl@0
 | 
  1726  | 
	RES=res
  | 
| 
sl@0
 | 
  1727  | 
	MAKE_LIB="\${STLIB_LD} -out:\$@"
 | 
| 
sl@0
 | 
  1728  | 
	POST_MAKE_LIB=
  | 
| 
sl@0
 | 
  1729  | 
	MAKE_EXE="\${CC} -Fe\$@"
 | 
| 
sl@0
 | 
  1730  | 
	LIBPREFIX=""
  | 
| 
sl@0
 | 
  1731  | 
  | 
| 
sl@0
 | 
  1732  | 
	EXTRA_CFLAGS=""
  | 
| 
sl@0
 | 
  1733  | 
	CFLAGS_WARNING="-W3"
  | 
| 
sl@0
 | 
  1734  | 
	LDFLAGS_DEBUG="-debug:full"
  | 
| 
sl@0
 | 
  1735  | 
	LDFLAGS_OPTIMIZE="-release"
  | 
| 
sl@0
 | 
  1736  | 
	
  | 
| 
sl@0
 | 
  1737  | 
	# Specify the CC output file names based on the target name
  | 
| 
sl@0
 | 
  1738  | 
	CC_OBJNAME="-Fo\$@"
  | 
| 
sl@0
 | 
  1739  | 
	CC_EXENAME="-Fe\"\$(shell \$(CYGPATH) '\$@')\""
  | 
| 
sl@0
 | 
  1740  | 
  | 
| 
sl@0
 | 
  1741  | 
	# Specify linker flags depending on the type of app being 
  | 
| 
sl@0
 | 
  1742  | 
	# built -- Console vs. Window.
  | 
| 
sl@0
 | 
  1743  | 
	LDFLAGS_CONSOLE="-link -subsystem:console ${lflags}"
 | 
| 
sl@0
 | 
  1744  | 
	LDFLAGS_WINDOW="-link -subsystem:windows ${lflags}"
 | 
| 
sl@0
 | 
  1745  | 
    fi
  | 
| 
sl@0
 | 
  1746  | 
  | 
| 
sl@0
 | 
  1747  | 
    # DL_LIBS is empty, but then we match the Unix version
  | 
| 
sl@0
 | 
  1748  | 
    
  | 
| 
sl@0
 | 
  1749  | 
    
  | 
| 
sl@0
 | 
  1750  | 
    
  | 
| 
sl@0
 | 
  1751  | 
    
  | 
| 
sl@0
 | 
  1752  | 
  | 
| 
sl@0
 | 
  1753  | 
  | 
| 
sl@0
 | 
  1754  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1755  | 
# Set the default compiler switches based on the --enable-symbols 
  | 
| 
sl@0
 | 
  1756  | 
# option.  This macro depends on C flags, and should be called
  | 
| 
sl@0
 | 
  1757  | 
# after SC_CONFIG_CFLAGS macro is called.
  | 
| 
sl@0
 | 
  1758  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1759  | 
  | 
| 
sl@0
 | 
  1760  | 
  | 
| 
sl@0
 | 
  1761  | 
    echo $ac_n "checking for build with symbols""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1762  | 
echo "configure:1763: checking for build with symbols" >&5
  | 
| 
sl@0
 | 
  1763  | 
    # Check whether --enable-symbols or --disable-symbols was given.
  | 
| 
sl@0
 | 
  1764  | 
if test "${enable_symbols+set}" = set; then
 | 
| 
sl@0
 | 
  1765  | 
  enableval="$enable_symbols"
  | 
| 
sl@0
 | 
  1766  | 
  tcl_ok=$enableval
  | 
| 
sl@0
 | 
  1767  | 
else
  | 
| 
sl@0
 | 
  1768  | 
  tcl_ok=no
  | 
| 
sl@0
 | 
  1769  | 
fi
  | 
| 
sl@0
 | 
  1770  | 
  | 
| 
sl@0
 | 
  1771  | 
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
  | 
| 
sl@0
 | 
  1772  | 
    if test "$tcl_ok" = "no"; then
  | 
| 
sl@0
 | 
  1773  | 
	CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
  | 
| 
sl@0
 | 
  1774  | 
	LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
  | 
| 
sl@0
 | 
  1775  | 
	DBGX=""
  | 
| 
sl@0
 | 
  1776  | 
	echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
  1777  | 
    else
  | 
| 
sl@0
 | 
  1778  | 
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
  | 
| 
sl@0
 | 
  1779  | 
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
  | 
| 
sl@0
 | 
  1780  | 
	DBGX=g
  | 
| 
sl@0
 | 
  1781  | 
	if test "$tcl_ok" = "yes"; then
  | 
| 
sl@0
 | 
  1782  | 
	    echo "$ac_t""yes (standard debugging)" 1>&6
  | 
| 
sl@0
 | 
  1783  | 
	fi
  | 
| 
sl@0
 | 
  1784  | 
    fi
  | 
| 
sl@0
 | 
  1785  | 
    
  | 
| 
sl@0
 | 
  1786  | 
    
  | 
| 
sl@0
 | 
  1787  | 
  | 
| 
sl@0
 | 
  1788  | 
    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
  | 
| 
sl@0
 | 
  1789  | 
	cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1790  | 
#define TCL_MEM_DEBUG 1
  | 
| 
sl@0
 | 
  1791  | 
EOF
  | 
| 
sl@0
 | 
  1792  | 
  | 
| 
sl@0
 | 
  1793  | 
    fi
  | 
| 
sl@0
 | 
  1794  | 
  | 
| 
sl@0
 | 
  1795  | 
    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
  | 
| 
sl@0
 | 
  1796  | 
	cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1797  | 
#define TCL_COMPILE_DEBUG 1
  | 
| 
sl@0
 | 
  1798  | 
EOF
  | 
| 
sl@0
 | 
  1799  | 
  | 
| 
sl@0
 | 
  1800  | 
	cat >> confdefs.h <<\EOF
  | 
| 
sl@0
 | 
  1801  | 
#define TCL_COMPILE_STATS 1
  | 
| 
sl@0
 | 
  1802  | 
EOF
  | 
| 
sl@0
 | 
  1803  | 
  | 
| 
sl@0
 | 
  1804  | 
    fi
  | 
| 
sl@0
 | 
  1805  | 
  | 
| 
sl@0
 | 
  1806  | 
    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
  | 
| 
sl@0
 | 
  1807  | 
	if test "$tcl_ok" = "all"; then
  | 
| 
sl@0
 | 
  1808  | 
	    echo "$ac_t""enabled symbols mem compile debugging" 1>&6
  | 
| 
sl@0
 | 
  1809  | 
	else
  | 
| 
sl@0
 | 
  1810  | 
	    echo "$ac_t""enabled $tcl_ok debugging" 1>&6
  | 
| 
sl@0
 | 
  1811  | 
	fi
  | 
| 
sl@0
 | 
  1812  | 
    fi
  | 
| 
sl@0
 | 
  1813  | 
  | 
| 
sl@0
 | 
  1814  | 
  | 
| 
sl@0
 | 
  1815  | 
TCL_DBGX=${DBGX}
 | 
| 
sl@0
 | 
  1816  | 
  | 
| 
sl@0
 | 
  1817  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1818  | 
# man2tcl needs this so that it can use errno.h
  | 
| 
sl@0
 | 
  1819  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1820  | 
  | 
| 
sl@0
 | 
  1821  | 
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1822  | 
echo "configure:1823: checking how to run the C preprocessor" >&5
  | 
| 
sl@0
 | 
  1823  | 
# On Suns, sometimes $CPP names a directory.
  | 
| 
sl@0
 | 
  1824  | 
if test -n "$CPP" && test -d "$CPP"; then
  | 
| 
sl@0
 | 
  1825  | 
  CPP=
  | 
| 
sl@0
 | 
  1826  | 
fi
  | 
| 
sl@0
 | 
  1827  | 
if test -z "$CPP"; then
  | 
| 
sl@0
 | 
  1828  | 
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1829  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1830  | 
else
  | 
| 
sl@0
 | 
  1831  | 
    # This must be in double quotes, not single quotes, because CPP may get
  | 
| 
sl@0
 | 
  1832  | 
  # substituted into the Makefile and "${CC-cc}" will confuse make.
 | 
| 
sl@0
 | 
  1833  | 
  CPP="${CC-cc} -E"
 | 
| 
sl@0
 | 
  1834  | 
  # On the NeXT, cc -E runs the code through the compiler's parser,
  | 
| 
sl@0
 | 
  1835  | 
  # not just through cpp.
  | 
| 
sl@0
 | 
  1836  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1837  | 
#line 1838 "configure"
  | 
| 
sl@0
 | 
  1838  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1839  | 
#include <assert.h>
  | 
| 
sl@0
 | 
  1840  | 
Syntax Error
  | 
| 
sl@0
 | 
  1841  | 
EOF
  | 
| 
sl@0
 | 
  1842  | 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  | 
| 
sl@0
 | 
  1843  | 
{ (eval echo configure:1844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
| 
sl@0
 | 
  1844  | 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
| 
sl@0
 | 
  1845  | 
if test -z "$ac_err"; then
  | 
| 
sl@0
 | 
  1846  | 
  :
  | 
| 
sl@0
 | 
  1847  | 
else
  | 
| 
sl@0
 | 
  1848  | 
  echo "$ac_err" >&5
  | 
| 
sl@0
 | 
  1849  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1850  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1851  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1852  | 
  CPP="${CC-cc} -E -traditional-cpp"
 | 
| 
sl@0
 | 
  1853  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1854  | 
#line 1855 "configure"
  | 
| 
sl@0
 | 
  1855  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1856  | 
#include <assert.h>
  | 
| 
sl@0
 | 
  1857  | 
Syntax Error
  | 
| 
sl@0
 | 
  1858  | 
EOF
  | 
| 
sl@0
 | 
  1859  | 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  | 
| 
sl@0
 | 
  1860  | 
{ (eval echo configure:1861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
| 
sl@0
 | 
  1861  | 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
| 
sl@0
 | 
  1862  | 
if test -z "$ac_err"; then
  | 
| 
sl@0
 | 
  1863  | 
  :
  | 
| 
sl@0
 | 
  1864  | 
else
  | 
| 
sl@0
 | 
  1865  | 
  echo "$ac_err" >&5
  | 
| 
sl@0
 | 
  1866  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1867  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1868  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1869  | 
  CPP="${CC-cc} -nologo -E"
 | 
| 
sl@0
 | 
  1870  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1871  | 
#line 1872 "configure"
  | 
| 
sl@0
 | 
  1872  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1873  | 
#include <assert.h>
  | 
| 
sl@0
 | 
  1874  | 
Syntax Error
  | 
| 
sl@0
 | 
  1875  | 
EOF
  | 
| 
sl@0
 | 
  1876  | 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  | 
| 
sl@0
 | 
  1877  | 
{ (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
| 
sl@0
 | 
  1878  | 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
| 
sl@0
 | 
  1879  | 
if test -z "$ac_err"; then
  | 
| 
sl@0
 | 
  1880  | 
  :
  | 
| 
sl@0
 | 
  1881  | 
else
  | 
| 
sl@0
 | 
  1882  | 
  echo "$ac_err" >&5
  | 
| 
sl@0
 | 
  1883  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1884  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1885  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1886  | 
  CPP=/lib/cpp
  | 
| 
sl@0
 | 
  1887  | 
fi
  | 
| 
sl@0
 | 
  1888  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1889  | 
fi
  | 
| 
sl@0
 | 
  1890  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1891  | 
fi
  | 
| 
sl@0
 | 
  1892  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1893  | 
  ac_cv_prog_CPP="$CPP"
  | 
| 
sl@0
 | 
  1894  | 
fi
  | 
| 
sl@0
 | 
  1895  | 
  CPP="$ac_cv_prog_CPP"
  | 
| 
sl@0
 | 
  1896  | 
else
  | 
| 
sl@0
 | 
  1897  | 
  ac_cv_prog_CPP="$CPP"
  | 
| 
sl@0
 | 
  1898  | 
fi
  | 
| 
sl@0
 | 
  1899  | 
echo "$ac_t""$CPP" 1>&6
  | 
| 
sl@0
 | 
  1900  | 
  | 
| 
sl@0
 | 
  1901  | 
ac_safe=`echo "errno.h" | sed 'y%./+-%__p_%'`
  | 
| 
sl@0
 | 
  1902  | 
echo $ac_n "checking for errno.h""... $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1903  | 
echo "configure:1904: checking for errno.h" >&5
  | 
| 
sl@0
 | 
  1904  | 
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 | 
| 
sl@0
 | 
  1905  | 
  echo $ac_n "(cached) $ac_c" 1>&6
  | 
| 
sl@0
 | 
  1906  | 
else
  | 
| 
sl@0
 | 
  1907  | 
  cat > conftest.$ac_ext <<EOF
  | 
| 
sl@0
 | 
  1908  | 
#line 1909 "configure"
  | 
| 
sl@0
 | 
  1909  | 
#include "confdefs.h"
  | 
| 
sl@0
 | 
  1910  | 
#include <errno.h>
  | 
| 
sl@0
 | 
  1911  | 
EOF
  | 
| 
sl@0
 | 
  1912  | 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  | 
| 
sl@0
 | 
  1913  | 
{ (eval echo configure:1914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
| 
sl@0
 | 
  1914  | 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
| 
sl@0
 | 
  1915  | 
if test -z "$ac_err"; then
  | 
| 
sl@0
 | 
  1916  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1917  | 
  eval "ac_cv_header_$ac_safe=yes"
  | 
| 
sl@0
 | 
  1918  | 
else
  | 
| 
sl@0
 | 
  1919  | 
  echo "$ac_err" >&5
  | 
| 
sl@0
 | 
  1920  | 
  echo "configure: failed program was:" >&5
  | 
| 
sl@0
 | 
  1921  | 
  cat conftest.$ac_ext >&5
  | 
| 
sl@0
 | 
  1922  | 
  rm -rf conftest*
  | 
| 
sl@0
 | 
  1923  | 
  eval "ac_cv_header_$ac_safe=no"
  | 
| 
sl@0
 | 
  1924  | 
fi
  | 
| 
sl@0
 | 
  1925  | 
rm -f conftest*
  | 
| 
sl@0
 | 
  1926  | 
fi
  | 
| 
sl@0
 | 
  1927  | 
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  | 
| 
sl@0
 | 
  1928  | 
  echo "$ac_t""yes" 1>&6
  | 
| 
sl@0
 | 
  1929  | 
  :
  | 
| 
sl@0
 | 
  1930  | 
else
  | 
| 
sl@0
 | 
  1931  | 
  echo "$ac_t""no" 1>&6
  | 
| 
sl@0
 | 
  1932  | 
MAN2TCLFLAGS="-DNO_ERRNO_H"
  | 
| 
sl@0
 | 
  1933  | 
fi
  | 
| 
sl@0
 | 
  1934  | 
  | 
| 
sl@0
 | 
  1935  | 
  | 
| 
sl@0
 | 
  1936  | 
  | 
| 
sl@0
 | 
  1937  | 
#------------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1938  | 
# tclConfig.sh refers to this by a different name
  | 
| 
sl@0
 | 
  1939  | 
#------------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1940  | 
  | 
| 
sl@0
 | 
  1941  | 
TCL_SHARED_BUILD=${SHARED_BUILD}
 | 
| 
sl@0
 | 
  1942  | 
  | 
| 
sl@0
 | 
  1943  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1944  | 
# Perform final evaluations of variables with possible substitutions.
  | 
| 
sl@0
 | 
  1945  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1946  | 
  | 
| 
sl@0
 | 
  1947  | 
TCL_SHARED_LIB_SUFFIX="\${NODOT_VERSION}${DLLSUFFIX}"
 | 
| 
sl@0
 | 
  1948  | 
TCL_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
 | 
| 
sl@0
 | 
  1949  | 
TCL_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
 | 
| 
sl@0
 | 
  1950  | 
  | 
| 
sl@0
 | 
  1951  | 
eval "TCL_SRC_DIR=\"`cd $srcdir/..; pwd`\""
  | 
| 
sl@0
 | 
  1952  | 
  | 
| 
sl@0
 | 
  1953  | 
eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}"
 | 
| 
sl@0
 | 
  1954  | 
  | 
| 
sl@0
 | 
  1955  | 
eval "TCL_LIB_FILE=${LIBPREFIX}tcl$VER${LIBSUFFIX}"
 | 
| 
sl@0
 | 
  1956  | 
  | 
| 
sl@0
 | 
  1957  | 
eval "TCL_LIB_FLAG=\"-ltcl${VER}${LIBFLAGSUFFIX}\""
 | 
| 
sl@0
 | 
  1958  | 
eval "TCL_BUILD_LIB_SPEC=\"-L`pwd` ${TCL_LIB_FLAG}\""
 | 
| 
sl@0
 | 
  1959  | 
eval "TCL_LIB_SPEC=\"-L${libdir} ${TCL_LIB_FLAG}\""
 | 
| 
sl@0
 | 
  1960  | 
  | 
| 
sl@0
 | 
  1961  | 
eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\""
 | 
| 
sl@0
 | 
  1962  | 
eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBFLAGSUFFIX}\""
 | 
| 
sl@0
 | 
  1963  | 
eval "TCL_BUILD_STUB_LIB_SPEC=\"-L`pwd` ${TCL_STUB_LIB_FLAG}\""
 | 
| 
sl@0
 | 
  1964  | 
eval "TCL_STUB_LIB_SPEC=\"-L${libdir} ${TCL_STUB_LIB_FLAG}\""
 | 
| 
sl@0
 | 
  1965  | 
eval "TCL_BUILD_STUB_LIB_PATH=\"`pwd`/${TCL_STUB_LIB_FILE}\""
 | 
| 
sl@0
 | 
  1966  | 
eval "TCL_STUB_LIB_PATH=\"${libdir}/${TCL_STUB_LIB_FILE}\""
 | 
| 
sl@0
 | 
  1967  | 
  | 
| 
sl@0
 | 
  1968  | 
# Install time header dir can be set via --includedir
  | 
| 
sl@0
 | 
  1969  | 
eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
 | 
| 
sl@0
 | 
  1970  | 
  | 
| 
sl@0
 | 
  1971  | 
  | 
| 
sl@0
 | 
  1972  | 
eval "DLLSUFFIX=${DLLSUFFIX}"
 | 
| 
sl@0
 | 
  1973  | 
eval "LIBPREFIX=${LIBPREFIX}"
 | 
| 
sl@0
 | 
  1974  | 
eval "LIBSUFFIX=${LIBSUFFIX}"
 | 
| 
sl@0
 | 
  1975  | 
eval "EXESUFFIX=${EXESUFFIX}"
 | 
| 
sl@0
 | 
  1976  | 
  | 
| 
sl@0
 | 
  1977  | 
CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}
 | 
| 
sl@0
 | 
  1978  | 
CFG_TCL_UNSHARED_LIB_SUFFIX=${TCL_UNSHARED_LIB_SUFFIX}
 | 
| 
sl@0
 | 
  1979  | 
CFG_TCL_EXPORT_FILE_SUFFIX=${TCL_EXPORT_FILE_SUFFIX}
 | 
| 
sl@0
 | 
  1980  | 
  | 
| 
sl@0
 | 
  1981  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1982  | 
# Adjust the defines for how the resources are built depending
  | 
| 
sl@0
 | 
  1983  | 
# on symbols and static vs. shared.
  | 
| 
sl@0
 | 
  1984  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  1985  | 
  | 
| 
sl@0
 | 
  1986  | 
if test ${SHARED_BUILD} = 0 ; then
 | 
| 
sl@0
 | 
  1987  | 
    if test "${DBGX}" = "g"; then
 | 
| 
sl@0
 | 
  1988  | 
        RC_DEFINES="${RC_DEFINE} STATIC_BUILD ${RC_DEFINE} DEBUG"
 | 
| 
sl@0
 | 
  1989  | 
    else
  | 
| 
sl@0
 | 
  1990  | 
        RC_DEFINES="${RC_DEFINE} STATIC_BUILD"
 | 
| 
sl@0
 | 
  1991  | 
    fi
  | 
| 
sl@0
 | 
  1992  | 
else
  | 
| 
sl@0
 | 
  1993  | 
    if test "${DBGX}" = "g"; then
 | 
| 
sl@0
 | 
  1994  | 
        RC_DEFINES="${RC_DEFINE} DEBUG"
 | 
| 
sl@0
 | 
  1995  | 
    else
  | 
| 
sl@0
 | 
  1996  | 
        RC_DEFINES=""
  | 
| 
sl@0
 | 
  1997  | 
    fi
  | 
| 
sl@0
 | 
  1998  | 
fi
  | 
| 
sl@0
 | 
  1999  | 
  | 
| 
sl@0
 | 
  2000  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  2001  | 
#	The statements below define the symbol TCL_PACKAGE_PATH, which
  | 
| 
sl@0
 | 
  2002  | 
#	gives a list of directories that may contain packages.  The list
  | 
| 
sl@0
 | 
  2003  | 
#	consists of one directory for machine-dependent binaries and
  | 
| 
sl@0
 | 
  2004  | 
#	another for platform-independent scripts.
  | 
| 
sl@0
 | 
  2005  | 
#--------------------------------------------------------------------
  | 
| 
sl@0
 | 
  2006  | 
  | 
| 
sl@0
 | 
  2007  | 
if test "$prefix" != "$exec_prefix"; then
  | 
| 
sl@0
 | 
  2008  | 
    TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
 | 
| 
sl@0
 | 
  2009  | 
else
  | 
| 
sl@0
 | 
  2010  | 
    TCL_PACKAGE_PATH="${prefix}/lib"
 | 
| 
sl@0
 | 
  2011  | 
fi
  | 
| 
sl@0
 | 
  2012  | 
  | 
| 
sl@0
 | 
  2013  | 
  | 
| 
sl@0
 | 
  2014  | 
  | 
| 
sl@0
 | 
  2015  | 
  | 
| 
sl@0
 | 
  2016  | 
  | 
| 
sl@0
 | 
  2017  | 
  | 
| 
sl@0
 | 
  2018  | 
  | 
| 
sl@0
 | 
  2019  | 
  | 
| 
sl@0
 | 
  2020  | 
# empty on win
  | 
| 
sl@0
 | 
  2021  | 
  | 
| 
sl@0
 | 
  2022  | 
  | 
| 
sl@0
 | 
  2023  | 
  | 
| 
sl@0
 | 
  2024  | 
  | 
| 
sl@0
 | 
  2025  | 
  | 
| 
sl@0
 | 
  2026  | 
  | 
| 
sl@0
 | 
  2027  | 
  | 
| 
sl@0
 | 
  2028  | 
  | 
| 
sl@0
 | 
  2029  | 
  | 
| 
sl@0
 | 
  2030  | 
  | 
| 
sl@0
 | 
  2031  | 
  | 
| 
sl@0
 | 
  2032  | 
  | 
| 
sl@0
 | 
  2033  | 
  | 
| 
sl@0
 | 
  2034  | 
  | 
| 
sl@0
 | 
  2035  | 
  | 
| 
sl@0
 | 
  2036  | 
  | 
| 
sl@0
 | 
  2037  | 
  | 
| 
sl@0
 | 
  2038  | 
# win/tcl.m4 doesn't set (CFLAGS)
  | 
| 
sl@0
 | 
  2039  | 
  | 
| 
sl@0
 | 
  2040  | 
  | 
| 
sl@0
 | 
  2041  | 
  | 
| 
sl@0
 | 
  2042  | 
  | 
| 
sl@0
 | 
  2043  | 
  | 
| 
sl@0
 | 
  2044  | 
  | 
| 
sl@0
 | 
  2045  | 
  | 
| 
sl@0
 | 
  2046  | 
# win/tcl.m4 doesn't set (LDFLAGS)
  | 
| 
sl@0
 | 
  2047  | 
  | 
| 
sl@0
 | 
  2048  | 
  | 
| 
sl@0
 | 
  2049  | 
  | 
| 
sl@0
 | 
  2050  | 
  | 
| 
sl@0
 | 
  2051  | 
  | 
| 
sl@0
 | 
  2052  | 
  | 
| 
sl@0
 | 
  2053  | 
  | 
| 
sl@0
 | 
  2054  | 
  | 
| 
sl@0
 | 
  2055  | 
  | 
| 
sl@0
 | 
  2056  | 
  | 
| 
sl@0
 | 
  2057  | 
  | 
| 
sl@0
 | 
  2058  | 
  | 
| 
sl@0
 | 
  2059  | 
  | 
| 
sl@0
 | 
  2060  | 
  | 
| 
sl@0
 | 
  2061  | 
  | 
| 
sl@0
 | 
  2062  | 
  | 
| 
sl@0
 | 
  2063  | 
  | 
| 
sl@0
 | 
  2064  | 
  | 
| 
sl@0
 | 
  2065  | 
  | 
| 
sl@0
 | 
  2066  | 
  | 
| 
sl@0
 | 
  2067  | 
  | 
| 
sl@0
 | 
  2068  | 
  | 
| 
sl@0
 | 
  2069  | 
  | 
| 
sl@0
 | 
  2070  | 
  | 
| 
sl@0
 | 
  2071  | 
  | 
| 
sl@0
 | 
  2072  | 
  | 
| 
sl@0
 | 
  2073  | 
  | 
| 
sl@0
 | 
  2074  | 
# empty on win, but needs sub'ing
  | 
| 
sl@0
 | 
  2075  | 
  | 
| 
sl@0
 | 
  2076  | 
  | 
| 
sl@0
 | 
  2077  | 
  | 
| 
sl@0
 | 
  2078  | 
  | 
| 
sl@0
 | 
  2079  | 
  | 
| 
sl@0
 | 
  2080  | 
  | 
| 
sl@0
 | 
  2081  | 
  | 
| 
sl@0
 | 
  2082  | 
  | 
| 
sl@0
 | 
  2083  | 
  | 
| 
sl@0
 | 
  2084  | 
  | 
| 
sl@0
 | 
  2085  | 
# win only
  | 
| 
sl@0
 | 
  2086  | 
  | 
| 
sl@0
 | 
  2087  | 
  | 
| 
sl@0
 | 
  2088  | 
  | 
| 
sl@0
 | 
  2089  | 
  | 
| 
sl@0
 | 
  2090  | 
  | 
| 
sl@0
 | 
  2091  | 
  | 
| 
sl@0
 | 
  2092  | 
  | 
| 
sl@0
 | 
  2093  | 
  | 
| 
sl@0
 | 
  2094  | 
  | 
| 
sl@0
 | 
  2095  | 
  | 
| 
sl@0
 | 
  2096  | 
  | 
| 
sl@0
 | 
  2097  | 
  | 
| 
sl@0
 | 
  2098  | 
  | 
| 
sl@0
 | 
  2099  | 
  | 
| 
sl@0
 | 
  2100  | 
  | 
| 
sl@0
 | 
  2101  | 
trap '' 1 2 15
  | 
| 
sl@0
 | 
  2102  | 
cat > confcache <<\EOF
  | 
| 
sl@0
 | 
  2103  | 
# This file is a shell script that caches the results of configure
  | 
| 
sl@0
 | 
  2104  | 
# tests run on this system so they can be shared between configure
  | 
| 
sl@0
 | 
  2105  | 
# scripts and configure runs.  It is not useful on other systems.
  | 
| 
sl@0
 | 
  2106  | 
# If it contains results you don't want to keep, you may remove or edit it.
  | 
| 
sl@0
 | 
  2107  | 
#
  | 
| 
sl@0
 | 
  2108  | 
# By default, configure uses ./config.cache as the cache file,
  | 
| 
sl@0
 | 
  2109  | 
# creating it if it does not exist already.  You can give configure
  | 
| 
sl@0
 | 
  2110  | 
# the --cache-file=FILE option to use a different cache file; that is
  | 
| 
sl@0
 | 
  2111  | 
# what configure does when it calls configure scripts in
  | 
| 
sl@0
 | 
  2112  | 
# subdirectories, so they share the cache.
  | 
| 
sl@0
 | 
  2113  | 
# Giving --cache-file=/dev/null disables caching, for debugging configure.
  | 
| 
sl@0
 | 
  2114  | 
# config.status only pays attention to the cache file if you give it the
  | 
| 
sl@0
 | 
  2115  | 
# --recheck option to rerun configure.
  | 
| 
sl@0
 | 
  2116  | 
#
  | 
| 
sl@0
 | 
  2117  | 
EOF
  | 
| 
sl@0
 | 
  2118  | 
# The following way of writing the cache mishandles newlines in values,
  | 
| 
sl@0
 | 
  2119  | 
# but we know of no workaround that is simple, portable, and efficient.
  | 
| 
sl@0
 | 
  2120  | 
# So, don't put newlines in cache variables' values.
  | 
| 
sl@0
 | 
  2121  | 
# Ultrix sh set writes to stderr and can't be redirected directly,
  | 
| 
sl@0
 | 
  2122  | 
# and sets the high bit in the cache file unless we assign to the vars.
  | 
| 
sl@0
 | 
  2123  | 
(set) 2>&1 |
  | 
| 
sl@0
 | 
  2124  | 
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  | 
| 
sl@0
 | 
  2125  | 
  *ac_space=\ *)
  | 
| 
sl@0
 | 
  2126  | 
    # `set' does not quote correctly, so add quotes (double-quote substitution
  | 
| 
sl@0
 | 
  2127  | 
    # turns \\\\ into \\, and sed turns \\ into \).
  | 
| 
sl@0
 | 
  2128  | 
    sed -n \
  | 
| 
sl@0
 | 
  2129  | 
      -e "s/'/'\\\\''/g" \
  | 
| 
sl@0
 | 
  2130  | 
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
 | 
| 
sl@0
 | 
  2131  | 
    ;;
  | 
| 
sl@0
 | 
  2132  | 
  *)
  | 
| 
sl@0
 | 
  2133  | 
    # `set' quotes correctly as required by POSIX, so do not add quotes.
  | 
| 
sl@0
 | 
  2134  | 
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
 | 
| 
sl@0
 | 
  2135  | 
    ;;
  | 
| 
sl@0
 | 
  2136  | 
  esac >> confcache
  | 
| 
sl@0
 | 
  2137  | 
if cmp -s $cache_file confcache; then
  | 
| 
sl@0
 | 
  2138  | 
  :
  | 
| 
sl@0
 | 
  2139  | 
else
  | 
| 
sl@0
 | 
  2140  | 
  if test -w $cache_file; then
  | 
| 
sl@0
 | 
  2141  | 
    echo "updating cache $cache_file"
  | 
| 
sl@0
 | 
  2142  | 
    cat confcache > $cache_file
  | 
| 
sl@0
 | 
  2143  | 
  else
  | 
| 
sl@0
 | 
  2144  | 
    echo "not updating unwritable cache $cache_file"
  | 
| 
sl@0
 | 
  2145  | 
  fi
  | 
| 
sl@0
 | 
  2146  | 
fi
  | 
| 
sl@0
 | 
  2147  | 
rm -f confcache
  | 
| 
sl@0
 | 
  2148  | 
  | 
| 
sl@0
 | 
  2149  | 
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  | 
| 
sl@0
 | 
  2150  | 
  | 
| 
sl@0
 | 
  2151  | 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
  | 
| 
sl@0
 | 
  2152  | 
# Let make expand exec_prefix.
  | 
| 
sl@0
 | 
  2153  | 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 | 
| 
sl@0
 | 
  2154  | 
  | 
| 
sl@0
 | 
  2155  | 
# Any assignment to VPATH causes Sun make to only execute
  | 
| 
sl@0
 | 
  2156  | 
# the first set of double-colon rules, so remove it if not needed.
  | 
| 
sl@0
 | 
  2157  | 
# If there is a colon in the path, we need to keep it.
  | 
| 
sl@0
 | 
  2158  | 
if test "x$srcdir" = x.; then
  | 
| 
sl@0
 | 
  2159  | 
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
  | 
| 
sl@0
 | 
  2160  | 
fi
  | 
| 
sl@0
 | 
  2161  | 
  | 
| 
sl@0
 | 
  2162  | 
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
  | 
| 
sl@0
 | 
  2163  | 
  | 
| 
sl@0
 | 
  2164  | 
# Transform confdefs.h into DEFS.
  | 
| 
sl@0
 | 
  2165  | 
# Protect against shell expansion while executing Makefile rules.
  | 
| 
sl@0
 | 
  2166  | 
# Protect against Makefile macro expansion.
  | 
| 
sl@0
 | 
  2167  | 
cat > conftest.defs <<\EOF
  | 
| 
sl@0
 | 
  2168  | 
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
  | 
| 
sl@0
 | 
  2169  | 
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
 | 
| 
sl@0
 | 
  2170  | 
s%\[%\\&%g
  | 
| 
sl@0
 | 
  2171  | 
s%\]%\\&%g
  | 
| 
sl@0
 | 
  2172  | 
s%\$%$$%g
  | 
| 
sl@0
 | 
  2173  | 
EOF
  | 
| 
sl@0
 | 
  2174  | 
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
  | 
| 
sl@0
 | 
  2175  | 
rm -f conftest.defs
  | 
| 
sl@0
 | 
  2176  | 
  | 
| 
sl@0
 | 
  2177  | 
  | 
| 
sl@0
 | 
  2178  | 
# Without the "./", some shells look in PATH for config.status.
  | 
| 
sl@0
 | 
  2179  | 
: ${CONFIG_STATUS=./config.status}
 | 
| 
sl@0
 | 
  2180  | 
  | 
| 
sl@0
 | 
  2181  | 
echo creating $CONFIG_STATUS
  | 
| 
sl@0
 | 
  2182  | 
rm -f $CONFIG_STATUS
  | 
| 
sl@0
 | 
  2183  | 
cat > $CONFIG_STATUS <<EOF
  | 
| 
sl@0
 | 
  2184  | 
#! /bin/sh
  | 
| 
sl@0
 | 
  2185  | 
# Generated automatically by configure.
  | 
| 
sl@0
 | 
  2186  | 
# Run this file to recreate the current configuration.
  | 
| 
sl@0
 | 
  2187  | 
# This directory was configured as follows,
  | 
| 
sl@0
 | 
  2188  | 
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  | 
| 
sl@0
 | 
  2189  | 
#
  | 
| 
sl@0
 | 
  2190  | 
# $0 $ac_configure_args
  | 
| 
sl@0
 | 
  2191  | 
#
  | 
| 
sl@0
 | 
  2192  | 
# Compiler output produced by configure, useful for debugging
  | 
| 
sl@0
 | 
  2193  | 
# configure, is in ./config.log if it exists.
  | 
| 
sl@0
 | 
  2194  | 
  | 
| 
sl@0
 | 
  2195  | 
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
  | 
| 
sl@0
 | 
  2196  | 
for ac_option
  | 
| 
sl@0
 | 
  2197  | 
do
  | 
| 
sl@0
 | 
  2198  | 
  case "\$ac_option" in
  | 
| 
sl@0
 | 
  2199  | 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  | 
| 
sl@0
 | 
  2200  | 
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
 | 
| 
sl@0
 | 
  2201  | 
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
 | 
| 
sl@0
 | 
  2202  | 
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  | 
| 
sl@0
 | 
  2203  | 
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
  | 
| 
sl@0
 | 
  2204  | 
    exit 0 ;;
  | 
| 
sl@0
 | 
  2205  | 
  -help | --help | --hel | --he | --h)
  | 
| 
sl@0
 | 
  2206  | 
    echo "\$ac_cs_usage"; exit 0 ;;
  | 
| 
sl@0
 | 
  2207  | 
  *) echo "\$ac_cs_usage"; exit 1 ;;
  | 
| 
sl@0
 | 
  2208  | 
  esac
  | 
| 
sl@0
 | 
  2209  | 
done
  | 
| 
sl@0
 | 
  2210  | 
  | 
| 
sl@0
 | 
  2211  | 
ac_given_srcdir=$srcdir
  | 
| 
sl@0
 | 
  2212  | 
  | 
| 
sl@0
 | 
  2213  | 
trap 'rm -fr `echo "Makefile tclConfig.sh tcl.hpj" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
  | 
| 
sl@0
 | 
  2214  | 
EOF
  | 
| 
sl@0
 | 
  2215  | 
cat >> $CONFIG_STATUS <<EOF
  | 
| 
sl@0
 | 
  2216  | 
  | 
| 
sl@0
 | 
  2217  | 
# Protect against being on the right side of a sed subst in config.status.
  | 
| 
sl@0
 | 
  2218  | 
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
  | 
| 
sl@0
 | 
  2219  | 
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
  | 
| 
sl@0
 | 
  2220  | 
$ac_vpsub
  | 
| 
sl@0
 | 
  2221  | 
$extrasub
  | 
| 
sl@0
 | 
  2222  | 
s%@SHELL@%$SHELL%g
  | 
| 
sl@0
 | 
  2223  | 
s%@CFLAGS@%$CFLAGS%g
  | 
| 
sl@0
 | 
  2224  | 
s%@CPPFLAGS@%$CPPFLAGS%g
  | 
| 
sl@0
 | 
  2225  | 
s%@CXXFLAGS@%$CXXFLAGS%g
  | 
| 
sl@0
 | 
  2226  | 
s%@FFLAGS@%$FFLAGS%g
  | 
| 
sl@0
 | 
  2227  | 
s%@DEFS@%$DEFS%g
  | 
| 
sl@0
 | 
  2228  | 
s%@LDFLAGS@%$LDFLAGS%g
  | 
| 
sl@0
 | 
  2229  | 
s%@LIBS@%$LIBS%g
  | 
| 
sl@0
 | 
  2230  | 
s%@exec_prefix@%$exec_prefix%g
  | 
| 
sl@0
 | 
  2231  | 
s%@prefix@%$prefix%g
  | 
| 
sl@0
 | 
  2232  | 
s%@program_transform_name@%$program_transform_name%g
  | 
| 
sl@0
 | 
  2233  | 
s%@bindir@%$bindir%g
  | 
| 
sl@0
 | 
  2234  | 
s%@sbindir@%$sbindir%g
  | 
| 
sl@0
 | 
  2235  | 
s%@libexecdir@%$libexecdir%g
  | 
| 
sl@0
 | 
  2236  | 
s%@datadir@%$datadir%g
  | 
| 
sl@0
 | 
  2237  | 
s%@sysconfdir@%$sysconfdir%g
  | 
| 
sl@0
 | 
  2238  | 
s%@sharedstatedir@%$sharedstatedir%g
  | 
| 
sl@0
 | 
  2239  | 
s%@localstatedir@%$localstatedir%g
  | 
| 
sl@0
 | 
  2240  | 
s%@libdir@%$libdir%g
  | 
| 
sl@0
 | 
  2241  | 
s%@includedir@%$includedir%g
  | 
| 
sl@0
 | 
  2242  | 
s%@oldincludedir@%$oldincludedir%g
  | 
| 
sl@0
 | 
  2243  | 
s%@infodir@%$infodir%g
  | 
| 
sl@0
 | 
  2244  | 
s%@mandir@%$mandir%g
  | 
| 
sl@0
 | 
  2245  | 
s%@CC@%$CC%g
  | 
| 
sl@0
 | 
  2246  | 
s%@AR@%$AR%g
  | 
| 
sl@0
 | 
  2247  | 
s%@RANLIB@%$RANLIB%g
  | 
| 
sl@0
 | 
  2248  | 
s%@RC@%$RC%g
  | 
| 
sl@0
 | 
  2249  | 
s%@SET_MAKE@%$SET_MAKE%g
  | 
| 
sl@0
 | 
  2250  | 
s%@OBJEXT@%$OBJEXT%g
  | 
| 
sl@0
 | 
  2251  | 
s%@EXEEXT@%$EXEEXT%g
  | 
| 
sl@0
 | 
  2252  | 
s%@TCL_THREADS@%$TCL_THREADS%g
  | 
| 
sl@0
 | 
  2253  | 
s%@CYGPATH@%$CYGPATH%g
  | 
| 
sl@0
 | 
  2254  | 
s%@DL_LIBS@%$DL_LIBS%g
  | 
| 
sl@0
 | 
  2255  | 
s%@CFLAGS_DEBUG@%$CFLAGS_DEBUG%g
  | 
| 
sl@0
 | 
  2256  | 
s%@CFLAGS_OPTIMIZE@%$CFLAGS_OPTIMIZE%g
  | 
| 
sl@0
 | 
  2257  | 
s%@CFLAGS_WARNING@%$CFLAGS_WARNING%g
  | 
| 
sl@0
 | 
  2258  | 
s%@CFLAGS_DEFAULT@%$CFLAGS_DEFAULT%g
  | 
| 
sl@0
 | 
  2259  | 
s%@LDFLAGS_DEFAULT@%$LDFLAGS_DEFAULT%g
  | 
| 
sl@0
 | 
  2260  | 
s%@CPP@%$CPP%g
  | 
| 
sl@0
 | 
  2261  | 
s%@MAN2TCLFLAGS@%$MAN2TCLFLAGS%g
  | 
| 
sl@0
 | 
  2262  | 
s%@TCL_VERSION@%$TCL_VERSION%g
  | 
| 
sl@0
 | 
  2263  | 
s%@TCL_MAJOR_VERSION@%$TCL_MAJOR_VERSION%g
  | 
| 
sl@0
 | 
  2264  | 
s%@TCL_MINOR_VERSION@%$TCL_MINOR_VERSION%g
  | 
| 
sl@0
 | 
  2265  | 
s%@TCL_PATCH_LEVEL@%$TCL_PATCH_LEVEL%g
  | 
| 
sl@0
 | 
  2266  | 
s%@TCL_LIB_FILE@%$TCL_LIB_FILE%g
  | 
| 
sl@0
 | 
  2267  | 
s%@TCL_LIB_FLAG@%$TCL_LIB_FLAG%g
  | 
| 
sl@0
 | 
  2268  | 
s%@TCL_LIB_SPEC@%$TCL_LIB_SPEC%g
  | 
| 
sl@0
 | 
  2269  | 
s%@TCL_STUB_LIB_FILE@%$TCL_STUB_LIB_FILE%g
  | 
| 
sl@0
 | 
  2270  | 
s%@TCL_STUB_LIB_FLAG@%$TCL_STUB_LIB_FLAG%g
  | 
| 
sl@0
 | 
  2271  | 
s%@TCL_STUB_LIB_SPEC@%$TCL_STUB_LIB_SPEC%g
  | 
| 
sl@0
 | 
  2272  | 
s%@TCL_STUB_LIB_PATH@%$TCL_STUB_LIB_PATH%g
  | 
| 
sl@0
 | 
  2273  | 
s%@TCL_INCLUDE_SPEC@%$TCL_INCLUDE_SPEC%g
  | 
| 
sl@0
 | 
  2274  | 
s%@TCL_BUILD_STUB_LIB_SPEC@%$TCL_BUILD_STUB_LIB_SPEC%g
  | 
| 
sl@0
 | 
  2275  | 
s%@TCL_BUILD_STUB_LIB_PATH@%$TCL_BUILD_STUB_LIB_PATH%g
  | 
| 
sl@0
 | 
  2276  | 
s%@TCL_DLL_FILE@%$TCL_DLL_FILE%g
  | 
| 
sl@0
 | 
  2277  | 
s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
  | 
| 
sl@0
 | 
  2278  | 
s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
  | 
| 
sl@0
 | 
  2279  | 
s%@TCL_DBGX@%$TCL_DBGX%g
  | 
| 
sl@0
 | 
  2280  | 
s%@CFG_TCL_SHARED_LIB_SUFFIX@%$CFG_TCL_SHARED_LIB_SUFFIX%g
  | 
| 
sl@0
 | 
  2281  | 
s%@CFG_TCL_UNSHARED_LIB_SUFFIX@%$CFG_TCL_UNSHARED_LIB_SUFFIX%g
  | 
| 
sl@0
 | 
  2282  | 
s%@CFG_TCL_EXPORT_FILE_SUFFIX@%$CFG_TCL_EXPORT_FILE_SUFFIX%g
  | 
| 
sl@0
 | 
  2283  | 
s%@EXTRA_CFLAGS@%$EXTRA_CFLAGS%g
  | 
| 
sl@0
 | 
  2284  | 
s%@DEPARG@%$DEPARG%g
  | 
| 
sl@0
 | 
  2285  | 
s%@CC_OBJNAME@%$CC_OBJNAME%g
  | 
| 
sl@0
 | 
  2286  | 
s%@CC_EXENAME@%$CC_EXENAME%g
  | 
| 
sl@0
 | 
  2287  | 
s%@LDFLAGS_DEBUG@%$LDFLAGS_DEBUG%g
  | 
| 
sl@0
 | 
  2288  | 
s%@LDFLAGS_OPTIMIZE@%$LDFLAGS_OPTIMIZE%g
  | 
| 
sl@0
 | 
  2289  | 
s%@LDFLAGS_CONSOLE@%$LDFLAGS_CONSOLE%g
  | 
| 
sl@0
 | 
  2290  | 
s%@LDFLAGS_WINDOW@%$LDFLAGS_WINDOW%g
  | 
| 
sl@0
 | 
  2291  | 
s%@STLIB_LD@%$STLIB_LD%g
  | 
| 
sl@0
 | 
  2292  | 
s%@SHLIB_LD@%$SHLIB_LD%g
  | 
| 
sl@0
 | 
  2293  | 
s%@SHLIB_LD_LIBS@%$SHLIB_LD_LIBS%g
  | 
| 
sl@0
 | 
  2294  | 
s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g
  | 
| 
sl@0
 | 
  2295  | 
s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g
  | 
| 
sl@0
 | 
  2296  | 
s%@TCL_SHARED_BUILD@%$TCL_SHARED_BUILD%g
  | 
| 
sl@0
 | 
  2297  | 
s%@LIBS_GUI@%$LIBS_GUI%g
  | 
| 
sl@0
 | 
  2298  | 
s%@DLLSUFFIX@%$DLLSUFFIX%g
  | 
| 
sl@0
 | 
  2299  | 
s%@LIBPREFIX@%$LIBPREFIX%g
  | 
| 
sl@0
 | 
  2300  | 
s%@LIBSUFFIX@%$LIBSUFFIX%g
  | 
| 
sl@0
 | 
  2301  | 
s%@EXESUFFIX@%$EXESUFFIX%g
  | 
| 
sl@0
 | 
  2302  | 
s%@LIBRARIES@%$LIBRARIES%g
  | 
| 
sl@0
 | 
  2303  | 
s%@MAKE_LIB@%$MAKE_LIB%g
  | 
| 
sl@0
 | 
  2304  | 
s%@POST_MAKE_LIB@%$POST_MAKE_LIB%g
  | 
| 
sl@0
 | 
  2305  | 
s%@MAKE_DLL@%$MAKE_DLL%g
  | 
| 
sl@0
 | 
  2306  | 
s%@MAKE_EXE@%$MAKE_EXE%g
  | 
| 
sl@0
 | 
  2307  | 
s%@TCL_BUILD_LIB_SPEC@%$TCL_BUILD_LIB_SPEC%g
  | 
| 
sl@0
 | 
  2308  | 
s%@TCL_LD_SEARCH_FLAGS@%$TCL_LD_SEARCH_FLAGS%g
  | 
| 
sl@0
 | 
  2309  | 
s%@TCL_NEEDS_EXP_FILE@%$TCL_NEEDS_EXP_FILE%g
  | 
| 
sl@0
 | 
  2310  | 
s%@TCL_BUILD_EXP_FILE@%$TCL_BUILD_EXP_FILE%g
  | 
| 
sl@0
 | 
  2311  | 
s%@TCL_EXP_FILE@%$TCL_EXP_FILE%g
  | 
| 
sl@0
 | 
  2312  | 
s%@LIBOBJS@%$LIBOBJS%g
  | 
| 
sl@0
 | 
  2313  | 
s%@TCL_LIB_VERSIONS_OK@%$TCL_LIB_VERSIONS_OK%g
  | 
| 
sl@0
 | 
  2314  | 
s%@TCL_PACKAGE_PATH@%$TCL_PACKAGE_PATH%g
  | 
| 
sl@0
 | 
  2315  | 
s%@TCL_DDE_VERSION@%$TCL_DDE_VERSION%g
  | 
| 
sl@0
 | 
  2316  | 
s%@TCL_DDE_MAJOR_VERSION@%$TCL_DDE_MAJOR_VERSION%g
  | 
| 
sl@0
 | 
  2317  | 
s%@TCL_DDE_MINOR_VERSION@%$TCL_DDE_MINOR_VERSION%g
  | 
| 
sl@0
 | 
  2318  | 
s%@TCL_REG_VERSION@%$TCL_REG_VERSION%g
  | 
| 
sl@0
 | 
  2319  | 
s%@TCL_REG_MAJOR_VERSION@%$TCL_REG_MAJOR_VERSION%g
  | 
| 
sl@0
 | 
  2320  | 
s%@TCL_REG_MINOR_VERSION@%$TCL_REG_MINOR_VERSION%g
  | 
| 
sl@0
 | 
  2321  | 
s%@RC_OUT@%$RC_OUT%g
  | 
| 
sl@0
 | 
  2322  | 
s%@RC_TYPE@%$RC_TYPE%g
  | 
| 
sl@0
 | 
  2323  | 
s%@RC_INCLUDE@%$RC_INCLUDE%g
  | 
| 
sl@0
 | 
  2324  | 
s%@RC_DEFINE@%$RC_DEFINE%g
  | 
| 
sl@0
 | 
  2325  | 
s%@RC_DEFINES@%$RC_DEFINES%g
  | 
| 
sl@0
 | 
  2326  | 
s%@RES@%$RES%g
  | 
| 
sl@0
 | 
  2327  | 
  | 
| 
sl@0
 | 
  2328  | 
CEOF
  | 
| 
sl@0
 | 
  2329  | 
EOF
  | 
| 
sl@0
 | 
  2330  | 
  | 
| 
sl@0
 | 
  2331  | 
cat >> $CONFIG_STATUS <<\EOF
  | 
| 
sl@0
 | 
  2332  | 
  | 
| 
sl@0
 | 
  2333  | 
# Split the substitutions into bite-sized pieces for seds with
  | 
| 
sl@0
 | 
  2334  | 
# small command number limits, like on Digital OSF/1 and HP-UX.
  | 
| 
sl@0
 | 
  2335  | 
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  | 
| 
sl@0
 | 
  2336  | 
ac_file=1 # Number of current file.
  | 
| 
sl@0
 | 
  2337  | 
ac_beg=1 # First line for current file.
  | 
| 
sl@0
 | 
  2338  | 
ac_end=$ac_max_sed_cmds # Line after last line for current file.
  | 
| 
sl@0
 | 
  2339  | 
ac_more_lines=:
  | 
| 
sl@0
 | 
  2340  | 
ac_sed_cmds=""
  | 
| 
sl@0
 | 
  2341  | 
while $ac_more_lines; do
  | 
| 
sl@0
 | 
  2342  | 
  if test $ac_beg -gt 1; then
  | 
| 
sl@0
 | 
  2343  | 
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
 | 
| 
sl@0
 | 
  2344  | 
  else
  | 
| 
sl@0
 | 
  2345  | 
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
 | 
| 
sl@0
 | 
  2346  | 
  fi
  | 
| 
sl@0
 | 
  2347  | 
  if test ! -s conftest.s$ac_file; then
  | 
| 
sl@0
 | 
  2348  | 
    ac_more_lines=false
  | 
| 
sl@0
 | 
  2349  | 
    rm -f conftest.s$ac_file
  | 
| 
sl@0
 | 
  2350  | 
  else
  | 
| 
sl@0
 | 
  2351  | 
    if test -z "$ac_sed_cmds"; then
  | 
| 
sl@0
 | 
  2352  | 
      ac_sed_cmds="sed -f conftest.s$ac_file"
  | 
| 
sl@0
 | 
  2353  | 
    else
  | 
| 
sl@0
 | 
  2354  | 
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  | 
| 
sl@0
 | 
  2355  | 
    fi
  | 
| 
sl@0
 | 
  2356  | 
    ac_file=`expr $ac_file + 1`
  | 
| 
sl@0
 | 
  2357  | 
    ac_beg=$ac_end
  | 
| 
sl@0
 | 
  2358  | 
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  | 
| 
sl@0
 | 
  2359  | 
  fi
  | 
| 
sl@0
 | 
  2360  | 
done
  | 
| 
sl@0
 | 
  2361  | 
if test -z "$ac_sed_cmds"; then
  | 
| 
sl@0
 | 
  2362  | 
  ac_sed_cmds=cat
  | 
| 
sl@0
 | 
  2363  | 
fi
  | 
| 
sl@0
 | 
  2364  | 
EOF
  | 
| 
sl@0
 | 
  2365  | 
  | 
| 
sl@0
 | 
  2366  | 
cat >> $CONFIG_STATUS <<EOF
  | 
| 
sl@0
 | 
  2367  | 
  | 
| 
sl@0
 | 
  2368  | 
CONFIG_FILES=\${CONFIG_FILES-"Makefile tclConfig.sh tcl.hpj"}
 | 
| 
sl@0
 | 
  2369  | 
EOF
  | 
| 
sl@0
 | 
  2370  | 
cat >> $CONFIG_STATUS <<\EOF
  | 
| 
sl@0
 | 
  2371  | 
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  | 
| 
sl@0
 | 
  2372  | 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  | 
| 
sl@0
 | 
  2373  | 
  case "$ac_file" in
  | 
| 
sl@0
 | 
  2374  | 
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  | 
| 
sl@0
 | 
  2375  | 
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  | 
| 
sl@0
 | 
  2376  | 
  *) ac_file_in="${ac_file}.in" ;;
 | 
| 
sl@0
 | 
  2377  | 
  esac
  | 
| 
sl@0
 | 
  2378  | 
  | 
| 
sl@0
 | 
  2379  | 
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  | 
| 
sl@0
 | 
  2380  | 
  | 
| 
sl@0
 | 
  2381  | 
  # Remove last slash and all that follows it.  Not all systems have dirname.
  | 
| 
sl@0
 | 
  2382  | 
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  | 
| 
sl@0
 | 
  2383  | 
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  | 
| 
sl@0
 | 
  2384  | 
    # The file is in a subdirectory.
  | 
| 
sl@0
 | 
  2385  | 
    test ! -d "$ac_dir" && mkdir "$ac_dir"
  | 
| 
sl@0
 | 
  2386  | 
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  | 
| 
sl@0
 | 
  2387  | 
    # A "../" for each directory in $ac_dir_suffix.
  | 
| 
sl@0
 | 
  2388  | 
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  | 
| 
sl@0
 | 
  2389  | 
  else
  | 
| 
sl@0
 | 
  2390  | 
    ac_dir_suffix= ac_dots=
  | 
| 
sl@0
 | 
  2391  | 
  fi
  | 
| 
sl@0
 | 
  2392  | 
  | 
| 
sl@0
 | 
  2393  | 
  case "$ac_given_srcdir" in
  | 
| 
sl@0
 | 
  2394  | 
  .)  srcdir=.
  | 
| 
sl@0
 | 
  2395  | 
      if test -z "$ac_dots"; then top_srcdir=.
  | 
| 
sl@0
 | 
  2396  | 
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  | 
| 
sl@0
 | 
  2397  | 
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  | 
| 
sl@0
 | 
  2398  | 
  *) # Relative path.
  | 
| 
sl@0
 | 
  2399  | 
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  | 
| 
sl@0
 | 
  2400  | 
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  | 
| 
sl@0
 | 
  2401  | 
  esac
  | 
| 
sl@0
 | 
  2402  | 
  | 
| 
sl@0
 | 
  2403  | 
  | 
| 
sl@0
 | 
  2404  | 
  echo creating "$ac_file"
  | 
| 
sl@0
 | 
  2405  | 
  rm -f "$ac_file"
  | 
| 
sl@0
 | 
  2406  | 
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  | 
| 
sl@0
 | 
  2407  | 
  case "$ac_file" in
  | 
| 
sl@0
 | 
  2408  | 
  *Makefile*) ac_comsub="1i\\
  | 
| 
sl@0
 | 
  2409  | 
# $configure_input" ;;
  | 
| 
sl@0
 | 
  2410  | 
  *) ac_comsub= ;;
  | 
| 
sl@0
 | 
  2411  | 
  esac
  | 
| 
sl@0
 | 
  2412  | 
  | 
| 
sl@0
 | 
  2413  | 
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  | 
| 
sl@0
 | 
  2414  | 
  sed -e "$ac_comsub
  | 
| 
sl@0
 | 
  2415  | 
s%@configure_input@%$configure_input%g
  | 
| 
sl@0
 | 
  2416  | 
s%@srcdir@%$srcdir%g
  | 
| 
sl@0
 | 
  2417  | 
s%@top_srcdir@%$top_srcdir%g
  | 
| 
sl@0
 | 
  2418  | 
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  | 
| 
sl@0
 | 
  2419  | 
fi; done
  | 
| 
sl@0
 | 
  2420  | 
rm -f conftest.s*
  | 
| 
sl@0
 | 
  2421  | 
  | 
| 
sl@0
 | 
  2422  | 
EOF
  | 
| 
sl@0
 | 
  2423  | 
cat >> $CONFIG_STATUS <<EOF
  | 
| 
sl@0
 | 
  2424  | 
  | 
| 
sl@0
 | 
  2425  | 
EOF
  | 
| 
sl@0
 | 
  2426  | 
cat >> $CONFIG_STATUS <<\EOF
  | 
| 
sl@0
 | 
  2427  | 
  | 
| 
sl@0
 | 
  2428  | 
exit 0
  | 
| 
sl@0
 | 
  2429  | 
EOF
  | 
| 
sl@0
 | 
  2430  | 
chmod +x $CONFIG_STATUS
  | 
| 
sl@0
 | 
  2431  | 
rm -fr confdefs* $ac_clean_files
  | 
| 
sl@0
 | 
  2432  | 
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 | 
| 
sl@0
 | 
  2433  | 
  |