sl@0
|
1 |
#! /bin/sh
|
sl@0
|
2 |
|
sl@0
|
3 |
# Guess values for system-dependent variables and create Makefiles.
|
sl@0
|
4 |
# Generated automatically using autoconf version 2.13
|
sl@0
|
5 |
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
|
sl@0
|
6 |
#
|
sl@0
|
7 |
# This configure script is free software; the Free Software Foundation
|
sl@0
|
8 |
# gives unlimited permission to copy, distribute and modify it.
|
sl@0
|
9 |
|
sl@0
|
10 |
# Defaults:
|
sl@0
|
11 |
ac_help=
|
sl@0
|
12 |
ac_default_prefix=/usr/local
|
sl@0
|
13 |
# Any additions from configure.in:
|
sl@0
|
14 |
ac_help="$ac_help
|
sl@0
|
15 |
--with-tcl=DIR use Tcl $DEF_VER binaries from DIR"
|
sl@0
|
16 |
|
sl@0
|
17 |
# Initialize some variables set by options.
|
sl@0
|
18 |
# The variables have the same names as the options, with
|
sl@0
|
19 |
# dashes changed to underlines.
|
sl@0
|
20 |
build=NONE
|
sl@0
|
21 |
cache_file=./config.cache
|
sl@0
|
22 |
exec_prefix=NONE
|
sl@0
|
23 |
host=NONE
|
sl@0
|
24 |
no_create=
|
sl@0
|
25 |
nonopt=NONE
|
sl@0
|
26 |
no_recursion=
|
sl@0
|
27 |
prefix=NONE
|
sl@0
|
28 |
program_prefix=NONE
|
sl@0
|
29 |
program_suffix=NONE
|
sl@0
|
30 |
program_transform_name=s,x,x,
|
sl@0
|
31 |
silent=
|
sl@0
|
32 |
site=
|
sl@0
|
33 |
srcdir=
|
sl@0
|
34 |
target=NONE
|
sl@0
|
35 |
verbose=
|
sl@0
|
36 |
x_includes=NONE
|
sl@0
|
37 |
x_libraries=NONE
|
sl@0
|
38 |
bindir='${exec_prefix}/bin'
|
sl@0
|
39 |
sbindir='${exec_prefix}/sbin'
|
sl@0
|
40 |
libexecdir='${exec_prefix}/libexec'
|
sl@0
|
41 |
datadir='${prefix}/share'
|
sl@0
|
42 |
sysconfdir='${prefix}/etc'
|
sl@0
|
43 |
sharedstatedir='${prefix}/com'
|
sl@0
|
44 |
localstatedir='${prefix}/var'
|
sl@0
|
45 |
libdir='${exec_prefix}/lib'
|
sl@0
|
46 |
includedir='${prefix}/include'
|
sl@0
|
47 |
oldincludedir='/usr/include'
|
sl@0
|
48 |
infodir='${prefix}/info'
|
sl@0
|
49 |
mandir='${prefix}/man'
|
sl@0
|
50 |
|
sl@0
|
51 |
# Initialize some other variables.
|
sl@0
|
52 |
subdirs=
|
sl@0
|
53 |
MFLAGS= MAKEFLAGS=
|
sl@0
|
54 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
sl@0
|
55 |
# Maximum number of lines to put in a shell here document.
|
sl@0
|
56 |
ac_max_here_lines=12
|
sl@0
|
57 |
|
sl@0
|
58 |
ac_prev=
|
sl@0
|
59 |
for ac_option
|
sl@0
|
60 |
do
|
sl@0
|
61 |
|
sl@0
|
62 |
# If the previous option needs an argument, assign it.
|
sl@0
|
63 |
if test -n "$ac_prev"; then
|
sl@0
|
64 |
eval "$ac_prev=\$ac_option"
|
sl@0
|
65 |
ac_prev=
|
sl@0
|
66 |
continue
|
sl@0
|
67 |
fi
|
sl@0
|
68 |
|
sl@0
|
69 |
case "$ac_option" in
|
sl@0
|
70 |
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
sl@0
|
71 |
*) ac_optarg= ;;
|
sl@0
|
72 |
esac
|
sl@0
|
73 |
|
sl@0
|
74 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
sl@0
|
75 |
|
sl@0
|
76 |
case "$ac_option" in
|
sl@0
|
77 |
|
sl@0
|
78 |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
sl@0
|
79 |
ac_prev=bindir ;;
|
sl@0
|
80 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
sl@0
|
81 |
bindir="$ac_optarg" ;;
|
sl@0
|
82 |
|
sl@0
|
83 |
-build | --build | --buil | --bui | --bu)
|
sl@0
|
84 |
ac_prev=build ;;
|
sl@0
|
85 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
sl@0
|
86 |
build="$ac_optarg" ;;
|
sl@0
|
87 |
|
sl@0
|
88 |
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
sl@0
|
89 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
sl@0
|
90 |
ac_prev=cache_file ;;
|
sl@0
|
91 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
sl@0
|
92 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
sl@0
|
93 |
cache_file="$ac_optarg" ;;
|
sl@0
|
94 |
|
sl@0
|
95 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
sl@0
|
96 |
ac_prev=datadir ;;
|
sl@0
|
97 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
sl@0
|
98 |
| --da=*)
|
sl@0
|
99 |
datadir="$ac_optarg" ;;
|
sl@0
|
100 |
|
sl@0
|
101 |
-disable-* | --disable-*)
|
sl@0
|
102 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
|
sl@0
|
103 |
# Reject names that are not valid shell variable names.
|
sl@0
|
104 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
|
sl@0
|
105 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
sl@0
|
106 |
fi
|
sl@0
|
107 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
sl@0
|
108 |
eval "enable_${ac_feature}=no" ;;
|
sl@0
|
109 |
|
sl@0
|
110 |
-enable-* | --enable-*)
|
sl@0
|
111 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
|
sl@0
|
112 |
# Reject names that are not valid shell variable names.
|
sl@0
|
113 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
|
sl@0
|
114 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
sl@0
|
115 |
fi
|
sl@0
|
116 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
sl@0
|
117 |
case "$ac_option" in
|
sl@0
|
118 |
*=*) ;;
|
sl@0
|
119 |
*) ac_optarg=yes ;;
|
sl@0
|
120 |
esac
|
sl@0
|
121 |
eval "enable_${ac_feature}='$ac_optarg'" ;;
|
sl@0
|
122 |
|
sl@0
|
123 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
sl@0
|
124 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
sl@0
|
125 |
| --exec | --exe | --ex)
|
sl@0
|
126 |
ac_prev=exec_prefix ;;
|
sl@0
|
127 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
sl@0
|
128 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
sl@0
|
129 |
| --exec=* | --exe=* | --ex=*)
|
sl@0
|
130 |
exec_prefix="$ac_optarg" ;;
|
sl@0
|
131 |
|
sl@0
|
132 |
-gas | --gas | --ga | --g)
|
sl@0
|
133 |
# Obsolete; use --with-gas.
|
sl@0
|
134 |
with_gas=yes ;;
|
sl@0
|
135 |
|
sl@0
|
136 |
-help | --help | --hel | --he)
|
sl@0
|
137 |
# Omit some internal or obsolete options to make the list less imposing.
|
sl@0
|
138 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
sl@0
|
139 |
cat << EOF
|
sl@0
|
140 |
Usage: configure [options] [host]
|
sl@0
|
141 |
Options: [defaults in brackets after descriptions]
|
sl@0
|
142 |
Configuration:
|
sl@0
|
143 |
--cache-file=FILE cache test results in FILE
|
sl@0
|
144 |
--help print this message
|
sl@0
|
145 |
--no-create do not create output files
|
sl@0
|
146 |
--quiet, --silent do not print \`checking...' messages
|
sl@0
|
147 |
--version print the version of autoconf that created configure
|
sl@0
|
148 |
Directory and file names:
|
sl@0
|
149 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
sl@0
|
150 |
[$ac_default_prefix]
|
sl@0
|
151 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
sl@0
|
152 |
[same as prefix]
|
sl@0
|
153 |
--bindir=DIR user executables in DIR [EPREFIX/bin]
|
sl@0
|
154 |
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
|
sl@0
|
155 |
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
|
sl@0
|
156 |
--datadir=DIR read-only architecture-independent data in DIR
|
sl@0
|
157 |
[PREFIX/share]
|
sl@0
|
158 |
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
|
sl@0
|
159 |
--sharedstatedir=DIR modifiable architecture-independent data in DIR
|
sl@0
|
160 |
[PREFIX/com]
|
sl@0
|
161 |
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
|
sl@0
|
162 |
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
|
sl@0
|
163 |
--includedir=DIR C header files in DIR [PREFIX/include]
|
sl@0
|
164 |
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
|
sl@0
|
165 |
--infodir=DIR info documentation in DIR [PREFIX/info]
|
sl@0
|
166 |
--mandir=DIR man documentation in DIR [PREFIX/man]
|
sl@0
|
167 |
--srcdir=DIR find the sources in DIR [configure dir or ..]
|
sl@0
|
168 |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
sl@0
|
169 |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
sl@0
|
170 |
--program-transform-name=PROGRAM
|
sl@0
|
171 |
run sed PROGRAM on installed program names
|
sl@0
|
172 |
EOF
|
sl@0
|
173 |
cat << EOF
|
sl@0
|
174 |
Host type:
|
sl@0
|
175 |
--build=BUILD configure for building on BUILD [BUILD=HOST]
|
sl@0
|
176 |
--host=HOST configure for HOST [guessed]
|
sl@0
|
177 |
--target=TARGET configure for TARGET [TARGET=HOST]
|
sl@0
|
178 |
Features and packages:
|
sl@0
|
179 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
sl@0
|
180 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
sl@0
|
181 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
sl@0
|
182 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
sl@0
|
183 |
--x-includes=DIR X include files are in DIR
|
sl@0
|
184 |
--x-libraries=DIR X library files are in DIR
|
sl@0
|
185 |
EOF
|
sl@0
|
186 |
if test -n "$ac_help"; then
|
sl@0
|
187 |
echo "--enable and --with options recognized:$ac_help"
|
sl@0
|
188 |
fi
|
sl@0
|
189 |
exit 0 ;;
|
sl@0
|
190 |
|
sl@0
|
191 |
-host | --host | --hos | --ho)
|
sl@0
|
192 |
ac_prev=host ;;
|
sl@0
|
193 |
-host=* | --host=* | --hos=* | --ho=*)
|
sl@0
|
194 |
host="$ac_optarg" ;;
|
sl@0
|
195 |
|
sl@0
|
196 |
-includedir | --includedir | --includedi | --included | --include \
|
sl@0
|
197 |
| --includ | --inclu | --incl | --inc)
|
sl@0
|
198 |
ac_prev=includedir ;;
|
sl@0
|
199 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
sl@0
|
200 |
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
sl@0
|
201 |
includedir="$ac_optarg" ;;
|
sl@0
|
202 |
|
sl@0
|
203 |
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
sl@0
|
204 |
ac_prev=infodir ;;
|
sl@0
|
205 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
sl@0
|
206 |
infodir="$ac_optarg" ;;
|
sl@0
|
207 |
|
sl@0
|
208 |
-libdir | --libdir | --libdi | --libd)
|
sl@0
|
209 |
ac_prev=libdir ;;
|
sl@0
|
210 |
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
sl@0
|
211 |
libdir="$ac_optarg" ;;
|
sl@0
|
212 |
|
sl@0
|
213 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
sl@0
|
214 |
| --libexe | --libex | --libe)
|
sl@0
|
215 |
ac_prev=libexecdir ;;
|
sl@0
|
216 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
sl@0
|
217 |
| --libexe=* | --libex=* | --libe=*)
|
sl@0
|
218 |
libexecdir="$ac_optarg" ;;
|
sl@0
|
219 |
|
sl@0
|
220 |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
sl@0
|
221 |
| --localstate | --localstat | --localsta | --localst \
|
sl@0
|
222 |
| --locals | --local | --loca | --loc | --lo)
|
sl@0
|
223 |
ac_prev=localstatedir ;;
|
sl@0
|
224 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
sl@0
|
225 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
sl@0
|
226 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
sl@0
|
227 |
localstatedir="$ac_optarg" ;;
|
sl@0
|
228 |
|
sl@0
|
229 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
sl@0
|
230 |
ac_prev=mandir ;;
|
sl@0
|
231 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
sl@0
|
232 |
mandir="$ac_optarg" ;;
|
sl@0
|
233 |
|
sl@0
|
234 |
-nfp | --nfp | --nf)
|
sl@0
|
235 |
# Obsolete; use --without-fp.
|
sl@0
|
236 |
with_fp=no ;;
|
sl@0
|
237 |
|
sl@0
|
238 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
sl@0
|
239 |
| --no-cr | --no-c)
|
sl@0
|
240 |
no_create=yes ;;
|
sl@0
|
241 |
|
sl@0
|
242 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
sl@0
|
243 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
sl@0
|
244 |
no_recursion=yes ;;
|
sl@0
|
245 |
|
sl@0
|
246 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
sl@0
|
247 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
sl@0
|
248 |
| --oldin | --oldi | --old | --ol | --o)
|
sl@0
|
249 |
ac_prev=oldincludedir ;;
|
sl@0
|
250 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
sl@0
|
251 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
sl@0
|
252 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
sl@0
|
253 |
oldincludedir="$ac_optarg" ;;
|
sl@0
|
254 |
|
sl@0
|
255 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
sl@0
|
256 |
ac_prev=prefix ;;
|
sl@0
|
257 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
sl@0
|
258 |
prefix="$ac_optarg" ;;
|
sl@0
|
259 |
|
sl@0
|
260 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
sl@0
|
261 |
| --program-pre | --program-pr | --program-p)
|
sl@0
|
262 |
ac_prev=program_prefix ;;
|
sl@0
|
263 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
sl@0
|
264 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
sl@0
|
265 |
program_prefix="$ac_optarg" ;;
|
sl@0
|
266 |
|
sl@0
|
267 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
sl@0
|
268 |
| --program-suf | --program-su | --program-s)
|
sl@0
|
269 |
ac_prev=program_suffix ;;
|
sl@0
|
270 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
sl@0
|
271 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
sl@0
|
272 |
program_suffix="$ac_optarg" ;;
|
sl@0
|
273 |
|
sl@0
|
274 |
-program-transform-name | --program-transform-name \
|
sl@0
|
275 |
| --program-transform-nam | --program-transform-na \
|
sl@0
|
276 |
| --program-transform-n | --program-transform- \
|
sl@0
|
277 |
| --program-transform | --program-transfor \
|
sl@0
|
278 |
| --program-transfo | --program-transf \
|
sl@0
|
279 |
| --program-trans | --program-tran \
|
sl@0
|
280 |
| --progr-tra | --program-tr | --program-t)
|
sl@0
|
281 |
ac_prev=program_transform_name ;;
|
sl@0
|
282 |
-program-transform-name=* | --program-transform-name=* \
|
sl@0
|
283 |
| --program-transform-nam=* | --program-transform-na=* \
|
sl@0
|
284 |
| --program-transform-n=* | --program-transform-=* \
|
sl@0
|
285 |
| --program-transform=* | --program-transfor=* \
|
sl@0
|
286 |
| --program-transfo=* | --program-transf=* \
|
sl@0
|
287 |
| --program-trans=* | --program-tran=* \
|
sl@0
|
288 |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
sl@0
|
289 |
program_transform_name="$ac_optarg" ;;
|
sl@0
|
290 |
|
sl@0
|
291 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
sl@0
|
292 |
| -silent | --silent | --silen | --sile | --sil)
|
sl@0
|
293 |
silent=yes ;;
|
sl@0
|
294 |
|
sl@0
|
295 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
sl@0
|
296 |
ac_prev=sbindir ;;
|
sl@0
|
297 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
sl@0
|
298 |
| --sbi=* | --sb=*)
|
sl@0
|
299 |
sbindir="$ac_optarg" ;;
|
sl@0
|
300 |
|
sl@0
|
301 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
sl@0
|
302 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
sl@0
|
303 |
| --sharedst | --shareds | --shared | --share | --shar \
|
sl@0
|
304 |
| --sha | --sh)
|
sl@0
|
305 |
ac_prev=sharedstatedir ;;
|
sl@0
|
306 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
sl@0
|
307 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
sl@0
|
308 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
sl@0
|
309 |
| --sha=* | --sh=*)
|
sl@0
|
310 |
sharedstatedir="$ac_optarg" ;;
|
sl@0
|
311 |
|
sl@0
|
312 |
-site | --site | --sit)
|
sl@0
|
313 |
ac_prev=site ;;
|
sl@0
|
314 |
-site=* | --site=* | --sit=*)
|
sl@0
|
315 |
site="$ac_optarg" ;;
|
sl@0
|
316 |
|
sl@0
|
317 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
sl@0
|
318 |
ac_prev=srcdir ;;
|
sl@0
|
319 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
sl@0
|
320 |
srcdir="$ac_optarg" ;;
|
sl@0
|
321 |
|
sl@0
|
322 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
sl@0
|
323 |
| --syscon | --sysco | --sysc | --sys | --sy)
|
sl@0
|
324 |
ac_prev=sysconfdir ;;
|
sl@0
|
325 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
sl@0
|
326 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
sl@0
|
327 |
sysconfdir="$ac_optarg" ;;
|
sl@0
|
328 |
|
sl@0
|
329 |
-target | --target | --targe | --targ | --tar | --ta | --t)
|
sl@0
|
330 |
ac_prev=target ;;
|
sl@0
|
331 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
sl@0
|
332 |
target="$ac_optarg" ;;
|
sl@0
|
333 |
|
sl@0
|
334 |
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
sl@0
|
335 |
verbose=yes ;;
|
sl@0
|
336 |
|
sl@0
|
337 |
-version | --version | --versio | --versi | --vers)
|
sl@0
|
338 |
echo "configure generated by autoconf version 2.13"
|
sl@0
|
339 |
exit 0 ;;
|
sl@0
|
340 |
|
sl@0
|
341 |
-with-* | --with-*)
|
sl@0
|
342 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
|
sl@0
|
343 |
# Reject names that are not valid shell variable names.
|
sl@0
|
344 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
|
sl@0
|
345 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
|
sl@0
|
346 |
fi
|
sl@0
|
347 |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
sl@0
|
348 |
case "$ac_option" in
|
sl@0
|
349 |
*=*) ;;
|
sl@0
|
350 |
*) ac_optarg=yes ;;
|
sl@0
|
351 |
esac
|
sl@0
|
352 |
eval "with_${ac_package}='$ac_optarg'" ;;
|
sl@0
|
353 |
|
sl@0
|
354 |
-without-* | --without-*)
|
sl@0
|
355 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
|
sl@0
|
356 |
# Reject names that are not valid shell variable names.
|
sl@0
|
357 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
|
sl@0
|
358 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
|
sl@0
|
359 |
fi
|
sl@0
|
360 |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
sl@0
|
361 |
eval "with_${ac_package}=no" ;;
|
sl@0
|
362 |
|
sl@0
|
363 |
--x)
|
sl@0
|
364 |
# Obsolete; use --with-x.
|
sl@0
|
365 |
with_x=yes ;;
|
sl@0
|
366 |
|
sl@0
|
367 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
sl@0
|
368 |
| --x-incl | --x-inc | --x-in | --x-i)
|
sl@0
|
369 |
ac_prev=x_includes ;;
|
sl@0
|
370 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
sl@0
|
371 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
sl@0
|
372 |
x_includes="$ac_optarg" ;;
|
sl@0
|
373 |
|
sl@0
|
374 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
sl@0
|
375 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
sl@0
|
376 |
ac_prev=x_libraries ;;
|
sl@0
|
377 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
sl@0
|
378 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
sl@0
|
379 |
x_libraries="$ac_optarg" ;;
|
sl@0
|
380 |
|
sl@0
|
381 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
|
sl@0
|
382 |
;;
|
sl@0
|
383 |
|
sl@0
|
384 |
*)
|
sl@0
|
385 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
|
sl@0
|
386 |
echo "configure: warning: $ac_option: invalid host type" 1>&2
|
sl@0
|
387 |
fi
|
sl@0
|
388 |
if test "x$nonopt" != xNONE; then
|
sl@0
|
389 |
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
|
sl@0
|
390 |
fi
|
sl@0
|
391 |
nonopt="$ac_option"
|
sl@0
|
392 |
;;
|
sl@0
|
393 |
|
sl@0
|
394 |
esac
|
sl@0
|
395 |
done
|
sl@0
|
396 |
|
sl@0
|
397 |
if test -n "$ac_prev"; then
|
sl@0
|
398 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
|
sl@0
|
399 |
fi
|
sl@0
|
400 |
|
sl@0
|
401 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
sl@0
|
402 |
|
sl@0
|
403 |
# File descriptor usage:
|
sl@0
|
404 |
# 0 standard input
|
sl@0
|
405 |
# 1 file creation
|
sl@0
|
406 |
# 2 errors and warnings
|
sl@0
|
407 |
# 3 some systems may open it to /dev/tty
|
sl@0
|
408 |
# 4 used on the Kubota Titan
|
sl@0
|
409 |
# 6 checking for... messages and results
|
sl@0
|
410 |
# 5 compiler messages saved in config.log
|
sl@0
|
411 |
if test "$silent" = yes; then
|
sl@0
|
412 |
exec 6>/dev/null
|
sl@0
|
413 |
else
|
sl@0
|
414 |
exec 6>&1
|
sl@0
|
415 |
fi
|
sl@0
|
416 |
exec 5>./config.log
|
sl@0
|
417 |
|
sl@0
|
418 |
echo "\
|
sl@0
|
419 |
This file contains any messages produced by compilers while
|
sl@0
|
420 |
running configure, to aid debugging if configure makes a mistake.
|
sl@0
|
421 |
" 1>&5
|
sl@0
|
422 |
|
sl@0
|
423 |
# Strip out --no-create and --no-recursion so they do not pile up.
|
sl@0
|
424 |
# Also quote any args containing shell metacharacters.
|
sl@0
|
425 |
ac_configure_args=
|
sl@0
|
426 |
for ac_arg
|
sl@0
|
427 |
do
|
sl@0
|
428 |
case "$ac_arg" in
|
sl@0
|
429 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
sl@0
|
430 |
| --no-cr | --no-c) ;;
|
sl@0
|
431 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
sl@0
|
432 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
sl@0
|
433 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
|
sl@0
|
434 |
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
sl@0
|
435 |
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
sl@0
|
436 |
esac
|
sl@0
|
437 |
done
|
sl@0
|
438 |
|
sl@0
|
439 |
# NLS nuisances.
|
sl@0
|
440 |
# Only set these to C if already set. These must not be set unconditionally
|
sl@0
|
441 |
# because not all systems understand e.g. LANG=C (notably SCO).
|
sl@0
|
442 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
sl@0
|
443 |
# Non-C LC_CTYPE values break the ctype check.
|
sl@0
|
444 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
sl@0
|
445 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
sl@0
|
446 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
sl@0
|
447 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
sl@0
|
448 |
|
sl@0
|
449 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
sl@0
|
450 |
rm -rf conftest* confdefs.h
|
sl@0
|
451 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
sl@0
|
452 |
echo > confdefs.h
|
sl@0
|
453 |
|
sl@0
|
454 |
# A filename unique to this package, relative to the directory that
|
sl@0
|
455 |
# configure is in, which we can look for to find out if srcdir is correct.
|
sl@0
|
456 |
ac_unique_file=man2tcl.c
|
sl@0
|
457 |
|
sl@0
|
458 |
# Find the source files, if location was not specified.
|
sl@0
|
459 |
if test -z "$srcdir"; then
|
sl@0
|
460 |
ac_srcdir_defaulted=yes
|
sl@0
|
461 |
# Try the directory containing this script, then its parent.
|
sl@0
|
462 |
ac_prog=$0
|
sl@0
|
463 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
|
sl@0
|
464 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
sl@0
|
465 |
srcdir=$ac_confdir
|
sl@0
|
466 |
if test ! -r $srcdir/$ac_unique_file; then
|
sl@0
|
467 |
srcdir=..
|
sl@0
|
468 |
fi
|
sl@0
|
469 |
else
|
sl@0
|
470 |
ac_srcdir_defaulted=no
|
sl@0
|
471 |
fi
|
sl@0
|
472 |
if test ! -r $srcdir/$ac_unique_file; then
|
sl@0
|
473 |
if test "$ac_srcdir_defaulted" = yes; then
|
sl@0
|
474 |
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
|
sl@0
|
475 |
else
|
sl@0
|
476 |
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
|
sl@0
|
477 |
fi
|
sl@0
|
478 |
fi
|
sl@0
|
479 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
|
sl@0
|
480 |
|
sl@0
|
481 |
# Prefer explicitly selected file to automatically selected ones.
|
sl@0
|
482 |
if test -z "$CONFIG_SITE"; then
|
sl@0
|
483 |
if test "x$prefix" != xNONE; then
|
sl@0
|
484 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
sl@0
|
485 |
else
|
sl@0
|
486 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
sl@0
|
487 |
fi
|
sl@0
|
488 |
fi
|
sl@0
|
489 |
for ac_site_file in $CONFIG_SITE; do
|
sl@0
|
490 |
if test -r "$ac_site_file"; then
|
sl@0
|
491 |
echo "loading site script $ac_site_file"
|
sl@0
|
492 |
. "$ac_site_file"
|
sl@0
|
493 |
fi
|
sl@0
|
494 |
done
|
sl@0
|
495 |
|
sl@0
|
496 |
if test -r "$cache_file"; then
|
sl@0
|
497 |
echo "loading cache $cache_file"
|
sl@0
|
498 |
. $cache_file
|
sl@0
|
499 |
else
|
sl@0
|
500 |
echo "creating cache $cache_file"
|
sl@0
|
501 |
> $cache_file
|
sl@0
|
502 |
fi
|
sl@0
|
503 |
|
sl@0
|
504 |
ac_ext=c
|
sl@0
|
505 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
sl@0
|
506 |
ac_cpp='$CPP $CPPFLAGS'
|
sl@0
|
507 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
sl@0
|
508 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
sl@0
|
509 |
cross_compiling=$ac_cv_prog_cc_cross
|
sl@0
|
510 |
|
sl@0
|
511 |
ac_exeext=
|
sl@0
|
512 |
ac_objext=o
|
sl@0
|
513 |
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
sl@0
|
514 |
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
sl@0
|
515 |
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
|
sl@0
|
516 |
ac_n= ac_c='
|
sl@0
|
517 |
' ac_t=' '
|
sl@0
|
518 |
else
|
sl@0
|
519 |
ac_n=-n ac_c= ac_t=
|
sl@0
|
520 |
fi
|
sl@0
|
521 |
else
|
sl@0
|
522 |
ac_n= ac_c='\c' ac_t=
|
sl@0
|
523 |
fi
|
sl@0
|
524 |
|
sl@0
|
525 |
|
sl@0
|
526 |
# RCS: @(#) $Id: configure,v 1.2 2001/10/04 20:18:09 hobbs Exp $
|
sl@0
|
527 |
|
sl@0
|
528 |
# Recover information that Tcl computed with its configure script.
|
sl@0
|
529 |
|
sl@0
|
530 |
#--------------------------------------------------------------------
|
sl@0
|
531 |
# See if there was a command-line option for where Tcl is; if
|
sl@0
|
532 |
# not, assume that its top-level directory is a sibling of ours.
|
sl@0
|
533 |
#--------------------------------------------------------------------
|
sl@0
|
534 |
|
sl@0
|
535 |
DEF_VER=8.4
|
sl@0
|
536 |
|
sl@0
|
537 |
# Check whether --with-tcl or --without-tcl was given.
|
sl@0
|
538 |
if test "${with_tcl+set}" = set; then
|
sl@0
|
539 |
withval="$with_tcl"
|
sl@0
|
540 |
TCL_BIN_DIR=$withval
|
sl@0
|
541 |
else
|
sl@0
|
542 |
TCL_BIN_DIR=`cd ../../tcl$DEF_VER$TCL_PATCH_LEVEL/unix; pwd`
|
sl@0
|
543 |
fi
|
sl@0
|
544 |
|
sl@0
|
545 |
if test ! -d $TCL_BIN_DIR; then
|
sl@0
|
546 |
{ echo "configure: error: Tcl directory $TCL_BIN_DIR doesn't exist" 1>&2; exit 1; }
|
sl@0
|
547 |
fi
|
sl@0
|
548 |
if test ! -f $TCL_BIN_DIR/tclConfig.sh; then
|
sl@0
|
549 |
{ echo "configure: error: There's no tclConfig.sh in $TCL_BIN_DIR; perhaps you didn't specify the Tcl *build* directory (not the toplevel Tcl directory) or you forgot to configure Tcl?" 1>&2; exit 1; }
|
sl@0
|
550 |
fi
|
sl@0
|
551 |
|
sl@0
|
552 |
. $TCL_BIN_DIR/tclConfig.sh
|
sl@0
|
553 |
|
sl@0
|
554 |
TCL_WIN_VERSION=$TCL_MAJOR_VERSION$TCL_MINOR_VERSION
|
sl@0
|
555 |
|
sl@0
|
556 |
CC=$TCL_CC
|
sl@0
|
557 |
|
sl@0
|
558 |
|
sl@0
|
559 |
|
sl@0
|
560 |
|
sl@0
|
561 |
|
sl@0
|
562 |
|
sl@0
|
563 |
trap '' 1 2 15
|
sl@0
|
564 |
cat > confcache <<\EOF
|
sl@0
|
565 |
# This file is a shell script that caches the results of configure
|
sl@0
|
566 |
# tests run on this system so they can be shared between configure
|
sl@0
|
567 |
# scripts and configure runs. It is not useful on other systems.
|
sl@0
|
568 |
# If it contains results you don't want to keep, you may remove or edit it.
|
sl@0
|
569 |
#
|
sl@0
|
570 |
# By default, configure uses ./config.cache as the cache file,
|
sl@0
|
571 |
# creating it if it does not exist already. You can give configure
|
sl@0
|
572 |
# the --cache-file=FILE option to use a different cache file; that is
|
sl@0
|
573 |
# what configure does when it calls configure scripts in
|
sl@0
|
574 |
# subdirectories, so they share the cache.
|
sl@0
|
575 |
# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
sl@0
|
576 |
# config.status only pays attention to the cache file if you give it the
|
sl@0
|
577 |
# --recheck option to rerun configure.
|
sl@0
|
578 |
#
|
sl@0
|
579 |
EOF
|
sl@0
|
580 |
# The following way of writing the cache mishandles newlines in values,
|
sl@0
|
581 |
# but we know of no workaround that is simple, portable, and efficient.
|
sl@0
|
582 |
# So, don't put newlines in cache variables' values.
|
sl@0
|
583 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
sl@0
|
584 |
# and sets the high bit in the cache file unless we assign to the vars.
|
sl@0
|
585 |
(set) 2>&1 |
|
sl@0
|
586 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
sl@0
|
587 |
*ac_space=\ *)
|
sl@0
|
588 |
# `set' does not quote correctly, so add quotes (double-quote substitution
|
sl@0
|
589 |
# turns \\\\ into \\, and sed turns \\ into \).
|
sl@0
|
590 |
sed -n \
|
sl@0
|
591 |
-e "s/'/'\\\\''/g" \
|
sl@0
|
592 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
|
sl@0
|
593 |
;;
|
sl@0
|
594 |
*)
|
sl@0
|
595 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
sl@0
|
596 |
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
|
sl@0
|
597 |
;;
|
sl@0
|
598 |
esac >> confcache
|
sl@0
|
599 |
if cmp -s $cache_file confcache; then
|
sl@0
|
600 |
:
|
sl@0
|
601 |
else
|
sl@0
|
602 |
if test -w $cache_file; then
|
sl@0
|
603 |
echo "updating cache $cache_file"
|
sl@0
|
604 |
cat confcache > $cache_file
|
sl@0
|
605 |
else
|
sl@0
|
606 |
echo "not updating unwritable cache $cache_file"
|
sl@0
|
607 |
fi
|
sl@0
|
608 |
fi
|
sl@0
|
609 |
rm -f confcache
|
sl@0
|
610 |
|
sl@0
|
611 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
sl@0
|
612 |
|
sl@0
|
613 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
sl@0
|
614 |
# Let make expand exec_prefix.
|
sl@0
|
615 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
sl@0
|
616 |
|
sl@0
|
617 |
# Any assignment to VPATH causes Sun make to only execute
|
sl@0
|
618 |
# the first set of double-colon rules, so remove it if not needed.
|
sl@0
|
619 |
# If there is a colon in the path, we need to keep it.
|
sl@0
|
620 |
if test "x$srcdir" = x.; then
|
sl@0
|
621 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
|
sl@0
|
622 |
fi
|
sl@0
|
623 |
|
sl@0
|
624 |
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
|
sl@0
|
625 |
|
sl@0
|
626 |
# Transform confdefs.h into DEFS.
|
sl@0
|
627 |
# Protect against shell expansion while executing Makefile rules.
|
sl@0
|
628 |
# Protect against Makefile macro expansion.
|
sl@0
|
629 |
cat > conftest.defs <<\EOF
|
sl@0
|
630 |
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
|
sl@0
|
631 |
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
|
sl@0
|
632 |
s%\[%\\&%g
|
sl@0
|
633 |
s%\]%\\&%g
|
sl@0
|
634 |
s%\$%$$%g
|
sl@0
|
635 |
EOF
|
sl@0
|
636 |
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
|
sl@0
|
637 |
rm -f conftest.defs
|
sl@0
|
638 |
|
sl@0
|
639 |
|
sl@0
|
640 |
# Without the "./", some shells look in PATH for config.status.
|
sl@0
|
641 |
: ${CONFIG_STATUS=./config.status}
|
sl@0
|
642 |
|
sl@0
|
643 |
echo creating $CONFIG_STATUS
|
sl@0
|
644 |
rm -f $CONFIG_STATUS
|
sl@0
|
645 |
cat > $CONFIG_STATUS <<EOF
|
sl@0
|
646 |
#! /bin/sh
|
sl@0
|
647 |
# Generated automatically by configure.
|
sl@0
|
648 |
# Run this file to recreate the current configuration.
|
sl@0
|
649 |
# This directory was configured as follows,
|
sl@0
|
650 |
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
sl@0
|
651 |
#
|
sl@0
|
652 |
# $0 $ac_configure_args
|
sl@0
|
653 |
#
|
sl@0
|
654 |
# Compiler output produced by configure, useful for debugging
|
sl@0
|
655 |
# configure, is in ./config.log if it exists.
|
sl@0
|
656 |
|
sl@0
|
657 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
|
sl@0
|
658 |
for ac_option
|
sl@0
|
659 |
do
|
sl@0
|
660 |
case "\$ac_option" in
|
sl@0
|
661 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
sl@0
|
662 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
sl@0
|
663 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
sl@0
|
664 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
sl@0
|
665 |
echo "$CONFIG_STATUS generated by autoconf version 2.13"
|
sl@0
|
666 |
exit 0 ;;
|
sl@0
|
667 |
-help | --help | --hel | --he | --h)
|
sl@0
|
668 |
echo "\$ac_cs_usage"; exit 0 ;;
|
sl@0
|
669 |
*) echo "\$ac_cs_usage"; exit 1 ;;
|
sl@0
|
670 |
esac
|
sl@0
|
671 |
done
|
sl@0
|
672 |
|
sl@0
|
673 |
ac_given_srcdir=$srcdir
|
sl@0
|
674 |
|
sl@0
|
675 |
trap 'rm -fr `echo "Makefile tcl.hpj" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
sl@0
|
676 |
EOF
|
sl@0
|
677 |
cat >> $CONFIG_STATUS <<EOF
|
sl@0
|
678 |
|
sl@0
|
679 |
# Protect against being on the right side of a sed subst in config.status.
|
sl@0
|
680 |
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
|
sl@0
|
681 |
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
|
sl@0
|
682 |
$ac_vpsub
|
sl@0
|
683 |
$extrasub
|
sl@0
|
684 |
s%@SHELL@%$SHELL%g
|
sl@0
|
685 |
s%@CFLAGS@%$CFLAGS%g
|
sl@0
|
686 |
s%@CPPFLAGS@%$CPPFLAGS%g
|
sl@0
|
687 |
s%@CXXFLAGS@%$CXXFLAGS%g
|
sl@0
|
688 |
s%@FFLAGS@%$FFLAGS%g
|
sl@0
|
689 |
s%@DEFS@%$DEFS%g
|
sl@0
|
690 |
s%@LDFLAGS@%$LDFLAGS%g
|
sl@0
|
691 |
s%@LIBS@%$LIBS%g
|
sl@0
|
692 |
s%@exec_prefix@%$exec_prefix%g
|
sl@0
|
693 |
s%@prefix@%$prefix%g
|
sl@0
|
694 |
s%@program_transform_name@%$program_transform_name%g
|
sl@0
|
695 |
s%@bindir@%$bindir%g
|
sl@0
|
696 |
s%@sbindir@%$sbindir%g
|
sl@0
|
697 |
s%@libexecdir@%$libexecdir%g
|
sl@0
|
698 |
s%@datadir@%$datadir%g
|
sl@0
|
699 |
s%@sysconfdir@%$sysconfdir%g
|
sl@0
|
700 |
s%@sharedstatedir@%$sharedstatedir%g
|
sl@0
|
701 |
s%@localstatedir@%$localstatedir%g
|
sl@0
|
702 |
s%@libdir@%$libdir%g
|
sl@0
|
703 |
s%@includedir@%$includedir%g
|
sl@0
|
704 |
s%@oldincludedir@%$oldincludedir%g
|
sl@0
|
705 |
s%@infodir@%$infodir%g
|
sl@0
|
706 |
s%@mandir@%$mandir%g
|
sl@0
|
707 |
s%@TCL_WIN_VERSION@%$TCL_WIN_VERSION%g
|
sl@0
|
708 |
s%@CC@%$CC%g
|
sl@0
|
709 |
s%@TCL_VERSION@%$TCL_VERSION%g
|
sl@0
|
710 |
s%@TCL_PATCH_LEVEL@%$TCL_PATCH_LEVEL%g
|
sl@0
|
711 |
s%@TCL_SRC_DIR@%$TCL_SRC_DIR%g
|
sl@0
|
712 |
s%@TCL_BIN_DIR@%$TCL_BIN_DIR%g
|
sl@0
|
713 |
|
sl@0
|
714 |
CEOF
|
sl@0
|
715 |
EOF
|
sl@0
|
716 |
|
sl@0
|
717 |
cat >> $CONFIG_STATUS <<\EOF
|
sl@0
|
718 |
|
sl@0
|
719 |
# Split the substitutions into bite-sized pieces for seds with
|
sl@0
|
720 |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
sl@0
|
721 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
|
sl@0
|
722 |
ac_file=1 # Number of current file.
|
sl@0
|
723 |
ac_beg=1 # First line for current file.
|
sl@0
|
724 |
ac_end=$ac_max_sed_cmds # Line after last line for current file.
|
sl@0
|
725 |
ac_more_lines=:
|
sl@0
|
726 |
ac_sed_cmds=""
|
sl@0
|
727 |
while $ac_more_lines; do
|
sl@0
|
728 |
if test $ac_beg -gt 1; then
|
sl@0
|
729 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
|
sl@0
|
730 |
else
|
sl@0
|
731 |
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
|
sl@0
|
732 |
fi
|
sl@0
|
733 |
if test ! -s conftest.s$ac_file; then
|
sl@0
|
734 |
ac_more_lines=false
|
sl@0
|
735 |
rm -f conftest.s$ac_file
|
sl@0
|
736 |
else
|
sl@0
|
737 |
if test -z "$ac_sed_cmds"; then
|
sl@0
|
738 |
ac_sed_cmds="sed -f conftest.s$ac_file"
|
sl@0
|
739 |
else
|
sl@0
|
740 |
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
|
sl@0
|
741 |
fi
|
sl@0
|
742 |
ac_file=`expr $ac_file + 1`
|
sl@0
|
743 |
ac_beg=$ac_end
|
sl@0
|
744 |
ac_end=`expr $ac_end + $ac_max_sed_cmds`
|
sl@0
|
745 |
fi
|
sl@0
|
746 |
done
|
sl@0
|
747 |
if test -z "$ac_sed_cmds"; then
|
sl@0
|
748 |
ac_sed_cmds=cat
|
sl@0
|
749 |
fi
|
sl@0
|
750 |
EOF
|
sl@0
|
751 |
|
sl@0
|
752 |
cat >> $CONFIG_STATUS <<EOF
|
sl@0
|
753 |
|
sl@0
|
754 |
CONFIG_FILES=\${CONFIG_FILES-"Makefile tcl.hpj"}
|
sl@0
|
755 |
EOF
|
sl@0
|
756 |
cat >> $CONFIG_STATUS <<\EOF
|
sl@0
|
757 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
sl@0
|
758 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
sl@0
|
759 |
case "$ac_file" in
|
sl@0
|
760 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
sl@0
|
761 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
sl@0
|
762 |
*) ac_file_in="${ac_file}.in" ;;
|
sl@0
|
763 |
esac
|
sl@0
|
764 |
|
sl@0
|
765 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
sl@0
|
766 |
|
sl@0
|
767 |
# Remove last slash and all that follows it. Not all systems have dirname.
|
sl@0
|
768 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
sl@0
|
769 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
sl@0
|
770 |
# The file is in a subdirectory.
|
sl@0
|
771 |
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
sl@0
|
772 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
|
sl@0
|
773 |
# A "../" for each directory in $ac_dir_suffix.
|
sl@0
|
774 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
|
sl@0
|
775 |
else
|
sl@0
|
776 |
ac_dir_suffix= ac_dots=
|
sl@0
|
777 |
fi
|
sl@0
|
778 |
|
sl@0
|
779 |
case "$ac_given_srcdir" in
|
sl@0
|
780 |
.) srcdir=.
|
sl@0
|
781 |
if test -z "$ac_dots"; then top_srcdir=.
|
sl@0
|
782 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
|
sl@0
|
783 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
|
sl@0
|
784 |
*) # Relative path.
|
sl@0
|
785 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
|
sl@0
|
786 |
top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
sl@0
|
787 |
esac
|
sl@0
|
788 |
|
sl@0
|
789 |
|
sl@0
|
790 |
echo creating "$ac_file"
|
sl@0
|
791 |
rm -f "$ac_file"
|
sl@0
|
792 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
|
sl@0
|
793 |
case "$ac_file" in
|
sl@0
|
794 |
*Makefile*) ac_comsub="1i\\
|
sl@0
|
795 |
# $configure_input" ;;
|
sl@0
|
796 |
*) ac_comsub= ;;
|
sl@0
|
797 |
esac
|
sl@0
|
798 |
|
sl@0
|
799 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
sl@0
|
800 |
sed -e "$ac_comsub
|
sl@0
|
801 |
s%@configure_input@%$configure_input%g
|
sl@0
|
802 |
s%@srcdir@%$srcdir%g
|
sl@0
|
803 |
s%@top_srcdir@%$top_srcdir%g
|
sl@0
|
804 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
|
sl@0
|
805 |
fi; done
|
sl@0
|
806 |
rm -f conftest.s*
|
sl@0
|
807 |
|
sl@0
|
808 |
EOF
|
sl@0
|
809 |
cat >> $CONFIG_STATUS <<EOF
|
sl@0
|
810 |
|
sl@0
|
811 |
EOF
|
sl@0
|
812 |
cat >> $CONFIG_STATUS <<\EOF
|
sl@0
|
813 |
|
sl@0
|
814 |
exit 0
|
sl@0
|
815 |
EOF
|
sl@0
|
816 |
chmod +x $CONFIG_STATUS
|
sl@0
|
817 |
rm -fr confdefs* $ac_clean_files
|
sl@0
|
818 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
|
sl@0
|
819 |
|