/[dejagnu]/dejagnu/configure
ViewVC logotype

Diff of /dejagnu/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by rsavoye, Wed May 30 15:35:50 2001 UTC revision 1.7 by rsavoye, Wed Sep 12 22:31:36 2001 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
   
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated automatically using autoconf version 2.13  # Generated by Autoconf 2.50.
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.  
4  #  #
5    # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6    # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
9    
10  # Defaults:  # Be Bourne compatible
11  ac_help=  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12      emulate sh
13      NULLCMD=:
14    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15      set -o posix
16    fi
17    
18    # Name of the executable.
19    as_me=`echo "$0" |sed 's,.*[\\/],,'`
20    
21    if expr a : '\(a\)' >/dev/null 2>&1; then
22      as_expr=expr
23    else
24      as_expr=false
25    fi
26    
27    rm -f conf$$ conf$$.exe conf$$.file
28    echo >conf$$.file
29    if ln -s conf$$.file conf$$ 2>/dev/null; then
30      # We could just check for DJGPP; but this test a) works b) is more generic
31      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32      if test -f conf$$.exe; then
33        # Don't use ln at all; we don't have any links
34        as_ln_s='cp -p'
35      else
36        as_ln_s='ln -s'
37      fi
38    elif ln conf$$.file conf$$ 2>/dev/null; then
39      as_ln_s=ln
40    else
41      as_ln_s='cp -p'
42    fi
43    rm -f conf$$ conf$$.exe conf$$.file
44    
45    as_executable_p="test -f"
46    
47    # Support unset when possible.
48    if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
49      as_unset=unset
50    else
51      as_unset=false
52    fi
53    
54    # NLS nuisances.
55    $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
56    $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
57    $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
58    $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
59    $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
60    $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
61    $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
62    $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
63    
64    # IFS
65    # We need space, tab and new line, in precisely that order.
66    as_nl='
67    '
68    IFS="   $as_nl"
69    
70    # CDPATH.
71    $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
72    
73    # Name of the host.
74    # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
75    # so uname gets run too.
76    ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
77    
78    exec 6>&1
79    
80    #
81    # Initializations.
82    #
83  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
84  # Any additions from configure.in:  cross_compiling=no
85  ac_help="$ac_help  subdirs=
86    --enable-maintainer-mode enable make rules and dependencies not useful  MFLAGS= MAKEFLAGS=
87                            (and sometimes confusing) to the casual installer"  SHELL=${CONFIG_SHELL-/bin/sh}
88  ac_help="$ac_help  
89    --with-docbook       directory where the db2 sgml tools are"  # Maximum number of lines to put in a shell here document.
90  ac_help="$ac_help  # This variable seems obsolete.  It should probably be removed, and
91    --with-tclinclude       directory where tcl header  # only ac_max_sed_lines should be used.
92  s are"  : ${ac_max_here_lines=38}
93    
94    # Avoid depending upon Character Ranges.
95    ac_cr_az='abcdefghijklmnopqrstuvwxyz'
96    ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97    ac_cr_09='0123456789'
98    ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
99    
100    # Sed expression to map a string onto a valid sh and CPP variable names.
101    ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
102    ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
103    
104    ac_unique_file="runtest.exp"
105    ac_subdirs_all="$ac_subdirs_all example/calc"
106    
107  # Initialize some variables set by options.  # Initialize some variables set by options.
108    ac_init_help=
109    ac_init_version=false
110  # The variables have the same names as the options, with  # The variables have the same names as the options, with
111  # dashes changed to underlines.  # dashes changed to underlines.
112  build=NONE  cache_file=/dev/null
 cache_file=./config.cache  
113  exec_prefix=NONE  exec_prefix=NONE
 host=NONE  
114  no_create=  no_create=
 nonopt=NONE  
115  no_recursion=  no_recursion=
116  prefix=NONE  prefix=NONE
117  program_prefix=NONE  program_prefix=NONE
# Line 37  program_transform_name=s,x,x, Line 120  program_transform_name=s,x,x,
120  silent=  silent=
121  site=  site=
122  srcdir=  srcdir=
 target=NONE  
123  verbose=  verbose=
124  x_includes=NONE  x_includes=NONE
125  x_libraries=NONE  x_libraries=NONE
126    
127    # Installation directory options.
128    # These are left unexpanded so users can "make install exec_prefix=/foo"
129    # and all the variables that are supposed to be based on exec_prefix
130    # by default will actually change.
131    # Use braces instead of parens because sh, perl, etc. also accept them.
132  bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
133  sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
134  libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
# Line 54  oldincludedir='/usr/include' Line 142  oldincludedir='/usr/include'
142  infodir='${prefix}/info'  infodir='${prefix}/info'
143  mandir='${prefix}/man'  mandir='${prefix}/man'
144    
145  # Initialize some other variables.  # Identity of this package.
146  subdirs=  PACKAGE_NAME=
147  MFLAGS= MAKEFLAGS=  PACKAGE_TARNAME=
148  SHELL=${CONFIG_SHELL-/bin/sh}  PACKAGE_VERSION=
149  # Maximum number of lines to put in a shell here document.  PACKAGE_STRING=
150  ac_max_here_lines=12  PACKAGE_BUGREPORT=
151    
152  ac_prev=  ac_prev=
153  for ac_option  for ac_option
154  do  do
   
155    # If the previous option needs an argument, assign it.    # If the previous option needs an argument, assign it.
156    if test -n "$ac_prev"; then    if test -n "$ac_prev"; then
157      eval "$ac_prev=\$ac_option"      eval "$ac_prev=\$ac_option"
# Line 72  do Line 159  do
159      continue      continue
160    fi    fi
161    
162    case "$ac_option" in    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;  
   *) ac_optarg= ;;  
   esac  
163    
164    # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
165    
166    case "$ac_option" in    case $ac_option in
167    
168    -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
169      ac_prev=bindir ;;      ac_prev=bindir ;;
170    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
171      bindir="$ac_optarg" ;;      bindir=$ac_optarg ;;
172    
173    -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
174      ac_prev=build ;;      ac_prev=build_alias ;;
175    -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
176      build="$ac_optarg" ;;      build_alias=$ac_optarg ;;
177    
178    -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
179    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
180      ac_prev=cache_file ;;      ac_prev=cache_file ;;
181    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
182    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
183      cache_file="$ac_optarg" ;;      cache_file=$ac_optarg ;;
184    
185      --config-cache | -C)
186        cache_file=config.cache ;;
187    
188    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
189      ac_prev=datadir ;;      ac_prev=datadir ;;
190    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
191    | --da=*)    | --da=*)
192      datadir="$ac_optarg" ;;      datadir=$ac_optarg ;;
193    
194    -disable-* | --disable-*)    -disable-* | --disable-*)
195      ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
196      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
197      if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
198        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
199      fi     { (exit 1); exit 1; }; }
200      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
201      eval "enable_${ac_feature}=no" ;;      eval "enable_$ac_feature=no" ;;
202    
203    -enable-* | --enable-*)    -enable-* | --enable-*)
204      ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
205      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
206      if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
207        { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
208      fi     { (exit 1); exit 1; }; }
209      ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
210      case "$ac_option" in      case $ac_option in
211        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
212        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
213      esac      esac
214      eval "enable_${ac_feature}='$ac_optarg'" ;;      eval "enable_$ac_feature='$ac_optarg'" ;;
215    
216    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
217    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 133  do Line 220  do
220    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
221    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
222    | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
223      exec_prefix="$ac_optarg" ;;      exec_prefix=$ac_optarg ;;
224    
225    -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
226      # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
227      with_gas=yes ;;      with_gas=yes ;;
228    
229    -help | --help | --hel | --he)    -help | --help | --hel | --he | -h)
230      # Omit some internal or obsolete options to make the list less imposing.      ac_init_help=long ;;
231      # This message is too long to be a string in the A/UX 3.1 sh.    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
232      cat << EOF      ac_init_help=recursive ;;
233  Usage: configure [options] [host]    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
234  Options: [defaults in brackets after descriptions]      ac_init_help=short ;;
 Configuration:  
   --cache-file=FILE       cache test results in FILE  
   --help                  print this message  
   --no-create             do not create output files  
   --quiet, --silent       do not print \`checking...' messages  
   --version               print the version of autoconf that created configure  
 Directory and file names:  
   --prefix=PREFIX         install architecture-independent files in PREFIX  
                           [$ac_default_prefix]  
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX  
                           [same as prefix]  
   --bindir=DIR            user executables in DIR [EPREFIX/bin]  
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]  
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]  
   --datadir=DIR           read-only architecture-independent data in DIR  
                           [PREFIX/share]  
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]  
   --sharedstatedir=DIR    modifiable architecture-independent data in DIR  
                           [PREFIX/com]  
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]  
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]  
   --includedir=DIR        C header files in DIR [PREFIX/include]  
   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]  
   --infodir=DIR           info documentation in DIR [PREFIX/info]  
   --mandir=DIR            man documentation in DIR [PREFIX/man]  
   --srcdir=DIR            find the sources in DIR [configure dir or ..]  
   --program-prefix=PREFIX prepend PREFIX to installed program names  
   --program-suffix=SUFFIX append SUFFIX to installed program names  
   --program-transform-name=PROGRAM  
                           run sed PROGRAM on installed program names  
 EOF  
     cat << EOF  
 Host type:  
   --build=BUILD           configure for building on BUILD [BUILD=HOST]  
   --host=HOST             configure for HOST [guessed]  
   --target=TARGET         configure for TARGET [TARGET=HOST]  
 Features and packages:  
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)  
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]  
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]  
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)  
   --x-includes=DIR        X include files are in DIR  
   --x-libraries=DIR       X library files are in DIR  
 EOF  
     if test -n "$ac_help"; then  
       echo "--enable and --with options recognized:$ac_help"  
     fi  
     exit 0 ;;  
235    
236    -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
237      ac_prev=host ;;      ac_prev=host_alias ;;
238    -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
239      host="$ac_optarg" ;;      host_alias=$ac_optarg ;;
240    
241    -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
242    | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
243      ac_prev=includedir ;;      ac_prev=includedir ;;
244    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
245    | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
246      includedir="$ac_optarg" ;;      includedir=$ac_optarg ;;
247    
248    -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
249      ac_prev=infodir ;;      ac_prev=infodir ;;
250    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
251      infodir="$ac_optarg" ;;      infodir=$ac_optarg ;;
252    
253    -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
254      ac_prev=libdir ;;      ac_prev=libdir ;;
255    -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
256      libdir="$ac_optarg" ;;      libdir=$ac_optarg ;;
257    
258    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
259    | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
260      ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
261    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
262    | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
263      libexecdir="$ac_optarg" ;;      libexecdir=$ac_optarg ;;
264    
265    -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
266    | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
# Line 230  EOF Line 269  EOF
269    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
270    | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
271    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
272      localstatedir="$ac_optarg" ;;      localstatedir=$ac_optarg ;;
273    
274    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
275      ac_prev=mandir ;;      ac_prev=mandir ;;
276    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
277      mandir="$ac_optarg" ;;      mandir=$ac_optarg ;;
278    
279    -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
280      # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
# Line 256  EOF Line 295  EOF
295    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
296    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
297    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
298      oldincludedir="$ac_optarg" ;;      oldincludedir=$ac_optarg ;;
299    
300    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
301      ac_prev=prefix ;;      ac_prev=prefix ;;
302    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
303      prefix="$ac_optarg" ;;      prefix=$ac_optarg ;;
304    
305    -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
306    | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
307      ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
308    -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
309    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
310      program_prefix="$ac_optarg" ;;      program_prefix=$ac_optarg ;;
311    
312    -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
313    | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
314      ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
315    -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
316    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
317      program_suffix="$ac_optarg" ;;      program_suffix=$ac_optarg ;;
318    
319    -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
320    | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
# Line 292  EOF Line 331  EOF
331    | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
332    | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
333    | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
334      program_transform_name="$ac_optarg" ;;      program_transform_name=$ac_optarg ;;
335    
336    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
337    | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
# Line 302  EOF Line 341  EOF
341      ac_prev=sbindir ;;      ac_prev=sbindir ;;
342    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
343    | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
344      sbindir="$ac_optarg" ;;      sbindir=$ac_optarg ;;
345    
346    -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
347    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
# Line 313  EOF Line 352  EOF
352    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
353    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
354    | --sha=* | --sh=*)    | --sha=* | --sh=*)
355      sharedstatedir="$ac_optarg" ;;      sharedstatedir=$ac_optarg ;;
356    
357    -site | --site | --sit)    -site | --site | --sit)
358      ac_prev=site ;;      ac_prev=site ;;
359    -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
360      site="$ac_optarg" ;;      site=$ac_optarg ;;
361    
362    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
363      ac_prev=srcdir ;;      ac_prev=srcdir ;;
364    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
365      srcdir="$ac_optarg" ;;      srcdir=$ac_optarg ;;
366    
367    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
368    | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
369      ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
370    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
371    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
372      sysconfdir="$ac_optarg" ;;      sysconfdir=$ac_optarg ;;
373    
374    -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
375      ac_prev=target ;;      ac_prev=target_alias ;;
376    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
377      target="$ac_optarg" ;;      target_alias=$ac_optarg ;;
378    
379    -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
380      verbose=yes ;;      verbose=yes ;;
381    
382    -version | --version | --versio | --versi | --vers)    -version | --version | --versio | --versi | --vers | -V)
383      echo "configure generated by autoconf version 2.13"      ac_init_version=: ;;
     exit 0 ;;  
384    
385    -with-* | --with-*)    -with-* | --with-*)
386      ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
387      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
388      if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then      expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
389        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
390      fi     { (exit 1); exit 1; }; }
391      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
392      case "$ac_option" in      case $ac_option in
393        *=*) ;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
394        *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
395      esac      esac
396      eval "with_${ac_package}='$ac_optarg'" ;;      eval "with_$ac_package='$ac_optarg'" ;;
397    
398    -without-* | --without-*)    -without-* | --without-*)
399      ac_package=`echo $ac_option|sed -e 's/-*without-//'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
400      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
401      if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then      expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
402        { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
403      fi     { (exit 1); exit 1; }; }
404      ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
405      eval "with_${ac_package}=no" ;;      eval "with_$ac_package=no" ;;
406    
407    --x)    --x)
408      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 375  EOF Line 413  EOF
413      ac_prev=x_includes ;;      ac_prev=x_includes ;;
414    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
415    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
416      x_includes="$ac_optarg" ;;      x_includes=$ac_optarg ;;
417    
418    -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
419    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
420      ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
421    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
422    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
423      x_libraries="$ac_optarg" ;;      x_libraries=$ac_optarg ;;
424    
425    -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }    -*) { echo "$as_me: error: unrecognized option: $ac_option
426    Try \`$0 --help' for more information." >&2
427       { (exit 1); exit 1; }; }
428      ;;      ;;
429    
430      *=*)
431        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
432        # Reject names that are not valid shell variable names.
433        expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
434          { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
435       { (exit 1); exit 1; }; }
436        ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
437        eval "$ac_envvar='$ac_optarg'"
438        export $ac_envvar ;;
439    
440    *)    *)
441      if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then      # FIXME: should be removed in autoconf 3.0.
442        echo "configure: warning: $ac_option: invalid host type" 1>&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
443      fi      expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
444      if test "x$nonopt" != xNONE; then        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
445        { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     fi  
     nonopt="$ac_option"  
446      ;;      ;;
447    
448    esac    esac
449  done  done
450    
451  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
452    { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
453  fi    { echo "$as_me: error: missing argument to $ac_option" >&2
454       { (exit 1); exit 1; }; }
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
 # File descriptor usage:  
 # 0 standard input  
 # 1 file creation  
 # 2 errors and warnings  
 # 3 some systems may open it to /dev/tty  
 # 4 used on the Kubota Titan  
 # 6 checking for... messages and results  
 # 5 compiler messages saved in config.log  
 if test "$silent" = yes; then  
   exec 6>/dev/null  
 else  
   exec 6>&1  
455  fi  fi
 exec 5>./config.log  
456    
457  echo "\  # Be sure to have absolute paths.
458  This file contains any messages produced by compilers while  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
459  running configure, to aid debugging if configure makes a mistake.                localstatedir libdir includedir oldincludedir infodir mandir \
460  " 1>&5                exec_prefix prefix
   
 # Strip out --no-create and --no-recursion so they do not pile up.  
 # Also quote any args containing shell metacharacters.  
 ac_configure_args=  
 for ac_arg  
461  do  do
462    case "$ac_arg" in    eval ac_val=$`echo $ac_var`
463    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    case $ac_val in
464    | --no-cr | --no-c) ;;      [\\/$]* | ?:[\\/]* ) ;;
465    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      NONE ) ;;
466    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;      *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
467    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)     { (exit 1); exit 1; }; };;
   ac_configure_args="$ac_configure_args '$ac_arg'" ;;  
   *) ac_configure_args="$ac_configure_args $ac_arg" ;;  
468    esac    esac
469  done  done
470    
471  # NLS nuisances.  # There might be people who depend on the old broken behavior: `$host'
472  # Only set these to C if already set.  These must not be set unconditionally  # used to hold the argument of --host etc.
473  # because not all systems understand e.g. LANG=C (notably SCO).  build=$build_alias
474  # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!  host=$host_alias
475  # Non-C LC_CTYPE values break the ctype check.  target=$target_alias
476  if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi  
477  if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi  # FIXME: should be removed in autoconf 3.0.
478  if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi  if test "x$host_alias" != x; then
479  if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi    if test "x$build_alias" = x; then
480        cross_compiling=maybe
481        echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
482        If a cross compiler is detected then cross compile mode will be used." >&2
483      elif test "x$build_alias" != "x$host_alias"; then
484        cross_compiling=yes
485      fi
486    fi
487    
488  # confdefs.h avoids OS command line length limits that DEFS can exceed.  ac_tool_prefix=
489  rm -rf conftest* confdefs.h  test -n "$host_alias" && ac_tool_prefix=$host_alias-
 # AIX cpp loses on an empty file, so make sure it contains at least a newline.  
 echo > confdefs.h  
490    
491  # A filename unique to this package, relative to the directory that  test "$silent" = yes && exec 6>/dev/null
 # configure is in, which we can look for to find out if srcdir is correct.  
 ac_unique_file=runtest.exp  
492    
493  # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
494  if test -z "$srcdir"; then  if test -z "$srcdir"; then
495    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
496    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
497    ac_prog=$0    ac_prog=$0
498    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`    ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
499    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
500    srcdir=$ac_confdir    srcdir=$ac_confdir
501    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
# Line 477  else Line 506  else
506  fi  fi
507  if test ! -r $srcdir/$ac_unique_file; then  if test ! -r $srcdir/$ac_unique_file; then
508    if test "$ac_srcdir_defaulted" = yes; then    if test "$ac_srcdir_defaulted" = yes; then
509      { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
510       { (exit 1); exit 1; }; }
511    else    else
512      { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }      { echo "$as_me: error: cannot find sources in $srcdir" >&2
513       { (exit 1); exit 1; }; }
514    fi    fi
515  fi  fi
516  srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
517    ac_env_build_alias_set=${build_alias+set}
518    ac_env_build_alias_value=$build_alias
519    ac_cv_env_build_alias_set=${build_alias+set}
520    ac_cv_env_build_alias_value=$build_alias
521    ac_env_host_alias_set=${host_alias+set}
522    ac_env_host_alias_value=$host_alias
523    ac_cv_env_host_alias_set=${host_alias+set}
524    ac_cv_env_host_alias_value=$host_alias
525    ac_env_target_alias_set=${target_alias+set}
526    ac_env_target_alias_value=$target_alias
527    ac_cv_env_target_alias_set=${target_alias+set}
528    ac_cv_env_target_alias_value=$target_alias
529    ac_env_CC_set=${CC+set}
530    ac_env_CC_value=$CC
531    ac_cv_env_CC_set=${CC+set}
532    ac_cv_env_CC_value=$CC
533    ac_env_CFLAGS_set=${CFLAGS+set}
534    ac_env_CFLAGS_value=$CFLAGS
535    ac_cv_env_CFLAGS_set=${CFLAGS+set}
536    ac_cv_env_CFLAGS_value=$CFLAGS
537    ac_env_LDFLAGS_set=${LDFLAGS+set}
538    ac_env_LDFLAGS_value=$LDFLAGS
539    ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
540    ac_cv_env_LDFLAGS_value=$LDFLAGS
541    ac_env_CPPFLAGS_set=${CPPFLAGS+set}
542    ac_env_CPPFLAGS_value=$CPPFLAGS
543    ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
544    ac_cv_env_CPPFLAGS_value=$CPPFLAGS
545    ac_env_CXX_set=${CXX+set}
546    ac_env_CXX_value=$CXX
547    ac_cv_env_CXX_set=${CXX+set}
548    ac_cv_env_CXX_value=$CXX
549    ac_env_CXXFLAGS_set=${CXXFLAGS+set}
550    ac_env_CXXFLAGS_value=$CXXFLAGS
551    ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
552    ac_cv_env_CXXFLAGS_value=$CXXFLAGS
553    
554    #
555    # Report the --help message.
556    #
557    if test "$ac_init_help" = "long"; then
558      # Omit some internal or obsolete options to make the list less imposing.
559      # This message is too long to be a string in the A/UX 3.1 sh.
560      cat <<EOF
561    \`configure' configures this package to adapt to many kinds of systems.
562    
563    Usage: $0 [OPTION]... [VAR=VALUE]...
564    
565    To assign environment variables (e.g., CC, CFLAGS...), specify them as
566    VAR=VALUE.  See below for descriptions of some of the useful variables.
567    
568    Defaults for the options are specified in brackets.
569    
570    Configuration:
571      -h, --help              display this help and exit
572          --help=short        display options specific to this package
573          --help=recursive    display the short help of all the included packages
574      -V, --version           display version information and exit
575      -q, --quiet, --silent   do not print \`checking...' messages
576          --cache-file=FILE   cache test results in FILE [disabled]
577      -C, --config-cache      alias for \`--cache-file=config.cache'
578      -n, --no-create         do not create output files
579          --srcdir=DIR        find the sources in DIR [configure dir or \`..']
580    
581    EOF
582    
583      cat <<EOF
584    Installation directories:
585      --prefix=PREFIX         install architecture-independent files in PREFIX
586                              [$ac_default_prefix]
587      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
588                              [PREFIX]
589    
590    By default, \`make install' will install all the files in
591    \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
592    an installation prefix other than \`$ac_default_prefix' using \`--prefix',
593    for instance \`--prefix=\$HOME'.
594    
595    For better control, use the options below.
596    
597    Fine tuning of the installation directories:
598      --bindir=DIR           user executables [EPREFIX/bin]
599      --sbindir=DIR          system admin executables [EPREFIX/sbin]
600      --libexecdir=DIR       program executables [EPREFIX/libexec]
601      --datadir=DIR          read-only architecture-independent data [PREFIX/share]
602      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
603      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
604      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
605      --libdir=DIR           object code libraries [EPREFIX/lib]
606      --includedir=DIR       C header files [PREFIX/include]
607      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
608      --infodir=DIR          info documentation [PREFIX/info]
609      --mandir=DIR           man documentation [PREFIX/man]
610    EOF
611    
612      cat <<\EOF
613    
614    Program names:
615      --program-prefix=PREFIX            prepend PREFIX to installed program names
616      --program-suffix=SUFFIX            append SUFFIX to installed program names
617      --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
618    EOF
619    fi
620    
621    if test -n "$ac_init_help"; then
622    
623      cat <<\EOF
624    
625    Optional Features:
626      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
627      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
628      --enable-maintainer-mode enable make rules and dependencies not useful
629                              (and sometimes confusing) to the casual installer
630    
631    Optional Packages:
632      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
633      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
634      --with-docbook       directory where the db2 sgml tools are
635      --with-tclinclude       directory where tcl header
636    s are
637    
638    Some influential environment variables:
639      CC          C compiler command
640      CFLAGS      C compiler flags
641      LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
642                  nonstandard directory <lib dir>
643      CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
644                  headers in a nonstandard directory <include dir>
645      CXX         C++ compiler command
646      CXXFLAGS    C++ compiler flags
647    
648    Use these variables to override the choices made by `configure' or to help
649    it to find libraries and programs with nonstandard names/locations.
650    
651    EOF
652    fi
653    
654    if test "$ac_init_help" = "recursive"; then
655      # If there are subdirs, report their specific --help.
656      ac_popdir=`pwd`
657      for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
658        cd $ac_subdir
659        # A "../" for each directory in /$ac_subdir.
660        ac_dots=`echo $ac_subdir |
661                 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
662    
663        case $srcdir in
664        .) # No --srcdir option.  We are building in place.
665          ac_sub_srcdir=$srcdir ;;
666        [\\/]* | ?:[\\/]* ) # Absolute path.
667          ac_sub_srcdir=$srcdir/$ac_subdir ;;
668        *) # Relative path.
669          ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
670        esac
671    
672        # Check for guested configure; otherwise get Cygnus style configure.
673        if test -f $ac_sub_srcdir/configure.gnu; then
674          echo
675          $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
676        elif test -f $ac_sub_srcdir/configure; then
677          echo
678          $SHELL $ac_sub_srcdir/configure  --help=recursive
679        elif test -f $ac_sub_srcdir/configure.ac ||
680               test -f $ac_sub_srcdir/configure.in; then
681          echo
682          $ac_configure --help
683        else
684          echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
685        fi
686        cd $ac_popdir
687      done
688    fi
689    
690    test -n "$ac_init_help" && exit 0
691    if $ac_init_version; then
692      cat <<\EOF
693    
694    Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
695    Free Software Foundation, Inc.
696    This configure script is free software; the Free Software Foundation
697    gives unlimited permission to copy, distribute and modify it.
698    EOF
699      exit 0
700    fi
701    exec 5>config.log
702    cat >&5 <<EOF
703    This file contains any messages produced by compilers while
704    running configure, to aid debugging if configure makes a mistake.
705    
706    It was created by $as_me, which was
707    generated by GNU Autoconf 2.50.  Invocation command line was
708    
709      $ $0 $@
710    
711    EOF
712    {
713    cat <<_ASUNAME
714    ## ---------- ##
715    ## Platform.  ##
716    ## ---------- ##
717    
718    hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
719    uname -m = `(uname -m) 2>/dev/null || echo unknown`
720    uname -r = `(uname -r) 2>/dev/null || echo unknown`
721    uname -s = `(uname -s) 2>/dev/null || echo unknown`
722    uname -v = `(uname -v) 2>/dev/null || echo unknown`
723    
724    /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
725    /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
726    
727    /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
728    /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
729    /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
730    hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
731    /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
732    /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
733    /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
734    
735    PATH = $PATH
736    
737    _ASUNAME
738    } >&5
739    
740    cat >&5 <<EOF
741    ## ------------ ##
742    ## Core tests.  ##
743    ## ------------ ##
744    
745    EOF
746    
747    # Keep a trace of the command line.
748    # Strip out --no-create and --no-recursion so they do not pile up.
749    # Also quote any args containing shell meta-characters.
750    ac_configure_args=
751    ac_sep=
752    for ac_arg
753    do
754      case $ac_arg in
755      -no-create | --no-create | --no-creat | --no-crea | --no-cre \
756      | --no-cr | --no-c) ;;
757      -no-recursion | --no-recursion | --no-recursio | --no-recursi \
758      | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
759      *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
760        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
761        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
762        ac_sep=" " ;;
763      *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
764         ac_sep=" " ;;
765      esac
766      # Get rid of the leading space.
767    done
768    
769    # When interrupted or exit'd, cleanup temporary files, and complete
770    # config.log.  We remove comments because anyway the quotes in there
771    # would cause problems or look ugly.
772    trap 'exit_status=$?
773      # Save into config.log some information that might help in debugging.
774      echo >&5
775      echo "## ----------------- ##" >&5
776      echo "## Cache variables.  ##" >&5
777      echo "## ----------------- ##" >&5
778      echo >&5
779      # The following way of writing the cache mishandles newlines in values,
780    {
781      (set) 2>&1 |
782        case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
783        *ac_space=\ *)
784          sed -n \
785            "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
786              s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
787          ;;
788        *)
789          sed -n \
790            "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
791          ;;
792        esac;
793    } >&5
794      sed "/^$/d" confdefs.h >conftest.log
795      if test -s conftest.log; then
796        echo >&5
797        echo "## ------------ ##" >&5
798        echo "## confdefs.h.  ##" >&5
799        echo "## ------------ ##" >&5
800        echo >&5
801        cat conftest.log >&5
802      fi
803      (echo; echo) >&5
804      test "$ac_signal" != 0 &&
805        echo "$as_me: caught signal $ac_signal" >&5
806      echo "$as_me: exit $exit_status" >&5
807      rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
808        exit $exit_status
809         ' 0
810    for ac_signal in 1 2 13 15; do
811      trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
812    done
813    ac_signal=0
814    
815    # confdefs.h avoids OS command line length limits that DEFS can exceed.
816    rm -rf conftest* confdefs.h
817    # AIX cpp loses on an empty file, so make sure it contains at least a newline.
818    echo >confdefs.h
819    
820    # Let the site file select an alternate cache file if it wants to.
821  # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
822  if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
823    if test "x$prefix" != xNONE; then    if test "x$prefix" != xNONE; then
# Line 494  if test -z "$CONFIG_SITE"; then Line 828  if test -z "$CONFIG_SITE"; then
828  fi  fi
829  for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
830    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
831      echo "loading site script $ac_site_file"      { echo "$as_me:831: loading site script $ac_site_file" >&5
832    echo "$as_me: loading site script $ac_site_file" >&6;}
833        cat "$ac_site_file" >&5
834      . "$ac_site_file"      . "$ac_site_file"
835    fi    fi
836  done  done
837    
838  if test -r "$cache_file"; then  if test -r "$cache_file"; then
839    echo "loading cache $cache_file"    # Some versions of bash will fail to source /dev/null (special
840    . $cache_file    # files actually), so we avoid doing that.
841      if test -f "$cache_file"; then
842        { echo "$as_me:842: loading cache $cache_file" >&5
843    echo "$as_me: loading cache $cache_file" >&6;}
844        case $cache_file in
845          [\\/]* | ?:[\\/]* ) . $cache_file;;
846          *)                      . ./$cache_file;;
847        esac
848      fi
849  else  else
850    echo "creating cache $cache_file"    { echo "$as_me:850: creating cache $cache_file" >&5
851    > $cache_file  echo "$as_me: creating cache $cache_file" >&6;}
852      >$cache_file
853    fi
854    
855    # Check that the precious variables saved in the cache have kept the same
856    # value.
857    ac_suggest_removing_cache=false
858    for ac_var in `(set) 2>&1 |
859                   sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
860      eval ac_old_set=\$ac_cv_env_${ac_var}_set
861      eval ac_new_set=\$ac_env_${ac_var}_set
862      eval ac_old_val="\$ac_cv_env_${ac_var}_value"
863      eval ac_new_val="\$ac_env_${ac_var}_value"
864      case $ac_old_set,$ac_new_set in
865        set,)
866          { echo "$as_me:866: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
867    echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
868          ac_suggest_removing_cache=: ;;
869        ,set)
870          { echo "$as_me:870: WARNING: \`$ac_var' was not set in the previous run" >&5
871    echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
872          ac_suggest_removing_cache=: ;;
873        ,);;
874        *)
875          if test "x$ac_old_val" != "x$ac_new_val"; then
876            { echo "$as_me:876: WARNING: \`$ac_var' has changed since the previous run:" >&5
877    echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
878            { echo "$as_me:878: WARNING:   former value:  $ac_old_val" >&5
879    echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
880            { echo "$as_me:880: WARNING:   current value: $ac_new_val" >&5
881    echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
882            ac_suggest_removing_cache=:
883          fi;;
884      esac
885    done
886    if $ac_suggest_removing_cache; then
887      { echo "$as_me:887: WARNING: changes in the environment can compromise the build" >&5
888    echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
889      { echo "$as_me:889: WARNING: consider removing $cache_file and starting over" >&5
890    echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
891  fi  fi
892    
893  ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
894  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
895  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
896  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
897  cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
898    
899  ac_exeext=  case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
900  ac_objext=o    *c*,-n*) ECHO_N= ECHO_C='
901  if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  ' ECHO_T='      ' ;;
902    # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.    *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
903    if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
904      ac_n= ac_c='  esac
905  ' ac_t='        '  echo "#! $SHELL" >conftest.sh
906    else  echo  "exit 0"   >>conftest.sh
907      ac_n=-n ac_c= ac_t=  chmod +x conftest.sh
908    fi  if { (echo "$as_me:908: PATH=\".;.\"; conftest.sh") >&5
909      (PATH=".;."; conftest.sh) 2>&5
910      ac_status=$?
911      echo "$as_me:911: \$? = $ac_status" >&5
912      (exit $ac_status); }; then
913      ac_path_separator=';'
914  else  else
915    ac_n= ac_c='\c' ac_t=    ac_path_separator=:
916  fi  fi
917    PATH_SEPARATOR="$ac_path_separator"
918    rm -f conftest.sh
919    
920  ac_aux_dir=  ac_aux_dir=
921  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
# Line 540  for ac_dir in $srcdir $srcdir/.. $srcdir Line 927  for ac_dir in $srcdir $srcdir/.. $srcdir
927      ac_aux_dir=$ac_dir      ac_aux_dir=$ac_dir
928      ac_install_sh="$ac_aux_dir/install.sh -c"      ac_install_sh="$ac_aux_dir/install.sh -c"
929      break      break
930      elif test -f $ac_dir/shtool; then
931        ac_aux_dir=$ac_dir
932        ac_install_sh="$ac_aux_dir/shtool install -c"
933        break
934    fi    fi
935  done  done
936  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
937    { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }    { { echo "$as_me:937: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
938  fi  echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
939  ac_config_guess=$ac_aux_dir/config.guess     { (exit 1); exit 1; }; }
940  ac_config_sub=$ac_aux_dir/config.sub  fi
941  ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.  ac_config_guess="$SHELL $ac_aux_dir/config.guess"
942    ac_config_sub="$SHELL $ac_aux_dir/config.sub"
943    ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
944    
945  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
946  # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
# Line 556  ac_configure=$ac_aux_dir/configure # Thi Line 949  ac_configure=$ac_aux_dir/configure # Thi
949  # SunOS /usr/etc/install  # SunOS /usr/etc/install
950  # IRIX /sbin/install  # IRIX /sbin/install
951  # AIX /bin/install  # AIX /bin/install
952    # AmigaOS /C/install, which installs bootblocks on floppy discs
953  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
954  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
955  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
956  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
957  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo "$as_me:957: checking for a BSD compatible install" >&5
958  echo "configure:565: checking for a BSD compatible install" >&5  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
959  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
960  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if test "${ac_cv_path_install+set}" = set; then
961    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
962  else  else
963      IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"      ac_save_IFS=$IFS; IFS=$ac_path_separator
964    for ac_dir in $PATH; do    for ac_dir in $PATH; do
965        IFS=$ac_save_IFS
966      # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
967      case "$ac_dir/" in      case $ac_dir/ in
968      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;      / | ./ | .// | /cC/* \
969        | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
970        | /usr/ucb/* ) ;;
971      *)      *)
972        # OSF1 and SCO ODT 3.0 have their own names for install.        # OSF1 and SCO ODT 3.0 have their own names for install.
973        # Don't use installbsd from OSF since it installs stuff as root        # Don't use installbsd from OSF since it installs stuff as root
974        # by default.        # by default.
975        for ac_prog in ginstall scoinst install; do        for ac_prog in ginstall scoinst install; do
976          if test -f $ac_dir/$ac_prog; then          if $as_executable_p "$ac_dir/$ac_prog"; then
977            if test $ac_prog = install &&            if test $ac_prog = install &&
978              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then              grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
979              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
980              :              :
981              elif test $ac_prog = install &&
982                grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
983                # program-specific install script used by HP pwplus--don't use.
984                :
985            else            else
986              ac_cv_path_install="$ac_dir/$ac_prog -c"              ac_cv_path_install="$ac_dir/$ac_prog -c"
987              break 2              break 2
# Line 590  else Line 991  else
991        ;;        ;;
992      esac      esac
993    done    done
   IFS="$ac_save_IFS"  
994    
995  fi  fi
996    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
997      INSTALL="$ac_cv_path_install"      INSTALL=$ac_cv_path_install
998    else    else
999      # As a last resort, use the slow shell script.  We don't cache a      # As a last resort, use the slow shell script.  We don't cache a
1000      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
1001      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
1002      # removed, or if the path is relative.      # removed, or if the path is relative.
1003      INSTALL="$ac_install_sh"      INSTALL=$ac_install_sh
1004    fi    fi
1005  fi  fi
1006  echo "$ac_t""$INSTALL" 1>&6  echo "$as_me:1006: result: $INSTALL" >&5
1007    echo "${ECHO_T}$INSTALL" >&6
1008    
1009  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1010  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
1011  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1012    
1013  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1014    
1015  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1016    
1017  echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6  echo "$as_me:1017: checking whether build environment is sane" >&5
1018  echo "configure:618: checking whether build environment is sane" >&5  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1019  # Just in case  # Just in case
1020  sleep 1  sleep 1
1021  echo timestamp > conftestfile  echo timestamp > conftestfile
# Line 636  if ( Line 1037  if (
1037        # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
1038        # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
1039        # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
1040        { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken        { { echo "$as_me:1040: error: ls -t appears to fail.  Make sure there is not a broken
1041  alias in your environment" 1>&2; exit 1; }  alias in your environment" >&5
1042    echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1043    alias in your environment" >&2;}
1044       { (exit 1); exit 1; }; }
1045     fi     fi
1046    
1047     test "$2" = conftestfile     test "$2" = conftestfile
# Line 646  then Line 1050  then
1050     # Ok.     # Ok.
1051     :     :
1052  else  else
1053     { echo "configure: error: newly created file is older than distributed files!     { { echo "$as_me:1053: error: newly created file is older than distributed files!
1054  Check your system clock" 1>&2; exit 1; }  Check your system clock" >&5
1055    echo "$as_me: error: newly created file is older than distributed files!
1056    Check your system clock" >&2;}
1057       { (exit 1); exit 1; }; }
1058  fi  fi
1059  rm -f conftest*  rm -f conftest*
1060  echo "$ac_t""yes" 1>&6  echo "$as_me:1060: result: yes" >&5
1061    echo "${ECHO_T}yes" >&6
1062  if test "$program_transform_name" = s,x,x,; then  if test "$program_transform_name" = s,x,x,; then
1063    program_transform_name=    program_transform_name=
1064  else  else
1065    # Double any \ or $.  echo might interpret backslashes.    # Double any \ or $.  echo might interpret backslashes.
1066    cat <<\EOF_SED > conftestsed    cat <<\EOF >conftest.sed
1067  s,\\,\\\\,g; s,\$,$$,g  s,\\,\\\\,g; s,\$,$$,g
1068  EOF_SED  EOF
1069    program_transform_name="`echo $program_transform_name|sed -f conftestsed`"    program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1070    rm -f conftestsed    rm -f conftest.sed
1071  fi  fi
1072  test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
1073    program_transform_name="s,^,${program_prefix},; $program_transform_name"    program_transform_name="s,^,${program_prefix},;$program_transform_name"
1074  # Use a double $ so make ignores it.  # Use a double $ so make ignores it.
1075  test "$program_suffix" != NONE &&  test "$program_suffix" != NONE &&
1076    program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"    program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
1077    
1078  # sed with no file args requires a program.  # sed with no file args requires a program.
1079  test "$program_transform_name" = "" && program_transform_name="s,x,x,"  test -z "$program_transform_name" && program_transform_name="s,x,x,"
1080    
1081  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  echo "$as_me:1081: checking whether ${MAKE-make} sets \${MAKE}" >&5
1082  echo "configure:675: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1083  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1084  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1085    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1086  else  else
1087    cat > conftestmake <<\EOF    cat >conftest.make <<\EOF
1088  all:  all:
1089          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
1090  EOF  EOF
1091  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1092  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1093  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
1094    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
1095  else  else
1096    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
1097  fi  fi
1098  rm -f conftestmake  rm -f conftest.make
1099  fi  fi
1100  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1101    echo "$ac_t""yes" 1>&6    echo "$as_me:1101: result: yes" >&5
1102    echo "${ECHO_T}yes" >&6
1103    SET_MAKE=    SET_MAKE=
1104  else  else
1105    echo "$ac_t""no" 1>&6    echo "$as_me:1105: result: no" >&5
1106    echo "${ECHO_T}no" >&6
1107    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
1108  fi  fi
1109    
   
1110  PACKAGE=dejagnu  PACKAGE=dejagnu
1111    
1112  VERSION=1.4.1  VERSION=1.4.1
1113    
1114  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1115    { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }    { { echo "$as_me:1115: error: source directory already configured; run \"make distclean\" there first" >&5
1116    echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1117       { (exit 1); exit 1; }; }
1118  fi  fi
1119  cat >> confdefs.h <<EOF  
1120    cat >>confdefs.h <<EOF
1121  #define PACKAGE "$PACKAGE"  #define PACKAGE "$PACKAGE"
1122  EOF  EOF
1123    
1124  cat >> confdefs.h <<EOF  cat >>confdefs.h <<EOF
1125  #define VERSION "$VERSION"  #define VERSION "$VERSION"
1126  EOF  EOF
1127    
   
   
1128  missing_dir=`cd $ac_aux_dir && pwd`  missing_dir=`cd $ac_aux_dir && pwd`
1129  echo $ac_n "checking for working aclocal""... $ac_c" 1>&6  echo "$as_me:1129: checking for working aclocal" >&5
1130  echo "configure:721: checking for working aclocal" >&5  echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1131  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
1132  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
1133  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
1134  if (aclocal --version) < /dev/null > /dev/null 2>&1; then  if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1135     ACLOCAL=aclocal     ACLOCAL=aclocal
1136     echo "$ac_t""found" 1>&6     echo "$as_me:1136: result: found" >&5
1137    echo "${ECHO_T}found" >&6
1138  else  else
1139     ACLOCAL="$missing_dir/missing aclocal"     ACLOCAL="$missing_dir/missing aclocal"
1140     echo "$ac_t""missing" 1>&6     echo "$as_me:1140: result: missing" >&5
1141    echo "${ECHO_T}missing" >&6
1142  fi  fi
1143    
1144  echo $ac_n "checking for working autoconf""... $ac_c" 1>&6  echo "$as_me:1144: checking for working autoconf" >&5
1145  echo "configure:734: checking for working autoconf" >&5  echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1146  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
1147  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
1148  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
1149  if (autoconf --version) < /dev/null > /dev/null 2>&1; then  if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1150     AUTOCONF=autoconf     AUTOCONF=autoconf
1151     echo "$ac_t""found" 1>&6     echo "$as_me:1151: result: found" >&5
1152    echo "${ECHO_T}found" >&6
1153  else  else
1154     AUTOCONF="$missing_dir/missing autoconf"     AUTOCONF="$missing_dir/missing autoconf"
1155     echo "$ac_t""missing" 1>&6     echo "$as_me:1155: result: missing" >&5
1156    echo "${ECHO_T}missing" >&6
1157  fi  fi
1158    
1159  echo $ac_n "checking for working automake""... $ac_c" 1>&6  echo "$as_me:1159: checking for working automake" >&5
1160  echo "configure:747: checking for working automake" >&5  echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1161  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
1162  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
1163  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
1164  if (automake --version) < /dev/null > /dev/null 2>&1; then  if (automake --version) < /dev/null > /dev/null 2>&1; then
1165     AUTOMAKE=automake     AUTOMAKE=automake
1166     echo "$ac_t""found" 1>&6     echo "$as_me:1166: result: found" >&5
1167    echo "${ECHO_T}found" >&6
1168  else  else
1169     AUTOMAKE="$missing_dir/missing automake"     AUTOMAKE="$missing_dir/missing automake"
1170     echo "$ac_t""missing" 1>&6     echo "$as_me:1170: result: missing" >&5
1171    echo "${ECHO_T}missing" >&6
1172  fi  fi
1173    
1174  echo $ac_n "checking for working autoheader""... $ac_c" 1>&6  echo "$as_me:1174: checking for working autoheader" >&5
1175  echo "configure:760: checking for working autoheader" >&5  echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1176  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
1177  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
1178  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
1179  if (autoheader --version) < /dev/null > /dev/null 2>&1; then  if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1180     AUTOHEADER=autoheader     AUTOHEADER=autoheader
1181     echo "$ac_t""found" 1>&6     echo "$as_me:1181: result: found" >&5
1182    echo "${ECHO_T}found" >&6
1183  else  else
1184     AUTOHEADER="$missing_dir/missing autoheader"     AUTOHEADER="$missing_dir/missing autoheader"
1185     echo "$ac_t""missing" 1>&6     echo "$as_me:1185: result: missing" >&5
1186    echo "${ECHO_T}missing" >&6
1187  fi  fi
1188    
1189  echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6  echo "$as_me:1189: checking for working makeinfo" >&5
1190  echo "configure:773: checking for working makeinfo" >&5  echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1191  # Run test in a subshell; some versions of sh will print an error if  # Run test in a subshell; some versions of sh will print an error if
1192  # an executable is not found, even if stderr is redirected.  # an executable is not found, even if stderr is redirected.
1193  # Redirect stdin to placate older versions of autoconf.  Sigh.  # Redirect stdin to placate older versions of autoconf.  Sigh.
1194  if (makeinfo --version) < /dev/null > /dev/null 2>&1; then  if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1195     MAKEINFO=makeinfo     MAKEINFO=makeinfo
1196     echo "$ac_t""found" 1>&6     echo "$as_me:1196: result: found" >&5
1197    echo "${ECHO_T}found" >&6
1198  else  else
1199     MAKEINFO="$missing_dir/missing makeinfo"     MAKEINFO="$missing_dir/missing makeinfo"
1200     echo "$ac_t""missing" 1>&6     echo "$as_me:1200: result: missing" >&5
1201    echo "${ECHO_T}missing" >&6
1202  fi  fi
1203    
1204    echo "$as_me:1204: checking whether to enable maintainer-specific portions of Makefiles" >&5
1205  echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6  echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 echo "configure:787: checking whether to enable maintainer-specific portions of Makefiles" >&5  
1206      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1207  if test "${enable_maintainer_mode+set}" = set; then  if test "${enable_maintainer_mode+set}" = set; then
1208    enableval="$enable_maintainer_mode"    enableval="$enable_maintainer_mode"
1209    USE_MAINTAINER_MODE=$enableval    USE_MAINTAINER_MODE=$enableval
1210  else  else
1211    USE_MAINTAINER_MODE=no    USE_MAINTAINER_MODE=no
1212  fi  fi;
1213      echo "$as_me:1213: result: $USE_MAINTAINER_MODE" >&5
1214    echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6  echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
     
1215    
1216  if test $USE_MAINTAINER_MODE = yes; then  if test $USE_MAINTAINER_MODE = yes; then
1217    MAINTAINER_MODE_TRUE=    MAINTAINER_MODE_TRUE=
# Line 803  else Line 1221  else
1221    MAINTAINER_MODE_FALSE=    MAINTAINER_MODE_FALSE=
1222  fi  fi
1223    MAINT=$MAINTAINER_MODE_TRUE    MAINT=$MAINTAINER_MODE_TRUE
     
1224    
1225  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  echo "$as_me:1225: checking whether ${MAKE-make} sets \${MAKE}" >&5
1226  echo "configure:810: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1227  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1228  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1229    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1230  else  else
1231    cat > conftestmake <<\EOF    cat >conftest.make <<\EOF
1232  all:  all:
1233          @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
1234  EOF  EOF
1235  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1236  eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1237  if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
1238    eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
1239  else  else
1240    eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
1241  fi  fi
1242  rm -f conftestmake  rm -f conftest.make
1243  fi  fi
1244  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1245    echo "$ac_t""yes" 1>&6    echo "$as_me:1245: result: yes" >&5
1246    echo "${ECHO_T}yes" >&6
1247    SET_MAKE=    SET_MAKE=
1248  else  else
1249    echo "$ac_t""no" 1>&6    echo "$as_me:1249: result: no" >&5
1250    echo "${ECHO_T}no" >&6
1251    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
1252  fi  fi
1253    
1254    ac_ext=c
1255    ac_cpp='$CPP $CPPFLAGS'
1256    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1257    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1258    ac_compiler_gnu=$ac_cv_c_compiler_gnu
1259    if test -n "$ac_tool_prefix"; then
1260      # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1261    set dummy ${ac_tool_prefix}gcc; ac_word=$2
1262    echo "$as_me:1262: checking for $ac_word" >&5
1263    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1264    if test "${ac_cv_prog_CC+set}" = set; then
1265      echo $ECHO_N "(cached) $ECHO_C" >&6
1266    else
1267      if test -n "$CC"; then
1268      ac_cv_prog_CC="$CC" # Let the user override the test.
1269    else
1270      ac_save_IFS=$IFS; IFS=$ac_path_separator
1271    ac_dummy="$PATH"
1272    for ac_dir in $ac_dummy; do
1273      IFS=$ac_save_IFS
1274      test -z "$ac_dir" && ac_dir=.
1275      $as_executable_p "$ac_dir/$ac_word" || continue
1276    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1277    echo "$as_me:1277: found $ac_dir/$ac_word" >&5
1278    break
1279    done
1280    
1281  # Extract the first word of "gcc", so it can be a program name with args.  fi
1282    fi
1283    CC=$ac_cv_prog_CC
1284    if test -n "$CC"; then
1285      echo "$as_me:1285: result: $CC" >&5
1286    echo "${ECHO_T}$CC" >&6
1287    else
1288      echo "$as_me:1288: result: no" >&5
1289    echo "${ECHO_T}no" >&6
1290    fi
1291    
1292    fi
1293    if test -z "$ac_cv_prog_CC"; then
1294      ac_ct_CC=$CC
1295      # Extract the first word of "gcc", so it can be a program name with args.
1296  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1297  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:1297: checking for $ac_word" >&5
1298  echo "configure:840: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1299  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1300    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1301    else
1302      if test -n "$ac_ct_CC"; then
1303      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1304    else
1305      ac_save_IFS=$IFS; IFS=$ac_path_separator
1306    ac_dummy="$PATH"
1307    for ac_dir in $ac_dummy; do
1308      IFS=$ac_save_IFS
1309      test -z "$ac_dir" && ac_dir=.
1310      $as_executable_p "$ac_dir/$ac_word" || continue
1311    ac_cv_prog_ac_ct_CC="gcc"
1312    echo "$as_me:1312: found $ac_dir/$ac_word" >&5
1313    break
1314    done
1315    
1316    fi
1317    fi
1318    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1319    if test -n "$ac_ct_CC"; then
1320      echo "$as_me:1320: result: $ac_ct_CC" >&5
1321    echo "${ECHO_T}$ac_ct_CC" >&6
1322    else
1323      echo "$as_me:1323: result: no" >&5
1324    echo "${ECHO_T}no" >&6
1325    fi
1326    
1327      CC=$ac_ct_CC
1328    else
1329      CC="$ac_cv_prog_CC"
1330    fi
1331    
1332    if test -z "$CC"; then
1333      if test -n "$ac_tool_prefix"; then
1334      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1335    set dummy ${ac_tool_prefix}cc; ac_word=$2
1336    echo "$as_me:1336: checking for $ac_word" >&5
1337    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1338    if test "${ac_cv_prog_CC+set}" = set; then
1339      echo $ECHO_N "(cached) $ECHO_C" >&6
1340  else  else
1341    if test -n "$CC"; then    if test -n "$CC"; then
1342    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1343  else  else
1344    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
1345    ac_dummy="$PATH"  ac_dummy="$PATH"
1346    for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
1347      test -z "$ac_dir" && ac_dir=.    IFS=$ac_save_IFS
1348      if test -f $ac_dir/$ac_word; then    test -z "$ac_dir" && ac_dir=.
1349        ac_cv_prog_CC="gcc"    $as_executable_p "$ac_dir/$ac_word" || continue
1350        break  ac_cv_prog_CC="${ac_tool_prefix}cc"
1351      fi  echo "$as_me:1351: found $ac_dir/$ac_word" >&5
1352    done  break
1353    IFS="$ac_save_ifs"  done
1354    
1355  fi  fi
1356  fi  fi
1357  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1358  if test -n "$CC"; then  if test -n "$CC"; then
1359    echo "$ac_t""$CC" 1>&6    echo "$as_me:1359: result: $CC" >&5
1360    echo "${ECHO_T}$CC" >&6
1361    else
1362      echo "$as_me:1362: result: no" >&5
1363    echo "${ECHO_T}no" >&6
1364    fi
1365    
1366    fi
1367    if test -z "$ac_cv_prog_CC"; then
1368      ac_ct_CC=$CC
1369      # Extract the first word of "cc", so it can be a program name with args.
1370    set dummy cc; ac_word=$2
1371    echo "$as_me:1371: checking for $ac_word" >&5
1372    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1373    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1374      echo $ECHO_N "(cached) $ECHO_C" >&6
1375    else
1376      if test -n "$ac_ct_CC"; then
1377      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1378    else
1379      ac_save_IFS=$IFS; IFS=$ac_path_separator
1380    ac_dummy="$PATH"
1381    for ac_dir in $ac_dummy; do
1382      IFS=$ac_save_IFS
1383      test -z "$ac_dir" && ac_dir=.
1384      $as_executable_p "$ac_dir/$ac_word" || continue
1385    ac_cv_prog_ac_ct_CC="cc"
1386    echo "$as_me:1386: found $ac_dir/$ac_word" >&5
1387    break
1388    done
1389    
1390    fi
1391    fi
1392    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1393    if test -n "$ac_ct_CC"; then
1394      echo "$as_me:1394: result: $ac_ct_CC" >&5
1395    echo "${ECHO_T}$ac_ct_CC" >&6
1396  else  else
1397    echo "$ac_t""no" 1>&6    echo "$as_me:1397: result: no" >&5
1398    echo "${ECHO_T}no" >&6
1399  fi  fi
1400    
1401      CC=$ac_ct_CC
1402    else
1403      CC="$ac_cv_prog_CC"
1404    fi
1405    
1406    fi
1407  if test -z "$CC"; then  if test -z "$CC"; then
1408    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1409  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1410  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:1410: checking for $ac_word" >&5
1411  echo "configure:870: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1412  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if test "${ac_cv_prog_CC+set}" = set; then
1413    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1414  else  else
1415    if test -n "$CC"; then    if test -n "$CC"; then
1416    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1417  else  else
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
1418    ac_prog_rejected=no    ac_prog_rejected=no
1419    ac_dummy="$PATH"    ac_save_IFS=$IFS; IFS=$ac_path_separator
1420    for ac_dir in $ac_dummy; do  ac_dummy="$PATH"
1421      test -z "$ac_dir" && ac_dir=.  for ac_dir in $ac_dummy; do
1422      if test -f $ac_dir/$ac_word; then    IFS=$ac_save_IFS
1423        if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then    test -z "$ac_dir" && ac_dir=.
1424          ac_prog_rejected=yes    $as_executable_p "$ac_dir/$ac_word" || continue
1425          continue  if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1426        fi    ac_prog_rejected=yes
1427        ac_cv_prog_CC="cc"    continue
1428        break  fi
1429      fi  ac_cv_prog_CC="cc"
1430    done  echo "$as_me:1430: found $ac_dir/$ac_word" >&5
1431    IFS="$ac_save_ifs"  break
1432    done
1433    
1434  if test $ac_prog_rejected = yes; then  if test $ac_prog_rejected = yes; then
1435    # We found a bogon in the path, so make sure we never use it.    # We found a bogon in the path, so make sure we never use it.
1436    set dummy $ac_cv_prog_CC    set dummy $ac_cv_prog_CC
1437    shift    shift
1438    if test $# -gt 0; then    if test $# != 0; then
1439      # We chose a different compiler from the bogus one.      # We chose a different compiler from the bogus one.
1440      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
1441      # first if we set CC to just the basename; use the full file name.      # first if we set CC to just the basename; use the full file name.
1442      shift      shift
1443      set dummy "$ac_dir/$ac_word" "$@"      set dummy "$ac_dir/$ac_word" ${1+"$@"}
1444      shift      shift
1445      ac_cv_prog_CC="$@"      ac_cv_prog_CC="$@"
1446    fi    fi
1447  fi  fi
1448  fi  fi
1449  fi  fi
1450  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1451  if test -n "$CC"; then  if test -n "$CC"; then
1452    echo "$ac_t""$CC" 1>&6    echo "$as_me:1452: result: $CC" >&5
1453    echo "${ECHO_T}$CC" >&6
1454  else  else
1455    echo "$ac_t""no" 1>&6    echo "$as_me:1455: result: no" >&5
1456    echo "${ECHO_T}no" >&6
1457  fi  fi
1458    
1459    if test -z "$CC"; then  fi
1460      case "`uname -s`" in  if test -z "$CC"; then
1461      *win32* | *WIN32*)    if test -n "$ac_tool_prefix"; then
1462        # Extract the first word of "cl", so it can be a program name with args.    for ac_prog in cl
1463  set dummy cl; ac_word=$2    do
1464  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1465  echo "configure:921: checking for $ac_word" >&5  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1466  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo "$as_me:1466: checking for $ac_word" >&5
1467    echo $ac_n "(cached) $ac_c" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468    if test "${ac_cv_prog_CC+set}" = set; then
1469      echo $ECHO_N "(cached) $ECHO_C" >&6
1470  else  else
1471    if test -n "$CC"; then    if test -n "$CC"; then
1472    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
1473  else  else
1474    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
1475    ac_dummy="$PATH"  ac_dummy="$PATH"
1476    for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
1477      test -z "$ac_dir" && ac_dir=.    IFS=$ac_save_IFS
1478      if test -f $ac_dir/$ac_word; then    test -z "$ac_dir" && ac_dir=.
1479        ac_cv_prog_CC="cl"    $as_executable_p "$ac_dir/$ac_word" || continue
1480        break  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1481      fi  echo "$as_me:1481: found $ac_dir/$ac_word" >&5
1482    done  break
1483    IFS="$ac_save_ifs"  done
1484    
1485  fi  fi
1486  fi  fi
1487  CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
1488  if test -n "$CC"; then  if test -n "$CC"; then
1489    echo "$ac_t""$CC" 1>&6    echo "$as_me:1489: result: $CC" >&5
1490    echo "${ECHO_T}$CC" >&6
1491  else  else
1492    echo "$ac_t""no" 1>&6    echo "$as_me:1492: result: no" >&5
1493    echo "${ECHO_T}no" >&6
1494  fi  fi
1495   ;;  
1496      esac      test -n "$CC" && break
1497    fi    done
   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }  
1498  fi  fi
1499    if test -z "$CC"; then
1500      ac_ct_CC=$CC
1501      for ac_prog in cl
1502    do
1503      # Extract the first word of "$ac_prog", so it can be a program name with args.
1504    set dummy $ac_prog; ac_word=$2
1505    echo "$as_me:1505: checking for $ac_word" >&5
1506    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1507    if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1508      echo $ECHO_N "(cached) $ECHO_C" >&6
1509    else
1510      if test -n "$ac_ct_CC"; then
1511      ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1512    else
1513      ac_save_IFS=$IFS; IFS=$ac_path_separator
1514    ac_dummy="$PATH"
1515    for ac_dir in $ac_dummy; do
1516      IFS=$ac_save_IFS
1517      test -z "$ac_dir" && ac_dir=.
1518      $as_executable_p "$ac_dir/$ac_word" || continue
1519    ac_cv_prog_ac_ct_CC="$ac_prog"
1520    echo "$as_me:1520: found $ac_dir/$ac_word" >&5
1521    break
1522    done
1523    
1524  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  fi
1525  echo "configure:953: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  fi
1526    ac_ct_CC=$ac_cv_prog_ac_ct_CC
1527    if test -n "$ac_ct_CC"; then
1528      echo "$as_me:1528: result: $ac_ct_CC" >&5
1529    echo "${ECHO_T}$ac_ct_CC" >&6
1530    else
1531      echo "$as_me:1531: result: no" >&5
1532    echo "${ECHO_T}no" >&6
1533    fi
1534    
1535  ac_ext=c    test -n "$ac_ct_CC" && break
1536  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  done
1537  ac_cpp='$CPP $CPPFLAGS'  
1538  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'    CC=$ac_ct_CC
1539  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  fi
1540  cross_compiling=$ac_cv_prog_cc_cross  
1541    fi
1542    
1543  cat > conftest.$ac_ext << EOF  test -z "$CC" && { { echo "$as_me:1543: error: no acceptable cc found in \$PATH" >&5
1544    echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1545       { (exit 1); exit 1; }; }
1546    
1547  #line 964 "configure"  cat >conftest.$ac_ext <<_ACEOF
1548    #line 1548 "configure"
1549  #include "confdefs.h"  #include "confdefs.h"
1550    
1551  main(){return(0);}  int
1552  EOF  main ()
1553  if { (eval echo configure:969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  {
1554    ac_cv_prog_cc_works=yes  
1555    # If we can't run a trivial program, we are probably using a cross compiler.    ;
1556    if (./conftest; exit) 2>/dev/null; then    return 0;
1557      ac_cv_prog_cc_cross=no  }
1558    _ACEOF
1559    ac_clean_files_save=$ac_clean_files
1560    ac_clean_files="$ac_clean_files a.out a.exe"
1561    # Try to create an executable without -o first, disregard a.out.
1562    # It will help us diagnose broken compiler, and finding out an intuition
1563    # of exeext.
1564    echo "$as_me:1564: checking for C compiler default output" >&5
1565    echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1566    ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1567    if { (eval echo "$as_me:1567: \"$ac_link_default\"") >&5
1568      (eval $ac_link_default) 2>&5
1569      ac_status=$?
1570      echo "$as_me:1570: \$? = $ac_status" >&5
1571      (exit $ac_status); }; then
1572      for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1573      case $ac_file in
1574        *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1575        a.out ) # We found the default executable, but exeext='' is most
1576                # certainly right.
1577                break;;
1578        *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1579              export ac_cv_exeext
1580              break;;
1581        * ) break;;
1582      esac
1583    done
1584    else
1585      echo "$as_me: failed program was:" >&5
1586    cat conftest.$ac_ext >&5
1587    { { echo "$as_me:1587: error: C compiler cannot create executables" >&5
1588    echo "$as_me: error: C compiler cannot create executables" >&2;}
1589       { (exit 77); exit 77; }; }
1590    fi
1591    
1592    ac_exeext=$ac_cv_exeext
1593    echo "$as_me:1593: result: $ac_file" >&5
1594    echo "${ECHO_T}$ac_file" >&6
1595    
1596    # Check the compiler produces executables we can run.  If not, either
1597    # the compiler is broken, or we cross compile.
1598    echo "$as_me:1598: checking whether the C compiler works" >&5
1599    echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1600    # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1601    # If not cross compiling, check that we can run a simple program.
1602    if test "$cross_compiling" != yes; then
1603      if { ac_try='./$ac_file'
1604      { (eval echo "$as_me:1604: \"$ac_try\"") >&5
1605      (eval $ac_try) 2>&5
1606      ac_status=$?
1607      echo "$as_me:1607: \$? = $ac_status" >&5
1608      (exit $ac_status); }; }; then
1609        cross_compiling=no
1610    else    else
1611      ac_cv_prog_cc_cross=yes      if test "$cross_compiling" = maybe; then
1612            cross_compiling=yes
1613        else
1614            { { echo "$as_me:1614: error: cannot run C compiled programs.
1615    If you meant to cross compile, use \`--host'." >&5
1616    echo "$as_me: error: cannot run C compiled programs.
1617    If you meant to cross compile, use \`--host'." >&2;}
1618       { (exit 1); exit 1; }; }
1619        fi
1620    fi    fi
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   ac_cv_prog_cc_works=no  
1621  fi  fi
1622  rm -fr conftest*  echo "$as_me:1622: result: yes" >&5
1623  ac_ext=c  echo "${ECHO_T}yes" >&6
1624  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
1625  ac_cpp='$CPP $CPPFLAGS'  rm -f a.out a.exe conftest$ac_cv_exeext
1626  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_clean_files=$ac_clean_files_save
1627  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  # Check the compiler produces executables we can run.  If not, either
1628  cross_compiling=$ac_cv_prog_cc_cross  # the compiler is broken, or we cross compile.
1629    echo "$as_me:1629: checking whether we are cross compiling" >&5
1630  echo "$ac_t""$ac_cv_prog_cc_works" 1>&6  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1631  if test $ac_cv_prog_cc_works = no; then  echo "$as_me:1631: result: $cross_compiling" >&5
1632    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }  echo "${ECHO_T}$cross_compiling" >&6
1633  fi  
1634  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo "$as_me:1634: checking for executable suffix" >&5
1635  echo "configure:995: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1636  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  if { (eval echo "$as_me:1636: \"$ac_link\"") >&5
1637  cross_compiling=$ac_cv_prog_cc_cross    (eval $ac_link) 2>&5
1638      ac_status=$?
1639  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6    echo "$as_me:1639: \$? = $ac_status" >&5
1640  echo "configure:1000: checking whether we are using GNU C" >&5    (exit $ac_status); }; then
1641  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1642    echo $ac_n "(cached) $ac_c" 1>&6  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1643  else  # work properly (i.e., refer to `conftest.exe'), while it won't with
1644    cat > conftest.c <<EOF  # `rm'.
1645  #ifdef __GNUC__  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1646    yes;    case $ac_file in
1647  #endif      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1648  EOF      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1649  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then            export ac_cv_exeext
1650    ac_cv_prog_gcc=yes            break;;
1651        * ) break;;
1652      esac
1653    done
1654  else  else
1655    ac_cv_prog_gcc=no    { { echo "$as_me:1655: error: cannot compute EXEEXT: cannot compile and link" >&5
1656  fi  echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1657       { (exit 1); exit 1; }; }
1658  fi  fi
1659    
1660  echo "$ac_t""$ac_cv_prog_gcc" 1>&6  rm -f conftest$ac_cv_exeext
1661    echo "$as_me:1661: result: $ac_cv_exeext" >&5
1662    echo "${ECHO_T}$ac_cv_exeext" >&6
1663    
1664  if test $ac_cv_prog_gcc = yes; then  rm -f conftest.$ac_ext
1665    GCC=yes  EXEEXT=$ac_cv_exeext
1666    ac_exeext=$EXEEXT
1667    echo "$as_me:1667: checking for object suffix" >&5
1668    echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1669    if test "${ac_cv_objext+set}" = set; then
1670      echo $ECHO_N "(cached) $ECHO_C" >&6
1671  else  else
1672    GCC=    cat >conftest.$ac_ext <<_ACEOF
1673  fi  #line 1673 "configure"
1674    #include "confdefs.h"
1675    
1676  ac_test_CFLAGS="${CFLAGS+set}"  int
1677  ac_save_CFLAGS="$CFLAGS"  main ()
1678  CFLAGS=  {
1679  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  
1680  echo "configure:1028: checking whether ${CC-cc} accepts -g" >&5    ;
1681  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then    return 0;
1682    echo $ac_n "(cached) $ac_c" 1>&6  }
1683    _ACEOF
1684    rm -f conftest.o conftest.obj
1685    if { (eval echo "$as_me:1685: \"$ac_compile\"") >&5
1686      (eval $ac_compile) 2>&5
1687      ac_status=$?
1688      echo "$as_me:1688: \$? = $ac_status" >&5
1689      (exit $ac_status); }; then
1690      for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1691      case $ac_file in
1692        *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1693        *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1694           break;;
1695      esac
1696    done
1697    else
1698      echo "$as_me: failed program was:" >&5
1699    cat conftest.$ac_ext >&5
1700    { { echo "$as_me:1700: error: cannot compute OBJEXT: cannot compile" >&5
1701    echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1702       { (exit 1); exit 1; }; }
1703    fi
1704    
1705    rm -f conftest.$ac_cv_objext conftest.$ac_ext
1706    fi
1707    echo "$as_me:1707: result: $ac_cv_objext" >&5
1708    echo "${ECHO_T}$ac_cv_objext" >&6
1709    OBJEXT=$ac_cv_objext
1710    ac_objext=$OBJEXT
1711    echo "$as_me:1711: checking whether we are using the GNU C compiler" >&5
1712    echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1713    if test "${ac_cv_c_compiler_gnu+set}" = set; then
1714      echo $ECHO_N "(cached) $ECHO_C" >&6
1715    else
1716      cat >conftest.$ac_ext <<_ACEOF
1717    #line 1717 "configure"
1718    #include "confdefs.h"
1719    
1720    int
1721    main ()
1722    {
1723    #ifndef __GNUC__
1724           choke me
1725    #endif
1726    
1727      ;
1728      return 0;
1729    }
1730    _ACEOF
1731    rm -f conftest.$ac_objext
1732    if { (eval echo "$as_me:1732: \"$ac_compile\"") >&5
1733      (eval $ac_compile) 2>&5
1734      ac_status=$?
1735      echo "$as_me:1735: \$? = $ac_status" >&5
1736      (exit $ac_status); } &&
1737             { ac_try='test -s conftest.$ac_objext'
1738      { (eval echo "$as_me:1738: \"$ac_try\"") >&5
1739      (eval $ac_try) 2>&5
1740      ac_status=$?
1741      echo "$as_me:1741: \$? = $ac_status" >&5
1742      (exit $ac_status); }; }; then
1743      ac_compiler_gnu=yes
1744    else
1745      echo "$as_me: failed program was:" >&5
1746    cat conftest.$ac_ext >&5
1747    ac_compiler_gnu=no
1748    fi
1749    rm -f conftest.$ac_objext conftest.$ac_ext
1750    ac_cv_c_compiler_gnu=$ac_compiler_gnu
1751    
1752    fi
1753    echo "$as_me:1753: result: $ac_cv_c_compiler_gnu" >&5
1754    echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1755    GCC=`test $ac_compiler_gnu = yes && echo yes`
1756    ac_test_CFLAGS=${CFLAGS+set}
1757    ac_save_CFLAGS=$CFLAGS
1758    CFLAGS="-g"
1759    echo "$as_me:1759: checking whether $CC accepts -g" >&5
1760    echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1761    if test "${ac_cv_prog_cc_g+set}" = set; then
1762      echo $ECHO_N "(cached) $ECHO_C" >&6
1763  else  else
1764    echo 'void f(){}' > conftest.c    cat >conftest.$ac_ext <<_ACEOF
1765  if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then  #line 1765 "configure"
1766    #include "confdefs.h"
1767    
1768    int
1769    main ()
1770    {
1771    
1772      ;
1773      return 0;
1774    }
1775    _ACEOF
1776    rm -f conftest.$ac_objext
1777    if { (eval echo "$as_me:1777: \"$ac_compile\"") >&5
1778      (eval $ac_compile) 2>&5
1779      ac_status=$?
1780      echo "$as_me:1780: \$? = $ac_status" >&5
1781      (exit $ac_status); } &&
1782             { ac_try='test -s conftest.$ac_objext'
1783      { (eval echo "$as_me:1783: \"$ac_try\"") >&5
1784      (eval $ac_try) 2>&5
1785      ac_status=$?
1786      echo "$as_me:1786: \$? = $ac_status" >&5
1787      (exit $ac_status); }; }; then
1788    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
1789  else  else
1790    ac_cv_prog_cc_g=no    echo "$as_me: failed program was:" >&5
1791    cat conftest.$ac_ext >&5
1792    ac_cv_prog_cc_g=no
1793  fi  fi
1794  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
   
1795  fi  fi
1796    echo "$as_me:1796: result: $ac_cv_prog_cc_g" >&5
1797  echo "$ac_t""$ac_cv_prog_cc_g" 1>&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1798  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
1799    CFLAGS="$ac_save_CFLAGS"    CFLAGS=$ac_save_CFLAGS
1800  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
1801    if test "$GCC" = yes; then    if test "$GCC" = yes; then
1802      CFLAGS="-g -O2"      CFLAGS="-g -O2"
# Line 1054  else Line 1810  else
1810      CFLAGS=      CFLAGS=
1811    fi    fi
1812  fi  fi
1813    # Some people use a C++ compiler to compile C.  Since we use `exit',
1814  for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl  # in C++ we need to declare it.  In case someone uses the same compiler
1815    # for both compiling C and C++ we need to have the C++ compiler decide
1816    # the declaration of exit, since it's the most demanding environment.
1817    cat >conftest.$ac_ext <<_ACEOF
1818    #ifndef __cplusplus
1819      choke me
1820    #endif
1821    _ACEOF
1822    rm -f conftest.$ac_objext
1823    if { (eval echo "$as_me:1823: \"$ac_compile\"") >&5
1824      (eval $ac_compile) 2>&5
1825      ac_status=$?
1826      echo "$as_me:1826: \$? = $ac_status" >&5
1827      (exit $ac_status); } &&
1828             { ac_try='test -s conftest.$ac_objext'
1829      { (eval echo "$as_me:1829: \"$ac_try\"") >&5
1830      (eval $ac_try) 2>&5
1831      ac_status=$?
1832      echo "$as_me:1832: \$? = $ac_status" >&5
1833      (exit $ac_status); }; }; then
1834      for ac_declaration in \
1835       ''\
1836       '#include <stdlib.h>' \
1837       'extern "C" void std::exit (int) throw (); using std::exit;' \
1838       'extern "C" void std::exit (int); using std::exit;' \
1839       'extern "C" void exit (int) throw ();' \
1840       'extern "C" void exit (int);' \
1841       'void exit (int);'
1842  do  do
1843  # Extract the first word of "$ac_prog", so it can be a program name with args.    cat >conftest.$ac_ext <<_ACEOF
1844  set dummy $ac_prog; ac_word=$2  #line 1844 "configure"
1845  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  #include "confdefs.h"
1846  echo "configure:1064: checking for $ac_word" >&5  #include <stdlib.h>
1847  if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then  $ac_declaration
1848    echo $ac_n "(cached) $ac_c" 1>&6  int
1849    main ()
1850    {
1851    exit (42);
1852      ;
1853      return 0;
1854    }
1855    _ACEOF
1856    rm -f conftest.$ac_objext
1857    if { (eval echo "$as_me:1857: \"$ac_compile\"") >&5
1858      (eval $ac_compile) 2>&5
1859      ac_status=$?
1860      echo "$as_me:1860: \$? = $ac_status" >&5
1861      (exit $ac_status); } &&
1862             { ac_try='test -s conftest.$ac_objext'
1863      { (eval echo "$as_me:1863: \"$ac_try\"") >&5
1864      (eval $ac_try) 2>&5
1865      ac_status=$?
1866      echo "$as_me:1866: \$? = $ac_status" >&5
1867      (exit $ac_status); }; }; then
1868      :
1869    else
1870      echo "$as_me: failed program was:" >&5
1871    cat conftest.$ac_ext >&5
1872    continue
1873    fi
1874    rm -f conftest.$ac_objext conftest.$ac_ext
1875      cat >conftest.$ac_ext <<_ACEOF
1876    #line 1876 "configure"
1877    #include "confdefs.h"
1878    $ac_declaration
1879    int
1880    main ()
1881    {
1882    exit (42);
1883      ;
1884      return 0;
1885    }
1886    _ACEOF
1887    rm -f conftest.$ac_objext
1888    if { (eval echo "$as_me:1888: \"$ac_compile\"") >&5
1889      (eval $ac_compile) 2>&5
1890      ac_status=$?
1891      echo "$as_me:1891: \$? = $ac_status" >&5
1892      (exit $ac_status); } &&
1893             { ac_try='test -s conftest.$ac_objext'
1894      { (eval echo "$as_me:1894: \"$ac_try\"") >&5
1895      (eval $ac_try) 2>&5
1896      ac_status=$?
1897      echo "$as_me:1897: \$? = $ac_status" >&5
1898      (exit $ac_status); }; }; then
1899      break
1900    else
1901      echo "$as_me: failed program was:" >&5
1902    cat conftest.$ac_ext >&5
1903    fi
1904    rm -f conftest.$ac_objext conftest.$ac_ext
1905    done
1906    echo '#ifdef __cplusplus' >>confdefs.h
1907    echo $ac_declaration      >>confdefs.h
1908    echo '#endif'             >>confdefs.h
1909    
1910    else
1911      echo "$as_me: failed program was:" >&5
1912    cat conftest.$ac_ext >&5
1913    fi
1914    rm -f conftest.$ac_objext conftest.$ac_ext
1915    ac_ext=c
1916    ac_cpp='$CPP $CPPFLAGS'
1917    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1918    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1919    ac_compiler_gnu=$ac_cv_c_compiler_gnu
1920    
1921    ac_ext=cc
1922    ac_cpp='$CXXCPP $CPPFLAGS'
1923    ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1924    ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1925    ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1926    if test -n "$ac_tool_prefix"; then
1927      for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
1928      do
1929        # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1930    set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1931    echo "$as_me:1931: checking for $ac_word" >&5
1932    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933    if test "${ac_cv_prog_CXX+set}" = set; then
1934      echo $ECHO_N "(cached) $ECHO_C" >&6
1935  else  else
1936    if test -n "$CXX"; then    if test -n "$CXX"; then
1937    ac_cv_prog_CXX="$CXX" # Let the user override the test.    ac_cv_prog_CXX="$CXX" # Let the user override the test.
1938  else  else
1939    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
1940    ac_dummy="$PATH"  ac_dummy="$PATH"
1941    for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
1942      test -z "$ac_dir" && ac_dir=.    IFS=$ac_save_IFS
1943      if test -f $ac_dir/$ac_word; then    test -z "$ac_dir" && ac_dir=.
1944        ac_cv_prog_CXX="$ac_prog"    $as_executable_p "$ac_dir/$ac_word" || continue
1945        break  ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1946      fi  echo "$as_me:1946: found $ac_dir/$ac_word" >&5
1947    done  break
1948    IFS="$ac_save_ifs"  done
1949    
1950  fi  fi
1951  fi  fi
1952  CXX="$ac_cv_prog_CXX"  CXX=$ac_cv_prog_CXX
1953  if test -n "$CXX"; then  if test -n "$CXX"; then
1954    echo "$ac_t""$CXX" 1>&6    echo "$as_me:1954: result: $CXX" >&5
1955    echo "${ECHO_T}$CXX" >&6
1956  else  else
1957    echo "$ac_t""no" 1>&6    echo "$as_me:1957: result: no" >&5
1958    echo "${ECHO_T}no" >&6
1959  fi  fi
1960    
1961  test -n "$CXX" && break      test -n "$CXX" && break
1962      done
1963    fi
1964    if test -z "$CXX"; then
1965      ac_ct_CXX=$CXX
1966      for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
1967    do
1968      # Extract the first word of "$ac_prog", so it can be a program name with args.
1969    set dummy $ac_prog; ac_word=$2
1970    echo "$as_me:1970: checking for $ac_word" >&5
1971    echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972    if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1973      echo $ECHO_N "(cached) $ECHO_C" >&6
1974    else
1975      if test -n "$ac_ct_CXX"; then
1976      ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1977    else
1978      ac_save_IFS=$IFS; IFS=$ac_path_separator
1979    ac_dummy="$PATH"
1980    for ac_dir in $ac_dummy; do
1981      IFS=$ac_save_IFS
1982      test -z "$ac_dir" && ac_dir=.
1983      $as_executable_p "$ac_dir/$ac_word" || continue
1984    ac_cv_prog_ac_ct_CXX="$ac_prog"
1985    echo "$as_me:1985: found $ac_dir/$ac_word" >&5
1986    break
1987  done  done
 test -n "$CXX" || CXX="gcc"  
1988    
1989    fi
1990    fi
1991    ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1992    if test -n "$ac_ct_CXX"; then
1993      echo "$as_me:1993: result: $ac_ct_CXX" >&5
1994    echo "${ECHO_T}$ac_ct_CXX" >&6
1995    else
1996      echo "$as_me:1996: result: no" >&5
1997    echo "${ECHO_T}no" >&6
1998    fi
1999    
2000  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6    test -n "$ac_ct_CXX" && break
2001  echo "configure:1096: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5  done
2002    test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
 ac_ext=C  
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CXXCPP $CPPFLAGS'  
 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cxx_cross  
2003    
2004  cat > conftest.$ac_ext << EOF    CXX=$ac_ct_CXX
2005    fi
2006    
2007  #line 1107 "configure"  echo "$as_me:2007: checking whether we are using the GNU C++ compiler" >&5
2008    echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2009    if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2010      echo $ECHO_N "(cached) $ECHO_C" >&6
2011    else
2012      cat >conftest.$ac_ext <<_ACEOF
2013    #line 2013 "configure"
2014  #include "confdefs.h"  #include "confdefs.h"
2015    
2016  int main(){return(0);}  int
2017  EOF  main ()
2018  if { (eval echo configure:1112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  {
2019    ac_cv_prog_cxx_works=yes  #ifndef __GNUC__
2020    # If we can't run a trivial program, we are probably using a cross compiler.         choke me
   if (./conftest; exit) 2>/dev/null; then  
     ac_cv_prog_cxx_cross=no  
   else  
     ac_cv_prog_cxx_cross=yes  
   fi  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   ac_cv_prog_cxx_works=no  
 fi  
 rm -fr conftest*  
 ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
   
 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6  
 if test $ac_cv_prog_cxx_works = no; then  
   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }  
 fi  
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  
 echo "configure:1138: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5  
 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6  
 cross_compiling=$ac_cv_prog_cxx_cross  
   
 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6  
 echo "configure:1143: checking whether we are using GNU C++" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.C <<EOF  
 #ifdef __GNUC__  
   yes;  
2021  #endif  #endif
 EOF  
 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  
   ac_cv_prog_gxx=yes  
 else  
   ac_cv_prog_gxx=no  
 fi  
 fi  
2022    
2023  echo "$ac_t""$ac_cv_prog_gxx" 1>&6    ;
2024      return 0;
2025  if test $ac_cv_prog_gxx = yes; then  }
2026    GXX=yes  _ACEOF
2027    rm -f conftest.$ac_objext
2028    if { (eval echo "$as_me:2028: \"$ac_compile\"") >&5
2029      (eval $ac_compile) 2>&5
2030      ac_status=$?
2031      echo "$as_me:2031: \$? = $ac_status" >&5
2032      (exit $ac_status); } &&
2033             { ac_try='test -s conftest.$ac_objext'
2034      { (eval echo "$as_me:2034: \"$ac_try\"") >&5
2035      (eval $ac_try) 2>&5
2036      ac_status=$?
2037      echo "$as_me:2037: \$? = $ac_status" >&5
2038      (exit $ac_status); }; }; then
2039      ac_compiler_gnu=yes
2040    else
2041      echo "$as_me: failed program was:" >&5
2042    cat conftest.$ac_ext >&5
2043    ac_compiler_gnu=no
2044    fi
2045    rm -f conftest.$ac_objext conftest.$ac_ext
2046    ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2047    
2048    fi
2049    echo "$as_me:2049: result: $ac_cv_cxx_compiler_gnu" >&5
2050    echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2051    GXX=`test $ac_compiler_gnu = yes && echo yes`
2052    ac_test_CXXFLAGS=${CXXFLAGS+set}
2053    ac_save_CXXFLAGS=$CXXFLAGS
2054    CXXFLAGS="-g"
2055    echo "$as_me:2055: checking whether $CXX accepts -g" >&5
2056    echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2057    if test "${ac_cv_prog_cxx_g+set}" = set; then
2058      echo $ECHO_N "(cached) $ECHO_C" >&6
2059  else  else
2060    GXX=    cat >conftest.$ac_ext <<_ACEOF
2061  fi  #line 2061 "configure"
2062    #include "confdefs.h"
2063    
2064  ac_test_CXXFLAGS="${CXXFLAGS+set}"  int
2065  ac_save_CXXFLAGS="$CXXFLAGS"  main ()
2066  CXXFLAGS=  {
2067  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6  
2068  echo "configure:1171: checking whether ${CXX-g++} accepts -g" >&5    ;
2069  if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then    return 0;
2070    echo $ac_n "(cached) $ac_c" 1>&6  }
2071  else  _ACEOF
2072    echo 'void f(){}' > conftest.cc  rm -f conftest.$ac_objext
2073  if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then  if { (eval echo "$as_me:2073: \"$ac_compile\"") >&5
2074      (eval $ac_compile) 2>&5
2075      ac_status=$?
2076      echo "$as_me:2076: \$? = $ac_status" >&5
2077      (exit $ac_status); } &&
2078             { ac_try='test -s conftest.$ac_objext'
2079      { (eval echo "$as_me:2079: \"$ac_try\"") >&5
2080      (eval $ac_try) 2>&5
2081      ac_status=$?
2082      echo "$as_me:2082: \$? = $ac_status" >&5
2083      (exit $ac_status); }; }; then
2084    ac_cv_prog_cxx_g=yes    ac_cv_prog_cxx_g=yes
2085  else  else
2086    ac_cv_prog_cxx_g=no    echo "$as_me: failed program was:" >&5
2087    cat conftest.$ac_ext >&5
2088    ac_cv_prog_cxx_g=no
2089  fi  fi
2090  rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
   
2091  fi  fi
2092    echo "$as_me:2092: result: $ac_cv_prog_cxx_g" >&5
2093  echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2094  if test "$ac_test_CXXFLAGS" = set; then  if test "$ac_test_CXXFLAGS" = set; then
2095    CXXFLAGS="$ac_save_CXXFLAGS"    CXXFLAGS=$ac_save_CXXFLAGS
2096  elif test $ac_cv_prog_cxx_g = yes; then  elif test $ac_cv_prog_cxx_g = yes; then
2097    if test "$GXX" = yes; then    if test "$GXX" = yes; then
2098      CXXFLAGS="-g -O2"      CXXFLAGS="-g -O2"
# Line 1197  else Line 2106  else
2106      CXXFLAGS=      CXXFLAGS=
2107    fi    fi
2108  fi  fi
2109    for ac_declaration in \
2110       ''\
2111       '#include <stdlib.h>' \
2112       'extern "C" void std::exit (int) throw (); using std::exit;' \
2113       'extern "C" void std::exit (int); using std::exit;' \
2114       'extern "C" void exit (int) throw ();' \
2115       'extern "C" void exit (int);' \
2116       'void exit (int);'
2117    do
2118      cat >conftest.$ac_ext <<_ACEOF
2119    #line 2119 "configure"
2120    #include "confdefs.h"
2121    #include <stdlib.h>
2122    $ac_declaration
2123    int
2124    main ()
2125    {
2126    exit (42);
2127      ;
2128      return 0;
2129    }
2130    _ACEOF
2131    rm -f conftest.$ac_objext
2132    if { (eval echo "$as_me:2132: \"$ac_compile\"") >&5
2133      (eval $ac_compile) 2>&5
2134      ac_status=$?
2135      echo "$as_me:2135: \$? = $ac_status" >&5
2136      (exit $ac_status); } &&
2137             { ac_try='test -s conftest.$ac_objext'
2138      { (eval echo "$as_me:2138: \"$ac_try\"") >&5
2139      (eval $ac_try) 2>&5
2140      ac_status=$?
2141      echo "$as_me:2141: \$? = $ac_status" >&5
2142      (exit $ac_status); }; }; then
2143      :
2144    else
2145      echo "$as_me: failed program was:" >&5
2146    cat conftest.$ac_ext >&5
2147    continue
2148    fi
2149    rm -f conftest.$ac_objext conftest.$ac_ext
2150      cat >conftest.$ac_ext <<_ACEOF
2151    #line 2151 "configure"
2152    #include "confdefs.h"
2153    $ac_declaration
2154    int
2155    main ()
2156    {
2157    exit (42);
2158      ;
2159      return 0;
2160    }
2161    _ACEOF
2162    rm -f conftest.$ac_objext
2163    if { (eval echo "$as_me:2163: \"$ac_compile\"") >&5
2164      (eval $ac_compile) 2>&5
2165      ac_status=$?
2166      echo "$as_me:2166: \$? = $ac_status" >&5
2167      (exit $ac_status); } &&
2168             { ac_try='test -s conftest.$ac_objext'
2169      { (eval echo "$as_me:2169: \"$ac_try\"") >&5
2170      (eval $ac_try) 2>&5
2171      ac_status=$?
2172      echo "$as_me:2172: \$? = $ac_status" >&5
2173      (exit $ac_status); }; }; then
2174      break
2175    else
2176      echo "$as_me: failed program was:" >&5
2177    cat conftest.$ac_ext >&5
2178    fi
2179    rm -f conftest.$ac_objext conftest.$ac_ext
2180    done
2181    echo '#ifdef __cplusplus' >>confdefs.h
2182    echo $ac_declaration      >>confdefs.h
2183    echo '#endif'             >>confdefs.h
2184    
2185    ac_ext=c
2186    ac_cpp='$CPP $CPPFLAGS'
2187    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2188    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189    ac_compiler_gnu=$ac_cv_c_compiler_gnu
2190    
2191  # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
2192  # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
# Line 1205  fi Line 2195  fi
2195  # SunOS /usr/etc/install  # SunOS /usr/etc/install
2196  # IRIX /sbin/install  # IRIX /sbin/install
2197  # AIX /bin/install  # AIX /bin/install
2198    # AmigaOS /C/install, which installs bootblocks on floppy discs
2199  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2200  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2201  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2202  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2203  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo "$as_me:2203: checking for a BSD compatible install" >&5
2204  echo "configure:1214: checking for a BSD compatible install" >&5  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
2205  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2206  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if test "${ac_cv_path_install+set}" = set; then
2207    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2208  else  else
2209      IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"      ac_save_IFS=$IFS; IFS=$ac_path_separator
2210    for ac_dir in $PATH; do    for ac_dir in $PATH; do
2211        IFS=$ac_save_IFS
2212      # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
2213      case "$ac_dir/" in      case $ac_dir/ in
2214      /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;      / | ./ | .// | /cC/* \
2215        | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
2216        | /usr/ucb/* ) ;;
2217      *)      *)
2218        # OSF1 and SCO ODT 3.0 have their own names for install.        # OSF1 and SCO ODT 3.0 have their own names for install.
2219        # Don't use installbsd from OSF since it installs stuff as root        # Don't use installbsd from OSF since it installs stuff as root
2220        # by default.        # by default.
2221        for ac_prog in ginstall scoinst install; do        for ac_prog in ginstall scoinst install; do
2222          if test -f $ac_dir/$ac_prog; then          if $as_executable_p "$ac_dir/$ac_prog"; then
2223            if test $ac_prog = install &&            if test $ac_prog = install &&
2224              grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then              grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2225              # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
2226              :              :
2227              elif test $ac_prog = install &&
2228                grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
2229                # program-specific install script used by HP pwplus--don't use.
2230                :
2231            else            else
2232              ac_cv_path_install="$ac_dir/$ac_prog -c"              ac_cv_path_install="$ac_dir/$ac_prog -c"
2233              break 2              break 2
# Line 1239  else Line 2237  else
2237        ;;        ;;
2238      esac      esac
2239    done    done
   IFS="$ac_save_IFS"  
2240    
2241  fi  fi
2242    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
2243      INSTALL="$ac_cv_path_install"      INSTALL=$ac_cv_path_install
2244    else    else
2245      # As a last resort, use the slow shell script.  We don't cache a      # As a last resort, use the slow shell script.  We don't cache a
2246      # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
2247      # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
2248      # removed, or if the path is relative.      # removed, or if the path is relative.
2249      INSTALL="$ac_install_sh"      INSTALL=$ac_install_sh
2250    fi    fi
2251  fi  fi
2252  echo "$ac_t""$INSTALL" 1>&6  echo "$as_me:2252: result: $INSTALL" >&5
2253    echo "${ECHO_T}$INSTALL" >&6
2254    
2255  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2256  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
2257  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2258    
2259  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2260    
2261  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2262    
 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6  
 echo "configure:1267: checking for Cygwin environment" >&5  
 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 1272 "configure"  
 #include "confdefs.h"  
   
 int main() {  
   
 #ifndef __CYGWIN__  
 #define __CYGWIN__ __CYGWIN32__  
 #endif  
 return __CYGWIN__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_cygwin=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_cygwin=no  
 fi  
 rm -f conftest*  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_cygwin" 1>&6  
 CYGWIN=  
 test "$ac_cv_cygwin" = yes && CYGWIN=yes  
 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6  
 echo "configure:1300: checking for mingw32 environment" >&5  
 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 1305 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 return __MINGW32__;  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_mingw32=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   ac_cv_mingw32=no  
 fi  
 rm -f conftest*  
 rm -f conftest*  
 fi  
   
 echo "$ac_t""$ac_cv_mingw32" 1>&6  
 MINGW32=  
 test "$ac_cv_mingw32" = yes && MINGW32=yes  
   
   
 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6  
 echo "configure:1331: checking for executable suffix" >&5  
 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then  
   ac_cv_exeext=.exe  
 else  
   rm -f conftest*  
   echo 'int main () { return 0; }' > conftest.$ac_ext  
   ac_cv_exeext=  
   if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  
     for file in conftest.*; do  
       case $file in  
       *.c | *.o | *.obj) ;;  
       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;  
       esac  
     done  
   else  
     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }  
   fi  
   rm -f conftest*  
   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no  
 fi  
 fi  
   
 EXEEXT=""  
 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}  
 echo "$ac_t""${ac_cv_exeext}" 1>&6  
 ac_exeext=$EXEEXT  
   
   
2263  for ac_prog in 'bison -y' byacc  for ac_prog in 'bison -y' byacc
2264  do  do
2265  # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2266  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2267  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:2267: checking for $ac_word" >&5
2268  echo "configure:1367: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  if test "${ac_cv_prog_YACC+set}" = set; then
2270    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2271  else  else
2272    if test -n "$YACC"; then    if test -n "$YACC"; then
2273    ac_cv_prog_YACC="$YACC" # Let the user override the test.    ac_cv_prog_YACC="$YACC" # Let the user override the test.
2274  else  else
2275    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
2276    ac_dummy="$PATH"  ac_dummy="$PATH"
2277    for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
2278      test -z "$ac_dir" && ac_dir=.    IFS=$ac_save_IFS
2279      if test -f $ac_dir/$ac_word; then    test -z "$ac_dir" && ac_dir=.
2280        ac_cv_prog_YACC="$ac_prog"    $as_executable_p "$ac_dir/$ac_word" || continue
2281        break  ac_cv_prog_YACC="$ac_prog"
2282      fi  echo "$as_me:2282: found $ac_dir/$ac_word" >&5
2283    done  break
   IFS="$ac_save_ifs"  
 fi  
 fi  
 YACC="$ac_cv_prog_YACC"  
 if test -n "$YACC"; then  
   echo "$ac_t""$YACC" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 test -n "$YACC" && break  
2284  done  done
 test -n "$YACC" || YACC="yacc"  
2285    
 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  
 echo "configure:1398: checking how to run the C preprocessor" >&5  
 # On Suns, sometimes $CPP names a directory.  
 if test -n "$CPP" && test -d "$CPP"; then  
   CPP=  
 fi  
 if test -z "$CPP"; then  
 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     # This must be in double quotes, not single quotes, because CPP may get  
   # substituted into the Makefile and "${CC-cc}" will confuse make.  
   CPP="${CC-cc} -E"  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp.  
   cat > conftest.$ac_ext <<EOF  
 #line 1413 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
 Syntax Error  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   :  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CPP="${CC-cc} -E -traditional-cpp"  
   cat > conftest.$ac_ext <<EOF  
 #line 1430 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
 Syntax Error  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   :  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CPP="${CC-cc} -nologo -E"  
   cat > conftest.$ac_ext <<EOF  
 #line 1447 "configure"  
 #include "confdefs.h"  
 #include <assert.h>  
 Syntax Error  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:1453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   :  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   CPP=/lib/cpp  
 fi  
 rm -f conftest*  
 fi  
 rm -f conftest*  
 fi  
 rm -f conftest*  
   ac_cv_prog_CPP="$CPP"  
 fi  
   CPP="$ac_cv_prog_CPP"  
 else  
   ac_cv_prog_CPP="$CPP"  
 fi  
 echo "$ac_t""$CPP" 1>&6  
   
 missing_dir=`cd $ac_aux_dir && pwd`  
 for ac_prog in flex lex  
 do  
 # Extract the first word of "$ac_prog", so it can be a program name with args.  
 set dummy $ac_prog; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:1483: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$LEX"; then  
   ac_cv_prog_LEX="$LEX" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_LEX="$ac_prog"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
2286  fi  fi
2287  fi  fi
2288  LEX="$ac_cv_prog_LEX"  YACC=$ac_cv_prog_YACC
2289  if test -n "$LEX"; then  if test -n "$YACC"; then
2290    echo "$ac_t""$LEX" 1>&6    echo "$as_me:2290: result: $YACC" >&5
2291    echo "${ECHO_T}$YACC" >&6
2292  else  else
2293    echo "$ac_t""no" 1>&6    echo "$as_me:2293: result: no" >&5
2294    echo "${ECHO_T}no" >&6
2295  fi  fi
2296    
2297  test -n "$LEX" && break    test -n "$YACC" && break
2298  done  done
2299  test -n "$LEX" || LEX=""$missing_dir/missing flex""  test -n "$YACC" || YACC="yacc"
   
 # Extract the first word of "flex", so it can be a program name with args.  
 set dummy flex; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:1516: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$LEX"; then  
   ac_cv_prog_LEX="$LEX" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_LEX="flex"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"  
 fi  
 fi  
 LEX="$ac_cv_prog_LEX"  
 if test -n "$LEX"; then  
   echo "$ac_t""$LEX" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 if test -z "$LEXLIB"  
 then  
   case "$LEX" in  
   flex*) ac_lib=fl ;;  
   *) ac_lib=l ;;  
   esac  
   echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6  
 echo "configure:1550: checking for yywrap in -l$ac_lib" >&5  
 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-l$ac_lib  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1558 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char yywrap();  
   
 int main() {  
 yywrap()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   LEXLIB="-l$ac_lib"  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 fi  
   
 echo $ac_n "checking lex output file root""... $ac_c" 1>&6  
 echo "configure:1592: checking lex output file root" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   # The minimal lex program is just a single line: %%.  But some broken lexes  
 # (Solaris, I think it was) want two %% lines, so accommodate them.  
 echo '%%  
 %%' | $LEX  
 if test -f lex.yy.c; then  
   ac_cv_prog_lex_root=lex.yy  
 elif test -f lexyy.c; then  
   ac_cv_prog_lex_root=lexyy  
 else  
   { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }  
 fi  
 fi  
   
 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6  
 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root  
   
 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6  
 echo "configure:1613: checking whether yytext is a pointer" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   # POSIX says lex can declare yytext either as a pointer or an array; the  
 # default is implementation-dependent. Figure out which it is, since  
 # not all implementations provide the %pointer and %array declarations.  
 ac_cv_prog_lex_yytext_pointer=no  
 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c  
 ac_save_LIBS="$LIBS"  
 LIBS="$LIBS $LEXLIB"  
 cat > conftest.$ac_ext <<EOF  
 #line 1625 "configure"  
 #include "confdefs.h"  
 `cat $LEX_OUTPUT_ROOT.c`  
 int main() {  
   
 ; return 0; }  
 EOF  
 if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  
   ac_cv_prog_lex_yytext_pointer=yes  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
 rm -f "${LEX_OUTPUT_ROOT}.c"  
   
 fi  
   
 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6  
 if test $ac_cv_prog_lex_yytext_pointer = yes; then  
   cat >> confdefs.h <<\EOF  
 #define YYTEXT_POINTER 1  
 EOF  
   
 fi  
   
   
2300    
2301  dirlist=".. ../../ ../../.. ../../../.. ../../../../.. ../../../../../.. ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."  dirlist=".. ../../ ../../.. ../../../.. ../../../../.. ../../../../../.. ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
2302  echo $ac_n "checking for docbook tools""... $ac_c" 1>&6  echo "$as_me:2302: checking for docbook tools" >&5
2303  echo "configure:1657: checking for docbook tools" >&5  echo $ECHO_N "checking for docbook tools... $ECHO_C" >&6
2304    
2305  # Check whether --with-oskith or --without-oskith was given.  # Check whether --with-oskith or --without-oskith was given.
2306  if test "${with_oskith+set}" = set; then  if test "${with_oskith+set}" = set; then
2307    withval="$with_oskith"    withval="$with_oskith"
2308    with_docbook=${withval}    with_docbook=${withval}
2309  fi  fi;
2310    if test "${ac_cv_c_docbook+set}" = set; then
2311  if eval "test \"`echo '$''{'ac_cv_c_docbook'+set}'`\" = set"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
   echo $ac_n "(cached) $ac_c" 1>&6  
2312  else  else
2313      
2314  if test x"${with_docbook}" != x ; then  if test x"${with_docbook}" != x ; then
2315    if test -f ${with_docbook}/db2html ; then    if test -f ${with_docbook}/db2html ; then
2316      ac_cv_c_docbook=`(cd ${with_docbook}; pwd)`      ac_cv_c_docbook=`(cd ${with_docbook}; pwd)`
2317    else    else
2318      { echo "configure: error: ${with_docbook} directory doesn't contain SGML tools" 1>&2; exit 1; }      { { echo "$as_me:2318: error: ${with_docbook} directory doesn't contain SGML tools" >&5
2319    echo "$as_me: error: ${with_docbook} directory doesn't contain SGML tools" >&2;}
2320       { (exit 1); exit 1; }; }
2321    fi    fi
2322  fi  fi
2323    
# Line 1684  if test x"${ac_cv_c_docbook}" = x ; then Line 2333  if test x"${ac_cv_c_docbook}" = x ; then
2333  fi  fi
2334    
2335  if test x"${ac_cv_c_docbook}" = x ; then  if test x"${ac_cv_c_docbook}" = x ; then
2336      echo "$ac_t""none" 1>&6      echo "$as_me:2336: result: none" >&5
2337    echo "${ECHO_T}none" >&6
2338  else  else
2339      DOCBOOK="${ac_cv_c_docbook}"      DOCBOOK="${ac_cv_c_docbook}"
2340      echo "$ac_t""${ac_cv_c_docbook}" 1>&6      echo "$as_me:2340: result: ${ac_cv_c_docbook}" >&5
2341    echo "${ECHO_T}${ac_cv_c_docbook}" >&6
2342  fi  fi
2343    
   
   
   
   
2344  dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../  dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
2345  ../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../..  ../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../..
2346  /../../../../../.."  /../../../../../.."
2347  no_itcl=true  no_itcl=true
2348  echo $ac_n "checking for the tclsh program""... $ac_c" 1>&6  echo "$as_me:2348: checking for the tclsh program" >&5
2349  echo "configure:1703: checking for the tclsh program" >&5  echo $ECHO_N "checking for the tclsh program... $ECHO_C" >&6
2350    
2351  # Check whether --with-tclinclude or --without-tclinclude was given.  # Check whether --with-tclinclude or --without-tclinclude was given.
2352  if test "${with_tclinclude+set}" = set; then  if test "${with_tclinclude+set}" = set; then
2353    withval="$with_tclinclude"    withval="$with_tclinclude"
2354    with_tclinclude=${withval}    with_tclinclude=${withval}
2355  fi  fi;
2356    if test "${ac_cv_path_tclsh+set}" = set; then
2357  if eval "test \"`echo '$''{'ac_cv_path_tclsh'+set}'`\" = set"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
   echo $ac_n "(cached) $ac_c" 1>&6  
2358  else  else
2359      
2360  if test x"${with_tclinclude}" != x ; then  if test x"${with_tclinclude}" != x ; then
2361    if test -f ${with_tclinclude}/tclsh ; then    if test -f ${with_tclinclude}/tclsh ; then
2362      ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`      ac_cv_path_tclsh=`(cd ${with_tclinclude}; pwd)`
2363    elif test -f ${with_tclinclude}/src/tclsh ; then    elif test -f ${with_tclinclude}/src/tclsh ; then
2364      ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`      ac_cv_path_tclsh=`(cd ${with_tclinclude}/src; pwd)`
2365    else    else
2366      { echo "configure: error: ${with_tclinclude} directory doesn't contain tclsh" 1>&2; exit 1; }      { { echo "$as_me:2366: error: ${with_tclinclude} directory doesn't contain tclsh" >&5
2367    echo "$as_me: error: ${with_tclinclude} directory doesn't contain tclsh" >&2;}
2368       { (exit 1); exit 1; }; }
2369    fi    fi
2370  fi  fi
2371    
2372  fi  fi
2373    
   
2374  if test x"${ac_cv_path_tclsh}" = x ; then  if test x"${ac_cv_path_tclsh}" = x ; then
2375          for i in $dirlist; do          for i in $dirlist; do
2376          if test -n "`ls -dr $srcdir/$i/tcl* 2>/dev/null`" ; then          if test -n "`ls -dr $srcdir/$i/tcl* 2>/dev/null`" ; then
# Line 1740  if test x"${ac_cv_path_tclsh}" = x ; the Line 2388  if test x"${ac_cv_path_tclsh}" = x ; the
2388  fi  fi
2389    
2390  if test x"${ac_cv_path_tclsh}" = x ; then  if test x"${ac_cv_path_tclsh}" = x ; then
2391     echo "$ac_t""none" 1>&6     echo "$as_me:2391: result: none" >&5
2392    echo "${ECHO_T}none" >&6
2393     # Extract the first word of "tclsh", so it can be a program name with args.     # Extract the first word of "tclsh", so it can be a program name with args.
2394  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
2395  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo "$as_me:2395: checking for $ac_word" >&5
2396  echo "configure:1748: checking for $ac_word" >&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2397  if eval "test \"`echo '$''{'ac_cv_path_tclsh'+set}'`\" = set"; then  if test "${ac_cv_path_tclsh+set}" = set; then
2398    echo $ac_n "(cached) $ac_c" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2399  else  else
2400    case "$tclsh" in    case $tclsh in
2401    /*)    [\\/]* | ?:[\\/]*)
2402    ac_cv_path_tclsh="$tclsh" # Let the user override the test with a path.    ac_cv_path_tclsh="$tclsh" # Let the user override the test with a path.
2403    ;;    ;;
   ?:/*)                    
   ac_cv_path_tclsh="$tclsh" # Let the user override the test with a dos path.  
   ;;  
2404    *)    *)
2405    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
2406    ac_dummy="$PATH"  ac_dummy="$PATH"
2407    for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
2408      test -z "$ac_dir" && ac_dir=.    IFS=$ac_save_IFS
2409      if test -f $ac_dir/$ac_word; then    test -z "$ac_dir" && ac_dir=.
2410        ac_cv_path_tclsh="$ac_dir/$ac_word"    if $as_executable_p "$ac_dir/$ac_word"; then
2411        break     ac_cv_path_tclsh="$ac_dir/$ac_word"
2412      fi     echo "$as_me:2412: found $ac_dir/$ac_word" >&5
2413    done     break
2414    IFS="$ac_save_ifs"  fi
2415    done
2416    
2417    ;;    ;;
2418  esac  esac
2419  fi  fi
2420  tclsh="$ac_cv_path_tclsh"  tclsh=$ac_cv_path_tclsh
2421    
2422  if test -n "$tclsh"; then  if test -n "$tclsh"; then
2423    echo "$ac_t""$tclsh" 1>&6    echo "$as_me:2423: result: $tclsh" >&5
2424    echo "${ECHO_T}$tclsh" >&6
2425  else  else
2426    echo "$ac_t""no" 1>&6    echo "$as_me:2426: result: no" >&5
2427    echo "${ECHO_T}no" >&6
2428  fi  fi
2429    
2430  else  else
2431     echo "$ac_t""${ac_cv_path_tclsh}" 1>&6     echo "$as_me:2431: result: ${ac_cv_path_tclsh}" >&5
2432    echo "${ECHO_T}${ac_cv_path_tclsh}" >&6
2433  fi  fi
2434  TCLSH="${ac_cv_path_tclsh}"  TCLSH="${ac_cv_path_tclsh}"
2435    
2436    echo "$as_me:2436: checking for STL versions" >&5
2437    echo $ECHO_N "checking for STL versions... $ECHO_C" >&6
2438    if test "${ac_cv_stl+set}" = set; then
2439      echo $ECHO_N "(cached) $ECHO_C" >&6
2440    else
2441    
2442      ac_ext=cc
   
 echo $ac_n "checking for STL versions""... $ac_c" 1>&6  
 echo "configure:1789: checking for STL versions" >&5  
 if eval "test \"`echo '$''{'ac_cv_stl'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
     
   ac_ext=C  
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
2443  ac_cpp='$CXXCPP $CPPFLAGS'  ac_cpp='$CXXCPP $CPPFLAGS'
2444  ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445  ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446  cross_compiling=$ac_cv_prog_cxx_cross  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2447    
2448    cat > conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
2449  #line 1802 "configure"  #line 2449 "configure"
2450  #include "confdefs.h"  #include "confdefs.h"
2451  #include <iostream>  #include <iostream>
2452  int main() {  int
2453    main ()
2454    {
2455    
2456    using namespace std;    using namespace std;
2457    char bbuuff[5120];    char bbuuff[5120];
2458    cout.rdbuf()->pubsetbuf(bbuuff, 5120);    cout.rdbuf()->pubsetbuf(bbuuff, 5120);
2459  ; return 0; }    ;
2460  EOF    return 0;
2461  if { (eval echo configure:1812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  }
2462    rm -rf conftest*  _ACEOF
2463    rm -f conftest.$ac_objext
2464    if { (eval echo "$as_me:2464: \"$ac_compile\"") >&5
2465      (eval $ac_compile) 2>&5
2466      ac_status=$?
2467      echo "$as_me:2467: \$? = $ac_status" >&5
2468      (exit $ac_status); } &&
2469             { ac_try='test -s conftest.$ac_objext'
2470      { (eval echo "$as_me:2470: \"$ac_try\"") >&5
2471      (eval $ac_try) 2>&5
2472      ac_status=$?
2473      echo "$as_me:2473: \$? = $ac_status" >&5
2474      (exit $ac_status); }; }; then
2475    ac_cv_stl=v3    ac_cv_stl=v3
2476      
2477  else  else
2478    echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2479    cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
2480    rm -rf conftest*  ac_cv_stl=v2
   ac_cv_stl=v2  
     
 fi  
 rm -f conftest*,  
2481    
2482  fi  fi
2483    rm -f conftest.$ac_objext conftest.$ac_ext,
2484    
2485    fi
2486    
2487  ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
2488  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2489  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2490  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2491  cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2492    
2493  if test x"${ac_cv_stl}" != x"v2" ; then    if test x"${ac_cv_stl}" != x"v2" ; then
2494    echo "$ac_t""v3" 1>&6    echo "$as_me:2494: result: v3" >&5
2495    cat >> confdefs.h <<\EOF  echo "${ECHO_T}v3" >&6
2496      cat >>confdefs.h <<\EOF
2497  #define HAVE_STL3 1  #define HAVE_STL3 1
2498  EOF  EOF
2499    
2500  else  else
2501    echo "$ac_t""v2" 1>&6    echo "$as_me:2501: result: v2" >&5
2502    echo "${ECHO_T}v2" >&6
2503  fi  fi
2504    
   
2505  BOARDS='$(boards)'  BOARDS='$(boards)'
2506    
2507  CONFIG='$(config)'  CONFIG='$(config)'
2508    
2509    subdirs="$subdirs example/calc"
 subdirs="example/calc"  
   
2510    
2511  trap '' 1 2 15  ac_config_files="$ac_config_files Makefile doc/Makefile testsuite/Makefile example/Makefile testsuite/libdejagnu/Makefile"
2512  cat > confcache <<\EOF  cat >confcache <<\_ACEOF
2513  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
2514  # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
2515  # scripts and configure runs.  It is not useful on other systems.  # scripts and configure runs, see configure's option --config-cache.
2516  # If it contains results you don't want to keep, you may remove or edit it.  # It is not useful on other systems.  If it contains results you don't
2517    # want to keep, you may remove or edit it.
2518  #  #
2519  # By default, configure uses ./config.cache as the cache file,  # config.status only pays attention to the cache file if you give it
2520  # creating it if it does not exist already.  You can give configure  # the --recheck option to rerun configure.
 # the --cache-file=FILE option to use a different cache file; that is  
 # what configure does when it calls configure scripts in  
 # subdirectories, so they share the cache.  
 # Giving --cache-file=/dev/null disables caching, for debugging configure.  
 # config.status only pays attention to the cache file if you give it the  
 # --recheck option to rerun configure.  
2521  #  #
2522  EOF  # `ac_cv_env_foo' variables (set or unset) will be overriden when
2523    # loading this file, other *unset* `ac_cv_foo' will be assigned the
2524    # following values.
2525    
2526    _ACEOF
2527    
2528  # The following way of writing the cache mishandles newlines in values,  # The following way of writing the cache mishandles newlines in values,
2529  # but we know of no workaround that is simple, portable, and efficient.  # but we know of no workaround that is simple, portable, and efficient.
2530  # So, don't put newlines in cache variables' values.  # So, don't put newlines in cache variables' values.
2531  # Ultrix sh set writes to stderr and can't be redirected directly,  # Ultrix sh set writes to stderr and can't be redirected directly,
2532  # and sets the high bit in the cache file unless we assign to the vars.  # and sets the high bit in the cache file unless we assign to the vars.
2533  (set) 2>&1 |  {
2534    case `(ac_space=' '; set | grep ac_space) 2>&1` in    (set) 2>&1 |
2535    *ac_space=\ *)      case `(ac_space=' '; set | grep ac_space) 2>&1` in
2536      # `set' does not quote correctly, so add quotes (double-quote substitution      *ac_space=\ *)
2537      # turns \\\\ into \\, and sed turns \\ into \).        # `set' does not quote correctly, so add quotes (double-quote
2538      sed -n \        # substitution turns \\\\ into \\, and sed turns \\ into \).
2539        -e "s/'/'\\\\''/g" \        sed -n \
2540        -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"          "s/'/'\\\\''/g;
2541      ;;            s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2542    *)        ;;
2543      # `set' quotes correctly as required by POSIX, so do not add quotes.      *)
2544      sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'        # `set' quotes correctly as required by POSIX, so do not add quotes.
2545      ;;        sed -n \
2546    esac >> confcache          "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2547  if cmp -s $cache_file confcache; then        ;;
2548    :      esac;
2549  else  } |
2550      sed '
2551         t clear
2552         : clear
2553         s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2554         t end
2555         /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2556         : end' >>confcache
2557    if cmp -s $cache_file confcache; then :; else
2558    if test -w $cache_file; then    if test -w $cache_file; then
2559      echo "updating cache $cache_file"      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2560      cat confcache > $cache_file      cat confcache >$cache_file
2561    else    else
2562      echo "not updating unwritable cache $cache_file"      echo "not updating unwritable cache $cache_file"
2563    fi    fi
2564  fi  fi
2565  rm -f confcache  rm -f confcache
2566    
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
2567  test "x$prefix" = xNONE && prefix=$ac_default_prefix  test "x$prefix" = xNONE && prefix=$ac_default_prefix
2568  # Let make expand exec_prefix.  # Let make expand exec_prefix.
2569  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2570    
2571  # Any assignment to VPATH causes Sun make to only execute  # VPATH may cause trouble with some makes, so we remove $(srcdir),
2572  # the first set of double-colon rules, so remove it if not needed.  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2573  # If there is a colon in the path, we need to keep it.  # trailing colons and then remove the whole line if VPATH becomes empty
2574    # (actually we leave an empty line to preserve line numbers).
2575  if test "x$srcdir" = x.; then  if test "x$srcdir" = x.; then
2576    ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'    ac_vpsub='/^[         ]*VPATH[        ]*=/{
2577    s/:*\$(srcdir):*/:/;
2578    s/:*\${srcdir}:*/:/;
2579    s/:*@srcdir@:*/:/;
2580    s/^\([^=]*=[    ]*\):*/\1/;
2581    s/:*$//;
2582    s/^[^=]*=[      ]*$//;
2583    }'
2584  fi  fi
2585    
 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15  
   
2586  # Transform confdefs.h into DEFS.  # Transform confdefs.h into DEFS.
2587  # Protect against shell expansion while executing Makefile rules.  # Protect against shell expansion while executing Makefile rules.
2588  # Protect against Makefile macro expansion.  # Protect against Makefile macro expansion.
2589  cat > conftest.defs <<\EOF  #
2590  s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g  # If the first sed substitution is executed (which looks for macros that
2591  s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g  # take arguments), then we branch to the quote section.  Otherwise,
2592  s%\[%\\&%g  # look for a macro that doesn't take arguments.
2593  s%\]%\\&%g  cat >confdef2opt.sed <<\EOF
2594  s%\$%$$%g  t clear
2595  EOF  : clear
2596  DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`  s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2597  rm -f conftest.defs  t quote
2598    s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2599    t quote
2600    d
2601    : quote
2602    s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
2603    s,\[,\\&,g
2604    s,\],\\&,g
2605    s,\$,$$,g
2606    p
2607    EOF
2608    # We use echo to avoid assuming a particular line-breaking character.
2609    # The extra dot is to prevent the shell from consuming trailing
2610    # line-breaks from the sub-command output.  A line-break within
2611    # single-quotes doesn't work because, if this script is created in a
2612    # platform that uses two characters for line-breaks (e.g., DOS), tr
2613    # would break.
2614    ac_LF_and_DOT=`echo; echo .`
2615    DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2616    rm -f confdef2opt.sed
2617    
 # Without the "./", some shells look in PATH for config.status.  
2618  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
2619    ac_clean_files_save=$ac_clean_files
2620  echo creating $CONFIG_STATUS  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2621  rm -f $CONFIG_STATUS  { echo "$as_me:2621: creating $CONFIG_STATUS" >&5
2622  cat > $CONFIG_STATUS <<EOF  echo "$as_me: creating $CONFIG_STATUS" >&6;}
2623  #! /bin/sh  cat >$CONFIG_STATUS <<_ACEOF
2624    #! $SHELL
2625  # Generated automatically by configure.  # Generated automatically by configure.
2626  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
 # This directory was configured as follows,  
 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:  
 #  
 # $0 $ac_configure_args  
 #  
2627  # Compiler output produced by configure, useful for debugging  # Compiler output produced by configure, useful for debugging
2628  # configure, is in ./config.log if it exists.  # configure, is in config.log if it exists.
2629    
2630  ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"  debug=false
2631  for ac_option  SHELL=\${CONFIG_SHELL-$SHELL}
2632    ac_cs_invocation="\$0 \$@"
2633    
2634    _ACEOF
2635    
2636    cat >>$CONFIG_STATUS <<\_ACEOF
2637    # Be Bourne compatible
2638    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2639      emulate sh
2640      NULLCMD=:
2641    elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2642      set -o posix
2643    fi
2644    
2645    # Name of the executable.
2646    as_me=`echo "$0" |sed 's,.*[\\/],,'`
2647    
2648    if expr a : '\(a\)' >/dev/null 2>&1; then
2649      as_expr=expr
2650    else
2651      as_expr=false
2652    fi
2653    
2654    rm -f conf$$ conf$$.exe conf$$.file
2655    echo >conf$$.file
2656    if ln -s conf$$.file conf$$ 2>/dev/null; then
2657      # We could just check for DJGPP; but this test a) works b) is more generic
2658      # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2659      if test -f conf$$.exe; then
2660        # Don't use ln at all; we don't have any links
2661        as_ln_s='cp -p'
2662      else
2663        as_ln_s='ln -s'
2664      fi
2665    elif ln conf$$.file conf$$ 2>/dev/null; then
2666      as_ln_s=ln
2667    else
2668      as_ln_s='cp -p'
2669    fi
2670    rm -f conf$$ conf$$.exe conf$$.file
2671    
2672    as_executable_p="test -f"
2673    
2674    # Support unset when possible.
2675    if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2676      as_unset=unset
2677    else
2678      as_unset=false
2679    fi
2680    
2681    # NLS nuisances.
2682    $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2683    $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2684    $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2685    $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2686    $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2687    $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2688    $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2689    $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2690    
2691    # IFS
2692    # We need space, tab and new line, in precisely that order.
2693    as_nl='
2694    '
2695    IFS="   $as_nl"
2696    
2697    # CDPATH.
2698    $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2699    
2700    exec 6>&1
2701    
2702    _ACEOF
2703    
2704    # Files that config.status was made for.
2705    if test -n "$ac_config_files"; then
2706      echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2707    fi
2708    
2709    if test -n "$ac_config_headers"; then
2710      echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2711    fi
2712    
2713    if test -n "$ac_config_links"; then
2714      echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2715    fi
2716    
2717    if test -n "$ac_config_commands"; then
2718      echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2719    fi
2720    
2721    cat >>$CONFIG_STATUS <<\EOF
2722    
2723    ac_cs_usage="\
2724    \`$as_me' instantiates files from templates according to the
2725    current configuration.
2726    
2727    Usage: $0 [OPTIONS] [FILE]...
2728    
2729      -h, --help       print this help, then exit
2730      -V, --version    print version number, then exit
2731      -d, --debug      don't remove temporary files
2732          --recheck    update $as_me by reconfiguring in the same conditions
2733      --file=FILE[:TEMPLATE]
2734                       instantiate the configuration file FILE
2735    
2736    Configuration files:
2737    $config_files
2738    
2739    Report bugs to <bug-autoconf@gnu.org>."
2740    EOF
2741    
2742    cat >>$CONFIG_STATUS <<EOF
2743    ac_cs_version="\\
2744    config.status
2745    configured by $0, generated by GNU Autoconf 2.50,
2746      with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2747    
2748    Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2749    Free Software Foundation, Inc.
2750    This config.status script is free software; the Free Software Foundation
2751    gives unlimited permission to copy, distribute and modify it."
2752    srcdir=$srcdir
2753    INSTALL="$INSTALL"
2754    EOF
2755    
2756    cat >>$CONFIG_STATUS <<\EOF
2757    # If no file are specified by the user, then we need to provide default
2758    # value.  By we need to know if files were specified by the user.
2759    ac_need_defaults=:
2760    while test $# != 0
2761  do  do
2762    case "\$ac_option" in    case $1 in
2763      --*=*)
2764        ac_option=`expr "x$1" : 'x\([^=]*\)='`
2765        ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2766        shift
2767        set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2768        shift
2769        ;;
2770      -*);;
2771      *) # This is not an option, so the user has probably given explicit
2772         # arguments.
2773         ac_need_defaults=false;;
2774      esac
2775    
2776      case $1 in
2777      # Handling of the options.
2778    EOF
2779    cat >>$CONFIG_STATUS <<EOF
2780    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2781      echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2782      exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2783    -version | --version | --versio | --versi | --vers | --ver | --ve | --v)  EOF
2784      echo "$CONFIG_STATUS generated by autoconf version 2.13"  cat >>$CONFIG_STATUS <<\EOF
2785      exit 0 ;;    --version | --vers* | -V )
2786    -help | --help | --hel | --he | --h)      echo "$ac_cs_version"; exit 0 ;;
2787      echo "\$ac_cs_usage"; exit 0 ;;    --he | --h)
2788    *) echo "\$ac_cs_usage"; exit 1 ;;      # Conflict between --help and --header
2789        { { echo "$as_me:2789: error: ambiguous option: $1
2790    Try \`$0 --help' for more information." >&5
2791    echo "$as_me: error: ambiguous option: $1
2792    Try \`$0 --help' for more information." >&2;}
2793       { (exit 1); exit 1; }; };;
2794      --help | --hel | -h )
2795        echo "$ac_cs_usage"; exit 0 ;;
2796      --debug | --d* | -d )
2797        debug=: ;;
2798      --file | --fil | --fi | --f )
2799        shift
2800        CONFIG_FILES="$CONFIG_FILES $1"
2801        ac_need_defaults=false;;
2802      --header | --heade | --head | --hea )
2803        shift
2804        CONFIG_HEADERS="$CONFIG_HEADERS $1"
2805        ac_need_defaults=false;;
2806    
2807      # Handling of arguments.
2808      'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2809      'doc/Makefile' ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
2810      'testsuite/Makefile' ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
2811      'example/Makefile' ) CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
2812      'testsuite/libdejagnu/Makefile' ) CONFIG_FILES="$CONFIG_FILES testsuite/libdejagnu/Makefile" ;;
2813    
2814      # This is an error.
2815      -*) { { echo "$as_me:2815: error: unrecognized option: $1
2816    Try \`$0 --help' for more information." >&5
2817    echo "$as_me: error: unrecognized option: $1
2818    Try \`$0 --help' for more information." >&2;}
2819       { (exit 1); exit 1; }; } ;;
2820      *) { { echo "$as_me:2820: error: invalid argument: $1" >&5
2821    echo "$as_me: error: invalid argument: $1" >&2;}
2822       { (exit 1); exit 1; }; };;
2823    esac    esac
2824      shift
2825  done  done
2826    
2827  ac_given_srcdir=$srcdir  exec 5>>config.log
2828  ac_given_INSTALL="$INSTALL"  cat >&5 << _ACEOF
2829    
2830    ## ----------------------- ##
2831    ## Running config.status.  ##
2832    ## ----------------------- ##
2833    
2834    This file was extended by $as_me 2.50, executed with
2835      > $ac_cs_invocation
2836    on `(hostname || uname -n) 2>/dev/null | sed 1q`
2837    
2838    _ACEOF
2839    EOF
2840    
2841    cat >>$CONFIG_STATUS <<\EOF
2842    # If the user did not use the arguments to specify the items to instantiate,
2843    # then the envvar interface is used.  Set only those that are not.
2844    # We use the long form for the default assignment because of an extremely
2845    # bizarre bug on SunOS 4.1.3.
2846    if $ac_need_defaults; then
2847      test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2848    fi
2849    
2850    # Create a temporary directory, and hook for its removal unless debugging.
2851    $debug ||
2852    {
2853      trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2854      trap '{ (exit $?); exit $?; }' 1 2 13 15
2855    }
2856    
2857    # Create a (secure) tmp directory for tmp files.
2858    : ${TMPDIR=/tmp}
2859    {
2860      tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2861      test -n "$tmp" && test -d "$tmp"
2862    }  ||
2863    {
2864      tmp=$TMPDIR/cs$$-$RANDOM
2865      (umask 077 && mkdir $tmp)
2866    } ||
2867    {
2868       echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2869       { (exit 1); exit 1; }
2870    }
2871    
 trap 'rm -fr `echo "Makefile doc/Makefile testsuite/Makefile example/Makefile  
 testsuite/libdejagnu/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15  
2872  EOF  EOF
 cat >> $CONFIG_STATUS <<EOF  
2873    
2874  # Protect against being on the right side of a sed subst in config.status.  cat >>$CONFIG_STATUS <<EOF
2875  sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;  
2876   s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF  #
2877  $ac_vpsub  # CONFIG_FILES section.
2878  $extrasub  #
 s%@SHELL@%$SHELL%g  
 s%@CFLAGS@%$CFLAGS%g  
 s%@CPPFLAGS@%$CPPFLAGS%g  
 s%@CXXFLAGS@%$CXXFLAGS%g  
 s%@FFLAGS@%$FFLAGS%g  
 s%@DEFS@%$DEFS%g  
 s%@LDFLAGS@%$LDFLAGS%g  
 s%@LIBS@%$LIBS%g  
 s%@exec_prefix@%$exec_prefix%g  
 s%@prefix@%$prefix%g  
 s%@program_transform_name@%$program_transform_name%g  
 s%@bindir@%$bindir%g  
 s%@sbindir@%$sbindir%g  
 s%@libexecdir@%$libexecdir%g  
 s%@datadir@%$datadir%g  
 s%@sysconfdir@%$sysconfdir%g  
 s%@sharedstatedir@%$sharedstatedir%g  
 s%@localstatedir@%$localstatedir%g  
 s%@libdir@%$libdir%g  
 s%@includedir@%$includedir%g  
 s%@oldincludedir@%$oldincludedir%g  
 s%@infodir@%$infodir%g  
 s%@mandir@%$mandir%g  
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g  
 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g  
 s%@INSTALL_DATA@%$INSTALL_DATA%g  
 s%@PACKAGE@%$PACKAGE%g  
 s%@VERSION@%$VERSION%g  
 s%@ACLOCAL@%$ACLOCAL%g  
 s%@AUTOCONF@%$AUTOCONF%g  
 s%@AUTOMAKE@%$AUTOMAKE%g  
 s%@AUTOHEADER@%$AUTOHEADER%g  
 s%@MAKEINFO@%$MAKEINFO%g  
 s%@SET_MAKE@%$SET_MAKE%g  
 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g  
 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g  
 s%@MAINT@%$MAINT%g  
 s%@CC@%$CC%g  
 s%@CXX@%$CXX%g  
 s%@EXEEXT@%$EXEEXT%g  
 s%@YACC@%$YACC%g  
 s%@LEX@%$LEX%g  
 s%@LEXLIB@%$LEXLIB%g  
 s%@CPP@%$CPP%g  
 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g  
 s%@DOCBOOK@%$DOCBOOK%g  
 s%@tclsh@%$tclsh%g  
 s%@TCLSH@%$TCLSH%g  
 s%@BOARDS@%$BOARDS%g  
 s%@CONFIG@%$CONFIG%g  
 s%@subdirs@%$subdirs%g  
2879    
2880    # No need to generate the scripts if there are no CONFIG_FILES.
2881    # This happens for instance when ./config.status config.h
2882    if test -n "\$CONFIG_FILES"; then
2883      # Protect against being on the right side of a sed subst in config.status.
2884      sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2885       s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2886    s,@SHELL@,$SHELL,;t t
2887    s,@exec_prefix@,$exec_prefix,;t t
2888    s,@prefix@,$prefix,;t t
2889    s,@program_transform_name@,$program_transform_name,;t t
2890    s,@bindir@,$bindir,;t t
2891    s,@sbindir@,$sbindir,;t t
2892    s,@libexecdir@,$libexecdir,;t t
2893    s,@datadir@,$datadir,;t t
2894    s,@sysconfdir@,$sysconfdir,;t t
2895    s,@sharedstatedir@,$sharedstatedir,;t t
2896    s,@localstatedir@,$localstatedir,;t t
2897    s,@libdir@,$libdir,;t t
2898    s,@includedir@,$includedir,;t t
2899    s,@oldincludedir@,$oldincludedir,;t t
2900    s,@infodir@,$infodir,;t t
2901    s,@mandir@,$mandir,;t t
2902    s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2903    s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2904    s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2905    s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2906    s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2907    s,@ECHO_C@,$ECHO_C,;t t
2908    s,@ECHO_N@,$ECHO_N,;t t
2909    s,@ECHO_T@,$ECHO_T,;t t
2910    s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2911    s,@DEFS@,$DEFS,;t t
2912    s,@LIBS@,$LIBS,;t t
2913    s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2914    s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2915    s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2916    s,@PACKAGE@,$PACKAGE,;t t
2917    s,@VERSION@,$VERSION,;t t
2918    s,@ACLOCAL@,$ACLOCAL,;t t
2919    s,@AUTOCONF@,$AUTOCONF,;t t
2920    s,@AUTOMAKE@,$AUTOMAKE,;t t
2921    s,@AUTOHEADER@,$AUTOHEADER,;t t
2922    s,@MAKEINFO@,$MAKEINFO,;t t
2923    s,@SET_MAKE@,$SET_MAKE,;t t
2924    s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2925    s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2926    s,@MAINT@,$MAINT,;t t
2927    s,@CC@,$CC,;t t
2928    s,@CFLAGS@,$CFLAGS,;t t
2929    s,@LDFLAGS@,$LDFLAGS,;t t
2930    s,@CPPFLAGS@,$CPPFLAGS,;t t
2931    s,@ac_ct_CC@,$ac_ct_CC,;t t
2932    s,@EXEEXT@,$EXEEXT,;t t
2933    s,@OBJEXT@,$OBJEXT,;t t
2934    s,@CXX@,$CXX,;t t
2935    s,@CXXFLAGS@,$CXXFLAGS,;t t
2936    s,@ac_ct_CXX@,$ac_ct_CXX,;t t
2937    s,@YACC@,$YACC,;t t
2938    s,@DOCBOOK@,$DOCBOOK,;t t
2939    s,@tclsh@,$tclsh,;t t
2940    s,@TCLSH@,$TCLSH,;t t
2941    s,@BOARDS@,$BOARDS,;t t
2942    s,@CONFIG@,$CONFIG,;t t
2943    s,@subdirs@,$subdirs,;t t
2944  CEOF  CEOF
 EOF  
2945    
2946  cat >> $CONFIG_STATUS <<\EOF  EOF
2947    
2948  # Split the substitutions into bite-sized pieces for seds with    cat >>$CONFIG_STATUS <<\EOF
2949  # small command number limits, like on Digital OSF/1 and HP-UX.    # Split the substitutions into bite-sized pieces for seds with
2950  ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.    # small command number limits, like on Digital OSF/1 and HP-UX.
2951  ac_file=1 # Number of current file.    ac_max_sed_lines=48
2952  ac_beg=1 # First line for current file.    ac_sed_frag=1 # Number of current file.
2953  ac_end=$ac_max_sed_cmds # Line after last line for current file.    ac_beg=1 # First line for current file.
2954  ac_more_lines=:    ac_end=$ac_max_sed_lines # Line after last line for current file.
2955  ac_sed_cmds=""    ac_more_lines=:
2956  while $ac_more_lines; do    ac_sed_cmds=
2957    if test $ac_beg -gt 1; then    while $ac_more_lines; do
2958      sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file      if test $ac_beg -gt 1; then
2959    else        sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     sed "${ac_end}q" conftest.subs > conftest.s$ac_file  
   fi  
   if test ! -s conftest.s$ac_file; then  
     ac_more_lines=false  
     rm -f conftest.s$ac_file  
   else  
     if test -z "$ac_sed_cmds"; then  
       ac_sed_cmds="sed -f conftest.s$ac_file"  
2960      else      else
2961        ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"        sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2962      fi      fi
2963      ac_file=`expr $ac_file + 1`      if test ! -s $tmp/subs.frag; then
2964      ac_beg=$ac_end        ac_more_lines=false
2965      ac_end=`expr $ac_end + $ac_max_sed_cmds`      else
2966          # The purpose of the label and of the branching condition is to
2967          # speed up the sed processing (if there are no `@' at all, there
2968          # is no need to browse any of the substitutions).
2969          # These are the two extra sed commands mentioned above.
2970          (echo ':t
2971      /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2972          if test -z "$ac_sed_cmds"; then
2973            ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2974          else
2975            ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2976          fi
2977          ac_sed_frag=`expr $ac_sed_frag + 1`
2978          ac_beg=$ac_end
2979          ac_end=`expr $ac_end + $ac_max_sed_lines`
2980        fi
2981      done
2982      if test -z "$ac_sed_cmds"; then
2983        ac_sed_cmds=cat
2984    fi    fi
2985  done  fi # test -n "$CONFIG_FILES"
 if test -z "$ac_sed_cmds"; then  
   ac_sed_cmds=cat  
 fi  
 EOF  
   
 cat >> $CONFIG_STATUS <<EOF  
2986    
 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile testsuite/Makefile example/Makefile  
 testsuite/libdejagnu/Makefile"}  
2987  EOF  EOF
2988  cat >> $CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
2989  for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2990    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2991    case "$ac_file" in    case $ac_file in
2992    *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`    - | *:- | *:-:* ) # input from stdin
2993         ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;          cat >$tmp/stdin
2994    *) ac_file_in="${ac_file}.in" ;;          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2995            ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2996      *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2997            ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2998      * )   ac_file_in=$ac_file.in ;;
2999    esac    esac
3000    
3001    # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3002      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3003    # Remove last slash and all that follows it.  Not all systems have dirname.           X"$ac_file" : 'X\(//\)[^/]' \| \
3004    ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`           X"$ac_file" : 'X\(//\)$' \| \
3005             X"$ac_file" : 'X\(/\)' \| \
3006             .     : '\(.\)' 2>/dev/null ||
3007    echo X"$ac_file" |
3008        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3009              /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3010              /^X\(\/\/\)$/{ s//\1/; q; }
3011              /^X\(\/\).*/{ s//\1/; q; }
3012              s/.*/./; q'`
3013    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3014      # The file is in a subdirectory.      { case "$ac_dir" in
3015      test ! -d "$ac_dir" && mkdir "$ac_dir"    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3016      ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"    *)                      as_incr_dir=.;;
3017    esac
3018    as_dummy="$ac_dir"
3019    for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3020      case $as_mkdir_dir in
3021        # Skip DOS drivespec
3022        ?:) as_incr_dir=$as_mkdir_dir ;;
3023        *)
3024          as_incr_dir=$as_incr_dir/$as_mkdir_dir
3025          test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3026        ;;
3027      esac
3028    done; }
3029    
3030        ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3031      # A "../" for each directory in $ac_dir_suffix.      # A "../" for each directory in $ac_dir_suffix.
3032      ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`      ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3033    else    else
3034      ac_dir_suffix= ac_dots=      ac_dir_suffix= ac_dots=
3035    fi    fi
3036    
3037    case "$ac_given_srcdir" in    case $srcdir in
3038    .)  srcdir=.    .)  ac_srcdir=.
3039        if test -z "$ac_dots"; then top_srcdir=.        if test -z "$ac_dots"; then
3040        else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;           ac_top_srcdir=.
3041    /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;        else
3042             ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3043          fi ;;
3044      [\\/]* | ?:[\\/]* )
3045          ac_srcdir=$srcdir$ac_dir_suffix;
3046          ac_top_srcdir=$srcdir ;;
3047    *) # Relative path.    *) # Relative path.
3048      srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"      ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3049      top_srcdir="$ac_dots$ac_given_srcdir" ;;      ac_top_srcdir=$ac_dots$srcdir ;;
3050    esac    esac
3051    
3052    case "$ac_given_INSTALL" in    case $INSTALL in
3053    [/$]*) INSTALL="$ac_given_INSTALL" ;;    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3054    *) INSTALL="$ac_dots$ac_given_INSTALL" ;;    *) ac_INSTALL=$ac_dots$INSTALL ;;
3055    esac    esac
3056    
3057    echo creating "$ac_file"    if test x"$ac_file" != x-; then
3058    rm -f "$ac_file"      { echo "$as_me:3058: creating $ac_file" >&5
3059    configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."  echo "$as_me: creating $ac_file" >&6;}
3060    case "$ac_file" in      rm -f "$ac_file"
3061    *Makefile*) ac_comsub="1i\\    fi
3062  # $configure_input" ;;    # Let's still pretend it is `configure' which instantiates (i.e., don't
3063    *) ac_comsub= ;;    # use $as_me), people would be surprised to read:
3064    esac    #    /* config.h.  Generated automatically by config.status.  */
3065      configure_input="Generated automatically from `echo $ac_file_in |
3066    ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`                                                   sed 's,.*/,,'` by configure."
3067    sed -e "$ac_comsub  
3068  s%@configure_input@%$configure_input%g    # First look for the input files in the build tree, otherwise in the
3069  s%@srcdir@%$srcdir%g    # src tree.
3070  s%@top_srcdir@%$top_srcdir%g    ac_file_inputs=`IFS=:
3071  s%@INSTALL@%$INSTALL%g      for f in $ac_file_in; do
3072  " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file        case $f in
3073  fi; done        -) echo $tmp/stdin ;;
3074  rm -f conftest.s*        [\\/$]*)
3075             # Absolute (can't be DOS-style, as IFS=:)
3076             test -f "$f" || { { echo "$as_me:3076: error: cannot find input file: $f" >&5
3077    echo "$as_me: error: cannot find input file: $f" >&2;}
3078       { (exit 1); exit 1; }; }
3079             echo $f;;
3080          *) # Relative
3081             if test -f "$f"; then
3082               # Build tree
3083               echo $f
3084             elif test -f "$srcdir/$f"; then
3085               # Source tree
3086               echo $srcdir/$f
3087             else
3088               # /dev/null tree
3089               { { echo "$as_me:3089: error: cannot find input file: $f" >&5
3090    echo "$as_me: error: cannot find input file: $f" >&2;}
3091       { (exit 1); exit 1; }; }
3092             fi;;
3093          esac
3094        done` || { (exit 1); exit 1; }
3095    EOF
3096    cat >>$CONFIG_STATUS <<EOF
3097      sed "$ac_vpsub
3098    $extrasub
3099  EOF  EOF
3100  cat >> $CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<\EOF
3101    :t
3102    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3103    s,@configure_input@,$configure_input,;t t
3104    s,@srcdir@,$ac_srcdir,;t t
3105    s,@top_srcdir@,$ac_top_srcdir,;t t
3106    s,@INSTALL@,$ac_INSTALL,;t t
3107    " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3108      rm -f $tmp/stdin
3109      if test x"$ac_file" != x-; then
3110        mv $tmp/out $ac_file
3111      else
3112        cat $tmp/out
3113        rm -f $tmp/out
3114      fi
3115    
3116    done
3117  EOF  EOF
 cat >> $CONFIG_STATUS <<\EOF  
3118    
3119  exit 0  cat >>$CONFIG_STATUS <<\EOF
3120    
3121    { (exit 0); exit 0; }
3122  EOF  EOF
3123  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
3124  rm -fr confdefs* $ac_clean_files  ac_clean_files=$ac_clean_files_save
 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1  
3125    
3126    # configure is writing to config.log, and then calls config.status.
3127    # config.status does its own redirection, appending to config.log.
3128    # Unfortunately, on DOS this fails, as config.log is still kept open
3129    # by configure, so config.status won't be able to write to it; its
3130    # output is simply discarded.  So we exec the FD to /dev/null,
3131    # effectively closing config.log, so it can be properly (re)opened and
3132    # appended to by config.status.  When coming back to configure, we
3133    # need to make the FD available again.
3134    if test "$no_create" != yes; then
3135      ac_cs_success=:
3136      exec 5>/dev/null
3137      $SHELL $CONFIG_STATUS || ac_cs_success=false
3138      exec 5>>config.log
3139      # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3140      # would make configure fail if this is the last instruction.
3141      $ac_cs_success || { (exit 1); exit 1; }
3142    fi
3143    
3144    #
3145    # CONFIG_SUBDIRS section.
3146    #
3147  if test "$no_recursion" != yes; then  if test "$no_recursion" != yes; then
3148    
3149    # Remove --cache-file and --srcdir arguments so they do not pile up.    # Remove --cache-file and --srcdir arguments so they do not pile up.
# Line 2147  if test "$no_recursion" != yes; then Line 3154  if test "$no_recursion" != yes; then
3154        ac_prev=        ac_prev=
3155        continue        continue
3156      fi      fi
3157      case "$ac_arg" in      case $ac_arg in
3158      -cache-file | --cache-file | --cache-fil | --cache-fi \      -cache-file | --cache-file | --cache-fil | --cache-fi \
3159      | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)      | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3160        ac_prev=cache_file ;;        ac_prev=cache_file ;;
3161      -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \      -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3162      | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)      | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3163        | --c=*)
3164          ;;
3165        --config-cache | -C)
3166        ;;        ;;
3167      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3168        ac_prev=srcdir ;;        ac_prev=srcdir ;;
# Line 2162  if test "$no_recursion" != yes; then Line 3172  if test "$no_recursion" != yes; then
3172      esac      esac
3173    done    done
3174    
3175    for ac_config_dir in example/calc; do    for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
3176    
3177      # Do not complain, so a configure script can configure whichever      # Do not complain, so a configure script can configure whichever
3178      # parts of a large source tree are present.      # parts of a large source tree are present.
3179      if test ! -d $srcdir/$ac_config_dir; then      test -d $srcdir/$ac_subdir || continue
       continue  
     fi  
   
     echo configuring in $ac_config_dir  
3180    
3181      case "$srcdir" in      { echo "$as_me:3181: configuring in $ac_subdir" >&5
3182    echo "$as_me: configuring in $ac_subdir" >&6;}
3183        case $srcdir in
3184      .) ;;      .) ;;
3185        *) { case "./$ac_subdir" in
3186      [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3187      *)                      as_incr_dir=.;;
3188    esac
3189    as_dummy="./$ac_subdir"
3190    for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3191      case $as_mkdir_dir in
3192        # Skip DOS drivespec
3193        ?:) as_incr_dir=$as_mkdir_dir ;;
3194      *)      *)
3195        if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;        as_incr_dir=$as_incr_dir/$as_mkdir_dir
3196        else        test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3197          { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }      ;;
3198        fi    esac
3199        ;;  done; }
3200    
3201           if test -d ./$ac_subdir; then :;
3202           else
3203             { { echo "$as_me:3203: error: cannot create \`pwd\`/$ac_subdir" >&5
3204    echo "$as_me: error: cannot create \`pwd\`/$ac_subdir" >&2;}
3205       { (exit 1); exit 1; }; }
3206           fi
3207           ;;
3208      esac      esac
3209    
3210      ac_popdir=`pwd`      ac_popdir=`pwd`
3211      cd $ac_config_dir      cd $ac_subdir
3212    
3213        # A "../" for each directory in /$ac_config_dir.      # A "../" for each directory in /$ac_subdir.
3214        ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`      ac_dots=`echo $ac_subdir |
3215                 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
3216    
3217      case "$srcdir" in      case $srcdir in
3218      .) # No --srcdir option.  We are building in place.      .) # No --srcdir option.  We are building in place.
3219        ac_sub_srcdir=$srcdir ;;        ac_sub_srcdir=$srcdir ;;
3220      /*) # Absolute path.      [\\/]* | ?:[\\/]* ) # Absolute path.
3221        ac_sub_srcdir=$srcdir/$ac_config_dir ;;        ac_sub_srcdir=$srcdir/$ac_subdir ;;
3222      *) # Relative path.      *) # Relative path.
3223        ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;        ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
3224      esac      esac
3225    
3226      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
3227      if test -f $ac_sub_srcdir/configure; then      if test -f $ac_sub_srcdir/configure.gnu; then
3228        ac_sub_configure=$ac_sub_srcdir/configure        ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
3229        elif test -f $ac_sub_srcdir/configure; then
3230          ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
3231      elif test -f $ac_sub_srcdir/configure.in; then      elif test -f $ac_sub_srcdir/configure.in; then
3232        ac_sub_configure=$ac_configure        ac_sub_configure=$ac_configure
3233      else      else
3234        echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2        { echo "$as_me:3234: WARNING: no configuration information is in $ac_subdir" >&5
3235    echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
3236        ac_sub_configure=        ac_sub_configure=
3237      fi      fi
3238    
3239      # The recursion is here.      # The recursion is here.
3240      if test -n "$ac_sub_configure"; then      if test -n "$ac_sub_configure"; then
   
3241        # Make the cache file name correct relative to the subdirectory.        # Make the cache file name correct relative to the subdirectory.
3242        case "$cache_file" in        case $cache_file in
3243        /*) ac_sub_cache_file=$cache_file ;;        [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3244        *) # Relative path.        *) # Relative path.
3245          ac_sub_cache_file="$ac_dots$cache_file" ;;          ac_sub_cache_file=$ac_dots$cache_file ;;
3246        esac        esac
   case "$ac_given_INSTALL" in  
         [/$]*) INSTALL="$ac_given_INSTALL" ;;  
         *) INSTALL="$ac_dots$ac_given_INSTALL" ;;  
         esac  
3247    
3248        echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"        { echo "$as_me:3248: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
3249    echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
3250        # The eval makes quoting arguments work.        # The eval makes quoting arguments work.
3251        if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir        eval $ac_sub_configure $ac_sub_configure_args \
3252        then :             --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
3253        else          { { echo "$as_me:3253: error: $ac_sub_configure failed for $ac_subdir" >&5
3254          { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }  echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}
3255        fi     { (exit 1); exit 1; }; }
3256      fi      fi
3257    
3258      cd $ac_popdir      cd $ac_popdir
3259    done    done
3260  fi  fi
3261    
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26