source: tol/tolbase/configure @ 5f12935

1941-docker-image-to-testdevel
Last change on this file since 5f12935 was 6d7779d, checked in by Jorge Pérez <josp.jorge@…>, 18 years ago

initial import

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1 be4846ae-f051-483a-831f-b64e7d08527f

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