Debian Codegraph @

win/configure

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for tcl 8.6.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if testscip-shell system . . test. -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif testscip-shell system . . test. -n "${BASH_VERSION+set}" && (set -o posix) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/nullscip-shell filesystem . . `/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; testscip-shell system . . test. -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basenamescip-shell system . . basename. /scip-shell filesystem . . `/`.) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1 && testscip-shell system . . test. "X`basenamescip-shell system . . basename. /scip-shell filesystem . . `/`. 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/nullscip-shell filesystem . . `/dev/null`. ||
71 echoscip-shell system . . echo. X/"$0" |
72 sedscip-shell system . . 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 testscip-shell system . . test. "${PATH_SEPARATOR+set}" != set; then
88 echoscip-shell system . . echo. "#! /bin/sh" >conf$$.sh
89 echoscip-shell system . . echo. "exit 0" >>conf$$.sh
90 chmodscip-shell system . . chmod. +x conf$$.sh
91 if (PATH="/nonexistent;.scip-shell filesystem . . `/nonexistent;.`."; conf$$.sh) >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rmscip-shell system . . rm. -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(exprscip-shell system . . expr. $as_lineno_1 + 1) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`
103 testscip-shell system . . test. "x$as_lineno_1" != "x$as_lineno_2" &&
104 testscip-shell system . . 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 testscip-shell system . . test. -z "$as_dir" && as_dir=.
114 testscip-shell system . . 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 testscip-shell system . . test. "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if testscip-shell system . . test. ! -f "$as_myself"; then
125 { echoscip-shell system . . 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 testscip-shell system . . 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/nullscip-shell filesystem . . `/dev/null`.; then
144 $as_unset BASH_ENV || testscip-shell system . . test. "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || testscip-shell system . . 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 sedscip-shell system . . sed. '=' <$as_myself |
165 sedscip-shell system . . 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 chmodscip-shell system . . chmod. +x $as_me.lineno ||
175 { echoscip-shell system . . 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 `echoscip-shell system . . echo. "testing\c"; echoscip-shell system . . echo. 1,2,3`,`echoscip-shell system . . echo. -n testing; echoscip-shell system . . 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 exprscip-shell system . . expr. a : '\(a\)' >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
201 echoscip-shell system . . echo. >conf$$.file
202 if lnscip-shell system . . ln. -s conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/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 testscip-shell system . . 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 lnscip-shell system . . ln. conf$$.file conf$$ 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rmscip-shell system . . rm. -f conf$$ conf$$.exe conf$$.file
217
218 if mkdirscip-shell system . . mkdir. -p . 2>/dev/nullscip-shell filesystem . . `/dev/null`.; then
219 as_mkdir_p=:
220 else
221 testscip-shell system . . test. -d ./-p && rmdirscip-shell system . . rmdir. ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/localscip-shell filesystem . . `/usr/local`.
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='tcl'
269 PACKAGE_TARNAME='tcl'
270 PACKAGE_VERSION='8.6'
271 PACKAGE_STRING='tcl 8.6'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="../generic/tcl.h"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP AR ac_ct_AR RANLIB ac_ct_RANLIB RC ac_ct_RC SET_MAKE TCL_THREADS CYGPATH WINE CELIB_DIR DL_LIBS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING CFLAGS_NOLTO ZLIB_DLL_FILE ZLIB_LIBS ZLIB_OBJS TCL_ZLIB_LIB_NAME CFLAGS_DEFAULT LDFLAGS_DEFAULT VC_MANIFEST_EMBED_DLL VC_MANIFEST_EMBED_EXE TCL_WIN_VERSION MACHINE TCL_VERSION TCL_MAJOR_VERSION TCL_MINOR_VERSION TCL_PATCH_LEVEL PKG_CFG_ARGS TCL_EXE TCL_LIB_FILE TCL_LIB_FLAG TCL_STATIC_LIB_FILE TCL_STATIC_LIB_FLAG TCL_IMPORT_LIB_FILE TCL_IMPORT_LIB_FLAG TCL_LIBS TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_STUB_LIB_PATH TCL_INCLUDE_SPEC TCL_BUILD_STUB_LIB_SPEC TCL_BUILD_STUB_LIB_PATH TCL_DLL_FILE TCL_SRC_DIR TCL_BIN_DIR TCL_DBGX CFG_TCL_SHARED_LIB_SUFFIX CFG_TCL_UNSHARED_LIB_SUFFIX EXTRA_CFLAGS DEPARG CC_OBJNAME CC_EXENAME LDFLAGS_DEBUG LDFLAGS_OPTIMIZE LDFLAGS_CONSOLE LDFLAGS_WINDOW STLIB_LD SHLIB_LD SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX TCL_SHARED_BUILD LIBS_GUI DLLSUFFIX LIBPREFIX LIBSUFFIX EXESUFFIX LIBRARIES MAKE_LIB MAKE_STUB_LIB POST_MAKE_LIB MAKE_DLL MAKE_EXE TCL_BUILD_LIB_SPEC TCL_CC_SEARCH_FLAGS TCL_LD_SEARCH_FLAGS TCL_BUILD_EXP_FILE TCL_EXP_FILE TCL_PACKAGE_PATH TCL_DDE_VERSION TCL_DDE_MAJOR_VERSION TCL_DDE_MINOR_VERSION TCL_REG_VERSION TCL_REG_MAJOR_VERSION TCL_REG_MINOR_VERSION RC_OUT RC_TYPE RC_INCLUDE RC_DEFINE RC_DEFINES RES LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/nullscip-shell filesystem . . `/dev/null`.
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/includescip-shell filesystem . . `/usr/include`.'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356 # If the previous option needs an argument, assign it.
357 if testscip-shell system . . test. -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`exprscip-shell system . . expr. "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`exprscip-shell system . . expr. "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 exprscip-shell system . . expr. "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
399 { echoscip-shell system . . echo. "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echoscip-shell system . . echo. $ac_feature | sedscip-shell system . . sed. 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`exprscip-shell system . . expr. "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 exprscip-shell system . . expr. "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
408 { echoscip-shell system . . echo. "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echoscip-shell system . . echo. $ac_feature | sedscip-shell system . . sed. 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echoscip-shell system . . echo. "$ac_optarg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`exprscip-shell system . . expr. "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 exprscip-shell system . . expr. "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
590 { echoscip-shell system . . echo. "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echoscip-shell system . . echo. $ac_package| sedscip-shell system . . sed. 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echoscip-shell system . . echo. "$ac_optarg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`exprscip-shell system . . expr. "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 exprscip-shell system . . expr. "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
603 { echoscip-shell system . . echo. "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echoscip-shell system . . echo. $ac_package | sedscip-shell system . . sed. 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echoscip-shell system . . echo. "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`exprscip-shell system . . expr. "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 exprscip-shell system . . expr. "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
635 { echoscip-shell system . . echo. "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echoscip-shell system . . echo. "$ac_optarg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echoscip-shell system . . echo. "$as_me: WARNING: you should use --build, --host, --target" >&2
644 exprscip-shell system . . expr. "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/nullscip-shell filesystem . . `/dev/null`. &&
645 echoscip-shell system . . echo. "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650 done
651
652 if testscip-shell system . . test. -n "$ac_prev"; then
653 ac_option=--`echoscip-shell system . . echo. $ac_prev | sedscip-shell system . . sed. 's/_/-/g'`
654 { echoscip-shell system . . echo. "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661 eval ac_val=$`echoscip-shell system . . echo. $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echoscip-shell system . . echo. "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672 do
673 eval ac_val=$`echoscip-shell system . . echo. $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echoscip-shell system . . echo. "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if testscip-shell system . . test. "x$host_alias" != x; then
690 if testscip-shell system . . test. "x$build_alias" = x; then
691 cross_compiling=maybe
692 echoscip-shell system . . echo. "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif testscip-shell system . . test. "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
696 fi
697 fi
698
699 ac_tool_prefix=
700 testscip-shell system . . test. -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 testscip-shell system . . test. "$silent" = yes && exec 6>/dev/nullscip-shell filesystem . . `/dev/null`.
703
704
705 # Find the source files, if location was not specified.
706 if testscip-shell system . . test. -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirnamescip-shell system . . dirname. "$0") 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
715 echoscip-shell system . . echo. X"$0" |
716 sedscip-shell system . . sed. '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if testscip-shell system . . test. ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725 else
726 ac_srcdir_defaulted=no
727 fi
728 if testscip-shell system . . test. ! -r $srcdir/$ac_unique_file; then
729 if testscip-shell system . . test. "$ac_srcdir_defaulted" = yes; then
730 { echoscip-shell system . . echo. "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echoscip-shell system . . echo. "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
735 fi
736 fi
737 (cd $srcdir && testscip-shell system . . test. -r ./$ac_unique_file) 2>/dev/nullscip-shell filesystem . . `/dev/null`. ||
738 { echoscip-shell system . . echo. "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echoscip-shell system . . echo. "$srcdir" | sedscip-shell system . . sed. 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
773
774 #
775 # Report the --help message.
776 #
777 if testscip-shell system . . test. "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
780 catscip-shell system . . cat. <<_ACEOF
781 \`configure' configures tcl 8.6 to adapt to many kinds of systems.
782
783 Usage: $0 [OPTION]... [VAR=VALUE]...
784
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
787
788 Defaults for the options are specified in brackets.
789
790 Configuration:
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800
801 _ACEOF
802
803 catscip-shell system . . cat. <<_ACEOF
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
806 [$ac_default_prefix]
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
808 [PREFIX]
809
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
814
815 For better control, use the options below.
816
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
830 _ACEOF
831
832 catscip-shell system . . cat. <<\_ACEOF
833 _ACEOF
834 fi
835
836 if testscip-shell system . . test. -n "$ac_init_help"; then
837 case $ac_init_help in
838 short | recursive ) echoscip-shell system . . echo. "Configuration of tcl 8.6:";;
839 esac
840 catscip-shell system . . cat. <<\_ACEOF
841
842 Optional Features:
843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
845 --enable-threads build with threads (default: on)
846 --enable-shared build and link with shared libraries (default: on)
847 --enable-time64bit force 64-bit time_t for 32-bit build (default: off)
848 --enable-64bit enable 64bit support (where applicable)
849 --enable-wince enable Win/CE support (where applicable)
850 --enable-symbols build with debugging symbols (default: off)
851 --enable-embedded-manifest
852 embed manifest if possible (default: yes)
853
854 Optional Packages:
855 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
857 --with-encoding encoding for configuration values
858 --with-celib=DIR use Windows/CE support library from DIR
859
860 Some influential environment variables:
861 CC C compiler command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
864 nonstandard directory <lib dir>
865 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
866 headers in a nonstandard directory <include dir>
867 CPP C preprocessor
868
869 Use these variables to override the choices made by `configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
871
872 _ACEOF
873 fi
874
875 if testscip-shell system . . test. "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
877 ac_popdir=`pwdscip-shell system . . pwd.`
878 for ac_dir in : $ac_subdirs_all; do testscip-shell system . . test. "x$ac_dir" = x: && continue
879 testscip-shell system . . test. -d $ac_dir || continue
880 ac_builddir=.
881
882 if testscip-shell system . . test. "$ac_dir" != .; then
883 ac_dir_suffix=/`echoscip-shell system . . echo. "$ac_dir" | sedscip-shell system . . sed. 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echoscip-shell system . . echo. "$ac_dir_suffix" | sedscip-shell system . . sed. 's,/[^\\/]*,../,g'`
886 else
887 ac_dir_suffix= ac_top_builddir=
888 fi
889
890 case $srcdir in
891 .) # No --srcdir option. We are building in place.
892 ac_srcdir=.
893 if testscip-shell system . . test. -z "$ac_top_builddir"; then
894 ac_top_srcdir=.
895 else
896 ac_top_srcdir=`echoscip-shell system . . echo. $ac_top_builddir | sedscip-shell system . . sed. 's,/$,,'`
897 fi ;;
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
901 *) # Relative path.
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
904 esac
905
906 # Do not use `cd foo && pwd` to compute absolute paths, because
907 # the directories may not exist.
908 case `pwdscip-shell system . . pwd.` in
909 .) ac_abs_builddir="$ac_dir";;
910 *)
911 case "$ac_dir" in
912 .) ac_abs_builddir=`pwdscip-shell system . . pwd.`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwdscip-shell system . . pwd.`/"$ac_dir";;
915 esac;;
916 esac
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
919 *)
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924 esac;;
925 esac
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
928 *)
929 case $ac_srcdir in
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933 esac;;
934 esac
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
937 *)
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
942 esac;;
943 esac
944
945 cd $ac_dir
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if testscip-shell system . . test. -f $ac_srcdir/configure.gnu; then
948 echoscip-shell system . . echo.
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif testscip-shell system . . test. -f $ac_srcdir/configure; then
951 echoscip-shell system . . echo.
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif testscip-shell system . . test. -f $ac_srcdir/configure.ac ||
954 testscip-shell system . . test. -f $ac_srcdir/configure.in; then
955 echoscip-shell system . . echo.
956 $ac_configure --help
957 else
958 echoscip-shell system . . echo. "$as_me: WARNING: no configuration information is in $ac_dir" >&2
959 fi
960 cd $ac_popdir
961 done
962 fi
963
964 testscip-shell system . . test. -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
966 catscip-shell system . . cat. <<\_ACEOF
967 tcl configure 8.6
968 generated by GNU Autoconf 2.59
969
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
973 _ACEOF
974 exit 0
975 fi
976 exec 5>config.log
977 catscip-shell system . . cat. >&5 <<_ACEOF
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
980
981 It was created by tcl $as_me 8.6, which was
982 generated by GNU Autoconf 2.59. Invocation command line was
983
984 $ $0 $@
985
986 _ACEOF
987 {
988 catscip-shell system . . cat. <<_ASUNAME
989 ## --------- ##
990 ## Platform. ##
991 ## --------- ##
992
993 hostname = `(hostnamescip-shell system . . hostname. || unamescip-shell system . . uname. -n) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | sedscip-shell system . . sed. 1q`
994 uname -m = `(unamescip-shell system . . uname. -m) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
995 uname -r = `(unamescip-shell system . . uname. -r) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
996 uname -s = `(unamescip-shell system . . uname. -s) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
997 uname -v = `(unamescip-shell system . . uname. -v) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
998
999 /usr/bin/uname -p = `(/usr/bin/unamescip-shell filesystem . . `/usr/bin/uname`. -p) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1000 /bin/uname -X = `(/bin/unamescip-shell filesystem . . `/bin/uname`. -X) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1001
1002 /bin/arch = `(/bin/archscip-shell filesystem . . `/bin/arch`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1003 /usr/bin/arch -k = `(/usr/bin/archscip-shell filesystem . . `/usr/bin/arch`. -k) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfoscip-shell filesystem . . `/usr/convex/getsysinfo`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1005 hostinfo = `(hostinfo) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1006 /bin/machine = `(/bin/machinescip-shell filesystem . . `/bin/machine`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1007 /usr/bin/oslevel = `(/usr/bin/oslevelscip-shell filesystem . . `/usr/bin/oslevel`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1008 /bin/universe = `(/bin/universescip-shell filesystem . . `/bin/universe`.) 2>/dev/nullscip-shell filesystem . . `/dev/null`. || echoscip-shell system . . echo. unknown`
1009
1010 _ASUNAME
1011
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1013 for as_dir in $PATH
1014 do
1015 IFS=$as_save_IFS
1016 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1017 echoscip-shell system . . echo. "PATH: $as_dir"
1018 done
1019
1020 } >&5
1021
1022 catscip-shell system . . cat. >&5 <<_ACEOF
1023
1024
1025 ## ----------- ##
1026 ## Core tests. ##
1027 ## ----------- ##
1028
1029 _ACEOF
1030
1031
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1037 ac_configure_args=
1038 ac_configure_args0=
1039 ac_configure_args1=
1040 ac_sep=
1041 ac_must_keep_next=false
1042 for ac_pass in 1 2
1043 do
1044 for ac_arg
1045 do
1046 case $ac_arg in
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1050 continue ;;
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echoscip-shell system . . echo. "$ac_arg" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1053 esac
1054 case $ac_pass in
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 2)
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if testscip-shell system . . test. $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1060 else
1061 case $ac_arg in
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068 esac
1069 ;;
1070 -* ) ac_must_keep_next=true ;;
1071 esac
1072 fi
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1075 ac_sep=" "
1076 ;;
1077 esac
1078 done
1079 done
1080 $as_unset ac_configure_args0 || testscip-shell system . . test. "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || testscip-shell system . . test. "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close' the trap.
1088 trap 'exit_status=$?
1089 # Save into config.log some information that might help in debugging.
1090 {
1091 echo
1092
1093 cat <<\_ASBOX
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1097 _ASBOX
1098 echo
1099 # The following way of writing the cache mishandles newlines in values,
1100 {
1101 (set) 2>&1 |
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103 *ac_space=\ *)
1104 sed -n \
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1107 ;;
1108 *)
1109 sed -n \
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111 ;;
1112 esac;
1113 }
1114 echo
1115
1116 cat <<\_ASBOX
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1120 _ASBOX
1121 echo
1122 for ac_var in $ac_subst_vars
1123 do
1124 eval ac_val=$`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1126 done | sort
1127 echo
1128
1129 if test -n "$ac_subst_files"; then
1130 cat <<\_ASBOX
1131 ## ------------- ##
1132 ## Output files. ##
1133 ## ------------- ##
1134 _ASBOX
1135 echo
1136 for ac_var in $ac_subst_files
1137 do
1138 eval ac_val=$`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1140 done | sort
1141 echo
1142 fi
1143
1144 if test -s confdefs.h; then
1145 cat <<\_ASBOX
1146 ## ----------- ##
1147 ## confdefs.h. ##
1148 ## ----------- ##
1149 _ASBOX
1150 echo
1151 sed "/^$/d" confdefs.h | sort
1152 echo
1153 fi
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1157 } >&5
1158 rm -f core *.core &&
1159 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1160 exit $exit_status
1161 ' 0
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1164 done
1165 ac_signal=0
1166
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rmscip-shell system . . rm. -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170 echoscip-shell system . . echo. >confdefs.h
1171
1172 # Predefined preprocessor variables.
1173
1174 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1176 _ACEOF
1177
1178
1179 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1181 _ACEOF
1182
1183
1184 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1186 _ACEOF
1187
1188
1189 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1191 _ACEOF
1192
1193
1194 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1196 _ACEOF
1197
1198
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if testscip-shell system . . test. -z "$CONFIG_SITE"; then
1202 if testscip-shell system . . test. "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 else
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1206 fi
1207 fi
1208 for ac_site_file in $CONFIG_SITE; do
1209 if testscip-shell system . . test. -r "$ac_site_file"; then
1210 { echoscip-shell system . . echo. "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echoscip-shell system . . echo. "$as_me: loading site script $ac_site_file" >&6;}
1212 sedscip-shell system . . sed. 's/^/| /' "$ac_site_file" >&5
1213 . "$ac_site_file"
1214 fi
1215 done
1216
1217 if testscip-shell system . . test. -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if testscip-shell system . . test. -f "$cache_file"; then
1221 { echoscip-shell system . . echo. "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echoscip-shell system . . echo. "$as_me: loading cache $cache_file" >&6;}
1223 case $cache_file in
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1226 esac
1227 fi
1228 else
1229 { echoscip-shell system . . echo. "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echoscip-shell system . . echo. "$as_me: creating cache $cache_file" >&6;}
1231 >$cache_file
1232 fi
1233
1234 # Check that the precious variables saved in the cache have kept the same
1235 # value.
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sedscip-shell system . . sed. -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1244 set,)
1245 { echoscip-shell system . . echo. "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1246 echoscip-shell system . . echo. "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1247 ac_cache_corrupted=: ;;
1248 ,set)
1249 { echoscip-shell system . . echo. "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1250 echoscip-shell system . . echo. "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1252 ,);;
1253 *)
1254 if testscip-shell system . . test. "x$ac_old_val" != "x$ac_new_val"; then
1255 { echoscip-shell system . . echo. "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1256 echoscip-shell system . . echo. "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1257 { echoscip-shell system . . echo. "$as_me:$LINENO: former value: $ac_old_val" >&5
1258 echoscip-shell system . . echo. "$as_me: former value: $ac_old_val" >&2;}
1259 { echoscip-shell system . . echo. "$as_me:$LINENO: current value: $ac_new_val" >&5
1260 echoscip-shell system . . echo. "$as_me: current value: $ac_new_val" >&2;}
1261 ac_cache_corrupted=:
1262 fi;;
1263 esac
1264 # Pass precious variables to config.status.
1265 if testscip-shell system . . test. "$ac_new_set" = set; then
1266 case $ac_new_val in
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echoscip-shell system . . echo. "$ac_new_val" | sedscip-shell system . . sed. "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
1270 esac
1271 case " $ac_configure_args " in
1272 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1273 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1274 esac
1275 fi
1276 done
1277 if $ac_cache_corrupted; then
1278 { echoscip-shell system . . echo. "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echoscip-shell system . . echo. "$as_me: error: changes in the environment can compromise the build" >&2;}
1280 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1281 echoscip-shell system . . echo. "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282 { (exit 1); exit 1; }; }
1283 fi
1284
1285 ac_ext=c
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320 # The following define is needed when building with Cygwin since newer
1321 # versions of autoconf incorrectly set SHELL to /bin/bash instead of
1322 # /bin/sh. The bash shell seems to suffer from some strange failures.
1323 SHELL=/bin/shscip-shell filesystem . . `/bin/sh`.
1324
1325 TCL_VERSION=8.6
1326 TCL_MAJOR_VERSION=8
1327 TCL_MINOR_VERSION=6
1328 TCL_PATCH_LEVEL=".18"
1329 VER=$TCL_MAJOR_VERSION$TCL_MINOR_VERSION
1330
1331 TCL_DDE_VERSION=1.4
1332 TCL_DDE_MAJOR_VERSION=1
1333 TCL_DDE_MINOR_VERSION=4
1334 DDEVER=$TCL_DDE_MAJOR_VERSION$TCL_DDE_MINOR_VERSION
1335
1336 TCL_REG_VERSION=1.3
1337 TCL_REG_MAJOR_VERSION=1
1338 TCL_REG_MINOR_VERSION=3
1339 REGVER=$TCL_REG_MAJOR_VERSION$TCL_REG_MINOR_VERSION
1340
1341 PKG_CFG_ARGS=$@
1342
1343 #------------------------------------------------------------------------
1344 # Empty slate for bundled packages, to avoid stale configuration
1345 #------------------------------------------------------------------------
1346 rmscip-shell system . . rm. -Rf pkgs
1347
1348 #------------------------------------------------------------------------
1349 # Handle the --prefix=... option
1350 #------------------------------------------------------------------------
1351
1352 if testscip-shell system . . test. "${prefix}" = "NONE"; then
1353 prefix=/usr/localscip-shell filesystem . . `/usr/local`.
1354 fi
1355 if testscip-shell system . . test. "${exec_prefix}" = "NONE"; then
1356 exec_prefix=$prefix
1357 fi
1358 # libdir must be a fully qualified path (not ${exec_prefix}/lib)
1359 eval libdir="$libdir"
1360
1361 #------------------------------------------------------------------------
1362 # Standard compiler checks
1363 #------------------------------------------------------------------------
1364
1365 # If the user did not set CFLAGS, set it now to keep
1366 # the AC_PROG_CC macro from adding "-g -O2".
1367 if testscip-shell system . . test. "${CFLAGS+set}" != "set" ; then
1368 CFLAGS=""
1369 fi
1370
1371 ac_ext=c
1372 ac_cpp='$CPP $CPPFLAGS'
1373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1376 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
1377 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1378 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1379 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1380 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1381 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1382 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1383 else
1384 if testscip-shell system . . test. -n "$CC"; then
1385 ac_cv_prog_CC="$CC" # Let the user override the test.
1386 else
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 for as_dir in $PATH
1389 do
1390 IFS=$as_save_IFS
1391 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1392 for ac_exec_ext in '' $ac_executable_extensions; do
1393 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1394 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1395 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1396 break 2
1397 fi
1398 done
1399 done
1400
1401 fi
1402 fi
1403 CC=$ac_cv_prog_CC
1404 if testscip-shell system . . test. -n "$CC"; then
1405 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1406 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1407 else
1408 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1409 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1410 fi
1411
1412 fi
1413 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
1414 ac_ct_CC=$CC
1415 # Extract the first word of "gcc", so it can be a program name with args.
1416 set dummy gcc; ac_word=$2
1417 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1418 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1419 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then
1420 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1421 else
1422 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1424 else
1425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1426 for as_dir in $PATH
1427 do
1428 IFS=$as_save_IFS
1429 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1430 for ac_exec_ext in '' $ac_executable_extensions; do
1431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1432 ac_cv_prog_ac_ct_CC="gcc"
1433 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1434 break 2
1435 fi
1436 done
1437 done
1438
1439 fi
1440 fi
1441 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1442 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1443 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_CC" >&5
1444 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_CC" >&6
1445 else
1446 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1447 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1448 fi
1449
1450 CC=$ac_ct_CC
1451 else
1452 CC="$ac_cv_prog_CC"
1453 fi
1454
1455 if testscip-shell system . . test. -z "$CC"; then
1456 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
1457 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1458 set dummy ${ac_tool_prefix}cc; ac_word=$2
1459 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1460 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1461 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1462 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1463 else
1464 if testscip-shell system . . test. -n "$CC"; then
1465 ac_cv_prog_CC="$CC" # Let the user override the test.
1466 else
1467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1468 for as_dir in $PATH
1469 do
1470 IFS=$as_save_IFS
1471 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1472 for ac_exec_ext in '' $ac_executable_extensions; do
1473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1474 ac_cv_prog_CC="${ac_tool_prefix}cc"
1475 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1476 break 2
1477 fi
1478 done
1479 done
1480
1481 fi
1482 fi
1483 CC=$ac_cv_prog_CC
1484 if testscip-shell system . . test. -n "$CC"; then
1485 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1486 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1487 else
1488 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1489 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1490 fi
1491
1492 fi
1493 if testscip-shell system . . test. -z "$ac_cv_prog_CC"; then
1494 ac_ct_CC=$CC
1495 # Extract the first word of "cc", so it can be a program name with args.
1496 set dummy cc; ac_word=$2
1497 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1498 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1499 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then
1500 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1501 else
1502 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1503 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1504 else
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 for as_dir in $PATH
1507 do
1508 IFS=$as_save_IFS
1509 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1510 for ac_exec_ext in '' $ac_executable_extensions; do
1511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1512 ac_cv_prog_ac_ct_CC="cc"
1513 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514 break 2
1515 fi
1516 done
1517 done
1518
1519 fi
1520 fi
1521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1522 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1523 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_CC" >&5
1524 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_CC" >&6
1525 else
1526 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1527 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1528 fi
1529
1530 CC=$ac_ct_CC
1531 else
1532 CC="$ac_cv_prog_CC"
1533 fi
1534
1535 fi
1536 if testscip-shell system . . test. -z "$CC"; then
1537 # Extract the first word of "cc", so it can be a program name with args.
1538 set dummy cc; ac_word=$2
1539 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1540 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1541 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1542 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1543 else
1544 if testscip-shell system . . test. -n "$CC"; then
1545 ac_cv_prog_CC="$CC" # Let the user override the test.
1546 else
1547 ac_prog_rejected=no
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 for as_dir in $PATH
1550 do
1551 IFS=$as_save_IFS
1552 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1553 for ac_exec_ext in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1555 if testscip-shell system . . test. "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/ccscip-shell filesystem . . `/usr/ucb/cc`."; then
1556 ac_prog_rejected=yes
1557 continue
1558 fi
1559 ac_cv_prog_CC="cc"
1560 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561 break 2
1562 fi
1563 done
1564 done
1565
1566 if testscip-shell system . . test. $ac_prog_rejected = yes; then
1567 # We found a bogon in the path, so make sure we never use it.
1568 set dummy $ac_cv_prog_CC
1569 shift
1570 if testscip-shell system . . test. $# != 0; then
1571 # We chose a different compiler from the bogus one.
1572 # However, it has the same basename, so the bogon will be chosen
1573 # first if we set CC to just the basename; use the full file name.
1574 shift
1575 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1576 fi
1577 fi
1578 fi
1579 fi
1580 CC=$ac_cv_prog_CC
1581 if testscip-shell system . . test. -n "$CC"; then
1582 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1583 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1584 else
1585 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1586 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1587 fi
1588
1589 fi
1590 if testscip-shell system . . test. -z "$CC"; then
1591 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
1592 for ac_prog in cl
1593 do
1594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1596 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1597 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1598 if testscip-shell system . . test. "${ac_cv_prog_CC+set}" = set; then
1599 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1600 else
1601 if testscip-shell system . . test. -n "$CC"; then
1602 ac_cv_prog_CC="$CC" # Let the user override the test.
1603 else
1604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1605 for as_dir in $PATH
1606 do
1607 IFS=$as_save_IFS
1608 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1609 for ac_exec_ext in '' $ac_executable_extensions; do
1610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1611 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1612 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1613 break 2
1614 fi
1615 done
1616 done
1617
1618 fi
1619 fi
1620 CC=$ac_cv_prog_CC
1621 if testscip-shell system . . test. -n "$CC"; then
1622 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CC" >&5
1623 echoscip-shell system . . echo. "${ECHO_T}$CC" >&6
1624 else
1625 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1626 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1627 fi
1628
1629 testscip-shell system . . test. -n "$CC" && break
1630 done
1631 fi
1632 if testscip-shell system . . test. -z "$CC"; then
1633 ac_ct_CC=$CC
1634 for ac_prog in cl
1635 do
1636 # Extract the first word of "$ac_prog", so it can be a program name with args.
1637 set dummy $ac_prog; ac_word=$2
1638 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
1639 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_CC+set}" = set; then
1641 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1642 else
1643 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1644 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1645 else
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 for as_dir in $PATH
1648 do
1649 IFS=$as_save_IFS
1650 testscip-shell system . . test. -z "$as_dir" && as_dir=.
1651 for ac_exec_ext in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_ac_ct_CC="$ac_prog"
1654 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655 break 2
1656 fi
1657 done
1658 done
1659
1660 fi
1661 fi
1662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1663 if testscip-shell system . . test. -n "$ac_ct_CC"; then
1664 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_CC" >&5
1665 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_CC" >&6
1666 else
1667 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
1668 echoscip-shell system . . echo. "${ECHO_T}no" >&6
1669 fi
1670
1671 testscip-shell system . . test. -n "$ac_ct_CC" && break
1672 done
1673
1674 CC=$ac_ct_CC
1675 fi
1676
1677 fi
1678
1679
1680 testscip-shell system . . test. -z "$CC" && { { echoscip-shell system . . echo. "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1681 See \`config.log' for more details." >&5
1682 echoscip-shell system . . echo. "$as_me: error: no acceptable C compiler found in \$PATH
1683 See \`config.log' for more details." >&2;}
1684 { (exit 1); exit 1; }; }
1685
1686 # Provide some information about the compiler.
1687 echoscip-shell system . . echo. "$as_me:$LINENO:" \
1688 "checking for C compiler version" >&5
1689 ac_compiler=`set X $ac_compile; echoscip-shell system . . echo. $2`
1690 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1691 (eval $ac_compiler --version </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
1692 ac_status=$?
1693 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1694 (exit $ac_status); }
1695 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1696 (eval $ac_compiler -v </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
1697 ac_status=$?
1698 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1699 (exit $ac_status); }
1700 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1701 (eval $ac_compiler -V </dev/nullscip-shell filesystem . . `/dev/null`. >&5) 2>&5
1702 ac_status=$?
1703 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1704 (exit $ac_status); }
1705
1706 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
1707 /* confdefs.h. */
1708 _ACEOF
1709 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
1710 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
1711 /* end confdefs.h. */
1712
1713 int
1714 main ()
1715 {
1716
1717 ;
1718 return 0;
1719 }
1720 _ACEOF
1721 ac_clean_files_save=$ac_clean_files
1722 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1723 # Try to create an executable without -o first, disregard a.out.
1724 # It will help us diagnose broken compilers, and finding out an intuition
1725 # of exeext.
1726 echoscip-shell system . . echo. "$as_me:$LINENO: checking for C compiler default output file name" >&5
1727 echoscip-shell system . . echo. $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1728 ac_link_default=`echoscip-shell system . . echo. "$ac_link" | sedscip-shell system . . sed. 's/ -o *conftest[^ ]*//'`
1729 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1730 (eval $ac_link_default) 2>&5
1731 ac_status=$?
1732 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1733 (exit $ac_status); }; then
1734 # Find the output, starting from the most likely. This scheme is
1735 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1736 # resort.
1737
1738 # Be careful to initialize this variable, since it used to be cached.
1739 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1740 ac_cv_exeext=
1741 # b.out is created by i960 compilers.
1742 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1743 do
1744 testscip-shell system . . test. -f "$ac_file" || continue
1745 case $ac_file in
1746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1747 ;;
1748 conftest.$ac_ext )
1749 # This is the source file.
1750 ;;
1751 [ab].out )
1752 # We found the default executable, but exeext='' is most
1753 # certainly right.
1754 break;;
1755 *.* )
1756 ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
1757 # FIXME: I believe we export ac_cv_exeext for Libtool,
1758 # but it would be cool to find out if it's true. Does anybody
1759 # maintain Libtool? --akim.
1760 export ac_cv_exeext
1761 break;;
1762 * )
1763 break;;
1764 esac
1765 done
1766 else
1767 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
1768 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1769
1770 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: C compiler cannot create executables
1771 See \`config.log' for more details." >&5
1772 echoscip-shell system . . echo. "$as_me: error: C compiler cannot create executables
1773 See \`config.log' for more details." >&2;}
1774 { (exit 77); exit 77; }; }
1775 fi
1776
1777 ac_exeext=$ac_cv_exeext
1778 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_file" >&5
1779 echoscip-shell system . . echo. "${ECHO_T}$ac_file" >&6
1780
1781 # Check the compiler produces executables we can run. If not, either
1782 # the compiler is broken, or we cross compile.
1783 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether the C compiler works" >&5
1784 echoscip-shell system . . echo. $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1785 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1786 # If not cross compiling, check that we can run a simple program.
1787 if testscip-shell system . . test. "$cross_compiling" != yes; then
1788 if { ac_try='./$ac_file'
1789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1790 (eval $ac_try) 2>&5
1791 ac_status=$?
1792 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1793 (exit $ac_status); }; }; then
1794 cross_compiling=no
1795 else
1796 if testscip-shell system . . test. "$cross_compiling" = maybe; then
1797 cross_compiling=yes
1798 else
1799 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot run C compiled programs.
1800 If you meant to cross compile, use \`--host'.
1801 See \`config.log' for more details." >&5
1802 echoscip-shell system . . echo. "$as_me: error: cannot run C compiled programs.
1803 If you meant to cross compile, use \`--host'.
1804 See \`config.log' for more details." >&2;}
1805 { (exit 1); exit 1; }; }
1806 fi
1807 fi
1808 fi
1809 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
1810 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
1811
1812 rmscip-shell system . . rm. -f a.out a.exe conftest$ac_cv_exeext b.out
1813 ac_clean_files=$ac_clean_files_save
1814 # Check the compiler produces executables we can run. If not, either
1815 # the compiler is broken, or we cross compile.
1816 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether we are cross compiling" >&5
1817 echoscip-shell system . . echo. $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1818 echoscip-shell system . . echo. "$as_me:$LINENO: result: $cross_compiling" >&5
1819 echoscip-shell system . . echo. "${ECHO_T}$cross_compiling" >&6
1820
1821 echoscip-shell system . . echo. "$as_me:$LINENO: checking for suffix of executables" >&5
1822 echoscip-shell system . . echo. $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1824 (eval $ac_link) 2>&5
1825 ac_status=$?
1826 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1827 (exit $ac_status); }; then
1828 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1829 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1830 # work properly (i.e., refer to `conftest.exe'), while it won't with
1831 # `rm'.
1832 for ac_file in conftest.exe conftest conftest.*; do
1833 testscip-shell system . . test. -f "$ac_file" || continue
1834 case $ac_file in
1835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1836 *.* ) ac_cv_exeext=`exprscip-shell system . . expr. "$ac_file" : '[^.]*\(\..*\)'`
1837 export ac_cv_exeext
1838 break;;
1839 * ) break;;
1840 esac
1841 done
1842 else
1843 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1844 See \`config.log' for more details." >&5
1845 echoscip-shell system . . echo. "$as_me: error: cannot compute suffix of executables: cannot compile and link
1846 See \`config.log' for more details." >&2;}
1847 { (exit 1); exit 1; }; }
1848 fi
1849
1850 rmscip-shell system . . rm. -f conftest$ac_cv_exeext
1851 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1852 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_exeext" >&6
1853
1854 rmscip-shell system . . rm. -f conftest.$ac_ext
1855 EXEEXT=$ac_cv_exeext
1856 ac_exeext=$EXEEXT
1857 echoscip-shell system . . echo. "$as_me:$LINENO: checking for suffix of object files" >&5
1858 echoscip-shell system . . echo. $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1859 if testscip-shell system . . test. "${ac_cv_objext+set}" = set; then
1860 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1861 else
1862 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
1863 /* confdefs.h. */
1864 _ACEOF
1865 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
1866 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
1867 /* end confdefs.h. */
1868
1869 int
1870 main ()
1871 {
1872
1873 ;
1874 return 0;
1875 }
1876 _ACEOF
1877 rmscip-shell system . . rm. -f conftest.o conftest.obj
1878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1879 (eval $ac_compile) 2>&5
1880 ac_status=$?
1881 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1882 (exit $ac_status); }; then
1883 for ac_file in `(lsscip-shell system . . ls. conftest.o conftest.obj; lsscip-shell system . . ls. conftest.*) 2>/dev/nullscip-shell filesystem . . `/dev/null`.`; do
1884 case $ac_file in
1885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1886 *) ac_cv_objext=`exprscip-shell system . . expr. "$ac_file" : '.*\.\(.*\)'`
1887 break;;
1888 esac
1889 done
1890 else
1891 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
1892 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1893
1894 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1895 See \`config.log' for more details." >&5
1896 echoscip-shell system . . echo. "$as_me: error: cannot compute suffix of object files: cannot compile
1897 See \`config.log' for more details." >&2;}
1898 { (exit 1); exit 1; }; }
1899 fi
1900
1901 rmscip-shell system . . rm. -f conftest.$ac_cv_objext conftest.$ac_ext
1902 fi
1903 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_objext" >&5
1904 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_objext" >&6
1905 OBJEXT=$ac_cv_objext
1906 ac_objext=$OBJEXT
1907 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1908 echoscip-shell system . . echo. $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1909 if testscip-shell system . . test. "${ac_cv_c_compiler_gnu+set}" = set; then
1910 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1911 else
1912 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
1913 /* confdefs.h. */
1914 _ACEOF
1915 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
1916 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
1917 /* end confdefs.h. */
1918
1919 int
1920 main ()
1921 {
1922 #ifndef __GNUC__
1923 choke me
1924 #endif
1925
1926 ;
1927 return 0;
1928 }
1929 _ACEOF
1930 rmscip-shell system . . rm. -f conftest.$ac_objext
1931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1932 (eval $ac_compile) 2>conftest.er1
1933 ac_status=$?
1934 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
1935 rmscip-shell system . . rm. -f conftest.er1
1936 catscip-shell system . . cat. conftest.err >&5
1937 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); } &&
1939 { ac_try='test -z "$ac_c_werror_flag"
1940 || test ! -s conftest.err'
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942 (eval $ac_try) 2>&5
1943 ac_status=$?
1944 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; } &&
1946 { ac_try='test -s conftest.$ac_objext'
1947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 (eval $ac_try) 2>&5
1949 ac_status=$?
1950 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); }; }; then
1952 ac_compiler_gnu=yes
1953 else
1954 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
1955 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
1956
1957 ac_compiler_gnu=no
1958 fi
1959 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
1960 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1961
1962 fi
1963 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1964 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1965 GCC=`testscip-shell system . . test. $ac_compiler_gnu = yes && echoscip-shell system . . echo. yes`
1966 ac_test_CFLAGS=${CFLAGS+set}
1967 ac_save_CFLAGS=$CFLAGS
1968 CFLAGS="-g"
1969 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1970 echoscip-shell system . . echo. $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1971 if testscip-shell system . . test. "${ac_cv_prog_cc_g+set}" = set; then
1972 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
1973 else
1974 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
1975 /* confdefs.h. */
1976 _ACEOF
1977 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
1978 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1980
1981 int
1982 main ()
1983 {
1984
1985 ;
1986 return 0;
1987 }
1988 _ACEOF
1989 rmscip-shell system . . rm. -f conftest.$ac_objext
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>conftest.er1
1992 ac_status=$?
1993 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
1994 rmscip-shell system . . rm. -f conftest.er1
1995 catscip-shell system . . cat. conftest.err >&5
1996 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); } &&
1998 { ac_try='test -z "$ac_c_werror_flag"
1999 || test ! -s conftest.err'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 (eval $ac_try) 2>&5
2002 ac_status=$?
2003 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }; } &&
2005 { ac_try='test -s conftest.$ac_objext'
2006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 (eval $ac_try) 2>&5
2008 ac_status=$?
2009 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); }; }; then
2011 ac_cv_prog_cc_g=yes
2012 else
2013 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2014 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_cv_prog_cc_g=no
2017 fi
2018 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2019 fi
2020 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2021 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_cc_g" >&6
2022 if testscip-shell system . . test. "$ac_test_CFLAGS" = set; then
2023 CFLAGS=$ac_save_CFLAGS
2024 elif testscip-shell system . . test. $ac_cv_prog_cc_g = yes; then
2025 if testscip-shell system . . test. "$GCC" = yes; then
2026 CFLAGS="-g -O2"
2027 else
2028 CFLAGS="-g"
2029 fi
2030 else
2031 if testscip-shell system . . test. "$GCC" = yes; then
2032 CFLAGS="-O2"
2033 else
2034 CFLAGS=
2035 fi
2036 fi
2037 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2038 echoscip-shell system . . echo. $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2039 if testscip-shell system . . test. "${ac_cv_prog_cc_stdc+set}" = set; then
2040 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2041 else
2042 ac_cv_prog_cc_stdc=no
2043 ac_save_CC=$CC
2044 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2045 /* confdefs.h. */
2046 _ACEOF
2047 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2048 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2049 /* end confdefs.h. */
2050 #include <stdarg.h>
2051 #include <stdio.h>
2052 #include <sys/types.h>
2053 #include <sys/stat.h>
2054 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2055 struct buf { int x; };
2056 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2057 static char *e (p, i)
2058 char **p;
2059 int i;
2060 {
2061 return p[i];
2062 }
2063 static char *f (char * (*g) (char **, int), char **p, ...)
2064 {
2065 char *s;
2066 va_list v;
2067 va_start (v,p);
2068 s = g (p, va_arg (v,int));
2069 va_end (v);
2070 return s;
2071 }
2072
2073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2074 function prototypes and stuff, but not '\xHH' hex character constants.
2075 These don't provoke an error unfortunately, instead are silently treated
2076 as 'x'. The following induces an error, until -std1 is added to get
2077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2078 array size at least. It's necessary to write '\x00'==0 to get something
2079 that's true only with -std1. */
2080 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2081
2082 int test (int i, double x);
2083 struct s1 {int (*f) (int a);};
2084 struct s2 {int (*f) (double a);};
2085 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2086 int argc;
2087 char **argv;
2088 int
2089 main ()
2090 {
2091 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2092 ;
2093 return 0;
2094 }
2095 _ACEOF
2096 # Don't try gcc -ansi; that turns off useful extensions and
2097 # breaks some systems' header files.
2098 # AIX -qlanglvl=ansi
2099 # Ultrix and OSF/1 -std1
2100 # HP-UX 10.20 and later -Ae
2101 # HP-UX older versions -Aa -D_HPUX_SOURCE
2102 # SVR4 -Xc -D__EXTENSIONS__
2103 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2104 do
2105 CC="$ac_save_CC $ac_arg"
2106 rmscip-shell system . . rm. -f conftest.$ac_objext
2107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2108 (eval $ac_compile) 2>conftest.er1
2109 ac_status=$?
2110 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2111 rmscip-shell system . . rm. -f conftest.er1
2112 catscip-shell system . . cat. conftest.err >&5
2113 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); } &&
2115 { ac_try='test -z "$ac_c_werror_flag"
2116 || test ! -s conftest.err'
2117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118 (eval $ac_try) 2>&5
2119 ac_status=$?
2120 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }; } &&
2122 { ac_try='test -s conftest.$ac_objext'
2123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124 (eval $ac_try) 2>&5
2125 ac_status=$?
2126 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }; }; then
2128 ac_cv_prog_cc_stdc=$ac_arg
2129 break
2130 else
2131 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2132 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2133
2134 fi
2135 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext
2136 done
2137 rmscip-shell system . . rm. -f conftest.$ac_ext conftest.$ac_objext
2138 CC=$ac_save_CC
2139
2140 fi
2141
2142 case "x$ac_cv_prog_cc_stdc" in
2143 x|xno)
2144 echoscip-shell system . . echo. "$as_me:$LINENO: result: none needed" >&5
2145 echoscip-shell system . . echo. "${ECHO_T}none needed" >&6 ;;
2146 *)
2147 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2148 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2149 CC="$CC $ac_cv_prog_cc_stdc" ;;
2150 esac
2151
2152 # Some people use a C++ compiler to compile C. Since we use `exit',
2153 # in C++ we need to declare it. In case someone uses the same compiler
2154 # for both compiling C and C++ we need to have the C++ compiler decide
2155 # the declaration of exit, since it's the most demanding environment.
2156 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2157 #ifndef __cplusplus
2158 choke me
2159 #endif
2160 _ACEOF
2161 rmscip-shell system . . rm. -f conftest.$ac_objext
2162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2163 (eval $ac_compile) 2>conftest.er1
2164 ac_status=$?
2165 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2166 rmscip-shell system . . rm. -f conftest.er1
2167 catscip-shell system . . cat. conftest.err >&5
2168 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); } &&
2170 { ac_try='test -z "$ac_c_werror_flag"
2171 || test ! -s conftest.err'
2172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 (eval $ac_try) 2>&5
2174 ac_status=$?
2175 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); }; } &&
2177 { ac_try='test -s conftest.$ac_objext'
2178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 (eval $ac_try) 2>&5
2180 ac_status=$?
2181 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; }; then
2183 for ac_declaration in \
2184 '' \
2185 'extern "C" void std::exit (int) throw (); using std::exit;' \
2186 'extern "C" void std::exit (int); using std::exit;' \
2187 'extern "C" void exit (int) throw ();' \
2188 'extern "C" void exit (int);' \
2189 'void exit (int);'
2190 do
2191 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2192 /* confdefs.h. */
2193 _ACEOF
2194 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2195 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2196 /* end confdefs.h. */
2197 $ac_declaration
2198 #include <stdlib.h>
2199 int
2200 main ()
2201 {
2202 exit (42);
2203 ;
2204 return 0;
2205 }
2206 _ACEOF
2207 rmscip-shell system . . rm. -f conftest.$ac_objext
2208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2209 (eval $ac_compile) 2>conftest.er1
2210 ac_status=$?
2211 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2212 rmscip-shell system . . rm. -f conftest.er1
2213 catscip-shell system . . cat. conftest.err >&5
2214 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); } &&
2216 { ac_try='test -z "$ac_c_werror_flag"
2217 || test ! -s conftest.err'
2218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 (eval $ac_try) 2>&5
2220 ac_status=$?
2221 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; } &&
2223 { ac_try='test -s conftest.$ac_objext'
2224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 (eval $ac_try) 2>&5
2226 ac_status=$?
2227 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }; }; then
2229 :
2230 else
2231 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2232 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2233
2234 continue
2235 fi
2236 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2237 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2238 /* confdefs.h. */
2239 _ACEOF
2240 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2241 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2243 $ac_declaration
2244 int
2245 main ()
2246 {
2247 exit (42);
2248 ;
2249 return 0;
2250 }
2251 _ACEOF
2252 rmscip-shell system . . rm. -f conftest.$ac_objext
2253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2254 (eval $ac_compile) 2>conftest.er1
2255 ac_status=$?
2256 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2257 rmscip-shell system . . rm. -f conftest.er1
2258 catscip-shell system . . cat. conftest.err >&5
2259 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); } &&
2261 { ac_try='test -z "$ac_c_werror_flag"
2262 || test ! -s conftest.err'
2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 (eval $ac_try) 2>&5
2265 ac_status=$?
2266 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; } &&
2268 { ac_try='test -s conftest.$ac_objext'
2269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 (eval $ac_try) 2>&5
2271 ac_status=$?
2272 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; }; then
2274 break
2275 else
2276 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2277 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2278
2279 fi
2280 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2281 done
2282 rmscip-shell system . . rm. -f conftest*
2283 if testscip-shell system . . test. -n "$ac_declaration"; then
2284 echoscip-shell system . . echo. '#ifdef __cplusplus' >>confdefs.h
2285 echoscip-shell system . . echo. $ac_declaration >>confdefs.h
2286 echoscip-shell system . . echo. '#endif' >>confdefs.h
2287 fi
2288
2289 else
2290 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2291 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2292
2293 fi
2294 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2295 ac_ext=c
2296 ac_cpp='$CPP $CPPFLAGS'
2297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300
2301
2302 echoscip-shell system . . echo. "$as_me:$LINENO: checking for inline" >&5
2303 echoscip-shell system . . echo. $ECHO_N "checking for inline... $ECHO_C" >&6
2304 if testscip-shell system . . test. "${ac_cv_c_inline+set}" = set; then
2305 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2306 else
2307 ac_cv_c_inline=no
2308 for ac_kw in inline __inline__ __inline; do
2309 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2310 /* confdefs.h. */
2311 _ACEOF
2312 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2313 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2314 /* end confdefs.h. */
2315 #ifndef __cplusplus
2316 typedef int foo_t;
2317 static $ac_kw foo_t static_foo () {return 0; }
2318 $ac_kw foo_t foo () {return 0; }
2319 #endif
2320
2321 _ACEOF
2322 rmscip-shell system . . rm. -f conftest.$ac_objext
2323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2324 (eval $ac_compile) 2>conftest.er1
2325 ac_status=$?
2326 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2327 rmscip-shell system . . rm. -f conftest.er1
2328 catscip-shell system . . cat. conftest.err >&5
2329 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); } &&
2331 { ac_try='test -z "$ac_c_werror_flag"
2332 || test ! -s conftest.err'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 (eval $ac_try) 2>&5
2335 ac_status=$?
2336 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; } &&
2338 { ac_try='test -s conftest.$ac_objext'
2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 (eval $ac_try) 2>&5
2341 ac_status=$?
2342 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }; }; then
2344 ac_cv_c_inline=$ac_kw; break
2345 else
2346 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2347 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2348
2349 fi
2350 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2351 done
2352
2353 fi
2354 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
2355 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_c_inline" >&6
2356
2357
2358 case $ac_cv_c_inline in
2359 inline | yes) ;;
2360 *)
2361 case $ac_cv_c_inline in
2362 no) ac_val=;;
2363 *) ac_val=$ac_cv_c_inline;;
2364 esac
2365 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
2366 #ifndef __cplusplus
2367 #define inline $ac_val
2368 #endif
2369 _ACEOF
2370 ;;
2371 esac
2372
2373 ac_ext=c
2374 ac_cpp='$CPP $CPPFLAGS'
2375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2378 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2379 echoscip-shell system . . echo. $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2380 # On Suns, sometimes $CPP names a directory.
2381 if testscip-shell system . . test. -n "$CPP" && testscip-shell system . . test. -d "$CPP"; then
2382 CPP=
2383 fi
2384 if testscip-shell system . . test. -z "$CPP"; then
2385 if testscip-shell system . . test. "${ac_cv_prog_CPP+set}" = set; then
2386 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2387 else
2388 # Double quotes because CPP needs to be expanded
2389 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cppscip-shell filesystem . . `/lib/cpp`."
2390 do
2391 ac_preproc_ok=false
2392 for ac_c_preproc_warn_flag in '' yes
2393 do
2394 # Use a header file that comes with gcc, so configuring glibc
2395 # with a fresh cross-compiler works.
2396 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2397 # <limits.h> exists even on freestanding compilers.
2398 # On the NeXT, cc -E runs the code through the compiler's parser,
2399 # not just through cpp. "Syntax error" is here to catch this case.
2400 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2404 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2406 #ifdef __STDC__
2407 # include <limits.h>
2408 #else
2409 # include <assert.h>
2410 #endif
2411 Syntax error
2412 _ACEOF
2413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2415 ac_status=$?
2416 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2417 rmscip-shell system . . rm. -f conftest.er1
2418 catscip-shell system . . cat. conftest.err >&5
2419 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
2421 if testscip-shell system . . test. -s conftest.err; then
2422 ac_cpp_err=$ac_c_preproc_warn_flag
2423 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2424 else
2425 ac_cpp_err=
2426 fi
2427 else
2428 ac_cpp_err=yes
2429 fi
2430 if testscip-shell system . . test. -z "$ac_cpp_err"; then
2431 :
2432 else
2433 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2434 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2435
2436 # Broken: fails on valid input.
2437 continue
2438 fi
2439 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
2440
2441 # OK, works on sane cases. Now check whether non-existent headers
2442 # can be detected and how.
2443 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2444 /* confdefs.h. */
2445 _ACEOF
2446 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2447 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2449 #include <ac_nonexistent.h>
2450 _ACEOF
2451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2453 ac_status=$?
2454 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2455 rmscip-shell system . . rm. -f conftest.er1
2456 catscip-shell system . . cat. conftest.err >&5
2457 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
2459 if testscip-shell system . . test. -s conftest.err; then
2460 ac_cpp_err=$ac_c_preproc_warn_flag
2461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2462 else
2463 ac_cpp_err=
2464 fi
2465 else
2466 ac_cpp_err=yes
2467 fi
2468 if testscip-shell system . . test. -z "$ac_cpp_err"; then
2469 # Broken: success on invalid input.
2470 continue
2471 else
2472 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2473 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2474
2475 # Passes both tests.
2476 ac_preproc_ok=:
2477 break
2478 fi
2479 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
2480
2481 done
2482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2483 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
2484 if $ac_preproc_ok; then
2485 break
2486 fi
2487
2488 done
2489 ac_cv_prog_CPP=$CPP
2490
2491 fi
2492 CPP=$ac_cv_prog_CPP
2493 else
2494 ac_cv_prog_CPP=$CPP
2495 fi
2496 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CPP" >&5
2497 echoscip-shell system . . echo. "${ECHO_T}$CPP" >&6
2498 ac_preproc_ok=false
2499 for ac_c_preproc_warn_flag in '' yes
2500 do
2501 # Use a header file that comes with gcc, so configuring glibc
2502 # with a fresh cross-compiler works.
2503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2504 # <limits.h> exists even on freestanding compilers.
2505 # On the NeXT, cc -E runs the code through the compiler's parser,
2506 # not just through cpp. "Syntax error" is here to catch this case.
2507 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2508 /* confdefs.h. */
2509 _ACEOF
2510 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2511 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2512 /* end confdefs.h. */
2513 #ifdef __STDC__
2514 # include <limits.h>
2515 #else
2516 # include <assert.h>
2517 #endif
2518 Syntax error
2519 _ACEOF
2520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2522 ac_status=$?
2523 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2524 rmscip-shell system . . rm. -f conftest.er1
2525 catscip-shell system . . cat. conftest.err >&5
2526 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
2528 if testscip-shell system . . test. -s conftest.err; then
2529 ac_cpp_err=$ac_c_preproc_warn_flag
2530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2531 else
2532 ac_cpp_err=
2533 fi
2534 else
2535 ac_cpp_err=yes
2536 fi
2537 if testscip-shell system . . test. -z "$ac_cpp_err"; then
2538 :
2539 else
2540 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2541 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2542
2543 # Broken: fails on valid input.
2544 continue
2545 fi
2546 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
2547
2548 # OK, works on sane cases. Now check whether non-existent headers
2549 # can be detected and how.
2550 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2551 /* confdefs.h. */
2552 _ACEOF
2553 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2554 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2556 #include <ac_nonexistent.h>
2557 _ACEOF
2558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2560 ac_status=$?
2561 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2562 rmscip-shell system . . rm. -f conftest.er1
2563 catscip-shell system . . cat. conftest.err >&5
2564 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); } >/dev/nullscip-shell filesystem . . `/dev/null`.; then
2566 if testscip-shell system . . test. -s conftest.err; then
2567 ac_cpp_err=$ac_c_preproc_warn_flag
2568 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2569 else
2570 ac_cpp_err=
2571 fi
2572 else
2573 ac_cpp_err=yes
2574 fi
2575 if testscip-shell system . . test. -z "$ac_cpp_err"; then
2576 # Broken: success on invalid input.
2577 continue
2578 else
2579 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2580 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2581
2582 # Passes both tests.
2583 ac_preproc_ok=:
2584 break
2585 fi
2586 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
2587
2588 done
2589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2590 rmscip-shell system . . rm. -f conftest.err conftest.$ac_ext
2591 if $ac_preproc_ok; then
2592 :
2593 else
2594 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2595 See \`config.log' for more details." >&5
2596 echoscip-shell system . . echo. "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2597 See \`config.log' for more details." >&2;}
2598 { (exit 1); exit 1; }; }
2599 fi
2600
2601 ac_ext=c
2602 ac_cpp='$CPP $CPPFLAGS'
2603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2606
2607
2608 echoscip-shell system . . echo. "$as_me:$LINENO: checking for egrep" >&5
2609 echoscip-shell system . . echo. $ECHO_N "checking for egrep... $ECHO_C" >&6
2610 if testscip-shell system . . test. "${ac_cv_prog_egrep+set}" = set; then
2611 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2612 else
2613 if echoscip-shell system . . echo. a | (grepscip-shell system . . grep. -E '(a|b)') >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
2614 then ac_cv_prog_egrep='grep -E'
2615 else ac_cv_prog_egrep='egrep'
2616 fi
2617 fi
2618 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2619 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_prog_egrep" >&6
2620 EGREP=$ac_cv_prog_egrep
2621
2622
2623 echoscip-shell system . . echo. "$as_me:$LINENO: checking for ANSI C header files" >&5
2624 echoscip-shell system . . echo. $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2625 if testscip-shell system . . test. "${ac_cv_header_stdc+set}" = set; then
2626 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2627 else
2628 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2629 /* confdefs.h. */
2630 _ACEOF
2631 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2632 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2634 #include <stdlib.h>
2635 #include <stdarg.h>
2636 #include <string.h>
2637 #include <float.h>
2638
2639 int
2640 main ()
2641 {
2642
2643 ;
2644 return 0;
2645 }
2646 _ACEOF
2647 rmscip-shell system . . rm. -f conftest.$ac_objext
2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649 (eval $ac_compile) 2>conftest.er1
2650 ac_status=$?
2651 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
2652 rmscip-shell system . . rm. -f conftest.er1
2653 catscip-shell system . . cat. conftest.err >&5
2654 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); } &&
2656 { ac_try='test -z "$ac_c_werror_flag"
2657 || test ! -s conftest.err'
2658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 (eval $ac_try) 2>&5
2660 ac_status=$?
2661 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; } &&
2663 { ac_try='test -s conftest.$ac_objext'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 (eval $ac_try) 2>&5
2666 ac_status=$?
2667 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; }; then
2669 ac_cv_header_stdc=yes
2670 else
2671 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2672 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2673
2674 ac_cv_header_stdc=no
2675 fi
2676 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
2677
2678 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
2679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2680 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2681 /* confdefs.h. */
2682 _ACEOF
2683 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2684 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2686 #include <string.h>
2687
2688 _ACEOF
2689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2690 $EGREP "memchr" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2691 :
2692 else
2693 ac_cv_header_stdc=no
2694 fi
2695 rmscip-shell system . . rm. -f conftest*
2696
2697 fi
2698
2699 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
2700 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2701 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2702 /* confdefs.h. */
2703 _ACEOF
2704 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2705 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2707 #include <stdlib.h>
2708
2709 _ACEOF
2710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2711 $EGREP "free" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
2712 :
2713 else
2714 ac_cv_header_stdc=no
2715 fi
2716 rmscip-shell system . . rm. -f conftest*
2717
2718 fi
2719
2720 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
2721 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2722 if testscip-shell system . . test. "$cross_compiling" = yes; then
2723 :
2724 else
2725 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
2726 /* confdefs.h. */
2727 _ACEOF
2728 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
2729 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2731 #include <ctype.h>
2732 #include <stdlib.h>
2733 #if ((' ' & 0x0FF) == 0x020)
2734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2736 #else
2737 # define ISLOWER(c) \
2738 (('a' <= (c) && (c) <= 'i') \
2739 || ('j' <= (c) && (c) <= 'r') \
2740 || ('s' <= (c) && (c) <= 'z'))
2741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2742 #endif
2743
2744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2745 int
2746 main ()
2747 {
2748 int i;
2749 for (i = 0; i < 256; i++)
2750 if (XOR (islower (i), ISLOWER (i))
2751 || toupper (i) != TOUPPER (i))
2752 exit(2);
2753 exit (0);
2754 }
2755 _ACEOF
2756 rmscip-shell system . . rm. -f conftest$ac_exeext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2758 (eval $ac_link) 2>&5
2759 ac_status=$?
2760 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 (eval $ac_try) 2>&5
2764 ac_status=$?
2765 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }; }; then
2767 :
2768 else
2769 echoscip-shell system . . echo. "$as_me: program exited with status $ac_status" >&5
2770 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
2771 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
2772
2773 ( exit $ac_status )
2774 ac_cv_header_stdc=no
2775 fi
2776 rmscip-shell system . . rm. -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2777 fi
2778 fi
2779 fi
2780 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2781 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_header_stdc" >&6
2782 if testscip-shell system . . test. $ac_cv_header_stdc = yes; then
2783
2784 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
2785 #define STDC_HEADERS 1
2786 _ACEOF
2787
2788 fi
2789
2790
2791 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2792 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2793 set dummy ${ac_tool_prefix}ar; ac_word=$2
2794 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
2795 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2796 if testscip-shell system . . test. "${ac_cv_prog_AR+set}" = set; then
2797 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2798 else
2799 if testscip-shell system . . test. -n "$AR"; then
2800 ac_cv_prog_AR="$AR" # Let the user override the test.
2801 else
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 for as_dir in $PATH
2804 do
2805 IFS=$as_save_IFS
2806 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_AR="${ac_tool_prefix}ar"
2810 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 break 2
2812 fi
2813 done
2814 done
2815
2816 fi
2817 fi
2818 AR=$ac_cv_prog_AR
2819 if testscip-shell system . . test. -n "$AR"; then
2820 echoscip-shell system . . echo. "$as_me:$LINENO: result: $AR" >&5
2821 echoscip-shell system . . echo. "${ECHO_T}$AR" >&6
2822 else
2823 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
2824 echoscip-shell system . . echo. "${ECHO_T}no" >&6
2825 fi
2826
2827 fi
2828 if testscip-shell system . . test. -z "$ac_cv_prog_AR"; then
2829 ac_ct_AR=$AR
2830 # Extract the first word of "ar", so it can be a program name with args.
2831 set dummy ar; ac_word=$2
2832 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
2833 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2834 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_AR+set}" = set; then
2835 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2836 else
2837 if testscip-shell system . . test. -n "$ac_ct_AR"; then
2838 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2839 else
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 for as_dir in $PATH
2842 do
2843 IFS=$as_save_IFS
2844 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_prog_ac_ct_AR="ar"
2848 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 break 2
2850 fi
2851 done
2852 done
2853
2854 fi
2855 fi
2856 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2857 if testscip-shell system . . test. -n "$ac_ct_AR"; then
2858 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_AR" >&5
2859 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_AR" >&6
2860 else
2861 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
2862 echoscip-shell system . . echo. "${ECHO_T}no" >&6
2863 fi
2864
2865 AR=$ac_ct_AR
2866 else
2867 AR="$ac_cv_prog_AR"
2868 fi
2869
2870 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2871 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2872 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2873 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
2874 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2875 if testscip-shell system . . test. "${ac_cv_prog_RANLIB+set}" = set; then
2876 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2877 else
2878 if testscip-shell system . . test. -n "$RANLIB"; then
2879 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2880 else
2881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 for as_dir in $PATH
2883 do
2884 IFS=$as_save_IFS
2885 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2886 for ac_exec_ext in '' $ac_executable_extensions; do
2887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2889 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 break 2
2891 fi
2892 done
2893 done
2894
2895 fi
2896 fi
2897 RANLIB=$ac_cv_prog_RANLIB
2898 if testscip-shell system . . test. -n "$RANLIB"; then
2899 echoscip-shell system . . echo. "$as_me:$LINENO: result: $RANLIB" >&5
2900 echoscip-shell system . . echo. "${ECHO_T}$RANLIB" >&6
2901 else
2902 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
2903 echoscip-shell system . . echo. "${ECHO_T}no" >&6
2904 fi
2905
2906 fi
2907 if testscip-shell system . . test. -z "$ac_cv_prog_RANLIB"; then
2908 ac_ct_RANLIB=$RANLIB
2909 # Extract the first word of "ranlib", so it can be a program name with args.
2910 set dummy ranlib; ac_word=$2
2911 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
2912 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2914 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2915 else
2916 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
2917 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922 IFS=$as_save_IFS
2923 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_ac_ct_RANLIB="ranlib"
2927 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2928 break 2
2929 fi
2930 done
2931 done
2932
2933 fi
2934 fi
2935 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2936 if testscip-shell system . . test. -n "$ac_ct_RANLIB"; then
2937 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2938 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_RANLIB" >&6
2939 else
2940 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
2941 echoscip-shell system . . echo. "${ECHO_T}no" >&6
2942 fi
2943
2944 RANLIB=$ac_ct_RANLIB
2945 else
2946 RANLIB="$ac_cv_prog_RANLIB"
2947 fi
2948
2949 if testscip-shell system . . test. -n "$ac_tool_prefix"; then
2950 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
2951 set dummy ${ac_tool_prefix}windres; ac_word=$2
2952 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
2953 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2954 if testscip-shell system . . test. "${ac_cv_prog_RC+set}" = set; then
2955 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2956 else
2957 if testscip-shell system . . test. -n "$RC"; then
2958 ac_cv_prog_RC="$RC" # Let the user override the test.
2959 else
2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961 for as_dir in $PATH
2962 do
2963 IFS=$as_save_IFS
2964 testscip-shell system . . test. -z "$as_dir" && as_dir=.
2965 for ac_exec_ext in '' $ac_executable_extensions; do
2966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2967 ac_cv_prog_RC="${ac_tool_prefix}windres"
2968 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 break 2
2970 fi
2971 done
2972 done
2973
2974 fi
2975 fi
2976 RC=$ac_cv_prog_RC
2977 if testscip-shell system . . test. -n "$RC"; then
2978 echoscip-shell system . . echo. "$as_me:$LINENO: result: $RC" >&5
2979 echoscip-shell system . . echo. "${ECHO_T}$RC" >&6
2980 else
2981 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
2982 echoscip-shell system . . echo. "${ECHO_T}no" >&6
2983 fi
2984
2985 fi
2986 if testscip-shell system . . test. -z "$ac_cv_prog_RC"; then
2987 ac_ct_RC=$RC
2988 # Extract the first word of "windres", so it can be a program name with args.
2989 set dummy windres; ac_word=$2
2990 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
2991 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2992 if testscip-shell system . . test. "${ac_cv_prog_ac_ct_RC+set}" = set; then
2993 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
2994 else
2995 if testscip-shell system . . test. -n "$ac_ct_RC"; then
2996 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
2997 else
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 for as_dir in $PATH
3000 do
3001 IFS=$as_save_IFS
3002 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_ac_ct_RC="windres"
3006 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 break 2
3008 fi
3009 done
3010 done
3011
3012 fi
3013 fi
3014 ac_ct_RC=$ac_cv_prog_ac_ct_RC
3015 if testscip-shell system . . test. -n "$ac_ct_RC"; then
3016 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_ct_RC" >&5
3017 echoscip-shell system . . echo. "${ECHO_T}$ac_ct_RC" >&6
3018 else
3019 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3020 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3021 fi
3022
3023 RC=$ac_ct_RC
3024 else
3025 RC="$ac_cv_prog_RC"
3026 fi
3027
3028
3029 #--------------------------------------------------------------------
3030 # Checks to see if the make program sets the $MAKE variable.
3031 #--------------------------------------------------------------------
3032
3033 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3034 echoscip-shell system . . echo. $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3035 set x ${MAKE-make}
3036 ac_make=`echoscip-shell system . . echo. "" | sedscip-shell system . . sed. 'y,:./+-,___p_,'`
3037 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3038 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3039 else
3040 catscip-shell system . . cat. >conftest.make <<\_ACEOF
3041 SHELL = /bin/sh
3042 all:
3043 @echo '@@@%%%=$(MAKE)=@@@%%%'
3044 _ACEOF
3045 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3046 case `${MAKE-make} -f conftest.make 2>/dev/nullscip-shell filesystem . . `/dev/null`.` in
3047 *@@@%%%=?*=@@@%%%*)
3048 eval ac_cv_prog_make_${ac_make}_set=yes;;
3049 *)
3050 eval ac_cv_prog_make_${ac_make}_set=no;;
3051 esac
3052 rmscip-shell system . . rm. -f conftest.make
3053 fi
3054 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3055 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
3056 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
3057 SET_MAKE=
3058 else
3059 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3060 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3061 SET_MAKE="MAKE=${MAKE-make}"
3062 fi
3063
3064
3065 #--------------------------------------------------------------------
3066 # Determines the correct binary file extension (.o, .obj, .exe etc.)
3067 #--------------------------------------------------------------------
3068
3069
3070
3071
3072 #--------------------------------------------------------------------
3073 # Check whether --enable-threads or --disable-threads was given.
3074 #--------------------------------------------------------------------
3075
3076
3077 echoscip-shell system . . echo. "$as_me:$LINENO: checking for building with threads" >&5
3078 echoscip-shell system . . echo. $ECHO_N "checking for building with threads... $ECHO_C" >&6
3079 # Check whether --enable-threads or --disable-threads was given.
3080 if testscip-shell system . . test. "${enable_threads+set}" = set; then
3081 enableval="$enable_threads"
3082 tcl_ok=$enableval
3083 else
3084 tcl_ok=yes
3085 fi;
3086
3087 if testscip-shell system . . test. "$tcl_ok" = "yes"; then
3088 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes (default)" >&5
3089 echoscip-shell system . . echo. "${ECHO_T}yes (default)" >&6
3090 TCL_THREADS=1
3091 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
3092 #define TCL_THREADS 1
3093 _ACEOF
3094
3095 # USE_THREAD_ALLOC tells us to try the special thread-based
3096 # allocator that significantly reduces lock contention
3097 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
3098 #define USE_THREAD_ALLOC 1
3099 _ACEOF
3100
3101 else
3102 TCL_THREADS=0
3103 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3104 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3105 fi
3106
3107
3108
3109 #------------------------------------------------------------------------
3110 # Embedded configuration information, encoding to use for the values, TIP #59
3111 #------------------------------------------------------------------------
3112
3113
3114
3115 # Check whether --with-encoding or --without-encoding was given.
3116 if testscip-shell system . . test. "${with_encoding+set}" = set; then
3117 withval="$with_encoding"
3118 with_tcencoding=${withval}
3119 fi;
3120
3121 if testscip-shell system . . test. x"${with_tcencoding}" != x ; then
3122 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
3123 #define TCL_CFGVAL_ENCODING "${with_tcencoding}"
3124 _ACEOF
3125
3126 else
3127 # Default encoding on windows is not "iso8859-1"
3128 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
3129 #define TCL_CFGVAL_ENCODING "cp1252"
3130 _ACEOF
3131
3132 fi
3133
3134
3135 #--------------------------------------------------------------------
3136 # The statements below define a collection of symbols related to
3137 # building libtcl as a shared library instead of a static library.
3138 #--------------------------------------------------------------------
3139
3140
3141 echoscip-shell system . . echo. "$as_me:$LINENO: checking how to build libraries" >&5
3142 echoscip-shell system . . echo. $ECHO_N "checking how to build libraries... $ECHO_C" >&6
3143 # Check whether --enable-shared or --disable-shared was given.
3144 if testscip-shell system . . test. "${enable_shared+set}" = set; then
3145 enableval="$enable_shared"
3146 tcl_ok=$enableval
3147 else
3148 tcl_ok=yes
3149 fi;
3150 if testscip-shell system . . test. "$tcl_ok" = "yes" ; then
3151 echoscip-shell system . . echo. "$as_me:$LINENO: result: shared" >&5
3152 echoscip-shell system . . echo. "${ECHO_T}shared" >&6
3153 SHARED_BUILD=1
3154 else
3155 echoscip-shell system . . echo. "$as_me:$LINENO: result: static" >&5
3156 echoscip-shell system . . echo. "${ECHO_T}static" >&6
3157 SHARED_BUILD=0
3158
3159 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
3160 #define STATIC_BUILD 1
3161 _ACEOF
3162
3163 fi
3164
3165
3166 #--------------------------------------------------------------------
3167 # Check whether --enable-time64bit was given.
3168 #--------------------------------------------------------------------
3169
3170 echoscip-shell system . . echo. "$as_me:$LINENO: checking force of 64-bit time_t" >&5
3171 echoscip-shell system . . echo. $ECHO_N "checking force of 64-bit time_t... $ECHO_C" >&6
3172 # Check whether --enable-time64bit or --disable-time64bit was given.
3173 if testscip-shell system . . test. "${enable_time64bit+set}" = set; then
3174 enableval="$enable_time64bit"
3175 tcl_ok=$enableval
3176 else
3177 tcl_ok=no
3178 fi;
3179 echoscip-shell system . . echo. "$as_me:$LINENO: result: \"$tcl_ok\"" >&5
3180 echoscip-shell system . . echo. "${ECHO_T}\"$tcl_ok\"" >&6
3181 if testscip-shell system . . test. "$tcl_ok" = "yes"; then
3182 CFLAGS="${CFLAGS} -D_USE_64BIT_TIME_T"
3183 fi
3184
3185 #--------------------------------------------------------------------
3186 # The statements below define a collection of compile flags. This
3187 # macro depends on the value of SHARED_BUILD, and should be called
3188 # after SC_ENABLE_SHARED checks the configure switches.
3189 #--------------------------------------------------------------------
3190
3191
3192
3193 # Step 0: Enable 64 bit support?
3194
3195 echoscip-shell system . . echo. "$as_me:$LINENO: checking if 64bit support is requested" >&5
3196 echoscip-shell system . . echo. $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6
3197 # Check whether --enable-64bit or --disable-64bit was given.
3198 if testscip-shell system . . test. "${enable_64bit+set}" = set; then
3199 enableval="$enable_64bit"
3200 do64bit=$enableval
3201 else
3202 do64bit=no
3203 fi;
3204 echoscip-shell system . . echo. "$as_me:$LINENO: result: $do64bit" >&5
3205 echoscip-shell system . . echo. "${ECHO_T}$do64bit" >&6
3206
3207 # Cross-compiling options for Windows/CE builds
3208
3209 echoscip-shell system . . echo. "$as_me:$LINENO: checking if Windows/CE build is requested" >&5
3210 echoscip-shell system . . echo. $ECHO_N "checking if Windows/CE build is requested... $ECHO_C" >&6
3211 # Check whether --enable-wince or --disable-wince was given.
3212 if testscip-shell system . . test. "${enable_wince+set}" = set; then
3213 enableval="$enable_wince"
3214 doWince=$enableval
3215 else
3216 doWince=no
3217 fi;
3218 echoscip-shell system . . echo. "$as_me:$LINENO: result: $doWince" >&5
3219 echoscip-shell system . . echo. "${ECHO_T}$doWince" >&6
3220
3221 echoscip-shell system . . echo. "$as_me:$LINENO: checking for Windows/CE celib directory" >&5
3222 echoscip-shell system . . echo. $ECHO_N "checking for Windows/CE celib directory... $ECHO_C" >&6
3223
3224 # Check whether --with-celib or --without-celib was given.
3225 if testscip-shell system . . test. "${with_celib+set}" = set; then
3226 withval="$with_celib"
3227 CELIB_DIR=$withval
3228 else
3229 CELIB_DIR=NO_CELIB
3230 fi;
3231 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CELIB_DIR" >&5
3232 echoscip-shell system . . echo. "${ECHO_T}$CELIB_DIR" >&6
3233
3234 # Set some defaults (may get changed below)
3235 EXTRA_CFLAGS=""
3236
3237 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
3238 #define MODULE_SCOPE extern
3239 _ACEOF
3240
3241
3242 # Extract the first word of "cygpath", so it can be a program name with args.
3243 set dummy cygpath; ac_word=$2
3244 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3245 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3246 if testscip-shell system . . test. "${ac_cv_prog_CYGPATH+set}" = set; then
3247 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3248 else
3249 if testscip-shell system . . test. -n "$CYGPATH"; then
3250 ac_cv_prog_CYGPATH="$CYGPATH" # Let the user override the test.
3251 else
3252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 for as_dir in $PATH
3254 do
3255 IFS=$as_save_IFS
3256 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259 ac_cv_prog_CYGPATH="cygpath -m"
3260 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 break 2
3262 fi
3263 done
3264 done
3265
3266 testscip-shell system . . test. -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo"
3267 fi
3268 fi
3269 CYGPATH=$ac_cv_prog_CYGPATH
3270 if testscip-shell system . . test. -n "$CYGPATH"; then
3271 echoscip-shell system . . echo. "$as_me:$LINENO: result: $CYGPATH" >&5
3272 echoscip-shell system . . echo. "${ECHO_T}$CYGPATH" >&6
3273 else
3274 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3275 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3276 fi
3277
3278 # Extract the first word of "wine", so it can be a program name with args.
3279 set dummy wine; ac_word=$2
3280 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_word" >&5
3281 echoscip-shell system . . echo. $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282 if testscip-shell system . . test. "${ac_cv_prog_WINE+set}" = set; then
3283 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3284 else
3285 if testscip-shell system . . test. -n "$WINE"; then
3286 ac_cv_prog_WINE="$WINE" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3290 do
3291 IFS=$as_save_IFS
3292 testscip-shell system . . test. -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 ac_cv_prog_WINE="wine"
3296 echoscip-shell system . . echo. "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3298 fi
3299 done
3300 done
3301
3302 fi
3303 fi
3304 WINE=$ac_cv_prog_WINE
3305 if testscip-shell system . . test. -n "$WINE"; then
3306 echoscip-shell system . . echo. "$as_me:$LINENO: result: $WINE" >&5
3307 echoscip-shell system . . echo. "${ECHO_T}$WINE" >&6
3308 else
3309 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3310 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3311 fi
3312
3313
3314 SHLIB_SUFFIX=".dll"
3315
3316 # MACHINE is IX86 for LINK, but this is used by the manifest,
3317 # which requires x86|amd64|arm64|ia64.
3318 MACHINE="X86"
3319
3320 if testscip-shell system . . test. "$GCC" = "yes"; then
3321
3322 echoscip-shell system . . echo. "$as_me:$LINENO: checking for cross-compile version of gcc" >&5
3323 echoscip-shell system . . echo. $ECHO_N "checking for cross-compile version of gcc... $ECHO_C" >&6
3324 if testscip-shell system . . test. "${ac_cv_cross+set}" = set; then
3325 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3326 else
3327 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3328 /* confdefs.h. */
3329 _ACEOF
3330 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3331 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3333
3334 #ifndef _WIN32
3335 #error cross-compiler
3336 #endif
3337
3338 int
3339 main ()
3340 {
3341
3342 ;
3343 return 0;
3344 }
3345 _ACEOF
3346 rmscip-shell system . . rm. -f conftest.$ac_objext
3347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3348 (eval $ac_compile) 2>conftest.er1
3349 ac_status=$?
3350 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3351 rmscip-shell system . . rm. -f conftest.er1
3352 catscip-shell system . . cat. conftest.err >&5
3353 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); } &&
3355 { ac_try='test -z "$ac_c_werror_flag"
3356 || test ! -s conftest.err'
3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 (eval $ac_try) 2>&5
3359 ac_status=$?
3360 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }; } &&
3362 { ac_try='test -s conftest.$ac_objext'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 (eval $ac_try) 2>&5
3365 ac_status=$?
3366 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; }; then
3368 ac_cv_cross=no
3369 else
3370 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3371 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3372
3373 ac_cv_cross=yes
3374 fi
3375 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
3376
3377 fi
3378 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_cross" >&5
3379 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_cross" >&6
3380
3381 if testscip-shell system . . test. "$ac_cv_cross" = "yes"; then
3382 case "$do64bit" in
3383 amd64|x64|yes)
3384 CC="x86_64-w64-mingw32-${CC}"
3385 LD="x86_64-w64-mingw32-ld"
3386 AR="x86_64-w64-mingw32-ar"
3387 RANLIB="x86_64-w64-mingw32-ranlib"
3388 RC="x86_64-w64-mingw32-windres"
3389 ;;
3390 arm64|aarch64)
3391 CC="aarch64-w64-mingw32-${CC}"
3392 LD="aarch64-w64-mingw32-ld"
3393 AR="aarch64-w64-mingw32-ar"
3394 RANLIB="aarch64-w64-mingw32-ranlib"
3395 RC="aarch64-w64-mingw32-windres"
3396 ;;
3397 *)
3398 CC="i686-w64-mingw32-${CC}"
3399 LD="i686-w64-mingw32-ld"
3400 AR="i686-w64-mingw32-ar"
3401 RANLIB="i686-w64-mingw32-ranlib"
3402 RC="i686-w64-mingw32-windres"
3403 ;;
3404 esac
3405 fi
3406 fi
3407
3408 # Check for a bug in gcc's windres that causes the
3409 # compile to fail when a Windows native path is
3410 # passed into windres. The mingw toolchain requires
3411 # Windows native paths while Cygwin should work
3412 # with both. Avoid the bug by passing a POSIX
3413 # path when using the Cygwin toolchain.
3414
3415 if testscip-shell system . . test. "$GCC" = "yes" && testscip-shell system . . test. "$CYGPATH" != "echo" ; then
3416 conftest=/tmp/conftest.rcscip-shell filesystem . . `/tmp/conftest.rc`.
3417 echoscip-shell system . . echo. "STRINGTABLE BEGIN" > $conftest
3418 echoscip-shell system . . echo. "101 \"name\"" >> $conftest
3419 echoscip-shell system . . echo. "END" >> $conftest
3420
3421 echoscip-shell system . . echo. "$as_me:$LINENO: checking for Windows native path bug in windres" >&5
3422 echoscip-shell system . . echo. $ECHO_N "checking for Windows native path bug in windres... $ECHO_C" >&6
3423 cyg_conftest=`$CYGPATH $conftest`
3424 if { ac_try='$RC -o conftest.res.o $cyg_conftest'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 (eval $ac_try) 2>&5
3427 ac_status=$?
3428 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; } ; then
3430 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
3431 echoscip-shell system . . echo. "${ECHO_T}no" >&6
3432 else
3433 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes" >&5
3434 echoscip-shell system . . echo. "${ECHO_T}yes" >&6
3435 CYGPATH=echo
3436 fi
3437 conftest=
3438 cyg_conftest=
3439 fi
3440
3441 if testscip-shell system . . test. "$CYGPATH" = "echo"; then
3442 DEPARG='"$<"'
3443 else
3444 DEPARG='"$(shell $(CYGPATH) $<)"'
3445 fi
3446
3447 # set various compiler flags depending on whether we are using gcc or cl
3448
3449 if testscip-shell system . . test. "${GCC}" = "yes" ; then
3450 extra_cflags="-pipe"
3451 extra_ldflags="-pipe -static-libgcc"
3452 echoscip-shell system . . echo. "$as_me:$LINENO: checking for mingw32 version of gcc" >&5
3453 echoscip-shell system . . echo. $ECHO_N "checking for mingw32 version of gcc... $ECHO_C" >&6
3454 if testscip-shell system . . test. "${ac_cv_win32+set}" = set; then
3455 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3456 else
3457 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3458 /* confdefs.h. */
3459 _ACEOF
3460 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3461 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3463
3464 #ifdef _WIN32
3465 #error win32
3466 #endif
3467
3468 int
3469 main ()
3470 {
3471
3472 ;
3473 return 0;
3474 }
3475 _ACEOF
3476 rmscip-shell system . . rm. -f conftest.$ac_objext
3477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3478 (eval $ac_compile) 2>conftest.er1
3479 ac_status=$?
3480 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3481 rmscip-shell system . . rm. -f conftest.er1
3482 catscip-shell system . . cat. conftest.err >&5
3483 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } &&
3485 { ac_try='test -z "$ac_c_werror_flag"
3486 || test ! -s conftest.err'
3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488 (eval $ac_try) 2>&5
3489 ac_status=$?
3490 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; } &&
3492 { ac_try='test -s conftest.$ac_objext'
3493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 (eval $ac_try) 2>&5
3495 ac_status=$?
3496 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); }; }; then
3498 ac_cv_win32=no
3499 else
3500 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3501 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3502
3503 ac_cv_win32=yes
3504 fi
3505 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
3506
3507 fi
3508 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_win32" >&5
3509 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_win32" >&6
3510 if testscip-shell system . . test. "$ac_cv_win32" != "yes"; then
3511 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: ${CC} cannot produce win32 executables." >&5
3512 echoscip-shell system . . echo. "$as_me: error: ${CC} cannot produce win32 executables." >&2;}
3513 { (exit 1); exit 1; }; }
3514 fi
3515 if testscip-shell system . . test. "$do64bit" != "arm64" -a "$do64bit" != "aarch64"; then
3516 extra_cflags="$extra_cflags -DHAVE_CPUID=1"
3517 fi
3518
3519 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -mwindows -municode -Dmain=xxmain"
3520 echoscip-shell system . . echo. "$as_me:$LINENO: checking for working -municode linker flag" >&5
3521 echoscip-shell system . . echo. $ECHO_N "checking for working -municode linker flag... $ECHO_C" >&6
3522 if testscip-shell system . . test. "${ac_cv_municode+set}" = set; then
3523 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3524 else
3525 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3526 /* confdefs.h. */
3527 _ACEOF
3528 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3529 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3531
3532 #include <windows.h>
3533 int APIENTRY wWinMain(HINSTANCE a, HINSTANCE b, LPWSTR c, int d) {return 0;}
3534
3535 int
3536 main ()
3537 {
3538
3539 ;
3540 return 0;
3541 }
3542 _ACEOF
3543 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
3544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3545 (eval $ac_link) 2>conftest.er1
3546 ac_status=$?
3547 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3548 rmscip-shell system . . rm. -f conftest.er1
3549 catscip-shell system . . cat. conftest.err >&5
3550 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); } &&
3552 { ac_try='test -z "$ac_c_werror_flag"
3553 || test ! -s conftest.err'
3554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3555 (eval $ac_try) 2>&5
3556 ac_status=$?
3557 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); }; } &&
3559 { ac_try='test -s conftest$ac_exeext'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3561 (eval $ac_try) 2>&5
3562 ac_status=$?
3563 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; }; then
3565 ac_cv_municode=yes
3566 else
3567 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3568 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3569
3570 ac_cv_municode=no
3571 fi
3572 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
3573 conftest$ac_exeext conftest.$ac_ext
3574
3575 fi
3576 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_municode" >&5
3577 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_municode" >&6
3578 CFLAGS=$hold_cflags
3579 if testscip-shell system . . test. "$ac_cv_municode" = "yes" ; then
3580 extra_ldflags="$extra_ldflags -municode"
3581 else
3582 extra_cflags="$extra_cflags -DTCL_BROKEN_MAINARGS"
3583 fi
3584 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -fno-lto"
3585 echoscip-shell system . . echo. "$as_me:$LINENO: checking for working -fno-lto" >&5
3586 echoscip-shell system . . echo. $ECHO_N "checking for working -fno-lto... $ECHO_C" >&6
3587 if testscip-shell system . . test. "${ac_cv_nolto+set}" = set; then
3588 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3589 else
3590 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3591 /* confdefs.h. */
3592 _ACEOF
3593 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3594 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3595 /* end confdefs.h. */
3596
3597 int
3598 main ()
3599 {
3600
3601 ;
3602 return 0;
3603 }
3604 _ACEOF
3605 rmscip-shell system . . rm. -f conftest.$ac_objext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3607 (eval $ac_compile) 2>conftest.er1
3608 ac_status=$?
3609 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3610 rmscip-shell system . . rm. -f conftest.er1
3611 catscip-shell system . . cat. conftest.err >&5
3612 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try='test -z "$ac_c_werror_flag"
3615 || test ! -s conftest.err'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 (eval $ac_try) 2>&5
3618 ac_status=$?
3619 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; } &&
3621 { ac_try='test -s conftest.$ac_objext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 (eval $ac_try) 2>&5
3624 ac_status=$?
3625 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_cv_nolto=yes
3628 else
3629 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3630 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3631
3632 ac_cv_nolto=no
3633 fi
3634 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
3635
3636 fi
3637 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_nolto" >&5
3638 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_nolto" >&6
3639 CFLAGS=$hold_cflags
3640 if testscip-shell system . . test. "$ac_cv_nolto" = "yes" ; then
3641 CFLAGS_NOLTO="-fno-lto"
3642 else
3643 CFLAGS_NOLTO=""
3644 fi
3645
3646 echoscip-shell system . . echo. "$as_me:$LINENO: checking if the linker understands --disable-high-entropy-va" >&5
3647 echoscip-shell system . . echo. $ECHO_N "checking if the linker understands --disable-high-entropy-va... $ECHO_C" >&6
3648 if testscip-shell system . . test. "${tcl_cv_ld_high_entropy+set}" = set; then
3649 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3650 else
3651
3652 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Wl,--disable-high-entropy-va"
3653 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3654 /* confdefs.h. */
3655 _ACEOF
3656 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3657 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3658 /* end confdefs.h. */
3659
3660 int
3661 main ()
3662 {
3663
3664 ;
3665 return 0;
3666 }
3667 _ACEOF
3668 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
3669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3670 (eval $ac_link) 2>conftest.er1
3671 ac_status=$?
3672 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3673 rmscip-shell system . . rm. -f conftest.er1
3674 catscip-shell system . . cat. conftest.err >&5
3675 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } &&
3677 { ac_try='test -z "$ac_c_werror_flag"
3678 || test ! -s conftest.err'
3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 (eval $ac_try) 2>&5
3681 ac_status=$?
3682 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3683 (exit $ac_status); }; } &&
3684 { ac_try='test -s conftest$ac_exeext'
3685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 (eval $ac_try) 2>&5
3687 ac_status=$?
3688 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); }; }; then
3690 tcl_cv_ld_high_entropy=yes
3691 else
3692 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3693 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3694
3695 tcl_cv_ld_high_entropy=no
3696 fi
3697 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
3698 conftest$ac_exeext conftest.$ac_ext
3699 CFLAGS=$hold_cflags
3700 fi
3701 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_ld_high_entropy" >&5
3702 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_ld_high_entropy" >&6
3703 if testscip-shell system . . test. $tcl_cv_ld_high_entropy = yes; then
3704 extra_ldflags="$extra_ldflags -Wl,--disable-high-entropy-va"
3705 fi
3706 fi
3707
3708 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Wl,--enable-auto-image-base"
3709 echoscip-shell system . . echo. "$as_me:$LINENO: checking for working --enable-auto-image-base" >&5
3710 echoscip-shell system . . echo. $ECHO_N "checking for working --enable-auto-image-base... $ECHO_C" >&6
3711 if testscip-shell system . . test. "${ac_cv_enable_auto_image_base+set}" = set; then
3712 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
3713 else
3714 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3715 /* confdefs.h. */
3716 _ACEOF
3717 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3718 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3719 /* end confdefs.h. */
3720
3721 int
3722 main ()
3723 {
3724
3725 ;
3726 return 0;
3727 }
3728 _ACEOF
3729 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
3730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3731 (eval $ac_link) 2>conftest.er1
3732 ac_status=$?
3733 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3734 rmscip-shell system . . rm. -f conftest.er1
3735 catscip-shell system . . cat. conftest.err >&5
3736 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); } &&
3738 { ac_try='test -z "$ac_c_werror_flag"
3739 || test ! -s conftest.err'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3741 (eval $ac_try) 2>&5
3742 ac_status=$?
3743 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; } &&
3745 { ac_try='test -s conftest$ac_exeext'
3746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 (eval $ac_try) 2>&5
3748 ac_status=$?
3749 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }; }; then
3751 ac_cv_enable_auto_image_base=yes
3752 else
3753 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3754 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3755
3756 ac_cv_enable_auto_image_base=no
3757 fi
3758 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
3759 conftest$ac_exeext conftest.$ac_ext
3760
3761 fi
3762 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_enable_auto_image_base" >&5
3763 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_enable_auto_image_base" >&6
3764 CFLAGS=$hold_cflags
3765 if testscip-shell system . . test. "$ac_cv_enable_auto_image_base" = "yes" ; then
3766 extra_ldflags="$extra_ldflags -Wl,--enable-auto-image-base"
3767 fi
3768
3769 echoscip-shell system . . echo. "$as_me:$LINENO: checking compiler flags" >&5
3770 echoscip-shell system . . echo. $ECHO_N "checking compiler flags... $ECHO_C" >&6
3771 if testscip-shell system . . test. "${GCC}" = "yes" ; then
3772 SHLIB_LD=""
3773 SHLIB_LD_LIBS='${LIBS}'
3774 LIBS="-lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32"
3775 # mingw needs to link ole32 and oleaut32 for [send], but MSVC doesn't
3776 LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32"
3777 STLIB_LD='${AR} cr'
3778 RC_OUT=-o
3779 RC_TYPE=
3780 RC_INCLUDE=--include
3781 RC_DEFINE=--define
3782 RES=res.o
3783 MAKE_LIB="\${STLIB_LD} \$@"
3784 MAKE_STUB_LIB="\${STLIB_LD} \$@"
3785 POST_MAKE_LIB="\${RANLIB} \$@"
3786 MAKE_EXE="\${CC} -o \$@"
3787 LIBPREFIX="lib"
3788
3789 if testscip-shell system . . test. "${SHARED_BUILD}" = "0" ; then
3790 # static
3791 echoscip-shell system . . echo. "$as_me:$LINENO: result: using static flags" >&5
3792 echoscip-shell system . . echo. "${ECHO_T}using static flags" >&6
3793 runtime=
3794 LIBRARIES="\${STATIC_LIBRARIES}"
3795 EXESUFFIX="s\${DBGX}.exe"
3796 else
3797 # dynamic
3798 echoscip-shell system . . echo. "$as_me:$LINENO: result: using shared flags" >&5
3799 echoscip-shell system . . echo. "${ECHO_T}using shared flags" >&6
3800
3801 # ad-hoc check to see if CC supports -shared.
3802 if "${CC}" -shared 2>&1 | egrepscip-shell system . . egrep. ': -shared not supported' >/dev/nullscip-shell filesystem . . `/dev/null`.; then
3803 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: ${CC} does not support the -shared option.
3804 You will need to upgrade to a newer version of the toolchain." >&5
3805 echoscip-shell system . . echo. "$as_me: error: ${CC} does not support the -shared option.
3806 You will need to upgrade to a newer version of the toolchain." >&2;}
3807 { (exit 1); exit 1; }; }
3808 fi
3809
3810 runtime=
3811 # Add SHLIB_LD_LIBS to the Make rule, not here.
3812
3813 EXESUFFIX="\${DBGX}.exe"
3814 LIBRARIES="\${SHARED_LIBRARIES}"
3815 fi
3816 # Link with gcc since ld does not link to default libs like
3817 # -luser32 and -lmsvcrt by default.
3818 SHLIB_LD='${CC} -shared'
3819 SHLIB_LD_LIBS='${LIBS}'
3820 MAKE_DLL="\${SHLIB_LD} \$(LDFLAGS) -o \$@ ${extra_ldflags} \
3821 -Wl,--out-implib,\$(patsubst %.dll,lib%.dll.a,\$@)"
3822 # DLLSUFFIX is separate because it is the building block for
3823 # users of tclConfig.sh that may build shared or static.
3824 DLLSUFFIX="\${DBGX}.dll"
3825 LIBSUFFIX="\${DBGX}.a"
3826 LIBFLAGSUFFIX="\${DBGX}"
3827 SHLIB_SUFFIX=.dll
3828
3829 EXTRA_CFLAGS="${extra_cflags}"
3830
3831 CFLAGS_DEBUG=-g
3832 CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
3833 CFLAGS_WARNING="-Wall -Wpointer-arith"
3834 LDFLAGS_DEBUG=
3835 LDFLAGS_OPTIMIZE=
3836
3837 case "${CC}" in
3838 *++)
3839 CFLAGS_WARNING="${CFLAGS_WARNING} -Wno-format"
3840 ;;
3841 *)
3842 CFLAGS_WARNING="${CFLAGS_WARNING} -Wdeclaration-after-statement"
3843 ;;
3844 esac
3845
3846 # Specify the CC output file names based on the target name
3847 CC_OBJNAME="-o \$@"
3848 CC_EXENAME="-o \$@"
3849
3850 # Specify linker flags depending on the type of app being
3851 # built -- Console vs. Window.
3852 #
3853 # ORIGINAL COMMENT:
3854 # We need to pass -e _WinMain@16 so that ld will use
3855 # WinMain() instead of main() as the entry point. We can't
3856 # use autoconf to check for this case since it would need
3857 # to run an executable and that does not work when
3858 # cross compiling. Remove this -e workaround once we
3859 # require a gcc that does not have this bug.
3860 #
3861 # MK NOTE: Tk should use a different mechanism. This causes
3862 # interesting problems, such as wish dying at startup.
3863 #LDFLAGS_WINDOW="-mwindows -e _WinMain@16 ${extra_ldflags}"
3864 LDFLAGS_CONSOLE="-mconsole ${extra_ldflags}"
3865 LDFLAGS_WINDOW="-mwindows ${extra_ldflags}"
3866
3867 case "$do64bit" in
3868 amd64|x64|yes)
3869 MACHINE="AMD64" ; # assume AMD64 as default 64-bit build
3870 echoscip-shell system . . echo. "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5
3871 echoscip-shell system . . echo. "${ECHO_T} Using 64-bit $MACHINE mode" >&6
3872 ;;
3873 arm64|aarch64)
3874 MACHINE="ARM64"
3875 echoscip-shell system . . echo. "$as_me:$LINENO: result: Using ARM64 $MACHINE mode" >&5
3876 echoscip-shell system . . echo. "${ECHO_T} Using ARM64 $MACHINE mode" >&6
3877 ;;
3878 ia64)
3879 MACHINE="IA64"
3880 echoscip-shell system . . echo. "$as_me:$LINENO: result: Using IA64 $MACHINE mode" >&5
3881 echoscip-shell system . . echo. "${ECHO_T} Using IA64 $MACHINE mode" >&6
3882 ;;
3883 *)
3884 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
3885 /* confdefs.h. */
3886 _ACEOF
3887 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
3888 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3890
3891 #ifndef _WIN64
3892 #error 32-bit
3893 #endif
3894
3895 int
3896 main ()
3897 {
3898
3899 ;
3900 return 0;
3901 }
3902 _ACEOF
3903 rmscip-shell system . . rm. -f conftest.$ac_objext
3904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3905 (eval $ac_compile) 2>conftest.er1
3906 ac_status=$?
3907 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
3908 rmscip-shell system . . rm. -f conftest.er1
3909 catscip-shell system . . cat. conftest.err >&5
3910 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } &&
3912 { ac_try='test -z "$ac_c_werror_flag"
3913 || test ! -s conftest.err'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 (eval $ac_try) 2>&5
3916 ac_status=$?
3917 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; } &&
3919 { ac_try='test -s conftest.$ac_objext'
3920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 (eval $ac_try) 2>&5
3922 ac_status=$?
3923 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
3924 (exit $ac_status); }; }; then
3925 tcl_win_64bit=yes
3926 else
3927 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
3928 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
3929
3930 tcl_win_64bit=no
3931
3932 fi
3933 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
3934 if testscip-shell system . . test. "$tcl_win_64bit" = "yes" ; then
3935 do64bit=amd64
3936 MACHINE="AMD64"
3937 echoscip-shell system . . echo. "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5
3938 echoscip-shell system . . echo. "${ECHO_T} Using 64-bit $MACHINE mode" >&6
3939 fi
3940 ;;
3941 esac
3942 else
3943 if testscip-shell system . . test. "${SHARED_BUILD}" = "0" ; then
3944 # static
3945 echoscip-shell system . . echo. "$as_me:$LINENO: result: using static flags" >&5
3946 echoscip-shell system . . echo. "${ECHO_T}using static flags" >&6
3947 runtime=-MT
3948 LIBRARIES="\${STATIC_LIBRARIES}"
3949 EXESUFFIX="s\${DBGX}.exe"
3950 else
3951 # dynamic
3952 echoscip-shell system . . echo. "$as_me:$LINENO: result: using shared flags" >&5
3953 echoscip-shell system . . echo. "${ECHO_T}using shared flags" >&6
3954 runtime=-MD
3955 # Add SHLIB_LD_LIBS to the Make rule, not here.
3956 LIBRARIES="\${SHARED_LIBRARIES}"
3957 EXESUFFIX="\${DBGX}.exe"
3958 case "x`echoscip-shell system . . echo. \${VisualStudioVersion}`" in
3959 x1[4-9]*)
3960 lflags="${lflags} -nodefaultlib:ucrt.lib"
3961 ;;
3962 *)
3963 ;;
3964 esac
3965 fi
3966 MAKE_DLL="\${SHLIB_LD} \$(LDFLAGS) -out:\$@"
3967 # DLLSUFFIX is separate because it is the building block for
3968 # users of tclConfig.sh that may build shared or static.
3969 DLLSUFFIX="\${DBGX}.dll"
3970 LIBSUFFIX="\${DBGX}.lib"
3971 LIBFLAGSUFFIX="\${DBGX}"
3972
3973 if testscip-shell system . . test. "$do64bit" != "no" ; then
3974 case "$do64bit" in
3975 amd64|x64|yes)
3976 MACHINE="AMD64" ; # assume AMD64 as default 64-bit build
3977 ;;
3978 arm64|aarch64)
3979 MACHINE="ARM64"
3980 ;;
3981 ia64)
3982 MACHINE="IA64"
3983 ;;
3984 esac
3985 echoscip-shell system . . echo. "$as_me:$LINENO: result: Using 64-bit $MACHINE mode" >&5
3986 echoscip-shell system . . echo. "${ECHO_T} Using 64-bit $MACHINE mode" >&6
3987 fi
3988
3989 LIBS="netapi32.lib kernel32.lib user32.lib advapi32.lib userenv.lib ws2_32.lib"
3990
3991 case "x`echoscip-shell system . . echo. \${VisualStudioVersion}`" in
3992 x1[4-9]*)
3993 LIBS="$LIBS ucrt.lib"
3994 ;;
3995 *)
3996 ;;
3997 esac
3998
3999 if testscip-shell system . . test. "$do64bit" != "no" ; then
4000 RC="rc"
4001 CFLAGS_DEBUG="-nologo -Zi -Od ${runtime}d"
4002 CFLAGS_OPTIMIZE="-nologo -O2 ${runtime}"
4003 lflags="${lflags} -nologo -MACHINE:${MACHINE}"
4004 LINKBIN="link"
4005 # Avoid 'unresolved external symbol __security_cookie' errors.
4006 # c.f. http://support.microsoft.com/?id=894573
4007 LIBS="$LIBS bufferoverflowU.lib"
4008 else
4009 RC="rc"
4010 # -Od - no optimization
4011 # -WX - warnings as errors
4012 CFLAGS_DEBUG="-nologo -Z7 -Od -WX ${runtime}d"
4013 # -O2 - create fast code (/Og /Oi /Ot /Oy /Ob2 /Gs /GF /Gy)
4014 CFLAGS_OPTIMIZE="-nologo -O2 ${runtime}"
4015 lflags="${lflags} -nologo"
4016 LINKBIN="link"
4017 fi
4018
4019 if testscip-shell system . . test. "$doWince" != "no" ; then
4020 # Set defaults for common evc4/PPC2003 setup
4021 # Currently Tcl requires 300+, possibly 420+ for sockets
4022 CEVERSION=420; # could be 211 300 301 400 420 ...
4023 TARGETCPU=ARMV4; # could be ARMV4 ARM MIPS SH3 X86 ...
4024 ARCH=ARM; # could be ARM MIPS X86EM ...
4025 PLATFORM="Pocket PC 2003"; # or "Pocket PC 2002"
4026 if testscip-shell system . . test. "$doWince" != "yes"; then
4027 # If !yes then the user specified something
4028 # Reset ARCH to allow user to skip specifying it
4029 ARCH=
4030 eval `echoscip-shell system . . echo. $doWince | awkscip-shell system . . awk. -F "," '{ \
4031 if (length($1)) { printf "CEVERSION=\"%s\"\n", $1; \
4032 if ($1 < 400) { printf "PLATFORM=\"Pocket PC 2002\"\n" } }; \
4033 if (length($2)) { printf "TARGETCPU=\"%s\"\n", toupper($2) }; \
4034 if (length($3)) { printf "ARCH=\"%s\"\n", toupper($3) }; \
4035 if (length($4)) { printf "PLATFORM=\"%s\"\n", $4 }; \
4036 }'`
4037 if testscip-shell system . . test. "x${ARCH}" = "x" ; then
4038 ARCH=$TARGETCPU;
4039 fi
4040 fi
4041 OSVERSION=WCE$CEVERSION;
4042 if testscip-shell system . . test. "x${WCEROOT}" = "x" ; then
4043 WCEROOT="C:/Program Files/Microsoft eMbedded C++ 4.0"
4044 if testscip-shell system . . test. ! -d "${WCEROOT}" ; then
4045 WCEROOT="C:/Program Files/Microsoft eMbedded Tools"
4046 fi
4047 fi
4048 if testscip-shell system . . test. "x${SDKROOT}" = "x" ; then
4049 SDKROOT="C:/Program Files/Windows CE Tools"
4050 if testscip-shell system . . test. ! -d "${SDKROOT}" ; then
4051 SDKROOT="C:/Windows CE Tools"
4052 fi
4053 fi
4054 # The space-based-path will work for the Makefile, but will
4055 # not work if AC_TRY_COMPILE is called.
4056 WCEROOT=`echoscip-shell system . . echo. "$WCEROOT" | sedscip-shell system . . sed. -e 's!\\\!/!g'`
4057 SDKROOT=`echoscip-shell system . . echo. "$SDKROOT" | sedscip-shell system . . sed. -e 's!\\\!/!g'`
4058 CELIB_DIR=`echoscip-shell system . . echo. "$CELIB_DIR" | sedscip-shell system . . sed. -e 's!\\\!/!g'`
4059 if testscip-shell system . . test. ! -d "${CELIB_DIR}/inc"; then
4060 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: Invalid celib directory \"${CELIB_DIR}\"" >&5
4061 echoscip-shell system . . echo. "$as_me: error: Invalid celib directory \"${CELIB_DIR}\"" >&2;}
4062 { (exit 1); exit 1; }; }
4063 fi
4064 if testscip-shell system . . test. ! -d "${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}"\
4065 -o ! -d "${WCEROOT}/EVC/${OSVERSION}/bin"; then
4066 { { echoscip-shell system . . echo. "$as_me:$LINENO: error: could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&5
4067 echoscip-shell system . . echo. "$as_me: error: could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&2;}
4068 { (exit 1); exit 1; }; }
4069 else
4070 CEINCLUDE="${SDKROOT}/${OSVERSION}/${PLATFORM}/include"
4071 if testscip-shell system . . test. -d "${CEINCLUDE}/${TARGETCPU}" ; then
4072 CEINCLUDE="${CEINCLUDE}/${TARGETCPU}"
4073 fi
4074 CELIBPATH="${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}"
4075 fi
4076 fi
4077
4078 if testscip-shell system . . test. "$doWince" != "no" ; then
4079 CEBINROOT="${WCEROOT}/EVC/${OSVERSION}/bin"
4080 if testscip-shell system . . test. "${TARGETCPU}" = "X86"; then
4081 CC="${CEBINROOT}/cl.exe"
4082 else
4083 CC="${CEBINROOT}/cl${ARCH}.exe"
4084 fi
4085 CC="\"${CC}\" -I\"${CELIB_DIR}/inc\" -I\"${CEINCLUDE}\""
4086 RC="\"${WCEROOT}/Common/EVC/bin/rc.exe\""
4087 arch=`echoscip-shell system . . echo. ${ARCH} | awkscip-shell system . . awk. '{print tolower($0)}'`
4088 defs="${ARCH} _${ARCH}_ ${arch} PALM_SIZE _MT _DLL _WINDOWS"
4089 for i in $defs ; do
4090 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4091 #define $i 1
4092 _ACEOF
4093
4094 done
4095 # if test "${ARCH}" = "X86EM"; then
4096 # AC_DEFINE_UNQUOTED(_WIN32_WCE_EMULATION)
4097 # fi
4098 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4099 #define _WIN32_WCE $CEVERSION
4100 _ACEOF
4101
4102 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4103 #define UNDER_CE $CEVERSION
4104 _ACEOF
4105
4106 CFLAGS_DEBUG="-nologo -Zi -Od"
4107 CFLAGS_OPTIMIZE="-nologo -O2"
4108 lversion=`echoscip-shell system . . echo. ${CEVERSION} | sedscip-shell system . . sed. -e 's/\(.\)\(..\)/\1\.\2/'`
4109 lflags="-nodefaultlib -MACHINE:${ARCH} -LIBPATH:\"${CELIBPATH}\" -subsystem:windowsce,${lversion} -nologo"
4110 LINKBIN="\"${CEBINROOT}/link.exe\""
4111
4112 if testscip-shell system . . test. "${CEVERSION}" -lt 400 ; then
4113 LIBS="coredll.lib corelibc.lib winsock.lib"
4114 else
4115 LIBS="coredll.lib corelibc.lib ws2.lib"
4116 fi
4117 # celib currently stuck at wce300 status
4118 #LIBS="$LIBS \${CELIB_DIR}/wince-${ARCH}-pocket-${OSVERSION}-release/celib.lib"
4119 LIBS="$LIBS \"\${CELIB_DIR}/wince-${ARCH}-pocket-wce300-release/celib.lib\""
4120 LIBS_GUI="commctrl.lib commdlg.lib"
4121 else
4122 LIBS_GUI="gdi32.lib comdlg32.lib imm32.lib comctl32.lib shell32.lib uuid.lib"
4123 fi
4124
4125 SHLIB_LD="${LINKBIN} -dll -incremental:no ${lflags}"
4126 SHLIB_LD_LIBS='${LIBS}'
4127 # link -lib only works when -lib is the first arg
4128 STLIB_LD="${LINKBIN} -lib ${lflags}"
4129 RC_OUT=-fo
4130 RC_TYPE=-r
4131 RC_INCLUDE=-i
4132 RC_DEFINE=-d
4133 RES=res
4134 MAKE_LIB="\${STLIB_LD} -out:\$@"
4135 MAKE_STUB_LIB="\${STLIB_LD} -nodefaultlib -out:\$@"
4136 POST_MAKE_LIB=
4137 MAKE_EXE="\${CC} -Fe\$@"
4138 LIBPREFIX=""
4139
4140 CFLAGS_DEBUG="${CFLAGS_DEBUG} -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE"
4141 CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE"
4142
4143 EXTRA_CFLAGS=""
4144 CFLAGS_WARNING="-W3"
4145 LDFLAGS_DEBUG="-debug"
4146 LDFLAGS_OPTIMIZE="-release"
4147
4148 # Specify the CC output file names based on the target name
4149 CC_OBJNAME="-Fo\$@"
4150 CC_EXENAME="-Fe\"\$(shell \$(CYGPATH) '\$@')\""
4151
4152 # Specify linker flags depending on the type of app being
4153 # built -- Console vs. Window.
4154 if testscip-shell system . . test. "$doWince" != "no" -a "${TARGETCPU}" != "X86"; then
4155 LDFLAGS_CONSOLE="-link ${lflags}"
4156 LDFLAGS_WINDOW=${LDFLAGS_CONSOLE}
4157 else
4158 LDFLAGS_CONSOLE="-link -subsystem:console ${lflags}"
4159 LDFLAGS_WINDOW="-link -subsystem:windows ${lflags}"
4160 fi
4161 fi
4162
4163 if testscip-shell system . . test. "$do64bit" != "no" ; then
4164 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4165 #define TCL_CFG_DO64BIT 1
4166 _ACEOF
4167
4168 fi
4169
4170 if testscip-shell system . . test. "${GCC}" = "yes" ; then
4171 echoscip-shell system . . echo. "$as_me:$LINENO: checking for SEH support in compiler" >&5
4172 echoscip-shell system . . echo. $ECHO_N "checking for SEH support in compiler... $ECHO_C" >&6
4173 if testscip-shell system . . test. "${tcl_cv_seh+set}" = set; then
4174 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4175 else
4176 if testscip-shell system . . test. "$cross_compiling" = yes; then
4177 tcl_cv_seh=no
4178 else
4179 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4180 /* confdefs.h. */
4181 _ACEOF
4182 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4183 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4184 /* end confdefs.h. */
4185
4186 #define WIN32_LEAN_AND_MEAN
4187 #include <windows.h>
4188 #undef WIN32_LEAN_AND_MEAN
4189
4190 int main(int argc, char** argv) {
4191 int a, b = 0;
4192 __try {
4193 a = 666 / b;
4194 }
4195 __except (EXCEPTION_EXECUTE_HANDLER) {
4196 return 0;
4197 }
4198 return 1;
4199 }
4200
4201 _ACEOF
4202 rmscip-shell system . . rm. -f conftest$ac_exeext
4203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4204 (eval $ac_link) 2>&5
4205 ac_status=$?
4206 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4209 (eval $ac_try) 2>&5
4210 ac_status=$?
4211 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); }; }; then
4213 tcl_cv_seh=yes
4214 else
4215 echoscip-shell system . . echo. "$as_me: program exited with status $ac_status" >&5
4216 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4217 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4218
4219 ( exit $ac_status )
4220 tcl_cv_seh=no
4221 fi
4222 rmscip-shell system . . rm. -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4223 fi
4224
4225 fi
4226 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_seh" >&5
4227 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_seh" >&6
4228 if testscip-shell system . . test. "$tcl_cv_seh" = "no" ; then
4229
4230 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4231 #define HAVE_NO_SEH 1
4232 _ACEOF
4233
4234 fi
4235
4236 #
4237 # Check to see if the excpt.h include file provided contains the
4238 # definition for EXCEPTION_DISPOSITION; if not, which is the case
4239 # with Cygwin's version as of 2002-04-10, define it to be int,
4240 # sufficient for getting the current code to work.
4241 #
4242 echoscip-shell system . . echo. "$as_me:$LINENO: checking for EXCEPTION_DISPOSITION support in include files" >&5
4243 echoscip-shell system . . echo. $ECHO_N "checking for EXCEPTION_DISPOSITION support in include files... $ECHO_C" >&6
4244 if testscip-shell system . . test. "${tcl_cv_eh_disposition+set}" = set; then
4245 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4246 else
4247 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4248 /* confdefs.h. */
4249 _ACEOF
4250 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4251 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253
4254 # define WIN32_LEAN_AND_MEAN
4255 # include <windows.h>
4256 # undef WIN32_LEAN_AND_MEAN
4257
4258 int
4259 main ()
4260 {
4261
4262 EXCEPTION_DISPOSITION x;
4263
4264 ;
4265 return 0;
4266 }
4267 _ACEOF
4268 rmscip-shell system . . rm. -f conftest.$ac_objext
4269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4270 (eval $ac_compile) 2>conftest.er1
4271 ac_status=$?
4272 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4273 rmscip-shell system . . rm. -f conftest.er1
4274 catscip-shell system . . cat. conftest.err >&5
4275 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } &&
4277 { ac_try='test -z "$ac_c_werror_flag"
4278 || test ! -s conftest.err'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280 (eval $ac_try) 2>&5
4281 ac_status=$?
4282 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; } &&
4284 { ac_try='test -s conftest.$ac_objext'
4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4286 (eval $ac_try) 2>&5
4287 ac_status=$?
4288 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); }; }; then
4290 tcl_cv_eh_disposition=yes
4291 else
4292 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4293 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4294
4295 tcl_cv_eh_disposition=no
4296 fi
4297 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4298
4299 fi
4300 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_eh_disposition" >&5
4301 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_eh_disposition" >&6
4302 if testscip-shell system . . test. "$tcl_cv_eh_disposition" = "no" ; then
4303
4304 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4305 #define EXCEPTION_DISPOSITION int
4306 _ACEOF
4307
4308 fi
4309
4310 # Check to see if winnt.h defines CHAR, SHORT, and LONG
4311 # even if VOID has already been #defined. The win32api
4312 # used by mingw and cygwin is known to do this.
4313
4314 echoscip-shell system . . echo. "$as_me:$LINENO: checking for winnt.h that ignores VOID define" >&5
4315 echoscip-shell system . . echo. $ECHO_N "checking for winnt.h that ignores VOID define... $ECHO_C" >&6
4316 if testscip-shell system . . test. "${tcl_cv_winnt_ignore_void+set}" = set; then
4317 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4318 else
4319 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4320 /* confdefs.h. */
4321 _ACEOF
4322 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4323 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4324 /* end confdefs.h. */
4325
4326 #define VOID void
4327 #define WIN32_LEAN_AND_MEAN
4328 #include <windows.h>
4329 #undef WIN32_LEAN_AND_MEAN
4330
4331 int
4332 main ()
4333 {
4334
4335 CHAR c;
4336 SHORT s;
4337 LONG l;
4338
4339 ;
4340 return 0;
4341 }
4342 _ACEOF
4343 rmscip-shell system . . rm. -f conftest.$ac_objext
4344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4345 (eval $ac_compile) 2>conftest.er1
4346 ac_status=$?
4347 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4348 rmscip-shell system . . rm. -f conftest.er1
4349 catscip-shell system . . cat. conftest.err >&5
4350 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); } &&
4352 { ac_try='test -z "$ac_c_werror_flag"
4353 || test ! -s conftest.err'
4354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 (eval $ac_try) 2>&5
4356 ac_status=$?
4357 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }; } &&
4359 { ac_try='test -s conftest.$ac_objext'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 (eval $ac_try) 2>&5
4362 ac_status=$?
4363 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4365 tcl_cv_winnt_ignore_void=yes
4366 else
4367 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4368 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4369
4370 tcl_cv_winnt_ignore_void=no
4371 fi
4372 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4373
4374 fi
4375 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_winnt_ignore_void" >&5
4376 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_winnt_ignore_void" >&6
4377 if testscip-shell system . . test. "$tcl_cv_winnt_ignore_void" = "yes" ; then
4378
4379 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4380 #define HAVE_WINNT_IGNORE_VOID 1
4381 _ACEOF
4382
4383 fi
4384
4385 # See if the compiler supports casting to a union type.
4386 # This is used to stop gcc from printing a compiler
4387 # warning when initializing a union member.
4388
4389 echoscip-shell system . . echo. "$as_me:$LINENO: checking for cast to union support" >&5
4390 echoscip-shell system . . echo. $ECHO_N "checking for cast to union support... $ECHO_C" >&6
4391 if testscip-shell system . . test. "${tcl_cv_cast_to_union+set}" = set; then
4392 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4393 else
4394 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4395 /* confdefs.h. */
4396 _ACEOF
4397 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4398 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4400
4401 int
4402 main ()
4403 {
4404
4405 union foo { int i; double d; };
4406 union foo f = (union foo) (int) 0;
4407
4408 ;
4409 return 0;
4410 }
4411 _ACEOF
4412 rmscip-shell system . . rm. -f conftest.$ac_objext
4413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4414 (eval $ac_compile) 2>conftest.er1
4415 ac_status=$?
4416 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4417 rmscip-shell system . . rm. -f conftest.er1
4418 catscip-shell system . . cat. conftest.err >&5
4419 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); } &&
4421 { ac_try='test -z "$ac_c_werror_flag"
4422 || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424 (eval $ac_try) 2>&5
4425 ac_status=$?
4426 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try='test -s conftest.$ac_objext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 (eval $ac_try) 2>&5
4431 ac_status=$?
4432 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 tcl_cv_cast_to_union=yes
4435 else
4436 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4437 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4438
4439 tcl_cv_cast_to_union=no
4440 fi
4441 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4442
4443 fi
4444 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_cast_to_union" >&5
4445 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_cast_to_union" >&6
4446 if testscip-shell system . . test. "$tcl_cv_cast_to_union" = "yes"; then
4447
4448 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4449 #define HAVE_CAST_TO_UNION 1
4450 _ACEOF
4451
4452 fi
4453 fi
4454
4455 # DL_LIBS is empty, but then we match the Unix version
4456
4457
4458
4459
4460
4461
4462
4463 # Cross-compiling
4464 case ${host_alias} in
4465 *mingw32*)
4466 TCL_EXE="tclsh"
4467 ;;
4468 *)
4469 TCL_EXE="TCL_LIBRARY=\"\${LIBRARY_DIR}\"; export TCL_LIBRARY; ./\${TCLSH}"
4470 ;;
4471 esac
4472
4473 #------------------------------------------------------------------------
4474 # Add stuff for zlib; note that this is mostly done in the makefile now
4475 # as we just assume that the platform hasn't got a usable z.lib
4476 #------------------------------------------------------------------------
4477
4478 if testscip-shell system . . test. "${enable_shared+set}" = "set"; then
4479
4480 enableval="$enable_shared"
4481 tcl_ok=$enableval
4482
4483 else
4484
4485 tcl_ok=yes
4486
4487 fi
4488
4489 zlib_lib_name=zdll.lib
4490 if testscip-shell system . . test. "$tcl_ok" = "yes"; then
4491
4492 ZLIB_DLL_FILE=\${ZLIB_DLL_FILE}
4493
4494 if testscip-shell system . . test. "$do64bit" != "no"; then
4495
4496 if testscip-shell system . . test. "$do64bit" = "arm64" -o "$do64bit" = "aarch64"; then
4497
4498 if testscip-shell system . . test. "$GCC" = "yes"; then
4499
4500 ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64-arm/libz.dll.a
4501
4502 zlib_lib_name=libz.dll.a
4503
4504 else
4505
4506 ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64-arm/zdll.lib
4507
4508
4509 fi
4510
4511
4512 else
4513
4514 if testscip-shell system . . test. "$GCC" = "yes"; then
4515
4516 ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64/libz.dll.a
4517
4518 zlib_lib_name=libz.dll.a
4519
4520 else
4521
4522 ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win64/zdll.lib
4523
4524
4525 fi
4526
4527
4528 fi
4529
4530
4531 else
4532
4533 ZLIB_LIBS=\${ZLIB_DIR_NATIVE}/win32/zdll.lib
4534
4535
4536 fi
4537
4538
4539 else
4540
4541 ZLIB_OBJS=\${ZLIB_OBJS}
4542
4543
4544 fi
4545
4546
4547 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4548 #define HAVE_ZLIB 1
4549 _ACEOF
4550
4551 TCL_ZLIB_LIB_NAME=$zlib_lib_name
4552
4553
4554 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4565 inttypes.h stdint.h unistd.h
4566 do
4567 as_ac_Header=`echoscip-shell system . . echo. "ac_cv_header_$ac_header" | $as_tr_sh`
4568 echoscip-shell system . . echo. "$as_me:$LINENO: checking for $ac_header" >&5
4569 echoscip-shell system . . echo. $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4571 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4572 else
4573 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4574 /* confdefs.h. */
4575 _ACEOF
4576 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4577 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4579 $ac_includes_default
4580
4581 #include <$ac_header>
4582 _ACEOF
4583 rmscip-shell system . . rm. -f conftest.$ac_objext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4585 (eval $ac_compile) 2>conftest.er1
4586 ac_status=$?
4587 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4588 rmscip-shell system . . rm. -f conftest.er1
4589 catscip-shell system . . cat. conftest.err >&5
4590 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try='test -z "$ac_c_werror_flag"
4593 || test ! -s conftest.err'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595 (eval $ac_try) 2>&5
4596 ac_status=$?
4597 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; } &&
4599 { ac_try='test -s conftest.$ac_objext'
4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 (eval $ac_try) 2>&5
4602 ac_status=$?
4603 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }; }; then
4605 eval "$as_ac_Header=yes"
4606 else
4607 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4608 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4609
4610 eval "$as_ac_Header=no"
4611 fi
4612 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4613 fi
4614 echoscip-shell system . . echo. "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4615 echoscip-shell system . . echo. "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4616 if testscip-shell system . . test. `eval echo '${'$as_ac_Header'}'` = yes; then
4617 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4618 #define `echoscip-shell system . . echo. "HAVE_$ac_header" | $as_tr_cpp` 1
4619 _ACEOF
4620
4621 fi
4622
4623 done
4624
4625
4626 echoscip-shell system . . echo. "$as_me:$LINENO: checking for intptr_t" >&5
4627 echoscip-shell system . . echo. $ECHO_N "checking for intptr_t... $ECHO_C" >&6
4628 if testscip-shell system . . test. "${ac_cv_type_intptr_t+set}" = set; then
4629 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4630 else
4631 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4632 /* confdefs.h. */
4633 _ACEOF
4634 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4635 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4637 $ac_includes_default
4638 int
4639 main ()
4640 {
4641 if ((intptr_t *) 0)
4642 return 0;
4643 if (sizeof (intptr_t))
4644 return 0;
4645 ;
4646 return 0;
4647 }
4648 _ACEOF
4649 rmscip-shell system . . rm. -f conftest.$ac_objext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4651 (eval $ac_compile) 2>conftest.er1
4652 ac_status=$?
4653 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4654 rmscip-shell system . . rm. -f conftest.er1
4655 catscip-shell system . . cat. conftest.err >&5
4656 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try='test -z "$ac_c_werror_flag"
4659 || test ! -s conftest.err'
4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4661 (eval $ac_try) 2>&5
4662 ac_status=$?
4663 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; } &&
4665 { ac_try='test -s conftest.$ac_objext'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 (eval $ac_try) 2>&5
4668 ac_status=$?
4669 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4671 ac_cv_type_intptr_t=yes
4672 else
4673 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4674 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4675
4676 ac_cv_type_intptr_t=no
4677 fi
4678 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4679 fi
4680 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
4681 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_type_intptr_t" >&6
4682 if testscip-shell system . . test. $ac_cv_type_intptr_t = yes; then
4683
4684
4685 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4686 #define HAVE_INTPTR_T 1
4687 _ACEOF
4688
4689 else
4690
4691 echoscip-shell system . . echo. "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
4692 echoscip-shell system . . echo. $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6
4693 if testscip-shell system . . test. "${tcl_cv_intptr_t+set}" = set; then
4694 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4695 else
4696
4697 for tcl_cv_intptr_t in "int" "long" "long long" none; do
4698 if testscip-shell system . . test. "$tcl_cv_intptr_t" != none; then
4699 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4700 /* confdefs.h. */
4701 _ACEOF
4702 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4703 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4705 $ac_includes_default
4706 int
4707 main ()
4708 {
4709 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))];
4710 test_array [0] = 0
4711
4712 ;
4713 return 0;
4714 }
4715 _ACEOF
4716 rmscip-shell system . . rm. -f conftest.$ac_objext
4717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4718 (eval $ac_compile) 2>conftest.er1
4719 ac_status=$?
4720 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4721 rmscip-shell system . . rm. -f conftest.er1
4722 catscip-shell system . . cat. conftest.err >&5
4723 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } &&
4725 { ac_try='test -z "$ac_c_werror_flag"
4726 || test ! -s conftest.err'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4728 (eval $ac_try) 2>&5
4729 ac_status=$?
4730 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; } &&
4732 { ac_try='test -s conftest.$ac_objext'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 (eval $ac_try) 2>&5
4735 ac_status=$?
4736 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then
4738 tcl_ok=yes
4739 else
4740 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4741 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4742
4743 tcl_ok=no
4744 fi
4745 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4746 testscip-shell system . . test. "$tcl_ok" = yes && break; fi
4747 done
4748 fi
4749 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
4750 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_intptr_t" >&6
4751 if testscip-shell system . . test. "$tcl_cv_intptr_t" != none; then
4752
4753 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4754 #define intptr_t $tcl_cv_intptr_t
4755 _ACEOF
4756
4757 fi
4758
4759 fi
4760
4761 echoscip-shell system . . echo. "$as_me:$LINENO: checking for uintptr_t" >&5
4762 echoscip-shell system . . echo. $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
4763 if testscip-shell system . . test. "${ac_cv_type_uintptr_t+set}" = set; then
4764 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4765 else
4766 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4767 /* confdefs.h. */
4768 _ACEOF
4769 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4770 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4772 $ac_includes_default
4773 int
4774 main ()
4775 {
4776 if ((uintptr_t *) 0)
4777 return 0;
4778 if (sizeof (uintptr_t))
4779 return 0;
4780 ;
4781 return 0;
4782 }
4783 _ACEOF
4784 rmscip-shell system . . rm. -f conftest.$ac_objext
4785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786 (eval $ac_compile) 2>conftest.er1
4787 ac_status=$?
4788 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4789 rmscip-shell system . . rm. -f conftest.er1
4790 catscip-shell system . . cat. conftest.err >&5
4791 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } &&
4793 { ac_try='test -z "$ac_c_werror_flag"
4794 || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 (eval $ac_try) 2>&5
4797 ac_status=$?
4798 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; } &&
4800 { ac_try='test -s conftest.$ac_objext'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 (eval $ac_try) 2>&5
4803 ac_status=$?
4804 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then
4806 ac_cv_type_uintptr_t=yes
4807 else
4808 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4809 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4810
4811 ac_cv_type_uintptr_t=no
4812 fi
4813 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4814 fi
4815 echoscip-shell system . . echo. "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
4816 echoscip-shell system . . echo. "${ECHO_T}$ac_cv_type_uintptr_t" >&6
4817 if testscip-shell system . . test. $ac_cv_type_uintptr_t = yes; then
4818
4819
4820 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4821 #define HAVE_UINTPTR_T 1
4822 _ACEOF
4823
4824 else
4825
4826 echoscip-shell system . . echo. "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
4827 echoscip-shell system . . echo. $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6
4828 if testscip-shell system . . test. "${tcl_cv_uintptr_t+set}" = set; then
4829 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831
4832 for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
4833 none; do
4834 if testscip-shell system . . test. "$tcl_cv_uintptr_t" != none; then
4835 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4836 /* confdefs.h. */
4837 _ACEOF
4838 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4839 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4841 $ac_includes_default
4842 int
4843 main ()
4844 {
4845 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))];
4846 test_array [0] = 0
4847
4848 ;
4849 return 0;
4850 }
4851 _ACEOF
4852 rmscip-shell system . . rm. -f conftest.$ac_objext
4853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4854 (eval $ac_compile) 2>conftest.er1
4855 ac_status=$?
4856 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4857 rmscip-shell system . . rm. -f conftest.er1
4858 catscip-shell system . . cat. conftest.err >&5
4859 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); } &&
4861 { ac_try='test -z "$ac_c_werror_flag"
4862 || test ! -s conftest.err'
4863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864 (eval $ac_try) 2>&5
4865 ac_status=$?
4866 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); }; } &&
4868 { ac_try='test -s conftest.$ac_objext'
4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4870 (eval $ac_try) 2>&5
4871 ac_status=$?
4872 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; }; then
4874 tcl_ok=yes
4875 else
4876 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4877 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4878
4879 tcl_ok=no
4880 fi
4881 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4882 testscip-shell system . . test. "$tcl_ok" = yes && break; fi
4883 done
4884 fi
4885 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
4886 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_uintptr_t" >&6
4887 if testscip-shell system . . test. "$tcl_cv_uintptr_t" != none; then
4888
4889 catscip-shell system . . cat. >>confdefs.h <<_ACEOF
4890 #define uintptr_t $tcl_cv_uintptr_t
4891 _ACEOF
4892
4893 fi
4894
4895 fi
4896
4897
4898 #--------------------------------------------------------------------
4899 # Perform additinal compiler tests.
4900 #--------------------------------------------------------------------
4901
4902 # See if declarations like FINDEX_INFO_LEVELS are
4903 # missing from winbase.h. This is known to be
4904 # a problem with VC++ 5.2.
4905
4906 echoscip-shell system . . echo. "$as_me:$LINENO: checking for FINDEX_INFO_LEVELS in winbase.h" >&5
4907 echoscip-shell system . . echo. $ECHO_N "checking for FINDEX_INFO_LEVELS in winbase.h... $ECHO_C" >&6
4908 if testscip-shell system . . test. "${tcl_cv_findex_enums+set}" = set; then
4909 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4910 else
4911 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4912 /* confdefs.h. */
4913 _ACEOF
4914 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4915 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h. */
4917
4918 #define WIN32_LEAN_AND_MEAN
4919 #include <windows.h>
4920 #undef WIN32_LEAN_AND_MEAN
4921
4922 int
4923 main ()
4924 {
4925
4926 FINDEX_INFO_LEVELS i;
4927 FINDEX_SEARCH_OPS j;
4928
4929 ;
4930 return 0;
4931 }
4932 _ACEOF
4933 rmscip-shell system . . rm. -f conftest.$ac_objext
4934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4935 (eval $ac_compile) 2>conftest.er1
4936 ac_status=$?
4937 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
4938 rmscip-shell system . . rm. -f conftest.er1
4939 catscip-shell system . . cat. conftest.err >&5
4940 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } &&
4942 { ac_try='test -z "$ac_c_werror_flag"
4943 || test ! -s conftest.err'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 (eval $ac_try) 2>&5
4946 ac_status=$?
4947 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; } &&
4949 { ac_try='test -s conftest.$ac_objext'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 (eval $ac_try) 2>&5
4952 ac_status=$?
4953 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; }; then
4955 tcl_cv_findex_enums=yes
4956 else
4957 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
4958 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
4959
4960 tcl_cv_findex_enums=no
4961 fi
4962 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
4963
4964 fi
4965 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_findex_enums" >&5
4966 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_findex_enums" >&6
4967 if testscip-shell system . . test. "$tcl_cv_findex_enums" = "no"; then
4968
4969 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
4970 #define HAVE_NO_FINDEX_ENUMS 1
4971 _ACEOF
4972
4973 fi
4974
4975 # See if the compiler supports intrinsics.
4976
4977 echoscip-shell system . . echo. "$as_me:$LINENO: checking for intrinsics support in compiler" >&5
4978 echoscip-shell system . . echo. $ECHO_N "checking for intrinsics support in compiler... $ECHO_C" >&6
4979 if testscip-shell system . . test. "${tcl_cv_intrinsics+set}" = set; then
4980 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
4981 else
4982 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
4983 /* confdefs.h. */
4984 _ACEOF
4985 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
4986 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4988
4989 #define WIN32_LEAN_AND_MEAN
4990 #include <windows.h>
4991 #undef WIN32_LEAN_AND_MEAN
4992 #include <intrin.h>
4993
4994 int
4995 main ()
4996 {
4997
4998 __cpuidex(0,0,0);
4999
5000 ;
5001 return 0;
5002 }
5003 _ACEOF
5004 rmscip-shell system . . rm. -f conftest.$ac_objext conftest$ac_exeext
5005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5006 (eval $ac_link) 2>conftest.er1
5007 ac_status=$?
5008 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
5009 rmscip-shell system . . rm. -f conftest.er1
5010 catscip-shell system . . cat. conftest.err >&5
5011 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); } &&
5013 { ac_try='test -z "$ac_c_werror_flag"
5014 || test ! -s conftest.err'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 (eval $ac_try) 2>&5
5017 ac_status=$?
5018 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; } &&
5020 { ac_try='test -s conftest$ac_exeext'
5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 (eval $ac_try) 2>&5
5023 ac_status=$?
5024 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); }; }; then
5026 tcl_cv_intrinsics=yes
5027 else
5028 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
5029 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
5030
5031 tcl_cv_intrinsics=no
5032 fi
5033 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext \
5034 conftest$ac_exeext conftest.$ac_ext
5035
5036 fi
5037 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_intrinsics" >&5
5038 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_intrinsics" >&6
5039 if testscip-shell system . . test. "$tcl_cv_intrinsics" = "yes"; then
5040
5041 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5042 #define HAVE_INTRIN_H 1
5043 _ACEOF
5044
5045 fi
5046
5047 # See if the compiler supports cpuid header.
5048
5049 echoscip-shell system . . echo. "$as_me:$LINENO: checking for cpuid.h" >&5
5050 echoscip-shell system . . echo. $ECHO_N "checking for cpuid.h... $ECHO_C" >&6
5051 if testscip-shell system . . test. "${tcl_cv_cpuid_h+set}" = set; then
5052 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
5055 /* confdefs.h. */
5056 _ACEOF
5057 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
5058 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5060
5061 #include <cpuid.h>
5062
5063 int
5064 main ()
5065 {
5066
5067 __get_cpuid(0, 0, 0, 0, 0);
5068
5069 ;
5070 return 0;
5071 }
5072 _ACEOF
5073 rmscip-shell system . . rm. -f conftest.$ac_objext
5074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075 (eval $ac_compile) 2>conftest.er1
5076 ac_status=$?
5077 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
5078 rmscip-shell system . . rm. -f conftest.er1
5079 catscip-shell system . . cat. conftest.err >&5
5080 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try='test -z "$ac_c_werror_flag"
5083 || test ! -s conftest.err'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 (eval $ac_try) 2>&5
5086 ac_status=$?
5087 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; } &&
5089 { ac_try='test -s conftest.$ac_objext'
5090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 (eval $ac_try) 2>&5
5092 ac_status=$?
5093 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; }; then
5095 tcl_cv_cpuid_h=yes
5096 else
5097 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
5098 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
5099
5100 tcl_cv_cpuid_h=no
5101 fi
5102 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
5103
5104 fi
5105 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_cpuid_h" >&5
5106 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_cpuid_h" >&6
5107 if testscip-shell system . . test. "$tcl_cv_cpuid_h" = "yes"; then
5108
5109 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5110 #define HAVE_CPUID_H 1
5111 _ACEOF
5112
5113 fi
5114
5115 # See if the <wspiapi.h> header file is present
5116
5117 echoscip-shell system . . echo. "$as_me:$LINENO: checking for wspiapi.h" >&5
5118 echoscip-shell system . . echo. $ECHO_N "checking for wspiapi.h... $ECHO_C" >&6
5119 if testscip-shell system . . test. "${tcl_cv_wspiapi_h+set}" = set; then
5120 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5121 else
5122 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
5123 /* confdefs.h. */
5124 _ACEOF
5125 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
5126 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5128
5129 #include <wspiapi.h>
5130
5131 int
5132 main ()
5133 {
5134
5135 ;
5136 return 0;
5137 }
5138 _ACEOF
5139 rmscip-shell system . . rm. -f conftest.$ac_objext
5140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5141 (eval $ac_compile) 2>conftest.er1
5142 ac_status=$?
5143 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
5144 rmscip-shell system . . rm. -f conftest.er1
5145 catscip-shell system . . cat. conftest.err >&5
5146 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } &&
5148 { ac_try='test -z "$ac_c_werror_flag"
5149 || test ! -s conftest.err'
5150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 (eval $ac_try) 2>&5
5152 ac_status=$?
5153 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; } &&
5155 { ac_try='test -s conftest.$ac_objext'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 (eval $ac_try) 2>&5
5158 ac_status=$?
5159 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; }; then
5161 tcl_cv_wspiapi_h=yes
5162 else
5163 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
5164 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
5165
5166 tcl_cv_wspiapi_h=no
5167 fi
5168 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
5169
5170 fi
5171 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_wspiapi_h" >&5
5172 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_wspiapi_h" >&6
5173 if testscip-shell system . . test. "$tcl_cv_wspiapi_h" = "yes"; then
5174
5175 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5176 #define HAVE_WSPIAPI_H 1
5177 _ACEOF
5178
5179 fi
5180
5181 # See if declarations like FINDEX_INFO_LEVELS are
5182 # missing from winbase.h. This is known to be
5183 # a problem with VC++ 5.2.
5184
5185 echoscip-shell system . . echo. "$as_me:$LINENO: checking for FINDEX_INFO_LEVELS in winbase.h" >&5
5186 echoscip-shell system . . echo. $ECHO_N "checking for FINDEX_INFO_LEVELS in winbase.h... $ECHO_C" >&6
5187 if testscip-shell system . . test. "${tcl_cv_findex_enums+set}" = set; then
5188 echoscip-shell system . . echo. $ECHO_N "(cached) $ECHO_C" >&6
5189 else
5190 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
5191 /* confdefs.h. */
5192 _ACEOF
5193 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
5194 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5196
5197 #define WIN32_LEAN_AND_MEAN
5198 #include <windows.h>
5199 #undef WIN32_LEAN_AND_MEAN
5200
5201 int
5202 main ()
5203 {
5204
5205 FINDEX_INFO_LEVELS i;
5206 FINDEX_SEARCH_OPS j;
5207
5208 ;
5209 return 0;
5210 }
5211 _ACEOF
5212 rmscip-shell system . . rm. -f conftest.$ac_objext
5213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5214 (eval $ac_compile) 2>conftest.er1
5215 ac_status=$?
5216 grepscip-shell system . . grep. -v '^ *+' conftest.er1 >conftest.err
5217 rmscip-shell system . . rm. -f conftest.er1
5218 catscip-shell system . . cat. conftest.err >&5
5219 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); } &&
5221 { ac_try='test -z "$ac_c_werror_flag"
5222 || test ! -s conftest.err'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5224 (eval $ac_try) 2>&5
5225 ac_status=$?
5226 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; } &&
5228 { ac_try='test -s conftest.$ac_objext'
5229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5230 (eval $ac_try) 2>&5
5231 ac_status=$?
5232 echoscip-shell system . . echo. "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }; }; then
5234 tcl_cv_findex_enums=yes
5235 else
5236 echoscip-shell system . . echo. "$as_me: failed program was:" >&5
5237 sedscip-shell system . . sed. 's/^/| /' conftest.$ac_ext >&5
5238
5239 tcl_cv_findex_enums=no
5240 fi
5241 rmscip-shell system . . rm. -f conftest.err conftest.$ac_objext conftest.$ac_ext
5242
5243 fi
5244 echoscip-shell system . . echo. "$as_me:$LINENO: result: $tcl_cv_findex_enums" >&5
5245 echoscip-shell system . . echo. "${ECHO_T}$tcl_cv_findex_enums" >&6
5246 if testscip-shell system . . test. "$tcl_cv_findex_enums" = "no"; then
5247
5248 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5249 #define HAVE_NO_FINDEX_ENUMS 1
5250 _ACEOF
5251
5252 fi
5253
5254 #--------------------------------------------------------------------
5255 # Set the default compiler switches based on the --enable-symbols
5256 # option. This macro depends on C flags, and should be called
5257 # after SC_CONFIG_CFLAGS macro is called.
5258 #--------------------------------------------------------------------
5259
5260
5261 echoscip-shell system . . echo. "$as_me:$LINENO: checking for build with symbols" >&5
5262 echoscip-shell system . . echo. $ECHO_N "checking for build with symbols... $ECHO_C" >&6
5263 # Check whether --enable-symbols or --disable-symbols was given.
5264 if testscip-shell system . . test. "${enable_symbols+set}" = set; then
5265 enableval="$enable_symbols"
5266 tcl_ok=$enableval
5267 else
5268 tcl_ok=no
5269 fi;
5270 # FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
5271 if testscip-shell system . . test. "$tcl_ok" = "no"; then
5272 CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
5273 LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
5274 DBGX=""
5275
5276 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5277 #define NDEBUG 1
5278 _ACEOF
5279
5280 echoscip-shell system . . echo. "$as_me:$LINENO: result: no" >&5
5281 echoscip-shell system . . echo. "${ECHO_T}no" >&6
5282
5283 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5284 #define TCL_CFG_OPTIMIZED 1
5285 _ACEOF
5286
5287 else
5288 CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
5289 LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
5290 DBGX=g
5291 if testscip-shell system . . test. "$tcl_ok" = "yes"; then
5292 echoscip-shell system . . echo. "$as_me:$LINENO: result: yes (standard debugging)" >&5
5293 echoscip-shell system . . echo. "${ECHO_T}yes (standard debugging)" >&6
5294 fi
5295 fi
5296
5297
5298
5299 if testscip-shell system . . test. "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
5300
5301 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5302 #define TCL_MEM_DEBUG 1
5303 _ACEOF
5304
5305 fi
5306
5307 if testscip-shell system . . test. "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
5308
5309 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5310 #define TCL_COMPILE_DEBUG 1
5311 _ACEOF
5312
5313
5314 catscip-shell system . . cat. >>confdefs.h <<\_ACEOF
5315 #define TCL_COMPILE_STATS 1
5316 _ACEOF
5317
5318 fi
5319
5320 if testscip-shell system . . test. "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
5321 if testscip-shell system . . test. "$tcl_ok" = "all"; then
5322 echoscip-shell system . . echo. "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5
5323 echoscip-shell system . . echo. "${ECHO_T}enabled symbols mem compile debugging" >&6
5324 else
5325 echoscip-shell system . . echo. "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
5326 echoscip-shell system . . echo. "${ECHO_T}enabled $tcl_ok debugging" >&6
5327 fi
5328 fi
5329
5330
5331 TCL_DBGX=${DBGX}
5332
5333 #--------------------------------------------------------------------
5334 # Embed the manifest if we can determine how
5335 #--------------------------------------------------------------------
5336
5337
5338 echoscip-shell system . . echo. "$as_me:$LINENO: checking whether to embed manifest" >&5
5339 echoscip-shell system . . echo. $ECHO_N "checking whether to embed manifest... $ECHO_C" >&6
5340 # Check whether --enable-embedded-manifest or --disable-embedded-manifest was given.
5341 if testscip-shell system . . test. "${enable_embedded_manifest+set}" = set; then
5342 enableval="$enable_embedded_manifest"
5343 embed_ok=$enableval
5344 else
5345 embed_ok=yes
5346 fi;
5347
5348 VC_MANIFEST_EMBED_DLL=
5349 VC_MANIFEST_EMBED_EXE=
5350 result=no
5351 if testscip-shell system . . test. "$embed_ok" = "yes" -a "${SHARED_BUILD}" = "1" \
5352 -a "$GCC" != "yes" ; then
5353 # Add the magic to embed the manifest into the dll/exe
5354 catscip-shell system . . cat. >conftest.$ac_ext <<_ACEOF
5355 /* confdefs.h. */
5356 _ACEOF
5357 catscip-shell system . . cat. confdefs.h >>conftest.$ac_ext
5358 catscip-shell system . . cat. >>conftest.$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5360
5361 #if defined(_MSC_VER) && _MSC_VER >= 1400
5362 print("manifest needed")
5363 #endif
5364
5365 _ACEOF
5366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5367 $EGREP "manifest needed" >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then
5368
5369 # Could do a CHECK_PROG for mt, but should always be with MSVC8+
5370 # Could add 'if test -f' check, but manifest should be created
5371 # in this compiler case
5372 # Add in a manifest argument that may be specified
5373 # XXX Needs improvement so that the test for existence accounts
5374 # XXX for a provided (known) manifest
5375 VC_MANIFEST_EMBED_DLL="if test -f \[email protected] ; then mt.exe -nologo -manifest \[email protected] -outputresource:\$@\;2 ; fi"
5376 VC_MANIFEST_EMBED_EXE="if test -f \[email protected] ; then mt.exe -nologo -manifest \[email protected] -outputresource:\$@\;1 ; fi"
5377 result=yes
5378 if testscip-shell system . . test. "x" != x ; then
5379 result="yes ()"
5380 fi
5381
5382 fi
5383 rmscip-shell system . . rm. -f conftest*
5384
5385 fi
5386 echoscip-shell system . . echo. "$as_me:$LINENO: result: $result" >&5
5387 echoscip-shell system . . echo. "${ECHO_T}$result" >&6
5388
5389
5390
5391
5392 #------------------------------------------------------------------------
5393 # tclConfig.sh refers to this by a different name
5394 #------------------------------------------------------------------------
5395
5396 TCL_SHARED_BUILD=${SHARED_BUILD}
5397
5398 #--------------------------------------------------------------------
5399 # Perform final evaluations of variables with possible substitutions.
5400 #--------------------------------------------------------------------
5401
5402 eval "TCL_SRC_DIR=\"`cd $srcdir/..; $CYGPATH $(pwdscip-shell system . . pwd.)`\""
5403
5404 eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}"
5405
5406 eval "TCL_LIB_FLAG=\"-ltcl${VER}${LIBFLAGSUFFIX}\""
5407 eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\""
5408 eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBFLAGSUFFIX}\""
5409 eval "TCL_BUILD_STUB_LIB_SPEC=\"-L`$CYGPATH $(pwdscip-shell system . . pwd.)` ${TCL_STUB_LIB_FLAG}\""
5410 eval "TCL_STUB_LIB_SPEC=\"-L${libdir} ${TCL_STUB_LIB_FLAG}\""
5411 eval "TCL_BUILD_STUB_LIB_PATH=\"`$CYGPATH $(pwdscip-shell system . . pwd.)`/${TCL_STUB_LIB_FILE}\""
5412 eval "TCL_STUB_LIB_PATH=\"${libdir}/${TCL_STUB_LIB_FILE}\""
5413
5414 if testscip-shell system . . test. ${SHARED_BUILD} = 0 -o "$GCC" != "yes" ; then
5415 eval "TCL_LIB_FLAG=\"${LIBPREFIX}tcl${VER}${LIBSUFFIX}\""
5416 eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${LIBSUFFIX}\""
5417 else
5418 eval "TCL_LIB_FLAG=\"-ltcl${VER}${FLAGSUFFIX}\""
5419 eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${DLLSUFFIX}.a\""
5420 fi
5421 eval "TCL_BUILD_LIB_SPEC=\"-L`$CYGPATH $(pwdscip-shell system . . pwd.)` ${TCL_LIB_FLAG}\""
5422 eval "TCL_LIB_SPEC=\"-L${libdir} ${TCL_LIB_FLAG}\""
5423
5424 # Install time header dir can be set via --includedir
5425 eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
5426
5427 eval "DLLSUFFIX=${DLLSUFFIX}"
5428 eval "LIBPREFIX=${LIBPREFIX}"
5429 eval "LIBSUFFIX=${LIBSUFFIX}"
5430 eval "EXESUFFIX=${EXESUFFIX}"
5431
5432 TCL_SHARED_LIB_SUFFIX="\${NODOT_VERSION}${DLLSUFFIX}"
5433 TCL_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
5434
5435 CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}
5436 CFG_TCL_UNSHARED_LIB_SUFFIX=${TCL_UNSHARED_LIB_SUFFIX}
5437
5438 #--------------------------------------------------------------------
5439 # Adjust the defines for how the resources are built depending
5440 # on symbols and static vs. shared.
5441 #--------------------------------------------------------------------
5442
5443 if testscip-shell system . . test. ${SHARED_BUILD} = 0 ; then
5444 if testscip-shell system . . test. "${DBGX}" = "g"; then
5445 RC_DEFINES="${RC_DEFINE} STATIC_BUILD ${RC_DEFINE} DEBUG"
5446 else
5447 RC_DEFINES="${RC_DEFINE} STATIC_BUILD"
5448 fi
5449 else
5450 if testscip-shell system . . test. "${DBGX}" = "g"; then
5451 RC_DEFINES="${RC_DEFINE} DEBUG"
5452 else
5453 RC_DEFINES=""
5454 fi
5455 fi
5456
5457 #--------------------------------------------------------------------
5458 # The statements below define the symbol TCL_PACKAGE_PATH, which
5459 # gives a list of directories that may contain packages. The list
5460 # consists of one directory for machine-dependent binaries and
5461 # another for platform-independent scripts.
5462 #--------------------------------------------------------------------
5463
5464 if testscip-shell system . . test. "$prefix/lib" != "$libdir"; then
5465 TCL_PACKAGE_PATH="${libdir};${prefix}\\lib"
5466 else
5467 TCL_PACKAGE_PATH="${prefix}\\lib"
5468 fi
5469
5470 # The tclsh.exe.manifest requires these
5471 # TCL_WIN_VERSION is the 4 dotted pair Windows version format which needs
5472 # the release level, and must account for interim release versioning
5473 case "$TCL_PATCH_LEVEL" in
5474 *a*) TCL_RELEASE_LEVEL=0 ;;
5475 *b*) TCL_RELEASE_LEVEL=1 ;;
5476 *) TCL_RELEASE_LEVEL=2 ;;
5477 esac
5478 TCL_WIN_VERSION="$TCL_VERSION.$TCL_RELEASE_LEVEL.`echoscip-shell system . . echo. $TCL_PATCH_LEVEL | trscip-shell system . . tr. -d ab.`"
5479
5480 # X86|AMD64|ARM64|IA64 for manifest
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496 # empty on win
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514 # win/tcl.m4 doesn't set (CFLAGS)
5515
5516
5517
5518
5519
5520
5521
5522 # win/tcl.m4 doesn't set (LDFLAGS)
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551 # empty on win, but needs sub'ing
5552
5553
5554
5555
5556
5557
5558
5559
5560 # win only
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576 ac_config_files="$ac_config_files Makefile tclConfig.sh tcl.hpj tclsh.exe.manifest tcl.pc:../unix/tcl.pc.in"
5577
5578 catscip-shell system . . cat. >confcache <<\_ACEOF
5579 # This file is a shell script that caches the results of configure
5580 # tests run on this system so they can be shared between configure
5581 # scripts and configure runs, see configure's option --config-cache.
5582 # It is not useful on other systems. If it contains results you don't
5583 # want to keep, you may remove or edit it.
5584 #
5585 # config.status only pays attention to the cache file if you give it
5586 # the --recheck option to rerun configure.
5587 #
5588 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5589 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5590 # following values.
5591
5592 _ACEOF
5593
5594 # The following way of writing the cache mishandles newlines in values,
5595 # but we know of no workaround that is simple, portable, and efficient.
5596 # So, don't put newlines in cache variables' values.
5597 # Ultrix sh set writes to stderr and can't be redirected directly,
5598 # and sets the high bit in the cache file unless we assign to the vars.
5599 {
5600 (set) 2>&1 |
5601 case `(ac_space=' '; set | grepscip-shell system . . grep. ac_space) 2>&1` in
5602 *ac_space=\ *)
5603 # `set' does not quote correctly, so add quotes (double-quote
5604 # substitution turns \\\\ into \\, and sed turns \\ into \).
5605 sedscip-shell system . . sed. -n \
5606 "s/'/'\\\\''/g;
5607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5608 ;;
5609 *)
5610 # `set' quotes correctly as required by POSIX, so do not add quotes.
5611 sedscip-shell system . . sed. -n \
5612 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5613 ;;
5614 esac;
5615 } |
5616 sedscip-shell system . . sed. '
5617 t clear
5618 : clear
5619 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5620 t end
5621 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5622 : end' >>confcache
5623 if diffscip-shell system . . diff. $cache_file confcache >/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then :; else
5624 if testscip-shell system . . test. -w $cache_file; then
5625 testscip-shell system . . test. "x$cache_file" != "x/dev/null" && echoscip-shell system . . echo. "updating cache $cache_file"
5626 catscip-shell system . . cat. confcache >$cache_file
5627 else
5628 echoscip-shell system . . echo. "not updating unwritable cache $cache_file"
5629 fi
5630 fi
5631 rmscip-shell system . . rm. -f confcache
5632
5633 testscip-shell system . . test. "x$prefix" = xNONE && prefix=$ac_default_prefix
5634 # Let make expand exec_prefix.
5635 testscip-shell system . . test. "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5636
5637 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5638 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5639 # trailing colons and then remove the whole line if VPATH becomes empty
5640 # (actually we leave an empty line to preserve line numbers).
5641 if testscip-shell system . . test. "x$srcdir" = x.; then
5642 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5643 s/:*\$(srcdir):*/:/;
5644 s/:*\${srcdir}:*/:/;
5645 s/:*@srcdir@:*/:/;
5646 s/^\([^=]*=[ ]*\):*/\1/;
5647 s/:*$//;
5648 s/^[^=]*=[ ]*$//;
5649 }'
5650 fi
5651
5652 # Transform confdefs.h into DEFS.
5653 # Protect against shell expansion while executing Makefile rules.
5654 # Protect against Makefile macro expansion.
5655 #
5656 # If the first sed substitution is executed (which looks for macros that
5657 # take arguments), then we branch to the quote section. Otherwise,
5658 # look for a macro that doesn't take arguments.
5659 catscip-shell system . . cat. >confdef2opt.sed <<\_ACEOF
5660 t clear
5661 : clear
5662 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5663 t quote
5664 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5665 t quote
5666 d
5667 : quote
5668 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5669 s,\[,\\&,g
5670 s,\],\\&,g
5671 s,\$,$$,g
5672 p
5673 _ACEOF
5674 # We use echo to avoid assuming a particular line-breaking character.
5675 # The extra dot is to prevent the shell from consuming trailing
5676 # line-breaks from the sub-command output. A line-break within
5677 # single-quotes doesn't work because, if this script is created in a
5678 # platform that uses two characters for line-breaks (e.g., DOS), tr
5679 # would break.
5680 ac_LF_and_DOT=`echoscip-shell system . . echo.; echoscip-shell system . . echo. .`
5681 DEFS=`sedscip-shell system . . sed. -n -f confdef2opt.sed confdefs.h | trscip-shell system . . tr. "$ac_LF_and_DOT" ' .'`
5682 rmscip-shell system . . rm. -f confdef2opt.sed
5683
5684
5685 ac_libobjs=
5686 ac_ltlibobjs=
5687 for ac_i in : $LIBOBJS; do testscip-shell system . . test. "x$ac_i" = x: && continue
5688 # 1. Remove the extension, and $U if already installed.
5689 ac_i=`echoscip-shell system . . echo. "$ac_i" |
5690 sedscip-shell system . . sed. 's/\$U\././;s/\.o$//;s/\.obj$//'`
5691 # 2. Add them.
5692 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5693 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5694 done
5695 LIBOBJS=$ac_libobjs
5696
5697 LTLIBOBJS=$ac_ltlibobjs
5698
5699
5700
5701 : ${CONFIG_STATUS=./config.status}
5702 ac_clean_files_save=$ac_clean_files
5703 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5704 { echoscip-shell system . . echo. "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5705 echoscip-shell system . . echo. "$as_me: creating $CONFIG_STATUS" >&6;}
5706 catscip-shell system . . cat. >$CONFIG_STATUS <<_ACEOF
5707 #! $SHELL
5708 # Generated by $as_me.
5709 # Run this file to recreate the current configuration.
5710 # Compiler output produced by configure, useful for debugging
5711 # configure, is in config.log if it exists.
5712
5713 debug=false
5714 ac_cs_recheck=false
5715 ac_cs_silent=false
5716 SHELL=\${CONFIG_SHELL-$SHELL}
5717 _ACEOF
5718
5719 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
5720 ## --------------------- ##
5721 ## M4sh Initialization. ##
5722 ## --------------------- ##
5723
5724 # Be Bourne compatible
5725 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5726 emulate sh
5727 NULLCMD=:
5728 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5729 # is contrary to our usage. Disable this feature.
5730 alias -g '${1+"$@"}'='"$@"'
5731 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5732 set -o posix
5733 fi
5734 DUALCASE=1; export DUALCASE # for MKS sh
5735
5736 # Support unset when possible.
5737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5738 as_unset=unset
5739 else
5740 as_unset=false
5741 fi
5742
5743
5744 # Work around bugs in pre-3.0 UWIN ksh.
5745 $as_unset ENV MAIL MAILPATH
5746 PS1='$ '
5747 PS2='> '
5748 PS4='+ '
5749
5750 # NLS nuisances.
5751 for as_var in \
5752 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5753 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5754 LC_TELEPHONE LC_TIME
5755 do
5756 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5757 eval $as_var=C; export $as_var
5758 else
5759 $as_unset $as_var
5760 fi
5761 done
5762
5763 # Required to use basename.
5764 if expr a : '\(a\)' >/dev/null 2>&1; then
5765 as_expr=expr
5766 else
5767 as_expr=false
5768 fi
5769
5770 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5771 as_basename=basename
5772 else
5773 as_basename=false
5774 fi
5775
5776
5777 # Name of the executable.
5778 as_me=`$as_basename "$0" ||
5779 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5780 X"$0" : 'X\(//\)$' \| \
5781 X"$0" : 'X\(/\)$' \| \
5782 . : '\(.\)' 2>/dev/null ||
5783 echo X/"$0" |
5784 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5785 /^X\/\(\/\/\)$/{ s//\1/; q; }
5786 /^X\/\(\/\).*/{ s//\1/; q; }
5787 s/.*/./; q'`
5788
5789
5790 # PATH needs CR, and LINENO needs CR and PATH.
5791 # Avoid depending upon Character Ranges.
5792 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5793 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5794 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5795 as_cr_digits='0123456789'
5796 as_cr_alnum=$as_cr_Letters$as_cr_digits
5797
5798 # The user is always right.
5799 if test "${PATH_SEPARATOR+set}" != set; then
5800 echo "#! /bin/sh" >conf$$.sh
5801 echo "exit 0" >>conf$$.sh
5802 chmod +x conf$$.sh
5803 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5804 PATH_SEPARATOR=';'
5805 else
5806 PATH_SEPARATOR=:
5807 fi
5808 rm -f conf$$.sh
5809 fi
5810
5811
5812 as_lineno_1=$LINENO
5813 as_lineno_2=$LINENO
5814 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5815 test "x$as_lineno_1" != "x$as_lineno_2" &&
5816 test "x$as_lineno_3" = "x$as_lineno_2" || {
5817 # Find who we are. Look in the path if we contain no path at all
5818 # relative or not.
5819 case $0 in
5820 *[\\/]* ) as_myself=$0 ;;
5821 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5823 do
5824 IFS=$as_save_IFS
5825 test -z "$as_dir" && as_dir=.
5826 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5827 done
5828
5829 ;;
5830 esac
5831 # We did not find ourselves, most probably we were run as `sh COMMAND'
5832 # in which case we are not to be found in the path.
5833 if test "x$as_myself" = x; then
5834 as_myself=$0
5835 fi
5836 if test ! -f "$as_myself"; then
5837 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5838 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5839 { (exit 1); exit 1; }; }
5840 fi
5841 case $CONFIG_SHELL in
5842 '')
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5845 do
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for as_base in sh bash ksh sh5; do
5849 case $as_dir in
5850 /*)
5851 if ("$as_dir/$as_base" -c '
5852 as_lineno_1=$LINENO
5853 as_lineno_2=$LINENO
5854 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5855 test "x$as_lineno_1" != "x$as_lineno_2" &&
5856 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5857 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5858 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5859 CONFIG_SHELL=$as_dir/$as_base
5860 export CONFIG_SHELL
5861 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5862 fi;;
5863 esac
5864 done
5865 done
5866 ;;
5867 esac
5868
5869 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5870 # uniformly replaced by the line number. The first 'sed' inserts a
5871 # line-number line before each line; the second 'sed' does the real
5872 # work. The second script uses 'N' to pair each line-number line
5873 # with the numbered line, and appends trailing '-' during
5874 # substitution so that $LINENO is not a special case at line end.
5875 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5876 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5877 sed '=' <$as_myself |
5878 sed '
5879 N
5880 s,$,-,
5881 : loop
5882 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5883 t loop
5884 s,-$,,
5885 s,^['$as_cr_digits']*\n,,
5886 ' >$as_me.lineno &&
5887 chmod +x $as_me.lineno ||
5888 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5889 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5890 { (exit 1); exit 1; }; }
5891
5892 # Don't try to exec as it changes $[0], causing all sort of problems
5893 # (the dirname of $[0] is not the place where we might find the
5894 # original and so on. Autoconf is especially sensible to this).
5895 . ./$as_me.lineno
5896 # Exit status is that of the last command.
5897 exit
5898 }
5899
5900
5901 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5902 *c*,-n*) ECHO_N= ECHO_C='
5903 ' ECHO_T=' ' ;;
5904 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5905 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5906 esac
5907
5908 if expr a : '\(a\)' >/dev/null 2>&1; then
5909 as_expr=expr
5910 else
5911 as_expr=false
5912 fi
5913
5914 rm -f conf$$ conf$$.exe conf$$.file
5915 echo >conf$$.file
5916 if ln -s conf$$.file conf$$ 2>/dev/null; then
5917 # We could just check for DJGPP; but this test a) works b) is more generic
5918 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5919 if test -f conf$$.exe; then
5920 # Don't use ln at all; we don't have any links
5921 as_ln_s='cp -p'
5922 else
5923 as_ln_s='ln -s'
5924 fi
5925 elif ln conf$$.file conf$$ 2>/dev/null; then
5926 as_ln_s=ln
5927 else
5928 as_ln_s='cp -p'
5929 fi
5930 rm -f conf$$ conf$$.exe conf$$.file
5931
5932 if mkdir -p . 2>/dev/null; then
5933 as_mkdir_p=:
5934 else
5935 test -d ./-p && rmdir ./-p
5936 as_mkdir_p=false
5937 fi
5938
5939 as_executable_p="test -f"
5940
5941 # Sed expression to map a string onto a valid CPP name.
5942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5943
5944 # Sed expression to map a string onto a valid variable name.
5945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5946
5947
5948 # IFS
5949 # We need space, tab and new line, in precisely that order.
5950 as_nl='
5951 '
5952 IFS=" $as_nl"
5953
5954 # CDPATH.
5955 $as_unset CDPATH
5956
5957 exec 6>&1
5958
5959 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5960 # report actual input values of CONFIG_FILES etc. instead of their
5961 # values after options handling. Logging --version etc. is OK.
5962 exec 5>>config.log
5963 {
5964 echo
5965 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5966 ## Running $as_me. ##
5967 _ASBOX
5968 } >&5
5969 cat >&5 <<_CSEOF
5970
5971 This file was extended by tcl $as_me 8.6, which was
5972 generated by GNU Autoconf 2.59. Invocation command line was
5973
5974 CONFIG_FILES = $CONFIG_FILES
5975 CONFIG_HEADERS = $CONFIG_HEADERS
5976 CONFIG_LINKS = $CONFIG_LINKS
5977 CONFIG_COMMANDS = $CONFIG_COMMANDS
5978 $ $0 $@
5979
5980 _CSEOF
5981 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5982 echo >&5
5983 _ACEOF
5984
5985 # Files that config.status was made for.
5986 if testscip-shell system . . test. -n "$ac_config_files"; then
5987 echoscip-shell system . . echo. "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5988 fi
5989
5990 if testscip-shell system . . test. -n "$ac_config_headers"; then
5991 echoscip-shell system . . echo. "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5992 fi
5993
5994 if testscip-shell system . . test. -n "$ac_config_links"; then
5995 echoscip-shell system . . echo. "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5996 fi
5997
5998 if testscip-shell system . . test. -n "$ac_config_commands"; then
5999 echoscip-shell system . . echo. "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6000 fi
6001
6002 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6003
6004 ac_cs_usage="\
6005 \`$as_me' instantiates files from templates according to the
6006 current configuration.
6007
6008 Usage: $0 [OPTIONS] [FILE]...
6009
6010 -h, --help print this help, then exit
6011 -V, --version print version number, then exit
6012 -q, --quiet do not print progress messages
6013 -d, --debug don't remove temporary files
6014 --recheck update $as_me by reconfiguring in the same conditions
6015 --file=FILE[:TEMPLATE]
6016 instantiate the configuration file FILE
6017
6018 Configuration files:
6019 $config_files
6020
6021 Report bugs to <[email protected]>."
6022 _ACEOF
6023
6024 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
6025 ac_cs_version="\\
6026 tcl config.status 8.6
6027 configured by $0, generated by GNU Autoconf 2.59,
6028 with options \\"`echo "scip-shell system . . echo.$ac_configure_args" | sed 'scip-shell system . . sed.s/[\\""\`\$]/\\\\&/g'`\\"
6029
6030 Copyright (C) 2003 Free Software Foundation, Inc.
6031 This config.status script is free software; the Free Software Foundation
6032 gives unlimited permission to copy, distribute and modify it."
6033 srcdir=$srcdir
6034 _ACEOF
6035
6036 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6037 # If no file are specified by the user, then we need to provide default
6038 # value. By we need to know if files were specified by the user.
6039 ac_need_defaults=:
6040 while test $# != 0
6041 do
6042 case $1 in
6043 --*=*)
6044 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6045 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6046 ac_shift=:
6047 ;;
6048 -*)
6049 ac_option=$1
6050 ac_optarg=$2
6051 ac_shift=shift
6052 ;;
6053 *) # This is not an option, so the user has probably given explicit
6054 # arguments.
6055 ac_option=$1
6056 ac_need_defaults=false;;
6057 esac
6058
6059 case $ac_option in
6060 # Handling of the options.
6061 _ACEOF
6062 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6063 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6064 ac_cs_recheck=: ;;
6065 --version | --vers* | -V )
6066 echo "$ac_cs_version"; exit 0 ;;
6067 --he | --h)
6068 # Conflict between --help and --header
6069 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6070 Try \`$0 --help' for more information." >&5
6071 echo "$as_me: error: ambiguous option: $1
6072 Try \`$0 --help' for more information." >&2;}
6073 { (exit 1); exit 1; }; };;
6074 --help | --hel | -h )
6075 echo "$ac_cs_usage"; exit 0 ;;
6076 --debug | --d* | -d )
6077 debug=: ;;
6078 --file | --fil | --fi | --f )
6079 $ac_shift
6080 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6081 ac_need_defaults=false;;
6082 --header | --heade | --head | --hea )
6083 $ac_shift
6084 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6085 ac_need_defaults=false;;
6086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6087 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6088 ac_cs_silent=: ;;
6089
6090 # This is an error.
6091 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6092 Try \`$0 --help' for more information." >&5
6093 echo "$as_me: error: unrecognized option: $1
6094 Try \`$0 --help' for more information." >&2;}
6095 { (exit 1); exit 1; }; } ;;
6096
6097 *) ac_config_targets="$ac_config_targets $1" ;;
6098
6099 esac
6100 shift
6101 done
6102
6103 ac_configure_extra_args=
6104
6105 if $ac_cs_silent; then
6106 exec 6>/dev/null
6107 ac_configure_extra_args="$ac_configure_extra_args --silent"
6108 fi
6109
6110 _ACEOF
6111 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
6112 if \$ac_cs_recheck; then
6113 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6114 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6115 fi
6116
6117 _ACEOF
6118
6119
6120
6121
6122
6123 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6124 for ac_config_target in $ac_config_targets
6125 do
6126 case "$ac_config_target" in
6127 # Handling of arguments.
6128 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6129 "tclConfig.sh" ) CONFIG_FILES="$CONFIG_FILES tclConfig.sh" ;;
6130 "tcl.hpj" ) CONFIG_FILES="$CONFIG_FILES tcl.hpj" ;;
6131 "tclsh.exe.manifest" ) CONFIG_FILES="$CONFIG_FILES tclsh.exe.manifest" ;;
6132 "tcl.pc" ) CONFIG_FILES="$CONFIG_FILES tcl.pc:../unix/tcl.pc.in" ;;
6133 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6134 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6135 { (exit 1); exit 1; }; };;
6136 esac
6137 done
6138
6139 # If the user did not use the arguments to specify the items to instantiate,
6140 # then the envvar interface is used. Set only those that are not.
6141 # We use the long form for the default assignment because of an extremely
6142 # bizarre bug on SunOS 4.1.3.
6143 if $ac_need_defaults; then
6144 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6145 fi
6146
6147 # Have a temporary directory for convenience. Make it in the build tree
6148 # simply because there is no reason to put it here, and in addition,
6149 # creating and moving files from /tmp can sometimes cause problems.
6150 # Create a temporary directory, and hook for its removal unless debugging.
6151 $debug ||
6152 {
6153 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6154 trap '{ (exit 1); exit 1; }' 1 2 13 15
6155 }
6156
6157 # Create a (secure) tmp directory for tmp files.
6158
6159 {
6160 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6161 test -n "$tmp" && test -d "$tmp"
6162 } ||
6163 {
6164 tmp=./confstat$$-$RANDOM
6165 (umask 077 && mkdir $tmp)
6166 } ||
6167 {
6168 echo "$me: cannot create a temporary directory in ." >&2
6169 { (exit 1); exit 1; }
6170 }
6171
6172 _ACEOF
6173
6174 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
6175
6176 #
6177 # CONFIG_FILES section.
6178 #
6179
6180 # No need to generate the scripts if there are no CONFIG_FILES.
6181 # This happens for instance when ./config.status config.h
6182 if test -n "\$CONFIG_FILES"; then
6183 # Protect against being on the right side of a sed subst in config.status.
6184 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6185 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6186 s,@SHELL@,$SHELL,;t t
6187 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6188 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6189 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6190 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6191 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6192 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6193 s,@exec_prefix@,$exec_prefix,;t t
6194 s,@prefix@,$prefix,;t t
6195 s,@program_transform_name@,$program_transform_name,;t t
6196 s,@bindir@,$bindir,;t t
6197 s,@sbindir@,$sbindir,;t t
6198 s,@libexecdir@,$libexecdir,;t t
6199 s,@datadir@,$datadir,;t t
6200 s,@sysconfdir@,$sysconfdir,;t t
6201 s,@sharedstatedir@,$sharedstatedir,;t t
6202 s,@localstatedir@,$localstatedir,;t t
6203 s,@libdir@,$libdir,;t t
6204 s,@includedir@,$includedir,;t t
6205 s,@oldincludedir@,$oldincludedir,;t t
6206 s,@infodir@,$infodir,;t t
6207 s,@mandir@,$mandir,;t t
6208 s,@build_alias@,$build_alias,;t t
6209 s,@host_alias@,$host_alias,;t t
6210 s,@target_alias@,$target_alias,;t t
6211 s,@DEFS@,$DEFS,;t t
6212 s,@ECHO_C@,$ECHO_C,;t t
6213 s,@ECHO_N@,$ECHO_N,;t t
6214 s,@ECHO_T@,$ECHO_T,;t t
6215 s,@LIBS@,$LIBS,;t t
6216 s,@CC@,$CC,;t t
6217 s,@CFLAGS@,$CFLAGS,;t t
6218 s,@LDFLAGS@,$LDFLAGS,;t t
6219 s,@CPPFLAGS@,$CPPFLAGS,;t t
6220 s,@ac_ct_CC@,$ac_ct_CC,;t t
6221 s,@EXEEXT@,$EXEEXT,;t t
6222 s,@OBJEXT@,$OBJEXT,;t t
6223 s,@CPP@,$CPP,;t t
6224 s,@EGREP@,$EGREP,;t t
6225 s,@AR@,$AR,;t t
6226 s,@ac_ct_AR@,$ac_ct_AR,;t t
6227 s,@RANLIB@,$RANLIB,;t t
6228 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6229 s,@RC@,$RC,;t t
6230 s,@ac_ct_RC@,$ac_ct_RC,;t t
6231 s,@SET_MAKE@,$SET_MAKE,;t t
6232 s,@TCL_THREADS@,$TCL_THREADS,;t t
6233 s,@CYGPATH@,$CYGPATH,;t t
6234 s,@WINE@,$WINE,;t t
6235 s,@CELIB_DIR@,$CELIB_DIR,;t t
6236 s,@DL_LIBS@,$DL_LIBS,;t t
6237 s,@CFLAGS_DEBUG@,$CFLAGS_DEBUG,;t t
6238 s,@CFLAGS_OPTIMIZE@,$CFLAGS_OPTIMIZE,;t t
6239 s,@CFLAGS_WARNING@,$CFLAGS_WARNING,;t t
6240 s,@CFLAGS_NOLTO@,$CFLAGS_NOLTO,;t t
6241 s,@ZLIB_DLL_FILE@,$ZLIB_DLL_FILE,;t t
6242 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
6243 s,@ZLIB_OBJS@,$ZLIB_OBJS,;t t
6244 s,@TCL_ZLIB_LIB_NAME@,$TCL_ZLIB_LIB_NAME,;t t
6245 s,@CFLAGS_DEFAULT@,$CFLAGS_DEFAULT,;t t
6246 s,@LDFLAGS_DEFAULT@,$LDFLAGS_DEFAULT,;t t
6247 s,@VC_MANIFEST_EMBED_DLL@,$VC_MANIFEST_EMBED_DLL,;t t
6248 s,@VC_MANIFEST_EMBED_EXE@,$VC_MANIFEST_EMBED_EXE,;t t
6249 s,@TCL_WIN_VERSION@,$TCL_WIN_VERSION,;t t
6250 s,@MACHINE@,$MACHINE,;t t
6251 s,@TCL_VERSION@,$TCL_VERSION,;t t
6252 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
6253 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
6254 s,@TCL_PATCH_LEVEL@,$TCL_PATCH_LEVEL,;t t
6255 s,@PKG_CFG_ARGS@,$PKG_CFG_ARGS,;t t
6256 s,@TCL_EXE@,$TCL_EXE,;t t
6257 s,@TCL_LIB_FILE@,$TCL_LIB_FILE,;t t
6258 s,@TCL_LIB_FLAG@,$TCL_LIB_FLAG,;t t
6259 s,@TCL_STATIC_LIB_FILE@,$TCL_STATIC_LIB_FILE,;t t
6260 s,@TCL_STATIC_LIB_FLAG@,$TCL_STATIC_LIB_FLAG,;t t
6261 s,@TCL_IMPORT_LIB_FILE@,$TCL_IMPORT_LIB_FILE,;t t
6262 s,@TCL_IMPORT_LIB_FLAG@,$TCL_IMPORT_LIB_FLAG,;t t
6263 s,@TCL_LIBS@,$TCL_LIBS,;t t
6264 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
6265 s,@TCL_STUB_LIB_FILE@,$TCL_STUB_LIB_FILE,;t t
6266 s,@TCL_STUB_LIB_FLAG@,$TCL_STUB_LIB_FLAG,;t t
6267 s,@TCL_STUB_LIB_SPEC@,$TCL_STUB_LIB_SPEC,;t t
6268 s,@TCL_STUB_LIB_PATH@,$TCL_STUB_LIB_PATH,;t t
6269 s,@TCL_INCLUDE_SPEC@,$TCL_INCLUDE_SPEC,;t t
6270 s,@TCL_BUILD_STUB_LIB_SPEC@,$TCL_BUILD_STUB_LIB_SPEC,;t t
6271 s,@TCL_BUILD_STUB_LIB_PATH@,$TCL_BUILD_STUB_LIB_PATH,;t t
6272 s,@TCL_DLL_FILE@,$TCL_DLL_FILE,;t t
6273 s,@TCL_SRC_DIR@,$TCL_SRC_DIR,;t t
6274 s,@TCL_BIN_DIR@,$TCL_BIN_DIR,;t t
6275 s,@TCL_DBGX@,$TCL_DBGX,;t t
6276 s,@CFG_TCL_SHARED_LIB_SUFFIX@,$CFG_TCL_SHARED_LIB_SUFFIX,;t t
6277 s,@CFG_TCL_UNSHARED_LIB_SUFFIX@,$CFG_TCL_UNSHARED_LIB_SUFFIX,;t t
6278 s,@EXTRA_CFLAGS@,$EXTRA_CFLAGS,;t t
6279 s,@DEPARG@,$DEPARG,;t t
6280 s,@CC_OBJNAME@,$CC_OBJNAME,;t t
6281 s,@CC_EXENAME@,$CC_EXENAME,;t t
6282 s,@LDFLAGS_DEBUG@,$LDFLAGS_DEBUG,;t t
6283 s,@LDFLAGS_OPTIMIZE@,$LDFLAGS_OPTIMIZE,;t t
6284 s,@LDFLAGS_CONSOLE@,$LDFLAGS_CONSOLE,;t t
6285 s,@LDFLAGS_WINDOW@,$LDFLAGS_WINDOW,;t t
6286 s,@STLIB_LD@,$STLIB_LD,;t t
6287 s,@SHLIB_LD@,$SHLIB_LD,;t t
6288 s,@SHLIB_LD_LIBS@,$SHLIB_LD_LIBS,;t t
6289 s,@SHLIB_CFLAGS@,$SHLIB_CFLAGS,;t t
6290 s,@SHLIB_SUFFIX@,$SHLIB_SUFFIX,;t t
6291 s,@TCL_SHARED_BUILD@,$TCL_SHARED_BUILD,;t t
6292 s,@LIBS_GUI@,$LIBS_GUI,;t t
6293 s,@DLLSUFFIX@,$DLLSUFFIX,;t t
6294 s,@LIBPREFIX@,$LIBPREFIX,;t t
6295 s,@LIBSUFFIX@,$LIBSUFFIX,;t t
6296 s,@EXESUFFIX@,$EXESUFFIX,;t t
6297 s,@LIBRARIES@,$LIBRARIES,;t t
6298 s,@MAKE_LIB@,$MAKE_LIB,;t t
6299 s,@MAKE_STUB_LIB@,$MAKE_STUB_LIB,;t t
6300 s,@POST_MAKE_LIB@,$POST_MAKE_LIB,;t t
6301 s,@MAKE_DLL@,$MAKE_DLL,;t t
6302 s,@MAKE_EXE@,$MAKE_EXE,;t t
6303 s,@TCL_BUILD_LIB_SPEC@,$TCL_BUILD_LIB_SPEC,;t t
6304 s,@TCL_CC_SEARCH_FLAGS@,$TCL_CC_SEARCH_FLAGS,;t t
6305 s,@TCL_LD_SEARCH_FLAGS@,$TCL_LD_SEARCH_FLAGS,;t t
6306 s,@TCL_BUILD_EXP_FILE@,$TCL_BUILD_EXP_FILE,;t t
6307 s,@TCL_EXP_FILE@,$TCL_EXP_FILE,;t t
6308 s,@TCL_PACKAGE_PATH@,$TCL_PACKAGE_PATH,;t t
6309 s,@TCL_DDE_VERSION@,$TCL_DDE_VERSION,;t t
6310 s,@TCL_DDE_MAJOR_VERSION@,$TCL_DDE_MAJOR_VERSION,;t t
6311 s,@TCL_DDE_MINOR_VERSION@,$TCL_DDE_MINOR_VERSION,;t t
6312 s,@TCL_REG_VERSION@,$TCL_REG_VERSION,;t t
6313 s,@TCL_REG_MAJOR_VERSION@,$TCL_REG_MAJOR_VERSION,;t t
6314 s,@TCL_REG_MINOR_VERSION@,$TCL_REG_MINOR_VERSION,;t t
6315 s,@RC_OUT@,$RC_OUT,;t t
6316 s,@RC_TYPE@,$RC_TYPE,;t t
6317 s,@RC_INCLUDE@,$RC_INCLUDE,;t t
6318 s,@RC_DEFINE@,$RC_DEFINE,;t t
6319 s,@RC_DEFINES@,$RC_DEFINES,;t t
6320 s,@RES@,$RES,;t t
6321 s,@LIBOBJS@,$LIBOBJS,;t t
6322 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6323 CEOF
6324
6325 _ACEOF
6326
6327 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6328 # Split the substitutions into bite-sized pieces for seds with
6329 # small command number limits, like on Digital OSF/1 and HP-UX.
6330 ac_max_sed_lines=48
6331 ac_sed_frag=1 # Number of current file.
6332 ac_beg=1 # First line for current file.
6333 ac_end=$ac_max_sed_lines # Line after last line for current file.
6334 ac_more_lines=:
6335 ac_sed_cmds=
6336 while $ac_more_lines; do
6337 if test $ac_beg -gt 1; then
6338 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6339 else
6340 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6341 fi
6342 if test ! -s $tmp/subs.frag; then
6343 ac_more_lines=false
6344 else
6345 # The purpose of the label and of the branching condition is to
6346 # speed up the sed processing (if there are no `@' at all, there
6347 # is no need to browse any of the substitutions).
6348 # These are the two extra sed commands mentioned above.
6349 (echo ':t
6350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6351 if test -z "$ac_sed_cmds"; then
6352 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6353 else
6354 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6355 fi
6356 ac_sed_frag=`expr $ac_sed_frag + 1`
6357 ac_beg=$ac_end
6358 ac_end=`expr $ac_end + $ac_max_sed_lines`
6359 fi
6360 done
6361 if test -z "$ac_sed_cmds"; then
6362 ac_sed_cmds=cat
6363 fi
6364 fi # test -n "$CONFIG_FILES"
6365
6366 _ACEOF
6367 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6368 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6369 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6370 case $ac_file in
6371 - | *:- | *:-:* ) # input from stdin
6372 cat >$tmp/stdin
6373 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6374 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6375 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6376 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6377 * ) ac_file_in=$ac_file.in ;;
6378 esac
6379
6380 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6381 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6383 X"$ac_file" : 'X\(//\)[^/]' \| \
6384 X"$ac_file" : 'X\(//\)$' \| \
6385 X"$ac_file" : 'X\(/\)' \| \
6386 . : '\(.\)' 2>/dev/null ||
6387 echo X"$ac_file" |
6388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6390 /^X\(\/\/\)$/{ s//\1/; q; }
6391 /^X\(\/\).*/{ s//\1/; q; }
6392 s/.*/./; q'`
6393 { if $as_mkdir_p; then
6394 mkdir -p "$ac_dir"
6395 else
6396 as_dir="$ac_dir"
6397 as_dirs=
6398 while test ! -d "$as_dir"; do
6399 as_dirs="$as_dir $as_dirs"
6400 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6401 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6402 X"$as_dir" : 'X\(//\)[^/]' \| \
6403 X"$as_dir" : 'X\(//\)$' \| \
6404 X"$as_dir" : 'X\(/\)' \| \
6405 . : '\(.\)' 2>/dev/null ||
6406 echo X"$as_dir" |
6407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6409 /^X\(\/\/\)$/{ s//\1/; q; }
6410 /^X\(\/\).*/{ s//\1/; q; }
6411 s/.*/./; q'`
6412 done
6413 test ! -n "$as_dirs" || mkdir $as_dirs
6414 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6415 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6416 { (exit 1); exit 1; }; }; }
6417
6418 ac_builddir=.
6419
6420 if test "$ac_dir" != .; then
6421 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6422 # A "../" for each directory in $ac_dir_suffix.
6423 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6424 else
6425 ac_dir_suffix= ac_top_builddir=
6426 fi
6427
6428 case $srcdir in
6429 .) # No --srcdir option. We are building in place.
6430 ac_srcdir=.
6431 if test -z "$ac_top_builddir"; then
6432 ac_top_srcdir=.
6433 else
6434 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6435 fi ;;
6436 [\\/]* | ?:[\\/]* ) # Absolute path.
6437 ac_srcdir=$srcdir$ac_dir_suffix;
6438 ac_top_srcdir=$srcdir ;;
6439 *) # Relative path.
6440 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6441 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6442 esac
6443
6444 # Do not use `cd foo && pwd` to compute absolute paths, because
6445 # the directories may not exist.
6446 case `pwd` in
6447 .) ac_abs_builddir="$ac_dir";;
6448 *)
6449 case "$ac_dir" in
6450 .) ac_abs_builddir=`pwd`;;
6451 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6452 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6453 esac;;
6454 esac
6455 case $ac_abs_builddir in
6456 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6457 *)
6458 case ${ac_top_builddir}. in
6459 .) ac_abs_top_builddir=$ac_abs_builddir;;
6460 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6461 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6462 esac;;
6463 esac
6464 case $ac_abs_builddir in
6465 .) ac_abs_srcdir=$ac_srcdir;;
6466 *)
6467 case $ac_srcdir in
6468 .) ac_abs_srcdir=$ac_abs_builddir;;
6469 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6470 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6471 esac;;
6472 esac
6473 case $ac_abs_builddir in
6474 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6475 *)
6476 case $ac_top_srcdir in
6477 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6478 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6479 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6480 esac;;
6481 esac
6482
6483
6484
6485 if test x"$ac_file" != x-; then
6486 { echo "$as_me:$LINENO: creating $ac_file" >&5
6487 echo "$as_me: creating $ac_file" >&6;}
6488 rm -f "$ac_file"
6489 fi
6490 # Let's still pretend it is `configure' which instantiates (i.e., don't
6491 # use $as_me), people would be surprised to read:
6492 # /* config.h. Generated by config.status. */
6493 if test x"$ac_file" = x-; then
6494 configure_input=
6495 else
6496 configure_input="$ac_file. "
6497 fi
6498 configure_input=$configure_input"Generated from `echo $ac_file_in |
6499 sed 's,.*/,,'` by configure."
6500
6501 # First look for the input files in the build tree, otherwise in the
6502 # src tree.
6503 ac_file_inputs=`IFS=:
6504 for f in $ac_file_in; do
6505 case $f in
6506 -) echo $tmp/stdin ;;
6507 [\\/$]*)
6508 # Absolute (can't be DOS-style, as IFS=:)
6509 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6510 echo "$as_me: error: cannot find input file: $f" >&2;}
6511 { (exit 1); exit 1; }; }
6512 echo "$f";;
6513 *) # Relative
6514 if test -f "$f"; then
6515 # Build tree
6516 echo "$f"
6517 elif test -f "$srcdir/$f"; then
6518 # Source tree
6519 echo "$srcdir/$f"
6520 else
6521 # /dev/null tree
6522 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6523 echo "$as_me: error: cannot find input file: $f" >&2;}
6524 { (exit 1); exit 1; }; }
6525 fi;;
6526 esac
6527 done` || { (exit 1); exit 1; }
6528 _ACEOF
6529 catscip-shell system . . cat. >>$CONFIG_STATUS <<_ACEOF
6530 sed "$ac_vpsub
6531 $extrasub
6532 _ACEOF
6533 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6534 :t
6535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6536 s,@configure_input@,$configure_input,;t t
6537 s,@srcdir@,$ac_srcdir,;t t
6538 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6539 s,@top_srcdir@,$ac_top_srcdir,;t t
6540 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6541 s,@builddir@,$ac_builddir,;t t
6542 s,@abs_builddir@,$ac_abs_builddir,;t t
6543 s,@top_builddir@,$ac_top_builddir,;t t
6544 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6545 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6546 rm -f $tmp/stdin
6547 if test x"$ac_file" != x-; then
6548 mv $tmp/out $ac_file
6549 else
6550 cat $tmp/out
6551 rm -f $tmp/out
6552 fi
6553
6554 done
6555 _ACEOF
6556
6557 catscip-shell system . . cat. >>$CONFIG_STATUS <<\_ACEOF
6558
6559 { (exit 0); exit 0; }
6560 _ACEOF
6561 chmodscip-shell system . . chmod. +x $CONFIG_STATUS
6562 ac_clean_files=$ac_clean_files_save
6563
6564
6565 # configure is writing to config.log, and then calls config.status.
6566 # config.status does its own redirection, appending to config.log.
6567 # Unfortunately, on DOS this fails, as config.log is still kept open
6568 # by configure, so config.status won't be able to write to it; its
6569 # output is simply discarded. So we exec the FD to /dev/null,
6570 # effectively closing config.log, so it can be properly (re)opened and
6571 # appended to by config.status. When coming back to configure, we
6572 # need to make the FD available again.
6573 if testscip-shell system . . test. "$no_create" != yes; then
6574 ac_cs_success=:
6575 ac_config_status_args=
6576 testscip-shell system . . test. "$silent" = yes &&
6577 ac_config_status_args="$ac_config_status_args --quiet"
6578 exec 5>/dev/nullscip-shell filesystem . . `/dev/null`.
6579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6580 exec 5>>config.log
6581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6582 # would make configure fail if this is the last instruction.
6583 $ac_cs_success || { (exit 1); exit 1; }
6584 fi
6585
6586