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