1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.57. |
---|
4 | # |
---|
5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
---|
6 | # 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 Bourne compatible |
---|
14 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
15 | emulate sh |
---|
16 | NULLCMD=: |
---|
17 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
18 | # is contrary to our usage. Disable this feature. |
---|
19 | alias -g '${1+"$@"}'='"$@"' |
---|
20 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
21 | set -o posix |
---|
22 | fi |
---|
23 | |
---|
24 | # Support unset when possible. |
---|
25 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
---|
26 | as_unset=unset |
---|
27 | else |
---|
28 | as_unset=false |
---|
29 | fi |
---|
30 | |
---|
31 | |
---|
32 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
33 | $as_unset ENV MAIL MAILPATH |
---|
34 | PS1='$ ' |
---|
35 | PS2='> ' |
---|
36 | PS4='+ ' |
---|
37 | |
---|
38 | # NLS nuisances. |
---|
39 | for as_var in \ |
---|
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
42 | LC_TELEPHONE LC_TIME |
---|
43 | do |
---|
44 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
45 | eval $as_var=C; export $as_var |
---|
46 | else |
---|
47 | $as_unset $as_var |
---|
48 | fi |
---|
49 | done |
---|
50 | |
---|
51 | # Required to use basename. |
---|
52 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
53 | as_expr=expr |
---|
54 | else |
---|
55 | as_expr=false |
---|
56 | fi |
---|
57 | |
---|
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
59 | as_basename=basename |
---|
60 | else |
---|
61 | as_basename=false |
---|
62 | fi |
---|
63 | |
---|
64 | |
---|
65 | # Name of the executable. |
---|
66 | as_me=`$as_basename "$0" || |
---|
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
68 | X"$0" : 'X\(//\)$' \| \ |
---|
69 | X"$0" : 'X\(/\)$' \| \ |
---|
70 | . : '\(.\)' 2>/dev/null || |
---|
71 | echo X/"$0" | |
---|
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
74 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
75 | s/.*/./; q'` |
---|
76 | |
---|
77 | |
---|
78 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
79 | # Avoid depending upon Character Ranges. |
---|
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
83 | as_cr_digits='0123456789' |
---|
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
85 | |
---|
86 | # The user is always right. |
---|
87 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
88 | echo "#! /bin/sh" >conf$$.sh |
---|
89 | echo "exit 0" >>conf$$.sh |
---|
90 | chmod +x conf$$.sh |
---|
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
92 | PATH_SEPARATOR=';' |
---|
93 | else |
---|
94 | PATH_SEPARATOR=: |
---|
95 | fi |
---|
96 | rm -f conf$$.sh |
---|
97 | fi |
---|
98 | |
---|
99 | |
---|
100 | as_lineno_1=$LINENO |
---|
101 | as_lineno_2=$LINENO |
---|
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
103 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
105 | # Find who we are. Look in the path if we contain no path at all |
---|
106 | # relative or not. |
---|
107 | case $0 in |
---|
108 | *[\\/]* ) as_myself=$0 ;; |
---|
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
110 | for as_dir in $PATH |
---|
111 | do |
---|
112 | IFS=$as_save_IFS |
---|
113 | test -z "$as_dir" && as_dir=. |
---|
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
115 | done |
---|
116 | |
---|
117 | ;; |
---|
118 | esac |
---|
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
120 | # in which case we are not to be found in the path. |
---|
121 | if test "x$as_myself" = x; then |
---|
122 | as_myself=$0 |
---|
123 | fi |
---|
124 | if test ! -f "$as_myself"; then |
---|
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
126 | { (exit 1); exit 1; }; } |
---|
127 | fi |
---|
128 | case $CONFIG_SHELL in |
---|
129 | '') |
---|
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
132 | do |
---|
133 | IFS=$as_save_IFS |
---|
134 | test -z "$as_dir" && as_dir=. |
---|
135 | for as_base in sh bash ksh sh5; do |
---|
136 | case $as_dir in |
---|
137 | /*) |
---|
138 | if ("$as_dir/$as_base" -c ' |
---|
139 | as_lineno_1=$LINENO |
---|
140 | as_lineno_2=$LINENO |
---|
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
142 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
146 | CONFIG_SHELL=$as_dir/$as_base |
---|
147 | export CONFIG_SHELL |
---|
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
149 | fi;; |
---|
150 | esac |
---|
151 | done |
---|
152 | done |
---|
153 | ;; |
---|
154 | esac |
---|
155 | |
---|
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
157 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
158 | # line-number line before each line; the second 'sed' does the real |
---|
159 | # work. The second script uses 'N' to pair each line-number line |
---|
160 | # with the numbered line, and appends trailing '-' during |
---|
161 | # substitution so that $LINENO is not a special case at line end. |
---|
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
164 | sed '=' <$as_myself | |
---|
165 | sed ' |
---|
166 | N |
---|
167 | s,$,-, |
---|
168 | : loop |
---|
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
170 | t loop |
---|
171 | s,-$,, |
---|
172 | s,^['$as_cr_digits']*\n,, |
---|
173 | ' >$as_me.lineno && |
---|
174 | chmod +x $as_me.lineno || |
---|
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
176 | { (exit 1); exit 1; }; } |
---|
177 | |
---|
178 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
179 | # (the dirname of $[0] is not the place where we might find the |
---|
180 | # original and so on. Autoconf is especially sensible to this). |
---|
181 | . ./$as_me.lineno |
---|
182 | # Exit status is that of the last command. |
---|
183 | exit |
---|
184 | } |
---|
185 | |
---|
186 | |
---|
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
188 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
189 | ' ECHO_T=' ' ;; |
---|
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
192 | esac |
---|
193 | |
---|
194 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
195 | as_expr=expr |
---|
196 | else |
---|
197 | as_expr=false |
---|
198 | fi |
---|
199 | |
---|
200 | rm -f conf$$ conf$$.exe conf$$.file |
---|
201 | echo >conf$$.file |
---|
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
203 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
205 | if test -f conf$$.exe; then |
---|
206 | # Don't use ln at all; we don't have any links |
---|
207 | as_ln_s='cp -p' |
---|
208 | else |
---|
209 | as_ln_s='ln -s' |
---|
210 | fi |
---|
211 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
212 | as_ln_s=ln |
---|
213 | else |
---|
214 | as_ln_s='cp -p' |
---|
215 | fi |
---|
216 | rm -f conf$$ conf$$.exe conf$$.file |
---|
217 | |
---|
218 | if mkdir -p . 2>/dev/null; then |
---|
219 | as_mkdir_p=: |
---|
220 | else |
---|
221 | as_mkdir_p=false |
---|
222 | fi |
---|
223 | |
---|
224 | as_executable_p="test -f" |
---|
225 | |
---|
226 | # Sed expression to map a string onto a valid CPP name. |
---|
227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
---|
228 | |
---|
229 | # Sed expression to map a string onto a valid variable name. |
---|
230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
---|
231 | |
---|
232 | |
---|
233 | # IFS |
---|
234 | # We need space, tab and new line, in precisely that order. |
---|
235 | as_nl=' |
---|
236 | ' |
---|
237 | IFS=" $as_nl" |
---|
238 | |
---|
239 | # CDPATH. |
---|
240 | $as_unset CDPATH |
---|
241 | |
---|
242 | |
---|
243 | # Name of the host. |
---|
244 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
245 | # so uname gets run too. |
---|
246 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
247 | |
---|
248 | exec 6>&1 |
---|
249 | |
---|
250 | # |
---|
251 | # Initializations. |
---|
252 | # |
---|
253 | ac_default_prefix=/usr/local |
---|
254 | ac_config_libobj_dir=. |
---|
255 | cross_compiling=no |
---|
256 | subdirs= |
---|
257 | MFLAGS= |
---|
258 | MAKEFLAGS= |
---|
259 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
260 | |
---|
261 | # Maximum number of lines to put in a shell here document. |
---|
262 | # This variable seems obsolete. It should probably be removed, and |
---|
263 | # only ac_max_sed_lines should be used. |
---|
264 | : ${ac_max_here_lines=38} |
---|
265 | |
---|
266 | # Identity of this package. |
---|
267 | PACKAGE_NAME= |
---|
268 | PACKAGE_TARNAME= |
---|
269 | PACKAGE_VERSION= |
---|
270 | PACKAGE_STRING= |
---|
271 | PACKAGE_BUGREPORT= |
---|
272 | |
---|
273 | ac_unique_file="man2tcl.c" |
---|
274 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_WIN_VERSION CC TCL_VERSION TCL_PATCH_LEVEL TCL_SRC_DIR TCL_BIN_DIR LIBOBJS LTLIBOBJS' |
---|
275 | ac_subst_files='' |
---|
276 | |
---|
277 | # Initialize some variables set by options. |
---|
278 | ac_init_help= |
---|
279 | ac_init_version=false |
---|
280 | # The variables have the same names as the options, with |
---|
281 | # dashes changed to underlines. |
---|
282 | cache_file=/dev/null |
---|
283 | exec_prefix=NONE |
---|
284 | no_create= |
---|
285 | no_recursion= |
---|
286 | prefix=NONE |
---|
287 | program_prefix=NONE |
---|
288 | program_suffix=NONE |
---|
289 | program_transform_name=s,x,x, |
---|
290 | silent= |
---|
291 | site= |
---|
292 | srcdir= |
---|
293 | verbose= |
---|
294 | x_includes=NONE |
---|
295 | x_libraries=NONE |
---|
296 | |
---|
297 | # Installation directory options. |
---|
298 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
299 | # and all the variables that are supposed to be based on exec_prefix |
---|
300 | # by default will actually change. |
---|
301 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
302 | bindir='${exec_prefix}/bin' |
---|
303 | sbindir='${exec_prefix}/sbin' |
---|
304 | libexecdir='${exec_prefix}/libexec' |
---|
305 | datadir='${prefix}/share' |
---|
306 | sysconfdir='${prefix}/etc' |
---|
307 | sharedstatedir='${prefix}/com' |
---|
308 | localstatedir='${prefix}/var' |
---|
309 | libdir='${exec_prefix}/lib' |
---|
310 | includedir='${prefix}/include' |
---|
311 | oldincludedir='/usr/include' |
---|
312 | infodir='${prefix}/info' |
---|
313 | mandir='${prefix}/man' |
---|
314 | |
---|
315 | ac_prev= |
---|
316 | for ac_option |
---|
317 | do |
---|
318 | # If the previous option needs an argument, assign it. |
---|
319 | if test -n "$ac_prev"; then |
---|
320 | eval "$ac_prev=\$ac_option" |
---|
321 | ac_prev= |
---|
322 | continue |
---|
323 | fi |
---|
324 | |
---|
325 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
326 | |
---|
327 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
328 | |
---|
329 | case $ac_option in |
---|
330 | |
---|
331 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
332 | ac_prev=bindir ;; |
---|
333 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
334 | bindir=$ac_optarg ;; |
---|
335 | |
---|
336 | -build | --build | --buil | --bui | --bu) |
---|
337 | ac_prev=build_alias ;; |
---|
338 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
339 | build_alias=$ac_optarg ;; |
---|
340 | |
---|
341 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
342 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
343 | ac_prev=cache_file ;; |
---|
344 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
345 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
346 | cache_file=$ac_optarg ;; |
---|
347 | |
---|
348 | --config-cache | -C) |
---|
349 | cache_file=config.cache ;; |
---|
350 | |
---|
351 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
352 | ac_prev=datadir ;; |
---|
353 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
354 | | --da=*) |
---|
355 | datadir=$ac_optarg ;; |
---|
356 | |
---|
357 | -disable-* | --disable-*) |
---|
358 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
359 | # Reject names that are not valid shell variable names. |
---|
360 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
361 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
362 | { (exit 1); exit 1; }; } |
---|
363 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
364 | eval "enable_$ac_feature=no" ;; |
---|
365 | |
---|
366 | -enable-* | --enable-*) |
---|
367 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
368 | # Reject names that are not valid shell variable names. |
---|
369 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
370 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
371 | { (exit 1); exit 1; }; } |
---|
372 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
373 | case $ac_option in |
---|
374 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
375 | *) ac_optarg=yes ;; |
---|
376 | esac |
---|
377 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
378 | |
---|
379 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
380 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
381 | | --exec | --exe | --ex) |
---|
382 | ac_prev=exec_prefix ;; |
---|
383 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
384 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
385 | | --exec=* | --exe=* | --ex=*) |
---|
386 | exec_prefix=$ac_optarg ;; |
---|
387 | |
---|
388 | -gas | --gas | --ga | --g) |
---|
389 | # Obsolete; use --with-gas. |
---|
390 | with_gas=yes ;; |
---|
391 | |
---|
392 | -help | --help | --hel | --he | -h) |
---|
393 | ac_init_help=long ;; |
---|
394 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
395 | ac_init_help=recursive ;; |
---|
396 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
397 | ac_init_help=short ;; |
---|
398 | |
---|
399 | -host | --host | --hos | --ho) |
---|
400 | ac_prev=host_alias ;; |
---|
401 | -host=* | --host=* | --hos=* | --ho=*) |
---|
402 | host_alias=$ac_optarg ;; |
---|
403 | |
---|
404 | -includedir | --includedir | --includedi | --included | --include \ |
---|
405 | | --includ | --inclu | --incl | --inc) |
---|
406 | ac_prev=includedir ;; |
---|
407 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
408 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
409 | includedir=$ac_optarg ;; |
---|
410 | |
---|
411 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
412 | ac_prev=infodir ;; |
---|
413 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
414 | infodir=$ac_optarg ;; |
---|
415 | |
---|
416 | -libdir | --libdir | --libdi | --libd) |
---|
417 | ac_prev=libdir ;; |
---|
418 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
419 | libdir=$ac_optarg ;; |
---|
420 | |
---|
421 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
422 | | --libexe | --libex | --libe) |
---|
423 | ac_prev=libexecdir ;; |
---|
424 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
425 | | --libexe=* | --libex=* | --libe=*) |
---|
426 | libexecdir=$ac_optarg ;; |
---|
427 | |
---|
428 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
429 | | --localstate | --localstat | --localsta | --localst \ |
---|
430 | | --locals | --local | --loca | --loc | --lo) |
---|
431 | ac_prev=localstatedir ;; |
---|
432 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
433 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
434 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
435 | localstatedir=$ac_optarg ;; |
---|
436 | |
---|
437 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
438 | ac_prev=mandir ;; |
---|
439 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
440 | mandir=$ac_optarg ;; |
---|
441 | |
---|
442 | -nfp | --nfp | --nf) |
---|
443 | # Obsolete; use --without-fp. |
---|
444 | with_fp=no ;; |
---|
445 | |
---|
446 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
447 | | --no-cr | --no-c | -n) |
---|
448 | no_create=yes ;; |
---|
449 | |
---|
450 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
451 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
452 | no_recursion=yes ;; |
---|
453 | |
---|
454 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
455 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
456 | | --oldin | --oldi | --old | --ol | --o) |
---|
457 | ac_prev=oldincludedir ;; |
---|
458 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
459 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
460 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
461 | oldincludedir=$ac_optarg ;; |
---|
462 | |
---|
463 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
464 | ac_prev=prefix ;; |
---|
465 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
466 | prefix=$ac_optarg ;; |
---|
467 | |
---|
468 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
469 | | --program-pre | --program-pr | --program-p) |
---|
470 | ac_prev=program_prefix ;; |
---|
471 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
472 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
473 | program_prefix=$ac_optarg ;; |
---|
474 | |
---|
475 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
476 | | --program-suf | --program-su | --program-s) |
---|
477 | ac_prev=program_suffix ;; |
---|
478 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
479 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
480 | program_suffix=$ac_optarg ;; |
---|
481 | |
---|
482 | -program-transform-name | --program-transform-name \ |
---|
483 | | --program-transform-nam | --program-transform-na \ |
---|
484 | | --program-transform-n | --program-transform- \ |
---|
485 | | --program-transform | --program-transfor \ |
---|
486 | | --program-transfo | --program-transf \ |
---|
487 | | --program-trans | --program-tran \ |
---|
488 | | --progr-tra | --program-tr | --program-t) |
---|
489 | ac_prev=program_transform_name ;; |
---|
490 | -program-transform-name=* | --program-transform-name=* \ |
---|
491 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
492 | | --program-transform-n=* | --program-transform-=* \ |
---|
493 | | --program-transform=* | --program-transfor=* \ |
---|
494 | | --program-transfo=* | --program-transf=* \ |
---|
495 | | --program-trans=* | --program-tran=* \ |
---|
496 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
497 | program_transform_name=$ac_optarg ;; |
---|
498 | |
---|
499 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
500 | | -silent | --silent | --silen | --sile | --sil) |
---|
501 | silent=yes ;; |
---|
502 | |
---|
503 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
504 | ac_prev=sbindir ;; |
---|
505 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
506 | | --sbi=* | --sb=*) |
---|
507 | sbindir=$ac_optarg ;; |
---|
508 | |
---|
509 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
510 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
511 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
512 | | --sha | --sh) |
---|
513 | ac_prev=sharedstatedir ;; |
---|
514 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
515 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
516 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
517 | | --sha=* | --sh=*) |
---|
518 | sharedstatedir=$ac_optarg ;; |
---|
519 | |
---|
520 | -site | --site | --sit) |
---|
521 | ac_prev=site ;; |
---|
522 | -site=* | --site=* | --sit=*) |
---|
523 | site=$ac_optarg ;; |
---|
524 | |
---|
525 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
526 | ac_prev=srcdir ;; |
---|
527 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
528 | srcdir=$ac_optarg ;; |
---|
529 | |
---|
530 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
531 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
532 | ac_prev=sysconfdir ;; |
---|
533 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
534 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
535 | sysconfdir=$ac_optarg ;; |
---|
536 | |
---|
537 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
538 | ac_prev=target_alias ;; |
---|
539 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
540 | target_alias=$ac_optarg ;; |
---|
541 | |
---|
542 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
543 | verbose=yes ;; |
---|
544 | |
---|
545 | -version | --version | --versio | --versi | --vers | -V) |
---|
546 | ac_init_version=: ;; |
---|
547 | |
---|
548 | -with-* | --with-*) |
---|
549 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
550 | # Reject names that are not valid shell variable names. |
---|
551 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
552 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
553 | { (exit 1); exit 1; }; } |
---|
554 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
555 | case $ac_option in |
---|
556 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
557 | *) ac_optarg=yes ;; |
---|
558 | esac |
---|
559 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
560 | |
---|
561 | -without-* | --without-*) |
---|
562 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
563 | # Reject names that are not valid shell variable names. |
---|
564 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
565 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
566 | { (exit 1); exit 1; }; } |
---|
567 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
568 | eval "with_$ac_package=no" ;; |
---|
569 | |
---|
570 | --x) |
---|
571 | # Obsolete; use --with-x. |
---|
572 | with_x=yes ;; |
---|
573 | |
---|
574 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
575 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
576 | ac_prev=x_includes ;; |
---|
577 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
578 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
579 | x_includes=$ac_optarg ;; |
---|
580 | |
---|
581 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
582 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
583 | ac_prev=x_libraries ;; |
---|
584 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
585 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
586 | x_libraries=$ac_optarg ;; |
---|
587 | |
---|
588 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
589 | Try \`$0 --help' for more information." >&2 |
---|
590 | { (exit 1); exit 1; }; } |
---|
591 | ;; |
---|
592 | |
---|
593 | *=*) |
---|
594 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
595 | # Reject names that are not valid shell variable names. |
---|
596 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
597 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
598 | { (exit 1); exit 1; }; } |
---|
599 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
600 | eval "$ac_envvar='$ac_optarg'" |
---|
601 | export $ac_envvar ;; |
---|
602 | |
---|
603 | *) |
---|
604 | # FIXME: should be removed in autoconf 3.0. |
---|
605 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
606 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
607 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
608 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
609 | ;; |
---|
610 | |
---|
611 | esac |
---|
612 | done |
---|
613 | |
---|
614 | if test -n "$ac_prev"; then |
---|
615 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
616 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
617 | { (exit 1); exit 1; }; } |
---|
618 | fi |
---|
619 | |
---|
620 | # Be sure to have absolute paths. |
---|
621 | for ac_var in exec_prefix prefix |
---|
622 | do |
---|
623 | eval ac_val=$`echo $ac_var` |
---|
624 | case $ac_val in |
---|
625 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
626 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
627 | { (exit 1); exit 1; }; };; |
---|
628 | esac |
---|
629 | done |
---|
630 | |
---|
631 | # Be sure to have absolute paths. |
---|
632 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
633 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
634 | do |
---|
635 | eval ac_val=$`echo $ac_var` |
---|
636 | case $ac_val in |
---|
637 | [\\/$]* | ?:[\\/]* ) ;; |
---|
638 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
639 | { (exit 1); exit 1; }; };; |
---|
640 | esac |
---|
641 | done |
---|
642 | |
---|
643 | # There might be people who depend on the old broken behavior: `$host' |
---|
644 | # used to hold the argument of --host etc. |
---|
645 | # FIXME: To remove some day. |
---|
646 | build=$build_alias |
---|
647 | host=$host_alias |
---|
648 | target=$target_alias |
---|
649 | |
---|
650 | # FIXME: To remove some day. |
---|
651 | if test "x$host_alias" != x; then |
---|
652 | if test "x$build_alias" = x; then |
---|
653 | cross_compiling=maybe |
---|
654 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
655 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
656 | elif test "x$build_alias" != "x$host_alias"; then |
---|
657 | cross_compiling=yes |
---|
658 | fi |
---|
659 | fi |
---|
660 | |
---|
661 | ac_tool_prefix= |
---|
662 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
663 | |
---|
664 | test "$silent" = yes && exec 6>/dev/null |
---|
665 | |
---|
666 | |
---|
667 | # Find the source files, if location was not specified. |
---|
668 | if test -z "$srcdir"; then |
---|
669 | ac_srcdir_defaulted=yes |
---|
670 | # Try the directory containing this script, then its parent. |
---|
671 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
672 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
673 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
674 | X"$0" : 'X\(//\)$' \| \ |
---|
675 | X"$0" : 'X\(/\)' \| \ |
---|
676 | . : '\(.\)' 2>/dev/null || |
---|
677 | echo X"$0" | |
---|
678 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
679 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
680 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
681 | /^X\(\/\).*/{ s//\1/; q; } |
---|
682 | s/.*/./; q'` |
---|
683 | srcdir=$ac_confdir |
---|
684 | if test ! -r $srcdir/$ac_unique_file; then |
---|
685 | srcdir=.. |
---|
686 | fi |
---|
687 | else |
---|
688 | ac_srcdir_defaulted=no |
---|
689 | fi |
---|
690 | if test ! -r $srcdir/$ac_unique_file; then |
---|
691 | if test "$ac_srcdir_defaulted" = yes; then |
---|
692 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
693 | { (exit 1); exit 1; }; } |
---|
694 | else |
---|
695 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
696 | { (exit 1); exit 1; }; } |
---|
697 | fi |
---|
698 | fi |
---|
699 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
700 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
701 | { (exit 1); exit 1; }; } |
---|
702 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
703 | ac_env_build_alias_set=${build_alias+set} |
---|
704 | ac_env_build_alias_value=$build_alias |
---|
705 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
706 | ac_cv_env_build_alias_value=$build_alias |
---|
707 | ac_env_host_alias_set=${host_alias+set} |
---|
708 | ac_env_host_alias_value=$host_alias |
---|
709 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
710 | ac_cv_env_host_alias_value=$host_alias |
---|
711 | ac_env_target_alias_set=${target_alias+set} |
---|
712 | ac_env_target_alias_value=$target_alias |
---|
713 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
714 | ac_cv_env_target_alias_value=$target_alias |
---|
715 | |
---|
716 | # |
---|
717 | # Report the --help message. |
---|
718 | # |
---|
719 | if test "$ac_init_help" = "long"; then |
---|
720 | # Omit some internal or obsolete options to make the list less imposing. |
---|
721 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
722 | cat <<_ACEOF |
---|
723 | \`configure' configures this package to adapt to many kinds of systems. |
---|
724 | |
---|
725 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
726 | |
---|
727 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
728 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
729 | |
---|
730 | Defaults for the options are specified in brackets. |
---|
731 | |
---|
732 | Configuration: |
---|
733 | -h, --help display this help and exit |
---|
734 | --help=short display options specific to this package |
---|
735 | --help=recursive display the short help of all the included packages |
---|
736 | -V, --version display version information and exit |
---|
737 | -q, --quiet, --silent do not print \`checking...' messages |
---|
738 | --cache-file=FILE cache test results in FILE [disabled] |
---|
739 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
740 | -n, --no-create do not create output files |
---|
741 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
742 | |
---|
743 | _ACEOF |
---|
744 | |
---|
745 | cat <<_ACEOF |
---|
746 | Installation directories: |
---|
747 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
748 | [$ac_default_prefix] |
---|
749 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
750 | [PREFIX] |
---|
751 | |
---|
752 | By default, \`make install' will install all the files in |
---|
753 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
754 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
755 | for instance \`--prefix=\$HOME'. |
---|
756 | |
---|
757 | For better control, use the options below. |
---|
758 | |
---|
759 | Fine tuning of the installation directories: |
---|
760 | --bindir=DIR user executables [EPREFIX/bin] |
---|
761 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
762 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
763 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
764 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
765 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
766 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
767 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
768 | --includedir=DIR C header files [PREFIX/include] |
---|
769 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
770 | --infodir=DIR info documentation [PREFIX/info] |
---|
771 | --mandir=DIR man documentation [PREFIX/man] |
---|
772 | _ACEOF |
---|
773 | |
---|
774 | cat <<\_ACEOF |
---|
775 | _ACEOF |
---|
776 | fi |
---|
777 | |
---|
778 | if test -n "$ac_init_help"; then |
---|
779 | |
---|
780 | cat <<\_ACEOF |
---|
781 | |
---|
782 | Optional Packages: |
---|
783 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
784 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
785 | --with-tcl=DIR use Tcl $DEF_VER binaries from DIR |
---|
786 | |
---|
787 | _ACEOF |
---|
788 | fi |
---|
789 | |
---|
790 | if test "$ac_init_help" = "recursive"; then |
---|
791 | # If there are subdirs, report their specific --help. |
---|
792 | ac_popdir=`pwd` |
---|
793 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
794 | test -d $ac_dir || continue |
---|
795 | ac_builddir=. |
---|
796 | |
---|
797 | if test "$ac_dir" != .; then |
---|
798 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
799 | # A "../" for each directory in $ac_dir_suffix. |
---|
800 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
801 | else |
---|
802 | ac_dir_suffix= ac_top_builddir= |
---|
803 | fi |
---|
804 | |
---|
805 | case $srcdir in |
---|
806 | .) # No --srcdir option. We are building in place. |
---|
807 | ac_srcdir=. |
---|
808 | if test -z "$ac_top_builddir"; then |
---|
809 | ac_top_srcdir=. |
---|
810 | else |
---|
811 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
812 | fi ;; |
---|
813 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
814 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
815 | ac_top_srcdir=$srcdir ;; |
---|
816 | *) # Relative path. |
---|
817 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
818 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
819 | esac |
---|
820 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
821 | # absolute. |
---|
822 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
823 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
824 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
825 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
826 | |
---|
827 | cd $ac_dir |
---|
828 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
829 | if test -f $ac_srcdir/configure.gnu; then |
---|
830 | echo |
---|
831 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
832 | elif test -f $ac_srcdir/configure; then |
---|
833 | echo |
---|
834 | $SHELL $ac_srcdir/configure --help=recursive |
---|
835 | elif test -f $ac_srcdir/configure.ac || |
---|
836 | test -f $ac_srcdir/configure.in; then |
---|
837 | echo |
---|
838 | $ac_configure --help |
---|
839 | else |
---|
840 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
841 | fi |
---|
842 | cd $ac_popdir |
---|
843 | done |
---|
844 | fi |
---|
845 | |
---|
846 | test -n "$ac_init_help" && exit 0 |
---|
847 | if $ac_init_version; then |
---|
848 | cat <<\_ACEOF |
---|
849 | |
---|
850 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
---|
851 | Free Software Foundation, Inc. |
---|
852 | This configure script is free software; the Free Software Foundation |
---|
853 | gives unlimited permission to copy, distribute and modify it. |
---|
854 | _ACEOF |
---|
855 | exit 0 |
---|
856 | fi |
---|
857 | exec 5>config.log |
---|
858 | cat >&5 <<_ACEOF |
---|
859 | This file contains any messages produced by compilers while |
---|
860 | running configure, to aid debugging if configure makes a mistake. |
---|
861 | |
---|
862 | It was created by $as_me, which was |
---|
863 | generated by GNU Autoconf 2.57. Invocation command line was |
---|
864 | |
---|
865 | $ $0 $@ |
---|
866 | |
---|
867 | _ACEOF |
---|
868 | { |
---|
869 | cat <<_ASUNAME |
---|
870 | ## --------- ## |
---|
871 | ## Platform. ## |
---|
872 | ## --------- ## |
---|
873 | |
---|
874 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
875 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
876 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
877 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
878 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
879 | |
---|
880 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
881 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
882 | |
---|
883 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
884 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
885 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
886 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
887 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
888 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
889 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
890 | |
---|
891 | _ASUNAME |
---|
892 | |
---|
893 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
894 | for as_dir in $PATH |
---|
895 | do |
---|
896 | IFS=$as_save_IFS |
---|
897 | test -z "$as_dir" && as_dir=. |
---|
898 | echo "PATH: $as_dir" |
---|
899 | done |
---|
900 | |
---|
901 | } >&5 |
---|
902 | |
---|
903 | cat >&5 <<_ACEOF |
---|
904 | |
---|
905 | |
---|
906 | ## ----------- ## |
---|
907 | ## Core tests. ## |
---|
908 | ## ----------- ## |
---|
909 | |
---|
910 | _ACEOF |
---|
911 | |
---|
912 | |
---|
913 | # Keep a trace of the command line. |
---|
914 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
915 | # Strip out --silent because we don't want to record it for future runs. |
---|
916 | # Also quote any args containing shell meta-characters. |
---|
917 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
918 | ac_configure_args= |
---|
919 | ac_configure_args0= |
---|
920 | ac_configure_args1= |
---|
921 | ac_sep= |
---|
922 | ac_must_keep_next=false |
---|
923 | for ac_pass in 1 2 |
---|
924 | do |
---|
925 | for ac_arg |
---|
926 | do |
---|
927 | case $ac_arg in |
---|
928 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
929 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
930 | | -silent | --silent | --silen | --sile | --sil) |
---|
931 | continue ;; |
---|
932 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
933 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
934 | esac |
---|
935 | case $ac_pass in |
---|
936 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
937 | 2) |
---|
938 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
939 | if test $ac_must_keep_next = true; then |
---|
940 | ac_must_keep_next=false # Got value, back to normal. |
---|
941 | else |
---|
942 | case $ac_arg in |
---|
943 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
944 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
945 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
946 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
947 | case "$ac_configure_args0 " in |
---|
948 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
949 | esac |
---|
950 | ;; |
---|
951 | -* ) ac_must_keep_next=true ;; |
---|
952 | esac |
---|
953 | fi |
---|
954 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
955 | # Get rid of the leading space. |
---|
956 | ac_sep=" " |
---|
957 | ;; |
---|
958 | esac |
---|
959 | done |
---|
960 | done |
---|
961 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
962 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
963 | |
---|
964 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
965 | # config.log. We remove comments because anyway the quotes in there |
---|
966 | # would cause problems or look ugly. |
---|
967 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
968 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
969 | trap 'exit_status=$? |
---|
970 | # Save into config.log some information that might help in debugging. |
---|
971 | { |
---|
972 | echo |
---|
973 | |
---|
974 | cat <<\_ASBOX |
---|
975 | ## ---------------- ## |
---|
976 | ## Cache variables. ## |
---|
977 | ## ---------------- ## |
---|
978 | _ASBOX |
---|
979 | echo |
---|
980 | # The following way of writing the cache mishandles newlines in values, |
---|
981 | { |
---|
982 | (set) 2>&1 | |
---|
983 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
984 | *ac_space=\ *) |
---|
985 | sed -n \ |
---|
986 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
987 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
988 | ;; |
---|
989 | *) |
---|
990 | sed -n \ |
---|
991 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
992 | ;; |
---|
993 | esac; |
---|
994 | } |
---|
995 | echo |
---|
996 | |
---|
997 | cat <<\_ASBOX |
---|
998 | ## ----------------- ## |
---|
999 | ## Output variables. ## |
---|
1000 | ## ----------------- ## |
---|
1001 | _ASBOX |
---|
1002 | echo |
---|
1003 | for ac_var in $ac_subst_vars |
---|
1004 | do |
---|
1005 | eval ac_val=$`echo $ac_var` |
---|
1006 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1007 | done | sort |
---|
1008 | echo |
---|
1009 | |
---|
1010 | if test -n "$ac_subst_files"; then |
---|
1011 | cat <<\_ASBOX |
---|
1012 | ## ------------- ## |
---|
1013 | ## Output files. ## |
---|
1014 | ## ------------- ## |
---|
1015 | _ASBOX |
---|
1016 | echo |
---|
1017 | for ac_var in $ac_subst_files |
---|
1018 | do |
---|
1019 | eval ac_val=$`echo $ac_var` |
---|
1020 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1021 | done | sort |
---|
1022 | echo |
---|
1023 | fi |
---|
1024 | |
---|
1025 | if test -s confdefs.h; then |
---|
1026 | cat <<\_ASBOX |
---|
1027 | ## ----------- ## |
---|
1028 | ## confdefs.h. ## |
---|
1029 | ## ----------- ## |
---|
1030 | _ASBOX |
---|
1031 | echo |
---|
1032 | sed "/^$/d" confdefs.h | sort |
---|
1033 | echo |
---|
1034 | fi |
---|
1035 | test "$ac_signal" != 0 && |
---|
1036 | echo "$as_me: caught signal $ac_signal" |
---|
1037 | echo "$as_me: exit $exit_status" |
---|
1038 | } >&5 |
---|
1039 | rm -f core core.* *.core && |
---|
1040 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
1041 | exit $exit_status |
---|
1042 | ' 0 |
---|
1043 | for ac_signal in 1 2 13 15; do |
---|
1044 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1045 | done |
---|
1046 | ac_signal=0 |
---|
1047 | |
---|
1048 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1049 | rm -rf conftest* confdefs.h |
---|
1050 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
1051 | echo >confdefs.h |
---|
1052 | |
---|
1053 | # Predefined preprocessor variables. |
---|
1054 | |
---|
1055 | cat >>confdefs.h <<_ACEOF |
---|
1056 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1057 | _ACEOF |
---|
1058 | |
---|
1059 | |
---|
1060 | cat >>confdefs.h <<_ACEOF |
---|
1061 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1062 | _ACEOF |
---|
1063 | |
---|
1064 | |
---|
1065 | cat >>confdefs.h <<_ACEOF |
---|
1066 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1067 | _ACEOF |
---|
1068 | |
---|
1069 | |
---|
1070 | cat >>confdefs.h <<_ACEOF |
---|
1071 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1072 | _ACEOF |
---|
1073 | |
---|
1074 | |
---|
1075 | cat >>confdefs.h <<_ACEOF |
---|
1076 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1077 | _ACEOF |
---|
1078 | |
---|
1079 | |
---|
1080 | # Let the site file select an alternate cache file if it wants to. |
---|
1081 | # Prefer explicitly selected file to automatically selected ones. |
---|
1082 | if test -z "$CONFIG_SITE"; then |
---|
1083 | if test "x$prefix" != xNONE; then |
---|
1084 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
1085 | else |
---|
1086 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
1087 | fi |
---|
1088 | fi |
---|
1089 | for ac_site_file in $CONFIG_SITE; do |
---|
1090 | if test -r "$ac_site_file"; then |
---|
1091 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1092 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1093 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1094 | . "$ac_site_file" |
---|
1095 | fi |
---|
1096 | done |
---|
1097 | |
---|
1098 | if test -r "$cache_file"; then |
---|
1099 | # Some versions of bash will fail to source /dev/null (special |
---|
1100 | # files actually), so we avoid doing that. |
---|
1101 | if test -f "$cache_file"; then |
---|
1102 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1103 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1104 | case $cache_file in |
---|
1105 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
1106 | *) . ./$cache_file;; |
---|
1107 | esac |
---|
1108 | fi |
---|
1109 | else |
---|
1110 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1111 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1112 | >$cache_file |
---|
1113 | fi |
---|
1114 | |
---|
1115 | # Check that the precious variables saved in the cache have kept the same |
---|
1116 | # value. |
---|
1117 | ac_cache_corrupted=false |
---|
1118 | for ac_var in `(set) 2>&1 | |
---|
1119 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
1120 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1121 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1122 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
1123 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
1124 | case $ac_old_set,$ac_new_set in |
---|
1125 | set,) |
---|
1126 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1127 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1128 | ac_cache_corrupted=: ;; |
---|
1129 | ,set) |
---|
1130 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1131 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1132 | ac_cache_corrupted=: ;; |
---|
1133 | ,);; |
---|
1134 | *) |
---|
1135 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1136 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1137 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1138 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1139 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1140 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1141 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1142 | ac_cache_corrupted=: |
---|
1143 | fi;; |
---|
1144 | esac |
---|
1145 | # Pass precious variables to config.status. |
---|
1146 | if test "$ac_new_set" = set; then |
---|
1147 | case $ac_new_val in |
---|
1148 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1149 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1150 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1151 | esac |
---|
1152 | case " $ac_configure_args " in |
---|
1153 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1154 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1155 | esac |
---|
1156 | fi |
---|
1157 | done |
---|
1158 | if $ac_cache_corrupted; then |
---|
1159 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1160 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1161 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1162 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1163 | { (exit 1); exit 1; }; } |
---|
1164 | fi |
---|
1165 | |
---|
1166 | ac_ext=c |
---|
1167 | ac_cpp='$CPP $CPPFLAGS' |
---|
1168 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1169 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1170 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1171 | |
---|
1172 | |
---|
1173 | |
---|
1174 | |
---|
1175 | |
---|
1176 | |
---|
1177 | |
---|
1178 | |
---|
1179 | |
---|
1180 | |
---|
1181 | |
---|
1182 | |
---|
1183 | |
---|
1184 | |
---|
1185 | |
---|
1186 | |
---|
1187 | |
---|
1188 | |
---|
1189 | |
---|
1190 | |
---|
1191 | # RCS: @(#) $Id: configure,v 1.4 2003/03/13 10:39:57 mdejong Exp $ |
---|
1192 | |
---|
1193 | # Recover information that Tcl computed with its configure script. |
---|
1194 | |
---|
1195 | #-------------------------------------------------------------------- |
---|
1196 | # See if there was a command-line option for where Tcl is; if |
---|
1197 | # not, assume that its top-level directory is a sibling of ours. |
---|
1198 | #-------------------------------------------------------------------- |
---|
1199 | |
---|
1200 | DEF_VER=8.5 |
---|
1201 | |
---|
1202 | |
---|
1203 | # Check whether --with-tcl or --without-tcl was given. |
---|
1204 | if test "${with_tcl+set}" = set; then |
---|
1205 | withval="$with_tcl" |
---|
1206 | TCL_BIN_DIR=$withval |
---|
1207 | else |
---|
1208 | TCL_BIN_DIR=`cd ../../tcl$DEF_VER$TCL_PATCH_LEVEL/unix; pwd` |
---|
1209 | fi; |
---|
1210 | if test ! -d $TCL_BIN_DIR; then |
---|
1211 | { { echo "$as_me:$LINENO: error: Tcl directory $TCL_BIN_DIR doesn't exist" >&5 |
---|
1212 | echo "$as_me: error: Tcl directory $TCL_BIN_DIR doesn't exist" >&2;} |
---|
1213 | { (exit 1); exit 1; }; } |
---|
1214 | fi |
---|
1215 | if test ! -f $TCL_BIN_DIR/tclConfig.sh; then |
---|
1216 | { { echo "$as_me:$LINENO: 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?" >&5 |
---|
1217 | echo "$as_me: 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?" >&2;} |
---|
1218 | { (exit 1); exit 1; }; } |
---|
1219 | fi |
---|
1220 | |
---|
1221 | . $TCL_BIN_DIR/tclConfig.sh |
---|
1222 | |
---|
1223 | TCL_WIN_VERSION=$TCL_MAJOR_VERSION$TCL_MINOR_VERSION |
---|
1224 | |
---|
1225 | CC=$TCL_CC |
---|
1226 | |
---|
1227 | |
---|
1228 | |
---|
1229 | |
---|
1230 | |
---|
1231 | |
---|
1232 | ac_config_files="$ac_config_files Makefile tcl.hpj" |
---|
1233 | cat >confcache <<\_ACEOF |
---|
1234 | # This file is a shell script that caches the results of configure |
---|
1235 | # tests run on this system so they can be shared between configure |
---|
1236 | # scripts and configure runs, see configure's option --config-cache. |
---|
1237 | # It is not useful on other systems. If it contains results you don't |
---|
1238 | # want to keep, you may remove or edit it. |
---|
1239 | # |
---|
1240 | # config.status only pays attention to the cache file if you give it |
---|
1241 | # the --recheck option to rerun configure. |
---|
1242 | # |
---|
1243 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
1244 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
1245 | # following values. |
---|
1246 | |
---|
1247 | _ACEOF |
---|
1248 | |
---|
1249 | # The following way of writing the cache mishandles newlines in values, |
---|
1250 | # but we know of no workaround that is simple, portable, and efficient. |
---|
1251 | # So, don't put newlines in cache variables' values. |
---|
1252 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
1253 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
1254 | { |
---|
1255 | (set) 2>&1 | |
---|
1256 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
1257 | *ac_space=\ *) |
---|
1258 | # `set' does not quote correctly, so add quotes (double-quote |
---|
1259 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
1260 | sed -n \ |
---|
1261 | "s/'/'\\\\''/g; |
---|
1262 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
1263 | ;; |
---|
1264 | *) |
---|
1265 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
1266 | sed -n \ |
---|
1267 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
1268 | ;; |
---|
1269 | esac; |
---|
1270 | } | |
---|
1271 | sed ' |
---|
1272 | t clear |
---|
1273 | : clear |
---|
1274 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
1275 | t end |
---|
1276 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
1277 | : end' >>confcache |
---|
1278 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
1279 | if test -w $cache_file; then |
---|
1280 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
1281 | cat confcache >$cache_file |
---|
1282 | else |
---|
1283 | echo "not updating unwritable cache $cache_file" |
---|
1284 | fi |
---|
1285 | fi |
---|
1286 | rm -f confcache |
---|
1287 | |
---|
1288 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
1289 | # Let make expand exec_prefix. |
---|
1290 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
1291 | |
---|
1292 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
1293 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
1294 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
1295 | # (actually we leave an empty line to preserve line numbers). |
---|
1296 | if test "x$srcdir" = x.; then |
---|
1297 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
1298 | s/:*\$(srcdir):*/:/; |
---|
1299 | s/:*\${srcdir}:*/:/; |
---|
1300 | s/:*@srcdir@:*/:/; |
---|
1301 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
1302 | s/:*$//; |
---|
1303 | s/^[^=]*=[ ]*$//; |
---|
1304 | }' |
---|
1305 | fi |
---|
1306 | |
---|
1307 | # Transform confdefs.h into DEFS. |
---|
1308 | # Protect against shell expansion while executing Makefile rules. |
---|
1309 | # Protect against Makefile macro expansion. |
---|
1310 | # |
---|
1311 | # If the first sed substitution is executed (which looks for macros that |
---|
1312 | # take arguments), then we branch to the quote section. Otherwise, |
---|
1313 | # look for a macro that doesn't take arguments. |
---|
1314 | cat >confdef2opt.sed <<\_ACEOF |
---|
1315 | t clear |
---|
1316 | : clear |
---|
1317 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
---|
1318 | t quote |
---|
1319 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
---|
1320 | t quote |
---|
1321 | d |
---|
1322 | : quote |
---|
1323 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
---|
1324 | s,\[,\\&,g |
---|
1325 | s,\],\\&,g |
---|
1326 | s,\$,$$,g |
---|
1327 | p |
---|
1328 | _ACEOF |
---|
1329 | # We use echo to avoid assuming a particular line-breaking character. |
---|
1330 | # The extra dot is to prevent the shell from consuming trailing |
---|
1331 | # line-breaks from the sub-command output. A line-break within |
---|
1332 | # single-quotes doesn't work because, if this script is created in a |
---|
1333 | # platform that uses two characters for line-breaks (e.g., DOS), tr |
---|
1334 | # would break. |
---|
1335 | ac_LF_and_DOT=`echo; echo .` |
---|
1336 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
---|
1337 | rm -f confdef2opt.sed |
---|
1338 | |
---|
1339 | |
---|
1340 | ac_libobjs= |
---|
1341 | ac_ltlibobjs= |
---|
1342 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
1343 | # 1. Remove the extension, and $U if already installed. |
---|
1344 | ac_i=`echo "$ac_i" | |
---|
1345 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
1346 | # 2. Add them. |
---|
1347 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
1348 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
1349 | done |
---|
1350 | LIBOBJS=$ac_libobjs |
---|
1351 | |
---|
1352 | LTLIBOBJS=$ac_ltlibobjs |
---|
1353 | |
---|
1354 | |
---|
1355 | |
---|
1356 | : ${CONFIG_STATUS=./config.status} |
---|
1357 | ac_clean_files_save=$ac_clean_files |
---|
1358 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
1359 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
1360 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
1361 | cat >$CONFIG_STATUS <<_ACEOF |
---|
1362 | #! $SHELL |
---|
1363 | # Generated by $as_me. |
---|
1364 | # Run this file to recreate the current configuration. |
---|
1365 | # Compiler output produced by configure, useful for debugging |
---|
1366 | # configure, is in config.log if it exists. |
---|
1367 | |
---|
1368 | debug=false |
---|
1369 | ac_cs_recheck=false |
---|
1370 | ac_cs_silent=false |
---|
1371 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
1372 | _ACEOF |
---|
1373 | |
---|
1374 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
1375 | ## --------------------- ## |
---|
1376 | ## M4sh Initialization. ## |
---|
1377 | ## --------------------- ## |
---|
1378 | |
---|
1379 | # Be Bourne compatible |
---|
1380 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
1381 | emulate sh |
---|
1382 | NULLCMD=: |
---|
1383 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
1384 | # is contrary to our usage. Disable this feature. |
---|
1385 | alias -g '${1+"$@"}'='"$@"' |
---|
1386 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
1387 | set -o posix |
---|
1388 | fi |
---|
1389 | |
---|
1390 | # Support unset when possible. |
---|
1391 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
---|
1392 | as_unset=unset |
---|
1393 | else |
---|
1394 | as_unset=false |
---|
1395 | fi |
---|
1396 | |
---|
1397 | |
---|
1398 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
1399 | $as_unset ENV MAIL MAILPATH |
---|
1400 | PS1='$ ' |
---|
1401 | PS2='> ' |
---|
1402 | PS4='+ ' |
---|
1403 | |
---|
1404 | # NLS nuisances. |
---|
1405 | for as_var in \ |
---|
1406 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
1407 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
1408 | LC_TELEPHONE LC_TIME |
---|
1409 | do |
---|
1410 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
1411 | eval $as_var=C; export $as_var |
---|
1412 | else |
---|
1413 | $as_unset $as_var |
---|
1414 | fi |
---|
1415 | done |
---|
1416 | |
---|
1417 | # Required to use basename. |
---|
1418 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
1419 | as_expr=expr |
---|
1420 | else |
---|
1421 | as_expr=false |
---|
1422 | fi |
---|
1423 | |
---|
1424 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
1425 | as_basename=basename |
---|
1426 | else |
---|
1427 | as_basename=false |
---|
1428 | fi |
---|
1429 | |
---|
1430 | |
---|
1431 | # Name of the executable. |
---|
1432 | as_me=`$as_basename "$0" || |
---|
1433 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
1434 | X"$0" : 'X\(//\)$' \| \ |
---|
1435 | X"$0" : 'X\(/\)$' \| \ |
---|
1436 | . : '\(.\)' 2>/dev/null || |
---|
1437 | echo X/"$0" | |
---|
1438 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
1439 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
1440 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
1441 | s/.*/./; q'` |
---|
1442 | |
---|
1443 | |
---|
1444 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
1445 | # Avoid depending upon Character Ranges. |
---|
1446 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
1447 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
1448 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
1449 | as_cr_digits='0123456789' |
---|
1450 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
1451 | |
---|
1452 | # The user is always right. |
---|
1453 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
1454 | echo "#! /bin/sh" >conf$$.sh |
---|
1455 | echo "exit 0" >>conf$$.sh |
---|
1456 | chmod +x conf$$.sh |
---|
1457 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
1458 | PATH_SEPARATOR=';' |
---|
1459 | else |
---|
1460 | PATH_SEPARATOR=: |
---|
1461 | fi |
---|
1462 | rm -f conf$$.sh |
---|
1463 | fi |
---|
1464 | |
---|
1465 | |
---|
1466 | as_lineno_1=$LINENO |
---|
1467 | as_lineno_2=$LINENO |
---|
1468 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
1469 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
1470 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
1471 | # Find who we are. Look in the path if we contain no path at all |
---|
1472 | # relative or not. |
---|
1473 | case $0 in |
---|
1474 | *[\\/]* ) as_myself=$0 ;; |
---|
1475 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1476 | for as_dir in $PATH |
---|
1477 | do |
---|
1478 | IFS=$as_save_IFS |
---|
1479 | test -z "$as_dir" && as_dir=. |
---|
1480 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
1481 | done |
---|
1482 | |
---|
1483 | ;; |
---|
1484 | esac |
---|
1485 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
1486 | # in which case we are not to be found in the path. |
---|
1487 | if test "x$as_myself" = x; then |
---|
1488 | as_myself=$0 |
---|
1489 | fi |
---|
1490 | if test ! -f "$as_myself"; then |
---|
1491 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
1492 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
1493 | { (exit 1); exit 1; }; } |
---|
1494 | fi |
---|
1495 | case $CONFIG_SHELL in |
---|
1496 | '') |
---|
1497 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1498 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
1499 | do |
---|
1500 | IFS=$as_save_IFS |
---|
1501 | test -z "$as_dir" && as_dir=. |
---|
1502 | for as_base in sh bash ksh sh5; do |
---|
1503 | case $as_dir in |
---|
1504 | /*) |
---|
1505 | if ("$as_dir/$as_base" -c ' |
---|
1506 | as_lineno_1=$LINENO |
---|
1507 | as_lineno_2=$LINENO |
---|
1508 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
1509 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
1510 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
1511 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
1512 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
1513 | CONFIG_SHELL=$as_dir/$as_base |
---|
1514 | export CONFIG_SHELL |
---|
1515 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
1516 | fi;; |
---|
1517 | esac |
---|
1518 | done |
---|
1519 | done |
---|
1520 | ;; |
---|
1521 | esac |
---|
1522 | |
---|
1523 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
1524 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
1525 | # line-number line before each line; the second 'sed' does the real |
---|
1526 | # work. The second script uses 'N' to pair each line-number line |
---|
1527 | # with the numbered line, and appends trailing '-' during |
---|
1528 | # substitution so that $LINENO is not a special case at line end. |
---|
1529 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
1530 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
1531 | sed '=' <$as_myself | |
---|
1532 | sed ' |
---|
1533 | N |
---|
1534 | s,$,-, |
---|
1535 | : loop |
---|
1536 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
1537 | t loop |
---|
1538 | s,-$,, |
---|
1539 | s,^['$as_cr_digits']*\n,, |
---|
1540 | ' >$as_me.lineno && |
---|
1541 | chmod +x $as_me.lineno || |
---|
1542 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
1543 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
1544 | { (exit 1); exit 1; }; } |
---|
1545 | |
---|
1546 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
1547 | # (the dirname of $[0] is not the place where we might find the |
---|
1548 | # original and so on. Autoconf is especially sensible to this). |
---|
1549 | . ./$as_me.lineno |
---|
1550 | # Exit status is that of the last command. |
---|
1551 | exit |
---|
1552 | } |
---|
1553 | |
---|
1554 | |
---|
1555 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
1556 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
1557 | ' ECHO_T=' ' ;; |
---|
1558 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
1559 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
1560 | esac |
---|
1561 | |
---|
1562 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
1563 | as_expr=expr |
---|
1564 | else |
---|
1565 | as_expr=false |
---|
1566 | fi |
---|
1567 | |
---|
1568 | rm -f conf$$ conf$$.exe conf$$.file |
---|
1569 | echo >conf$$.file |
---|
1570 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
1571 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
1572 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
1573 | if test -f conf$$.exe; then |
---|
1574 | # Don't use ln at all; we don't have any links |
---|
1575 | as_ln_s='cp -p' |
---|
1576 | else |
---|
1577 | as_ln_s='ln -s' |
---|
1578 | fi |
---|
1579 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
1580 | as_ln_s=ln |
---|
1581 | else |
---|
1582 | as_ln_s='cp -p' |
---|
1583 | fi |
---|
1584 | rm -f conf$$ conf$$.exe conf$$.file |
---|
1585 | |
---|
1586 | if mkdir -p . 2>/dev/null; then |
---|
1587 | as_mkdir_p=: |
---|
1588 | else |
---|
1589 | as_mkdir_p=false |
---|
1590 | fi |
---|
1591 | |
---|
1592 | as_executable_p="test -f" |
---|
1593 | |
---|
1594 | # Sed expression to map a string onto a valid CPP name. |
---|
1595 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
---|
1596 | |
---|
1597 | # Sed expression to map a string onto a valid variable name. |
---|
1598 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
---|
1599 | |
---|
1600 | |
---|
1601 | # IFS |
---|
1602 | # We need space, tab and new line, in precisely that order. |
---|
1603 | as_nl=' |
---|
1604 | ' |
---|
1605 | IFS=" $as_nl" |
---|
1606 | |
---|
1607 | # CDPATH. |
---|
1608 | $as_unset CDPATH |
---|
1609 | |
---|
1610 | exec 6>&1 |
---|
1611 | |
---|
1612 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
1613 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
1614 | # values after options handling. Logging --version etc. is OK. |
---|
1615 | exec 5>>config.log |
---|
1616 | { |
---|
1617 | echo |
---|
1618 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
1619 | ## Running $as_me. ## |
---|
1620 | _ASBOX |
---|
1621 | } >&5 |
---|
1622 | cat >&5 <<_CSEOF |
---|
1623 | |
---|
1624 | This file was extended by $as_me, which was |
---|
1625 | generated by GNU Autoconf 2.57. Invocation command line was |
---|
1626 | |
---|
1627 | CONFIG_FILES = $CONFIG_FILES |
---|
1628 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
1629 | CONFIG_LINKS = $CONFIG_LINKS |
---|
1630 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
1631 | $ $0 $@ |
---|
1632 | |
---|
1633 | _CSEOF |
---|
1634 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
1635 | echo >&5 |
---|
1636 | _ACEOF |
---|
1637 | |
---|
1638 | # Files that config.status was made for. |
---|
1639 | if test -n "$ac_config_files"; then |
---|
1640 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
1641 | fi |
---|
1642 | |
---|
1643 | if test -n "$ac_config_headers"; then |
---|
1644 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
1645 | fi |
---|
1646 | |
---|
1647 | if test -n "$ac_config_links"; then |
---|
1648 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
1649 | fi |
---|
1650 | |
---|
1651 | if test -n "$ac_config_commands"; then |
---|
1652 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
1653 | fi |
---|
1654 | |
---|
1655 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
1656 | |
---|
1657 | ac_cs_usage="\ |
---|
1658 | \`$as_me' instantiates files from templates according to the |
---|
1659 | current configuration. |
---|
1660 | |
---|
1661 | Usage: $0 [OPTIONS] [FILE]... |
---|
1662 | |
---|
1663 | -h, --help print this help, then exit |
---|
1664 | -V, --version print version number, then exit |
---|
1665 | -q, --quiet do not print progress messages |
---|
1666 | -d, --debug don't remove temporary files |
---|
1667 | --recheck update $as_me by reconfiguring in the same conditions |
---|
1668 | --file=FILE[:TEMPLATE] |
---|
1669 | instantiate the configuration file FILE |
---|
1670 | |
---|
1671 | Configuration files: |
---|
1672 | $config_files |
---|
1673 | |
---|
1674 | Report bugs to <bug-autoconf@gnu.org>." |
---|
1675 | _ACEOF |
---|
1676 | |
---|
1677 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
1678 | ac_cs_version="\\ |
---|
1679 | config.status |
---|
1680 | configured by $0, generated by GNU Autoconf 2.57, |
---|
1681 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
1682 | |
---|
1683 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
---|
1684 | Free Software Foundation, Inc. |
---|
1685 | This config.status script is free software; the Free Software Foundation |
---|
1686 | gives unlimited permission to copy, distribute and modify it." |
---|
1687 | srcdir=$srcdir |
---|
1688 | _ACEOF |
---|
1689 | |
---|
1690 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
1691 | # If no file are specified by the user, then we need to provide default |
---|
1692 | # value. By we need to know if files were specified by the user. |
---|
1693 | ac_need_defaults=: |
---|
1694 | while test $# != 0 |
---|
1695 | do |
---|
1696 | case $1 in |
---|
1697 | --*=*) |
---|
1698 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
1699 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
1700 | ac_shift=: |
---|
1701 | ;; |
---|
1702 | -*) |
---|
1703 | ac_option=$1 |
---|
1704 | ac_optarg=$2 |
---|
1705 | ac_shift=shift |
---|
1706 | ;; |
---|
1707 | *) # This is not an option, so the user has probably given explicit |
---|
1708 | # arguments. |
---|
1709 | ac_option=$1 |
---|
1710 | ac_need_defaults=false;; |
---|
1711 | esac |
---|
1712 | |
---|
1713 | case $ac_option in |
---|
1714 | # Handling of the options. |
---|
1715 | _ACEOF |
---|
1716 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
1717 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
1718 | ac_cs_recheck=: ;; |
---|
1719 | --version | --vers* | -V ) |
---|
1720 | echo "$ac_cs_version"; exit 0 ;; |
---|
1721 | --he | --h) |
---|
1722 | # Conflict between --help and --header |
---|
1723 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
1724 | Try \`$0 --help' for more information." >&5 |
---|
1725 | echo "$as_me: error: ambiguous option: $1 |
---|
1726 | Try \`$0 --help' for more information." >&2;} |
---|
1727 | { (exit 1); exit 1; }; };; |
---|
1728 | --help | --hel | -h ) |
---|
1729 | echo "$ac_cs_usage"; exit 0 ;; |
---|
1730 | --debug | --d* | -d ) |
---|
1731 | debug=: ;; |
---|
1732 | --file | --fil | --fi | --f ) |
---|
1733 | $ac_shift |
---|
1734 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
1735 | ac_need_defaults=false;; |
---|
1736 | --header | --heade | --head | --hea ) |
---|
1737 | $ac_shift |
---|
1738 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
1739 | ac_need_defaults=false;; |
---|
1740 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1741 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
1742 | ac_cs_silent=: ;; |
---|
1743 | |
---|
1744 | # This is an error. |
---|
1745 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
1746 | Try \`$0 --help' for more information." >&5 |
---|
1747 | echo "$as_me: error: unrecognized option: $1 |
---|
1748 | Try \`$0 --help' for more information." >&2;} |
---|
1749 | { (exit 1); exit 1; }; } ;; |
---|
1750 | |
---|
1751 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
1752 | |
---|
1753 | esac |
---|
1754 | shift |
---|
1755 | done |
---|
1756 | |
---|
1757 | ac_configure_extra_args= |
---|
1758 | |
---|
1759 | if $ac_cs_silent; then |
---|
1760 | exec 6>/dev/null |
---|
1761 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
1762 | fi |
---|
1763 | |
---|
1764 | _ACEOF |
---|
1765 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
1766 | if \$ac_cs_recheck; then |
---|
1767 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
1768 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
1769 | fi |
---|
1770 | |
---|
1771 | _ACEOF |
---|
1772 | |
---|
1773 | |
---|
1774 | |
---|
1775 | |
---|
1776 | |
---|
1777 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
1778 | for ac_config_target in $ac_config_targets |
---|
1779 | do |
---|
1780 | case "$ac_config_target" in |
---|
1781 | # Handling of arguments. |
---|
1782 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
1783 | "tcl.hpj" ) CONFIG_FILES="$CONFIG_FILES tcl.hpj" ;; |
---|
1784 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
1785 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
1786 | { (exit 1); exit 1; }; };; |
---|
1787 | esac |
---|
1788 | done |
---|
1789 | |
---|
1790 | # If the user did not use the arguments to specify the items to instantiate, |
---|
1791 | # then the envvar interface is used. Set only those that are not. |
---|
1792 | # We use the long form for the default assignment because of an extremely |
---|
1793 | # bizarre bug on SunOS 4.1.3. |
---|
1794 | if $ac_need_defaults; then |
---|
1795 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
1796 | fi |
---|
1797 | |
---|
1798 | # Have a temporary directory for convenience. Make it in the build tree |
---|
1799 | # simply because there is no reason to put it here, and in addition, |
---|
1800 | # creating and moving files from /tmp can sometimes cause problems. |
---|
1801 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
1802 | $debug || |
---|
1803 | { |
---|
1804 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
1805 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
1806 | } |
---|
1807 | |
---|
1808 | # Create a (secure) tmp directory for tmp files. |
---|
1809 | |
---|
1810 | { |
---|
1811 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
1812 | test -n "$tmp" && test -d "$tmp" |
---|
1813 | } || |
---|
1814 | { |
---|
1815 | tmp=./confstat$$-$RANDOM |
---|
1816 | (umask 077 && mkdir $tmp) |
---|
1817 | } || |
---|
1818 | { |
---|
1819 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
1820 | { (exit 1); exit 1; } |
---|
1821 | } |
---|
1822 | |
---|
1823 | _ACEOF |
---|
1824 | |
---|
1825 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
1826 | |
---|
1827 | # |
---|
1828 | # CONFIG_FILES section. |
---|
1829 | # |
---|
1830 | |
---|
1831 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
1832 | # This happens for instance when ./config.status config.h |
---|
1833 | if test -n "\$CONFIG_FILES"; then |
---|
1834 | # Protect against being on the right side of a sed subst in config.status. |
---|
1835 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
1836 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
1837 | s,@SHELL@,$SHELL,;t t |
---|
1838 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
1839 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
1840 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
1841 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
1842 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
1843 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
1844 | s,@exec_prefix@,$exec_prefix,;t t |
---|
1845 | s,@prefix@,$prefix,;t t |
---|
1846 | s,@program_transform_name@,$program_transform_name,;t t |
---|
1847 | s,@bindir@,$bindir,;t t |
---|
1848 | s,@sbindir@,$sbindir,;t t |
---|
1849 | s,@libexecdir@,$libexecdir,;t t |
---|
1850 | s,@datadir@,$datadir,;t t |
---|
1851 | s,@sysconfdir@,$sysconfdir,;t t |
---|
1852 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
1853 | s,@localstatedir@,$localstatedir,;t t |
---|
1854 | s,@libdir@,$libdir,;t t |
---|
1855 | s,@includedir@,$includedir,;t t |
---|
1856 | s,@oldincludedir@,$oldincludedir,;t t |
---|
1857 | s,@infodir@,$infodir,;t t |
---|
1858 | s,@mandir@,$mandir,;t t |
---|
1859 | s,@build_alias@,$build_alias,;t t |
---|
1860 | s,@host_alias@,$host_alias,;t t |
---|
1861 | s,@target_alias@,$target_alias,;t t |
---|
1862 | s,@DEFS@,$DEFS,;t t |
---|
1863 | s,@ECHO_C@,$ECHO_C,;t t |
---|
1864 | s,@ECHO_N@,$ECHO_N,;t t |
---|
1865 | s,@ECHO_T@,$ECHO_T,;t t |
---|
1866 | s,@LIBS@,$LIBS,;t t |
---|
1867 | s,@TCL_WIN_VERSION@,$TCL_WIN_VERSION,;t t |
---|
1868 | s,@CC@,$CC,;t t |
---|
1869 | s,@TCL_VERSION@,$TCL_VERSION,;t t |
---|
1870 | s,@TCL_PATCH_LEVEL@,$TCL_PATCH_LEVEL,;t t |
---|
1871 | s,@TCL_SRC_DIR@,$TCL_SRC_DIR,;t t |
---|
1872 | s,@TCL_BIN_DIR@,$TCL_BIN_DIR,;t t |
---|
1873 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
1874 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
1875 | CEOF |
---|
1876 | |
---|
1877 | _ACEOF |
---|
1878 | |
---|
1879 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
1880 | # Split the substitutions into bite-sized pieces for seds with |
---|
1881 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
1882 | ac_max_sed_lines=48 |
---|
1883 | ac_sed_frag=1 # Number of current file. |
---|
1884 | ac_beg=1 # First line for current file. |
---|
1885 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
1886 | ac_more_lines=: |
---|
1887 | ac_sed_cmds= |
---|
1888 | while $ac_more_lines; do |
---|
1889 | if test $ac_beg -gt 1; then |
---|
1890 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
1891 | else |
---|
1892 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
1893 | fi |
---|
1894 | if test ! -s $tmp/subs.frag; then |
---|
1895 | ac_more_lines=false |
---|
1896 | else |
---|
1897 | # The purpose of the label and of the branching condition is to |
---|
1898 | # speed up the sed processing (if there are no `@' at all, there |
---|
1899 | # is no need to browse any of the substitutions). |
---|
1900 | # These are the two extra sed commands mentioned above. |
---|
1901 | (echo ':t |
---|
1902 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
1903 | if test -z "$ac_sed_cmds"; then |
---|
1904 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
1905 | else |
---|
1906 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
1907 | fi |
---|
1908 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
1909 | ac_beg=$ac_end |
---|
1910 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
1911 | fi |
---|
1912 | done |
---|
1913 | if test -z "$ac_sed_cmds"; then |
---|
1914 | ac_sed_cmds=cat |
---|
1915 | fi |
---|
1916 | fi # test -n "$CONFIG_FILES" |
---|
1917 | |
---|
1918 | _ACEOF |
---|
1919 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
1920 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
1921 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
1922 | case $ac_file in |
---|
1923 | - | *:- | *:-:* ) # input from stdin |
---|
1924 | cat >$tmp/stdin |
---|
1925 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
1926 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
1927 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
1928 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
1929 | * ) ac_file_in=$ac_file.in ;; |
---|
1930 | esac |
---|
1931 | |
---|
1932 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
1933 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
1934 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1935 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
1936 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
1937 | X"$ac_file" : 'X\(/\)' \| \ |
---|
1938 | . : '\(.\)' 2>/dev/null || |
---|
1939 | echo X"$ac_file" | |
---|
1940 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
1941 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
1942 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
1943 | /^X\(\/\).*/{ s//\1/; q; } |
---|
1944 | s/.*/./; q'` |
---|
1945 | { if $as_mkdir_p; then |
---|
1946 | mkdir -p "$ac_dir" |
---|
1947 | else |
---|
1948 | as_dir="$ac_dir" |
---|
1949 | as_dirs= |
---|
1950 | while test ! -d "$as_dir"; do |
---|
1951 | as_dirs="$as_dir $as_dirs" |
---|
1952 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
1953 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1954 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
1955 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
1956 | X"$as_dir" : 'X\(/\)' \| \ |
---|
1957 | . : '\(.\)' 2>/dev/null || |
---|
1958 | echo X"$as_dir" | |
---|
1959 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
1960 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
1961 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
1962 | /^X\(\/\).*/{ s//\1/; q; } |
---|
1963 | s/.*/./; q'` |
---|
1964 | done |
---|
1965 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
1966 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
1967 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
1968 | { (exit 1); exit 1; }; }; } |
---|
1969 | |
---|
1970 | ac_builddir=. |
---|
1971 | |
---|
1972 | if test "$ac_dir" != .; then |
---|
1973 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
1974 | # A "../" for each directory in $ac_dir_suffix. |
---|
1975 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
1976 | else |
---|
1977 | ac_dir_suffix= ac_top_builddir= |
---|
1978 | fi |
---|
1979 | |
---|
1980 | case $srcdir in |
---|
1981 | .) # No --srcdir option. We are building in place. |
---|
1982 | ac_srcdir=. |
---|
1983 | if test -z "$ac_top_builddir"; then |
---|
1984 | ac_top_srcdir=. |
---|
1985 | else |
---|
1986 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
1987 | fi ;; |
---|
1988 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
1989 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1990 | ac_top_srcdir=$srcdir ;; |
---|
1991 | *) # Relative path. |
---|
1992 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
1993 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
1994 | esac |
---|
1995 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
---|
1996 | # absolute. |
---|
1997 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
---|
1998 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
---|
1999 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
---|
2000 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
---|
2001 | |
---|
2002 | |
---|
2003 | |
---|
2004 | if test x"$ac_file" != x-; then |
---|
2005 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
2006 | echo "$as_me: creating $ac_file" >&6;} |
---|
2007 | rm -f "$ac_file" |
---|
2008 | fi |
---|
2009 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
2010 | # use $as_me), people would be surprised to read: |
---|
2011 | # /* config.h. Generated by config.status. */ |
---|
2012 | if test x"$ac_file" = x-; then |
---|
2013 | configure_input= |
---|
2014 | else |
---|
2015 | configure_input="$ac_file. " |
---|
2016 | fi |
---|
2017 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
2018 | sed 's,.*/,,'` by configure." |
---|
2019 | |
---|
2020 | # First look for the input files in the build tree, otherwise in the |
---|
2021 | # src tree. |
---|
2022 | ac_file_inputs=`IFS=: |
---|
2023 | for f in $ac_file_in; do |
---|
2024 | case $f in |
---|
2025 | -) echo $tmp/stdin ;; |
---|
2026 | [\\/$]*) |
---|
2027 | # Absolute (can't be DOS-style, as IFS=:) |
---|
2028 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
2029 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
2030 | { (exit 1); exit 1; }; } |
---|
2031 | echo $f;; |
---|
2032 | *) # Relative |
---|
2033 | if test -f "$f"; then |
---|
2034 | # Build tree |
---|
2035 | echo $f |
---|
2036 | elif test -f "$srcdir/$f"; then |
---|
2037 | # Source tree |
---|
2038 | echo $srcdir/$f |
---|
2039 | else |
---|
2040 | # /dev/null tree |
---|
2041 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
2042 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
2043 | { (exit 1); exit 1; }; } |
---|
2044 | fi;; |
---|
2045 | esac |
---|
2046 | done` || { (exit 1); exit 1; } |
---|
2047 | _ACEOF |
---|
2048 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
2049 | sed "$ac_vpsub |
---|
2050 | $extrasub |
---|
2051 | _ACEOF |
---|
2052 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2053 | :t |
---|
2054 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
2055 | s,@configure_input@,$configure_input,;t t |
---|
2056 | s,@srcdir@,$ac_srcdir,;t t |
---|
2057 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
2058 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
2059 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
2060 | s,@builddir@,$ac_builddir,;t t |
---|
2061 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
2062 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
2063 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
2064 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
2065 | rm -f $tmp/stdin |
---|
2066 | if test x"$ac_file" != x-; then |
---|
2067 | mv $tmp/out $ac_file |
---|
2068 | else |
---|
2069 | cat $tmp/out |
---|
2070 | rm -f $tmp/out |
---|
2071 | fi |
---|
2072 | |
---|
2073 | done |
---|
2074 | _ACEOF |
---|
2075 | |
---|
2076 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2077 | |
---|
2078 | { (exit 0); exit 0; } |
---|
2079 | _ACEOF |
---|
2080 | chmod +x $CONFIG_STATUS |
---|
2081 | ac_clean_files=$ac_clean_files_save |
---|
2082 | |
---|
2083 | |
---|
2084 | # configure is writing to config.log, and then calls config.status. |
---|
2085 | # config.status does its own redirection, appending to config.log. |
---|
2086 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
2087 | # by configure, so config.status won't be able to write to it; its |
---|
2088 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
2089 | # effectively closing config.log, so it can be properly (re)opened and |
---|
2090 | # appended to by config.status. When coming back to configure, we |
---|
2091 | # need to make the FD available again. |
---|
2092 | if test "$no_create" != yes; then |
---|
2093 | ac_cs_success=: |
---|
2094 | ac_config_status_args= |
---|
2095 | test "$silent" = yes && |
---|
2096 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
2097 | exec 5>/dev/null |
---|
2098 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
2099 | exec 5>>config.log |
---|
2100 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
2101 | # would make configure fail if this is the last instruction. |
---|
2102 | $ac_cs_success || { (exit 1); exit 1; } |
---|
2103 | fi |
---|
2104 | |
---|