Lines Matching +full:os +full:- +full:manifest +full:- +full:offset
2 # Guess values for system-dependent variables and create Makefiles.
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 ## -------------------- ##
14 ## -------------------- ##
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
30 set -o posix ;; #(
44 # Quoting is to prevent editors from complaining about space-tab.
54 # Ensure predictable behavior from utilities with locale-dependent output.
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
109 if test ! -f "$as_myself"; then
116 # into an infinite loop, continuously re-executing ourselves.
122 # Preserve -v and -x to the replacement shell.
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 case \`(set -o) 2>/dev/null\` in #(
153 set -o posix ;; #(
179 test -x / || exit 1"
211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
243 # Preserve -v and -x to the replacement shell.
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
256 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
268 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
277 SHELL=${CONFIG_SHELL-/bin/sh}
283 ## --------------------- ##
285 ## --------------------- ##
287 # ---------------
297 # -----------------------
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # ---------
323 # -------------
329 -*) as_dir=./$as_dir;;
331 test -d "$as_dir" || eval $as_mkdir_p || {
339 as_dir=`$as_dirname -- "$as_dir" ||
362 test -d "$as_dir" && break
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # -----------------------
375 test -f "$1" && test -x "$1"
378 # ----------------------
397 # ------------------
410 as_val=`expr "$@" || test $? -eq 1`
415 # ---------
424 # ----------------------------------------
430 as_status=$1; test $as_status -eq 0 && as_status=1
432 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
458 as_me=`$as_basename -- "$0" ||
489 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
490 sed -n '
495 s/[$]LINENO.*/&-/
503 s/-\n.*//
508 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
525 case `echo -n x` in #(((((
526 -n*)
534 ECHO_N='-n';;
537 # For backward compatibility with old third-party macros, we provide
544 rm -f conf$$ conf$$.exe conf$$.file
545 if test -d conf$$.dir; then
546 rm -f conf$$.dir/conf$$.file
548 rm -f conf$$.dir
552 if ln -s conf$$.file conf$$ 2>/dev/null; then
553 as_ln_s='ln -s'
555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
557 # In both cases, we have to default to `cp -pR'.
558 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
559 as_ln_s='cp -pR'
563 as_ln_s='cp -pR'
566 as_ln_s='cp -pR'
568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 if mkdir -p . 2>/dev/null; then
572 as_mkdir_p='mkdir -p "$as_dir"'
574 test -d ./-p && rmdir ./-p
578 as_test_x='test -x'
588 test -n "$DJDIR" || exec 7<&0 </dev/null
594 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
842 if test -n "$ac_prev"; then
855 --)
858 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 -build | --build | --buil | --bui | --bu)
865 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 -cache-file | --cache-file | --cache-fil | --cache-fi \
869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 --config-cache | -C)
878 -datadir | --datadir | --datadi | --datad)
880 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
884 | --dataroo | --dataro | --datar)
886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 -disable-* | --disable-*)
891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
896 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906 -docdir | --docdir | --docdi | --doc | --do)
908 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
911 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
916 -enable-* | --enable-*)
917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
922 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
934 | --exec | --exe | --ex)
936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
938 | --exec=* | --exe=* | --ex=*)
941 -gas | --gas | --ga | --g)
942 # Obsolete; use --with-gas.
945 -help | --help | --hel | --he | -h)
947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
952 -host | --host | --hos | --ho)
954 -host=* | --host=* | --hos=* | --ho=*)
957 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
959 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
960 | --ht=*)
963 -includedir | --includedir | --includedi | --included | --include \
964 | --includ | --inclu | --incl | --inc)
966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
967 | --includ=* | --inclu=* | --incl=* | --inc=*)
970 -infodir | --infodir | --infodi | --infod | --info | --inf)
972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
975 -libdir | --libdir | --libdi | --libd)
977 -libdir=* | --libdir=* | --libdi=* | --libd=*)
980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
981 | --libexe | --libex | --libe)
983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
984 | --libexe=* | --libex=* | --libe=*)
987 -localedir | --localedir | --localedi | --localed | --locale)
989 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
992 -localstatedir | --localstatedir | --localstatedi | --localstated \
993 | --localstate | --localstat | --localsta | --localst | --locals)
995 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
996 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1004 -nfp | --nfp | --nf)
1005 # Obsolete; use --without-fp.
1008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1009 | --no-cr | --no-c | -n)
1012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1018 | --oldin | --oldi | --old | --ol | --o)
1020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1030 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1031 | --program-pre | --program-pr | --program-p)
1033 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1037 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1038 | --program-suf | --program-su | --program-s)
1040 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1044 -program-transform-name | --program-transform-name \
1045 | --program-transform-nam | --program-transform-na \
1046 | --program-transform-n | --program-transform- \
1047 | --program-transform | --program-transfor \
1048 | --program-transfo | --program-transf \
1049 | --program-trans | --program-tran \
1050 | --progr-tra | --program-tr | --program-t)
1052 -program-transform-name=* | --program-transform-name=* \
1053 | --program-transform-nam=* | --program-transform-na=* \
1054 | --program-transform-n=* | --program-transform-=* \
1055 | --program-transform=* | --program-transfor=* \
1056 | --program-transfo=* | --program-transf=* \
1057 | --program-trans=* | --program-tran=* \
1058 | --progr-tra=* | --program-tr=* | --program-t=*)
1061 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1063 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1066 -psdir | --psdir | --psdi | --psd | --ps)
1068 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1072 | -silent | --silent | --silen | --sile | --sil)
1075 -runstatedir | --runstatedir | --runstatedi | --runstated \
1076 | --runstate | --runstat | --runsta | --runst | --runs \
1077 | --run | --ru | --r)
1079 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1080 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1081 | --run=* | --ru=* | --r=*)
1084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087 | --sbi=* | --sb=*)
1090 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1091 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092 | --sharedst | --shareds | --shared | --share | --shar \
1093 | --sha | --sh)
1095 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1098 | --sha=* | --sh=*)
1101 -site | --site | --sit)
1103 -site=* | --site=* | --sit=*)
1106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1111 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112 | --syscon | --sysco | --sysc | --sys | --sy)
1114 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1118 -target | --target | --targe | --targ | --tar | --ta | --t)
1120 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1123 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1126 -version | --version | --versio | --versi | --vers | -V)
1129 -with-* | --with-*)
1130 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 -without-* | --without-*)
1146 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 --x)
1162 # Obsolete; use --with-x.
1165 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166 | --x-incl | --x-inc | --x-in | --x-i)
1168 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1172 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1173 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1175 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1179 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1180 Try \`$0 --help' for more information"
1187 '' | [0-9]* | *[!_$as_cr_alnum]* )
1195 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 if test -n "$ac_prev"; then
1205 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1209 if test -n "$ac_unrecognized_opts"; then
1235 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1239 # used to hold the argument of --host etc.
1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1261 ac_ls_di=`ls -di .` &&
1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1269 if test -z "$srcdir"; then
1272 ac_confdir=`$as_dirname -- "$as_myself" ||
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1308 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # mess up M-x gdb in Emacs.
1328 # Report the --help message.
1344 -h, --help display this help and exit
1345 --help=short display options specific to this package
1346 --help=recursive display the short help of all the included packages
1347 -V, --version display version information and exit
1348 -q, --quiet, --silent do not print \`checking ...' messages
1349 --cache-file=FILE cache test results in FILE [disabled]
1350 -C, --config-cache alias for \`--cache-file=config.cache'
1351 -n, --no-create do not create output files
1352 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1355 --prefix=PREFIX install architecture-independent files in PREFIX
1357 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1363 for instance \`--prefix=\$HOME'.
1368 --bindir=DIR user executables [EPREFIX/bin]
1369 --sbindir=DIR system admin executables [EPREFIX/sbin]
1370 --libexecdir=DIR program executables [EPREFIX/libexec]
1371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1373 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1374 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1375 --libdir=DIR object code libraries [EPREFIX/lib]
1376 --includedir=DIR C header files [PREFIX/include]
1377 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1380 --infodir=DIR info documentation [DATAROOTDIR/info]
1381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1382 --mandir=DIR man documentation [DATAROOTDIR/man]
1383 --docdir=DIR documentation root [DATAROOTDIR/doc/sqlite]
1384 --htmldir=DIR html documentation [DOCDIR]
1385 --dvidir=DIR dvi documentation [DOCDIR]
1386 --pdfdir=DIR pdf documentation [DOCDIR]
1387 --psdir=DIR ps documentation [DOCDIR]
1394 if test -n "$ac_init_help"; then
1401 --disable-option-checking ignore unrecognized --enable/--with options
1402 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1403 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1404 --enable-threads build with threads (default: on)
1405 --enable-shared build and link with shared libraries (default: on)
1406 --enable-stubs build and link with stub libraries. Always true for
1408 --enable-64bit enable 64bit support (default: off)
1409 --enable-64bit-vis enable 64bit Sparc VIS support (default: off)
1410 --disable-rpath disable rpath support (default: on)
1411 --enable-symbols build with debugging symbols (default: off)
1414 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1415 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1416 --with-tcl directory containing tcl configuration
1418 --with-system-sqlite use a system-supplied libsqlite3 instead of the
1420 --with-tclinclude directory containing the public Tcl header files
1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1427 LIBS libraries to pass to the linker, e.g. -l<library>
1428 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441 # If there are subdirs, report their specific --help.
1443 test -d "$ac_dir" ||
1444 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1482 # Metaconfig's "Configure" on case-insensitive file systems.
1483 if test -f "$ac_srcdir/configure.gnu"; then
1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486 elif test -f "$ac_srcdir/configure"; then
1488 $SHELL "$ac_srcdir/configure" --help=recursive
1496 test -n "$ac_init_help" && exit $ac_status
1509 ## ------------------------ ##
1511 ## ------------------------ ##
1514 # --------------------------
1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519 rm -f conftest.$ac_objext conftest.beam
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 if test -s conftest.err; then
1530 grep -v '^ *+' conftest.err >conftest.er1
1532 mv -f conftest.er1 conftest.err
1534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536 test -z "$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1538 } && test -s conftest.$ac_objext
1553 # ----------------------
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 if test -s conftest.err; then
1568 grep -v '^ *+' conftest.err >conftest.er1
1570 mv -f conftest.er1 conftest.err
1572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1591 # ----------------------
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1634 # -------------------------------------------------------
1639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1667 # -----------------------
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 if test -s conftest.err; then
1683 grep -v '^ *+' conftest.err >conftest.er1
1685 mv -f conftest.er1 conftest.err
1687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test -z "$ac_c_werror_flag" ||
1690 test ! -s conftest.err
1691 } && test -s conftest$ac_exeext && {
1693 test -x conftest$ac_exeext
1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 # ----------------------------------
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 ## --------- ##
1809 ## --------- ##
1811 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1812 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1813 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1814 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1815 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1817 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1818 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1821 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1848 ## ----------- ##
1850 ## ----------- ##
1856 # Strip out --no-create and --no-recursion so they do not pile up.
1857 # Strip out --silent because we don't want to record it for future runs.
1858 # Also quote any args containing shell meta-characters.
1859 # Make two passes to allow for proper duplicate-argument suppression.
1869 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1870 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1871 | -silent | --silent | --silen | --sile | --sil)
1884 *=* | --config-cache | -C | -disable-* | --disable-* \
1885 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1886 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1887 | -with-* | --with-* | -without-* | --without-* | --x)
1892 -* ) ac_must_keep_next=true ;;
1915 printf "%s\n" "## ---------------- ##
1917 ## ---------------- ##"
1921 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1926 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
1939 sed -n \
1944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1951 printf "%s\n" "## ----------------- ##
1953 ## ----------------- ##"
1965 if test -n "$ac_subst_files"; then
1966 printf "%s\n" "## ------------------- ##
1968 ## ------------------- ##"
1981 if test -s confdefs.h; then
1982 printf "%s\n" "## ----------- ##
1984 ## ----------- ##"
1993 rm -f core *.core core.conftest.* &&
1994 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2002 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2003 rm -f -r conftest* confdefs.h
2024 if test -n "$CONFIG_SITE"; then
2040 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2045 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2052 if test -r "$cache_file"; then
2055 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2100 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2103 as an "x". The following induces an error, until -std is added to get
2106 that is true only with -std. */
2107 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2109 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2112 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2166 static long long int bignum = -9223372036854775807LL;
2186 // See if C++-style comments work.
2249 ia->datasize = 10;
2250 for (int i = 0; i < ia->datasize; ++i)
2251 ia->data[i] = i * 1.234;
2264 dynamic_array[ni.number - 1] = 543;
2268 || dynamic_array[ni.number - 1] != 543);
2291 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2305 // Check UTF-8 literals.
2314 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2396 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
2400 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
2410 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
2414 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
2418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
2441 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2444 ## -------------------- ##
2446 ## -------------------- ##
2450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2456 #--------------------------------------------------------------------
2460 #--------------------------------------------------------------------
2465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking TEA configuration" >&5
2471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok (TEA ${TEA_VERSION})" >&5
2475 # like AC_PROG_CC and AC_TRY_COMPILE from adding "-g -O2".
2480 case "`uname -s`" in
2484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490 if test -n "$CYGPATH"; then
2504 ac_cv_prog_CYGPATH="cygpath -m"
2505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2512 test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo"
2516 if test -n "$CYGPATH"; then
2517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
2520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 # Maybe we are cross-compiling....
2557 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: configuring ${PACKAGE_NAME} ${PACKAGE_VERSION}" >&5
2582 INSTALL='$(SHELL) $(srcdir)/tclconfig/install-sh -c'
2583 INSTALL_DATA_DIR='${INSTALL} -d -m 755'
2584 INSTALL_DATA='${INSTALL} -m 644'
2585 INSTALL_PROGRAM='${INSTALL} -m 755'
2586 INSTALL_SCRIPT='${INSTALL} -m 755'
2589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking system version" >&5
2600 tcl_cv_sys_version=`uname -s`-`uname -r`
2601 if test "$?" -ne 0 ; then
2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
2606 if test "`uname -s`" = "AIX" ; then
2607 tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
2609 if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
2610 tcl_cv_sys_version=NetBSD-Debian
2616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
2621 HP-UX-*) INSTALL_LIBRARY='${INSTALL} -m 755' ;;
2622 *) INSTALL_LIBRARY='${INSTALL} -m 644' ;;
2636 #--------------------------------------------------------------------
2638 #--------------------------------------------------------------------
2645 # the alternative search directory is invoked by --with-tcl
2652 # Check whether --with-tcl was given.
2658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
2666 # First check to see if --with-tcl was specified.
2670 if test -f "${with_tclconfig}"; then
2671 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-tcl argument should refer to directo…
2672 printf "%s\n" "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.…
2676 if test -f "${with_tclconfig}/tclConfig.sh" ; then
2687 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
2688 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
2689 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
2691 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
2692 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
2693 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
2695 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
2696 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
2697 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
2699 -a -f "$i/win/tclConfig.sh" ; then
2703 if test -f "$i/unix/tclConfig.sh" ; then
2711 if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tclconfig}" = x ; then
2712 for i in `ls -d ~/Library/Frameworks 2>/dev/null` \
2713 `ls -d /Library/Frameworks 2>/dev/null` \
2714 `ls -d /Network/Library/Frameworks 2>/dev/null` \
2715 …`ls -d /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.…
2716 …`ls -d /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.…
2717 …`ls -d /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.…
2719 if test -f "$i/Tcl.framework/tclConfig.sh" ; then
2728 -a x"${ac_cv_c_tclconfig}" = x ; then
2729 for i in `ls -d C:/Tcl/lib 2>/dev/null` \
2730 `ls -d C:/Progra~1/Tcl/lib 2>/dev/null` \
2732 if test -f "$i/tclConfig.sh" ; then
2741 for i in `ls -d ${libdir} 2>/dev/null` \
2742 `ls -d ${exec_prefix}/lib 2>/dev/null` \
2743 `ls -d ${prefix}/lib 2>/dev/null` \
2744 `ls -d /usr/local/lib 2>/dev/null` \
2745 `ls -d /usr/contrib/lib 2>/dev/null` \
2746 `ls -d /usr/pkg/lib 2>/dev/null` \
2747 `ls -d /usr/lib 2>/dev/null` \
2748 `ls -d /usr/lib64 2>/dev/null` \
2749 `ls -d /usr/lib/tcl8.6 2>/dev/null` \
2750 `ls -d /usr/lib/tcl8.5 2>/dev/null` \
2751 `ls -d /usr/local/lib/tcl8.6 2>/dev/null` \
2752 `ls -d /usr/local/lib/tcl8.5 2>/dev/null` \
2753 `ls -d /usr/local/lib/tcl/tcl8.6 2>/dev/null` \
2754 `ls -d /usr/local/lib/tcl/tcl8.5 2>/dev/null` \
2756 if test -f "$i/tclConfig.sh" ; then
2767 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
2768 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
2769 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
2771 -a -f "$i/win/tclConfig.sh" ; then
2775 if test -f "$i/unix/tclConfig.sh" ; then
2787 …as_fn_error $? "Can't find Tcl configuration definitions. Use --with-tcl to specify a directory co…
2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
2807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 if test -n "$ac_tool_prefix"; then
2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2819 if test -n "$CC"; then
2834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2844 if test -n "$CC"; then
2845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 if test -z "$ac_cv_prog_CC"; then
2858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 if test -n "$ac_ct_CC"; then
2879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2889 if test -n "$ac_ct_CC"; then
2890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
2912 if test -z "$CC"; then
2913 if test -n "$ac_tool_prefix"; then
2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 if test -n "$CC"; then
2937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2947 if test -n "$CC"; then
2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958 if test -z "$CC"; then
2961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 if test -n "$CC"; then
2987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3009 if test -n "$CC"; then
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 if test -z "$CC"; then
3020 if test -n "$ac_tool_prefix"; then
3025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 if test -n "$CC"; then
3046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 test -n "$CC" && break
3068 if test -z "$CC"; then
3074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 if test -n "$ac_ct_CC"; then
3095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3105 if test -n "$ac_ct_CC"; then
3106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 test -n "$ac_ct_CC" && break
3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3131 if test -z "$CC"; then
3132 if test -n "$ac_tool_prefix"; then
3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141 if test -n "$CC"; then
3156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3166 if test -n "$CC"; then
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3176 if test -z "$ac_cv_prog_CC"; then
3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 if test -n "$ac_ct_CC"; then
3201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3211 if test -n "$ac_ct_CC"; then
3212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3237 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3246 for ac_option in --version -v -V -qversion -version; do
3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256 if test -s conftest.err; then
3262 rm -f conftest.er1 conftest.err
3263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 # Try to create an executable without -o first, disregard a.out.
3283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3285 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3298 rm -f $ac_rmfiles
3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3315 # so that the user can short-circuit this test for compilers unknown to
3319 test -f "$ac_file" || continue
3333 # safe: cross compilers may not add the suffix if given an `-o'
3347 if test -z "$ac_file"
3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test -f "$ac_file" || continue
3398 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403 rm -f conftest conftest$ac_cv_exeext
3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3407 rm -f conftest.$ac_ext
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3459 If you meant to cross compile, use \`--host'.
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3467 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 rm -f conftest.o conftest.obj
3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3500 test -f "$ac_file" || continue;
3511 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3516 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3564 printf %s "checking whether $CC accepts -g... " >&6; }
3572 CFLAGS="-g"
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 CFLAGS="-g"
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3634 CFLAGS="-g -O2"
3636 CFLAGS="-g"
3640 CFLAGS="-O2"
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 for ac_arg in '' -std=gnu11
3667 rm -f core conftest.err conftest.$ac_objext conftest.beam
3670 rm -f conftest.$ac_ext
3676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3713 rm -f core conftest.err conftest.$ac_objext conftest.beam
3716 rm -f conftest.$ac_ext
3722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
3759 rm -f core conftest.err conftest.$ac_objext conftest.beam
3762 rm -f conftest.$ac_ext
3768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for existence of ${TCL_BIN_DIR}/tclConfig.s…
3796 if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: loading" >&5
3801 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" …
3811 if test -f "${TCL_BIN_DIR}/Makefile" ; then
3815 elif test "`uname -s`" = "Darwin"; then
3821 if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then
3825 TCL_LIB_SPEC="-F`dirname "$i" | sed -e 's/ /\\\\ /g'` -framework ${TCL_LIB_FILE}"
3830 if test -f "${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"; then
3831 TCL_STUB_LIB_SPEC="-L`echo "${TCL_BIN_DIR}" | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
3851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking platform" >&5
3854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872 # first test we've already retrieved platform (cross-compile), fallback to unix otherwise:
3873 TEA_PLATFORM="${TEA_PLATFORM-unix}"
3881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 if test -n "$CYGPATH"; then
3901 ac_cv_prog_CYGPATH="cygpath -m"
3902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3909 test -z "$ac_cv_prog_CYGPATH" && ac_cv_prog_CYGPATH="echo"
3913 if test -n "$CYGPATH"; then
3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
3917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TEA_PLATFORM" >&5
3949 #--------------------------------------------------------------------
3951 #--------------------------------------------------------------------
3956 #-----------------------------------------------------------------------
3957 # Handle the --prefix=... option by defaulting to what Tcl gave.
3959 #-----------------------------------------------------------------------
3965 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&5
3966 printf "%s\n" "$as_me: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&6;}
3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: --prefix defaulting to /usr/local" >&5
3970 printf "%s\n" "$as_me: --prefix defaulting to /usr/local" >&6;}
3974 if test "${exec_prefix}" = "NONE" -a x"${prefix_default}" = x"yes" \
3975 -o x"${exec_prefix_default}" = x"yes" ; then
3977 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EX…
3978 printf "%s\n" "$as_me: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&6;}
3981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to ${prefix}" >&5
3982 printf "%s\n" "$as_me: --exec-prefix defaulting to ${prefix}" >&6;}
3988 #-----------------------------------------------------------------------
3993 #-----------------------------------------------------------------------
4001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4004 if test -n "$ac_tool_prefix"; then
4007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013 if test -n "$CC"; then
4028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4038 if test -n "$CC"; then
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 if test -z "$ac_cv_prog_CC"; then
4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 if test -n "$ac_ct_CC"; then
4073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4083 if test -n "$ac_ct_CC"; then
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4106 if test -z "$CC"; then
4107 if test -n "$ac_tool_prefix"; then
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4116 if test -n "$CC"; then
4131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4141 if test -n "$CC"; then
4142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4152 if test -z "$CC"; then
4155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 if test -n "$CC"; then
4181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4203 if test -n "$CC"; then
4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 if test -z "$CC"; then
4214 if test -n "$ac_tool_prefix"; then
4219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 if test -n "$CC"; then
4240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4250 if test -n "$CC"; then
4251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 test -n "$CC" && break
4262 if test -z "$CC"; then
4268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274 if test -n "$ac_ct_CC"; then
4289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4299 if test -n "$ac_ct_CC"; then
4300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308 test -n "$ac_ct_CC" && break
4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4325 if test -z "$CC"; then
4326 if test -n "$ac_tool_prefix"; then
4329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 if test -n "$CC"; then
4350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4360 if test -n "$CC"; then
4361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 if test -z "$ac_cv_prog_CC"; then
4374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 if test -n "$ac_ct_CC"; then
4395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4405 if test -n "$ac_ct_CC"; then
4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4431 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4440 for ac_option in --version -v -V -qversion -version; do
4446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 if test -s conftest.err; then
4456 rm -f conftest.er1 conftest.err
4457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4503 printf %s "checking whether $CC accepts -g... " >&6; }
4511 CFLAGS="-g"
4512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 CFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4573 CFLAGS="-g -O2"
4575 CFLAGS="-g"
4579 CFLAGS="-O2"
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599 for ac_arg in '' -std=gnu11
4606 rm -f core conftest.err conftest.$ac_objext conftest.beam
4609 rm -f conftest.$ac_ext
4615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4652 rm -f core conftest.err conftest.$ac_objext conftest.beam
4655 rm -f conftest.$ac_ext
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
4698 rm -f core conftest.err conftest.$ac_objext conftest.beam
4701 rm -f conftest.$ac_ext
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4738 if test -n "$CPP" && test -d "$CPP"; then
4741 if test -z "$CPP"; then
4747 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
4753 # with a fresh cross-compiler works.
4754 # On the NeXT, cc -E runs the code through the compiler's parser,
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 rm -f conftest.err conftest.i conftest.$ac_ext
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 rm -f conftest.err conftest.i conftest.$ac_ext
4789 rm -f conftest.i conftest.err conftest.$ac_ext
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4809 # with a fresh cross-compiler works.
4810 # On the NeXT, cc -E runs the code through the compiler's parser,
4812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4824 rm -f conftest.err conftest.i conftest.$ac_ext
4828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4841 rm -f conftest.err conftest.i conftest.$ac_ext
4845 rm -f conftest.i conftest.err conftest.$ac_ext
4850 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 #--------------------------------------------------------------------
4865 #--------------------------------------------------------------------
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4868 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4869 set x ${MAKE-make}
4870 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4881 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4887 rm -f conftest.make
4890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 SET_MAKE="MAKE=${MAKE-make}"
4900 #--------------------------------------------------------------------
4902 #--------------------------------------------------------------------
4904 if test -n "$ac_tool_prefix"; then
4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 if test -n "$RANLIB"; then
4928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4938 if test -n "$RANLIB"; then
4939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 if test -z "$ac_cv_prog_RANLIB"; then
4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 if test -n "$ac_ct_RANLIB"; then
4973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4983 if test -n "$ac_ct_RANLIB"; then
4984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5007 #--------------------------------------------------------------------
5009 #--------------------------------------------------------------------
5047 #------------------------------------------------------------------------
5048 # If we're using GCC, see if the compiler understands -pipe. If so, use it.
5050 #------------------------------------------------------------------------
5052 if test -z "$no_pipe" -a -n "$GCC"; then
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the compiler understands -pipe" >&5
5054 printf %s "checking if the compiler understands -pipe... " >&6; }
5060 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -pipe"
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_pipe" >&5
5084 CFLAGS="$CFLAGS -pipe"
5088 #--------------------------------------------------------------------
5090 #--------------------------------------------------------------------
5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5111 # Check for potential -arch flags. It is not universal unless
5112 # there are at least two -arch flags with different values.
5116 if test -n "$ac_prev"; then
5119 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5128 elif test "x$ac_word" = "x-arch"; then
5133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 return u.c[sizeof (long int) - 1] == 1;
5301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5327 #-----------------------------------------------------------------------
5335 #-----------------------------------------------------------------------
5342 # allow $-var names
5347 # check for existence - allows for generic/win/unix VPATH
5350 if test ! -f "${srcdir}/$i" -a ! -f "${srcdir}/generic/$i" \
5351 -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \
5352 -a ! -f "${srcdir}/macosx/$i" \
5361 j="`echo $i | sed -e 's/\.[^.]*$//'`.${OBJEXT}"
5363 j="`echo $i | sed -e 's/\.[^.]*$//'`.\${OBJEXT}"
5376 if test ! -f "${srcdir}/$i" ; then
5393 if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
5394 # Convert foo.lib to -lfoo for GCC. No-op if not *.lib
5395 i=`echo "$i" | sed -e 's/^\([^-].*\)\.[lL][iI][bB]$/-l\1/'`
5402 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_FTS3=1"
5406 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_FTS4=1"
5410 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_FTS5=1"
5414 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_3_SUFFIX_ONLY=1"
5418 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_RTREE=1"
5422 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_GEOPOLY=1"
5426 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_MATH_FUNCTIONS=1"
5430 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_DESERIALIZE=1"
5434 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_DBPAGE_VTAB=1"
5438 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_BYTECODE_VTAB=1"
5442 PKG_CFLAGS="$PKG_CFLAGS -DSQLITE_ENABLE_DBSTAT_VTAB=1"
5448 # check for existence - allows for generic/win/unix VPATH
5449 if test ! -f "${srcdir}/$i" -a ! -f "${srcdir}/generic/$i" \
5450 -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \
5451 -a ! -f "${srcdir}/macosx/$i" \
5460 j="`echo $i | sed -e 's/\.[^.]*$//'`.${OBJEXT}"
5462 j="`echo $i | sed -e 's/\.[^.]*$//'`.\${OBJEXT}"
5473 if test ! -f "${srcdir}/$i" ; then
5481 #--------------------------------------------------------------------
5482 # The --with-system-sqlite causes the TCL bindings to SQLite to use
5487 #--------------------------------------------------------------------
5489 # Check whether --with-system-sqlite was given.
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
5502 printf %s "checking for sqlite3_initialize in -lsqlite3... " >&6; }
5508 LIBS="-lsqlite3 $LIBS"
5509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
5540 LIBS="$LIBS -lsqlite3"
5547 #--------------------------------------------------------------------
5555 # A few miscellaneous platform-specific items:
5557 #--------------------------------------------------------------------
5564 #TEA_ADD_INCLUDES([-I\"$(${CYGPATH} ${srcdir}/win)\"])
5569 #TEA_ADD_LIBS([-lsuperfly])
5572 #--------------------------------------------------------------------
5579 #--------------------------------------------------------------------
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Tcl public headers" >&5
5586 # Check whether --with-tclinclude was given.
5598 # Use the value from --with-tclinclude, if it was given
5601 if test -f "${with_tclinclude}/tcl.h" ; then
5608 if test "`uname -s`" = "Darwin"; then
5613 list="`ls -d ${TCL_BIN_DIR}/Headers 2>/dev/null`"
5620 if test -f "${TCL_BIN_DIR}/Makefile" ; then
5621 list="$list `ls -d ${TCL_SRC_DIR}/generic 2>/dev/null`"
5624 # Check order: pkg --prefix location, Tcl's --prefix location,
5629 `ls -d ${temp_includedir} 2>/dev/null` \
5630 `ls -d ${TCL_PREFIX}/include 2>/dev/null` \
5631 `ls -d ${TCL_BIN_DIR}/../include 2>/dev/null`"
5632 if test "${TEA_PLATFORM}" != "windows" -o "$GCC" = "yes"; then
5635 d=`echo "${TCL_INCLUDE_SPEC}" | sed -e 's/^-I//'`
5636 list="$list `ls -d ${d} 2>/dev/null`"
5640 if test -f "$i/tcl.h" ; then
5653 as_fn_error $? "tcl.h not found. Please specify its location with --with-tclinclude" "$LINENO" 5
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_c_tclh}" >&5
5663 TCL_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\"
5673 #--------------------------------------------------------------------
5674 # Check whether --enable-threads or --disable-threads was given.
5675 # This auto-enables if Tcl was compiled threaded.
5676 #--------------------------------------------------------------------
5679 # Check whether --enable-threads was given.
5695 if test "$tcl_ok" = "yes" -o "${TCL_THREADS}" = 1; then
5701 # USE_THREAD_ALLOC tells us to try the special thread-based
5709 if test "`uname -s`" = "SunOS" ; then
5717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
5718 printf %s "checking for pthread_mutex_init in -lpthread... " >&6; }
5724 LIBS="-lpthread $LIBS"
5725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
5765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __pthread_mutex_init in -lpthread" >&5
5766 printf %s "checking for __pthread_mutex_init in -lpthread... " >&6; }
5772 LIBS="-lpthread $LIBS"
5773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
5811 THREADS_LIBS=" -lpthread"
5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthreads" >&5
5814 printf %s "checking for pthread_mutex_init in -lpthreads... " >&6; }
5820 LIBS="-lpthreads $LIBS"
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
5857 THREADS_LIBS=" -lpthreads"
5859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5
5860 printf %s "checking for pthread_mutex_init in -lc... " >&6; }
5866 LIBS="-lc $LIBS"
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc_r" >&5
5903 printf %s "checking for pthread_mutex_init in -lc_r... " >&6; }
5909 LIBS="-lc_r $LIBS"
5910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
5946 THREADS_LIBS=" -pthread"
5949 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Do not know how to find pthread lib on your…
5950 printf "%s\n" "$as_me: WARNING: Do not know how to find pthread lib on your system - thread support…
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for building with threads" >&5
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
5979 that IS thread-enabled. It is recommended to use --enable-threads." >&5
5982 that IS thread-enabled. It is recommended to use --enable-threads." >&2;}
5997 if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
5998 # Convert foo.lib to -lfoo for GCC. No-op if not *.lib
5999 i=`echo "$i" | sed -e 's/^\([^-].*\)\.[lL][iI][bB]$/-l\1/'`
6011 #--------------------------------------------------------------------
6014 #--------------------------------------------------------------------
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5
6019 # Check whether --enable-shared was given.
6035 # Check whether --enable-stubs was given.
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: shared" >&5
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: static" >&5
6088 #--------------------------------------------------------------------
6092 #--------------------------------------------------------------------
6094 if test -n "$ac_tool_prefix"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6103 if test -n "$RANLIB"; then
6118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6128 if test -n "$RANLIB"; then
6129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 if test -z "$ac_cv_prog_RANLIB"; then
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 if test -n "$ac_ct_RANLIB"; then
6163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6173 if test -n "$ac_ct_RANLIB"; then
6174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
6203 # Check whether --enable-64bit was given.
6211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
6216 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
6218 # Check whether --enable-64bit-vis was given.
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
6237 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports visibility \"hidden\""…
6244 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
6245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_visibility_hidden" >&5
6282 # Step 0.d: Disable -rpath support?
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if rpath support is requested" >&5
6286 # Check whether --enable-rpath was given.
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $doRpath" >&5
6301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking system version" >&5
6312 tcl_cv_sys_version=`uname -s`-`uname -r`
6313 if test "$?" -ne 0 ; then
6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
6318 if test "`uname -s`" = "AIX" ; then
6319 tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
6321 if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
6322 tcl_cv_sys_version=NetBSD-Debian
6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
6339 # "windows" case and removed some core-only vars.
6342 # default to '{$LIBS}' and set to "" on per-platform necessary basis
6344 # When ld needs options to work in 64-bit mode, put them in
6350 TCL_TRIM_DOTS='`echo ${PACKAGE_VERSION} | tr -d .`'
6353 CFLAGS_DEBUG=-g
6357 CFLAGS_OPTIMIZE=-O2
6358 CFLAGS_WARNING="-Wall"
6362 CFLAGS_OPTIMIZE=-O
6366 if test -n "$ac_tool_prefix"; then
6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 if test -n "$AR"; then
6390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6400 if test -n "$AR"; then
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6410 if test -z "$ac_cv_prog_AR"; then
6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 if test -n "$ac_ct_AR"; then
6435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6445 if test -n "$ac_ct_AR"; then
6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6483 MACHINE="AMD64" ; # default to AMD64 64-bit build
6496 runtime=-MT
6498 runtime=-MD
6501 x1[4-9]*)
6502 lflags="${lflags} -nodefaultlib:libucrt.lib"
6506 if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
6507 # Convert foo.lib to -lfoo for GCC. No-op if not *.lib
6508 i=`echo "$i" | sed -e 's/^\([^-].*\)\.[lL][iI][bB]$/-l\1/'`
6522 lflags="${lflags} -nologo -MACHINE:${MACHINE} "
6524 CFLAGS_DEBUG="-nologo -Zi -Od -W3 ${runtime}d"
6525 CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}"
6531 if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
6532 # Convert foo.lib to -lfoo for GCC. No-op if not *.lib
6533 i=`echo "$i" | sed -e 's/^\([^-].*\)\.[lL][iI][bB]$/-l\1/'`
6541 lflags="${lflags} -nologo"
6543 CFLAGS_DEBUG="-nologo -Z7 -Od -W3 -WX ${runtime}d"
6544 CFLAGS_OPTIMIZE="-nologo -O2 -W2 ${runtime}"
6550 if test -n "$ac_tool_prefix"; then
6553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559 if test -n "$RC"; then
6574 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6584 if test -n "$RC"; then
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
6588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594 if test -z "$ac_cv_prog_RC"; then
6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 if test -n "$ac_ct_RC"; then
6619 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6629 if test -n "$ac_ct_RC"; then
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6652 CFLAGS_DEBUG="-g"
6653 CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
6654 SHLIB_LD='${CC} -shared'
6656 LDFLAGS_CONSOLE="-wl,--subsystem,console ${lflags}"
6657 LDFLAGS_WINDOW="-wl,--subsystem,windows ${lflags}"
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cross-compile version of gcc" >&5
6660 printf %s "checking for cross-compile version of gcc... " >&6; }
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6669 #error cross-compiler
6686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cross" >&5
6694 CC="x86_64-w64-mingw32-${CC}"
6695 LD="x86_64-w64-mingw32-ld"
6696 AR="x86_64-w64-mingw32-ar"
6697 RANLIB="x86_64-w64-mingw32-ranlib"
6698 RC="x86_64-w64-mingw32-windres"
6701 CC="aarch64-w64-mingw32-clang"
6702 LD="aarch64-w64-mingw32-ld"
6703 AR="aarch64-w64-mingw32-ar"
6704 RANLIB="aarch64-w64-mingw32-ranlib"
6705 RC="aarch64-w64-mingw32-windres"
6708 CC="i686-w64-mingw32-${CC}"
6709 LD="i686-w64-mingw32-ld"
6710 AR="i686-w64-mingw32-ar"
6711 RANLIB="i686-w64-mingw32-ranlib"
6712 RC="i686-w64-mingw32-windres"
6718 SHLIB_LD="${LINKBIN} -dll ${lflags}"
6719 # link -lib only works when -lib is the first arg
6720 STLIB_LD="${LINKBIN} -lib ${lflags}"
6722 PATHTYPE=-w
6724 # http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
6726 # http://msdn2.microsoft.com/en-us/library/y0zzbyt4%28VS.80%29.aspx
6728 LDFLAGS_DEBUG="-debug -debugtype:cv"
6729 LDFLAGS_OPTIMIZE="-release"
6730 LDFLAGS_CONSOLE="-link -subsystem:console ${lflags}"
6731 LDFLAGS_WINDOW="-link -subsystem:windows ${lflags}"
6739 AIX-*)
6750 CC=`echo "$CC" | sed -e 's/^\([^ ]*\)/\1_r/'`
6753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
6757 LIBS="$LIBS -lc"
6763 # Check to enable 64-bit flags for compiler/linker
6770 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $syste…
6776 CFLAGS="$CFLAGS -q64"
6777 LDFLAGS_ARCH="-q64"
6778 RANLIB="${RANLIB} -X64"
6779 AR="${AR} -X64"
6780 SHLIB_LD_FLAGS="-b64"
6786 if test "`uname -m`" = ia64
6789 # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC
6790 SHLIB_LD="/usr/ccs/bin/ld -G -z text"
6794 CC_SEARCH_FLAGS='"-Wl,-R,${LIB_RUNTIME_DIR}"'
6798 CC_SEARCH_FLAGS='"-R${LIB_RUNTIME_DIR}"'
6801 LD_SEARCH_FLAGS='-R "${LIB_RUNTIME_DIR}"'
6808 SHLIB_LD='${CC} -shared -Wl,-bexpall'
6812 SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bexpall -H512 -T512 -bnoentry"
6813 LDFLAGS="$LDFLAGS -brtl"
6817 CC_SEARCH_FLAGS='"-L${LIB_RUNTIME_DIR}"'
6823 SHLIB_CFLAGS="-fPIC"
6824 SHLIB_LD='${CC} -nostart'
6827 #-----------------------------------------------------------
6828 # Check for inet_ntoa in -lbind, for BeOS (which also needs
6829 # -lsocket, even if the network functions are in -lnet which
6831 #-----------------------------------------------------------
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
6833 printf %s "checking for inet_ntoa in -lbind... " >&6; }
6839 LIBS="-lbind $LIBS"
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
6869 LIBS="$LIBS -lbind -lsocket"
6873 BSD/OS-2.1*|BSD/OS-3*)
6875 SHLIB_LD="shlicc -r"
6880 BSD/OS-4.*)
6881 SHLIB_CFLAGS="-export-dynamic -fPIC"
6882 SHLIB_LD='${CC} -shared'
6884 LDFLAGS="$LDFLAGS -export-dynamic"
6890 SHLIB_LD='${CC} -shared'
6892 SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,--out-implib,\$@.a"
6899 SHLIB_CFLAGS="-K PIC"
6900 SHLIB_LD='${CC} -G'
6907 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
6908 SHLIB_CFLAGS="-fPIC"
6910 SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnetwork" >&5
6912 printf %s "checking for inet_ntoa in -lnetwork... " >&6; }
6918 LIBS="-lnetwork $LIBS"
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_inet_ntoa" >&5
6948 LIBS="$LIBS -lnetwork"
6952 HP-UX-*.11.*)
6959 #LIBS="$LIBS -lxnet" # Use the XOPEN network library
6961 if test "`uname -m`" = ia64
6971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6972 printf %s "checking for shl_load in -ldld... " >&6; }
6978 LIBS="-ldld $LIBS"
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
7017 SHLIB_LD="ld -b"
7018 LDFLAGS="$LDFLAGS -Wl,-E"
7019 CC_SEARCH_FLAGS='"-Wl,+s,+b,${LIB_RUNTIME_DIR}:."'
7027 SHLIB_LD='${CC} -shared'
7032 CFLAGS="$CFLAGS -z"
7036 # Check to enable 64-bit flags for compiler/linker
7043 case `${CC} -dumpmachine` in
7045 # 64-bit gcc in use. Fix flags for GNU ld.
7047 SHLIB_LD='${CC} -shared'
7051 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7056 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $syste…
7070 HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
7073 printf %s "checking for shl_load in -ldld... " >&6; }
7079 LIBS="-ldld $LIBS"
7080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
7118 SHLIB_LD="ld -b"
7120 LDFLAGS="$LDFLAGS -Wl,-E"
7121 CC_SEARCH_FLAGS='"-Wl,+s,+b,${LIB_RUNTIME_DIR}:."'
7126 IRIX-5.*)
7128 SHLIB_LD="ld -shared -rdata_shared"
7139 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7140 LD_SEARCH_FLAGS='-rpath "${LIB_RUNTIME_DIR}"'
7143 IRIX-6.*)
7145 SHLIB_LD="ld -n32 -shared -rdata_shared"
7150 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7151 LD_SEARCH_FLAGS='-rpath "${LIB_RUNTIME_DIR}"'
7156 CFLAGS="$CFLAGS -mabi=n32"
7157 LDFLAGS="$LDFLAGS -mabi=n32"
7162 IRIX-6.3)
7164 CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS"
7167 CFLAGS="$CFLAGS -n32"
7170 LDFLAGS="$LDFLAGS -n32"
7174 IRIX64-6.*)
7176 SHLIB_LD="ld -n32 -shared -rdata_shared"
7181 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7182 LD_SEARCH_FLAGS='-rpath "${LIB_RUNTIME_DIR}"'
7185 # Check to enable 64-bit flags for compiler/linker
7193 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
7199 SHLIB_LD="ld -64 -shared -rdata_shared"
7200 CFLAGS="$CFLAGS -64"
7201 LDFLAGS_ARCH="-64"
7207 Linux*|GNU*|NetBSD-Debian|DragonFly-*|FreeBSD-*)
7208 SHLIB_CFLAGS="-fPIC"
7212 CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
7215 SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared'
7216 LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
7219 DragonFly-*|FreeBSD-*)
7223 # The -pthread needs to go in the LDFLAGS, not LIBS
7224 LIBS=`echo $LIBS | sed s/-pthread//`
7234 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7237 if test "`uname -m`" = "alpha"
7239 CFLAGS="$CFLAGS -mieee"
7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
7245 printf %s "checking if compiler accepts -m64 flag... " >&6; }
7252 CFLAGS="$CFLAGS -m64"
7253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
7279 CFLAGS="$CFLAGS -m64"
7287 # functions like strtod(). The -fno-builtin flag should address
7288 # this problem but it does not work. The -fno-inline flag is kind
7294 CFLAGS="$CFLAGS -fno-inline"
7298 SHLIB_CFLAGS="-fPIC"
7300 CFLAGS_OPTIMIZE=-02
7301 SHLIB_LD='${CC} -shared'
7302 LD_FLAGS="-Wl,--export-dynamic"
7306 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7307 LD_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7310 OpenBSD-*)
7311 arch=`arch -s`
7314 SHLIB_CFLAGS="-fPIC"
7317 SHLIB_CFLAGS="-fpic"
7320 SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
7325 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7329 LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
7330 CFLAGS_OPTIMIZE="-O2"
7331 # On OpenBSD: Compile with -pthread
7332 # Don't link with -lpthread
7333 LIBS=`echo $LIBS | sed s/-lpthread//`
7334 CFLAGS="$CFLAGS -pthread"
7339 NetBSD-*)
7340 # NetBSD has ELF and can use 'cc -shared' to build shared libs
7341 SHLIB_CFLAGS="-fPIC"
7342 SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
7344 LDFLAGS="$LDFLAGS -export-dynamic"
7348 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7351 # The -pthread needs to go in the CFLAGS, not LIBS
7352 LIBS=`echo $LIBS | sed s/-pthread//`
7353 CFLAGS="$CFLAGS -pthread"
7354 LDFLAGS="$LDFLAGS -pthread"
7356 Darwin-*)
7357 CFLAGS_OPTIMIZE="-Os"
7358 SHLIB_CFLAGS="-fno-common"
7360 # preprocessing tests and compiling tests, move any -isysroot and
7361 # -mmacosx-version-min flags from CFLAGS to CPPFLAGS:
7363 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
7364 if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`"
7366 awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
7367 if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`"
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
7374 printf %s "checking if compiler accepts -arch ppc64 flag... " >&6; }
7381 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
7382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
7408 CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
7413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
7414 printf %s "checking if compiler accepts -arch x86_64 flag... " >&6; }
7421 CFLAGS="$CFLAGS -arch x86_64"
7422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
7448 CFLAGS="$CFLAGS -arch x86_64"
7453 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architectur…
7454 printf "%s\n" "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
7459 # Check for combined 32-bit and 64-bit fat build
7460 if echo "$CFLAGS " |grep -E -q -- '-arch (ppc64|x86_64) ' \
7461 && echo "$CFLAGS " |grep -E -q -- '-arch (ppc|i386) '
7469 SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}'
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
7471 printf %s "checking if ld accepts -single_module flag... " >&6; }
7478 LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
7479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
7505 SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
7509 …vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([0-9]\{1,5\}\)\(\(\.[0-9]\{1,3\}\)\{0,2\}\).*$/\1\2/p…
7510 SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}"
7512 LDFLAGS="$LDFLAGS -headerpad_max_install_names"
7513 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
7514 printf %s "checking if ld accepts -search_paths_first flag... " >&6; }
7521 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
7522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
7548 LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
7564 # extensions, verify that 64-bit build is possible.
7565 if test "$fat_32_64" = yes && test -n "${TK_BIN_DIR}"
7571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit X11" >&5
7572 printf %s "checking for 64-bit X11... " >&6; }
7579 … eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
7581 CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
7582 LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
7583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_x11_64" >&5
7613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit Tk" >&5
7614 printf %s "checking for 64-bit Tk... " >&6; }
7621 … eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
7623 CPPFLAGS="$CPPFLAGS -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 ${TCL_INCLUDES} ${TK_INCLUDES}"
7625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_tk_64" >&5
7652 # remove 64-bit arch flags from CFLAGS et al. if configuration
7653 # does not support 64-bit.
7654 if test "$tcl_cv_lib_tk_64" = no -o "$tcl_cv_lib_x11_64" = no
7657 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Removing 64-bit architectures from compiler & linker…
7658 printf "%s\n" "$as_me: Removing 64-bit architectures from compiler & linker flags" >&6;}
7660 eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
7666 OS/390-*)
7672 OSF1-V*)
7678 SHLIB_LD='ld -shared -expect_unresolved "*"'
7682 SHLIB_LD='ld -non_shared -expect_unresolved "*"'
7689 CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
7690 LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
7694 CFLAGS="$CFLAGS -mieee"
7697 CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee"
7700 CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
7701 CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
7702 LIBS=`echo $LIBS | sed s/-lpthreads//`
7706 LIBS="$LIBS -lpthread -lmach -lexc"
7710 CFLAGS="$CFLAGS -pthread"
7711 LDFLAGS="$LDFLAGS -pthread"
7715 QNX-6*)
7718 SHLIB_CFLAGS="-fPIC"
7719 SHLIB_LD="ld -Bshareable -x"
7725 SCO_SV-3.2*)
7729 SHLIB_CFLAGS="-fPIC -melf"
7730 LDFLAGS="$LDFLAGS -melf -Wl,-Bexport"
7734 SHLIB_CFLAGS="-Kpic -belf"
7735 LDFLAGS="$LDFLAGS -belf -Wl,-Bexport"
7738 SHLIB_LD="ld -G"
7744 SunOS-5.[0-6])
7748 # won't define thread-safe library routines.
7757 SHLIB_CFLAGS="-KPIC"
7762 SHLIB_LD='${CC} -shared'
7763 CC_SEARCH_FLAGS='"-Wl,-R,${LIB_RUNTIME_DIR}"'
7768 SHLIB_LD="/usr/ccs/bin/ld -G -z text"
7769 CC_SEARCH_FLAGS='-R "${LIB_RUNTIME_DIR}"'
7774 SunOS-5*)
7776 # won't define thread-safe library routines.
7785 SHLIB_CFLAGS="-KPIC"
7787 # Check to enable 64-bit flags for compiler/linker
7798 if test "`${CC} -dumpversion | awk -F. '{print $1}'`" -lt 3
7801 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on …
7807 CFLAGS="$CFLAGS -m64 -mcpu=v9"
7808 LDFLAGS="$LDFLAGS -m64 -mcpu=v9"
7809 SHLIB_CFLAGS="-fPIC"
7819 CFLAGS="$CFLAGS -xarch=v9a"
7820 LDFLAGS_ARCH="-xarch=v9a"
7824 CFLAGS="$CFLAGS -xarch=v9"
7825 LDFLAGS_ARCH="-xarch=v9"
7841 SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
7843 CFLAGS="$CFLAGS -m64"
7844 LDFLAGS="$LDFLAGS -m64";;
7846 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $syste…
7854 SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
7855 CFLAGS="$CFLAGS -m64"
7856 LDFLAGS="$LDFLAGS -m64";;
7858 CFLAGS="$CFLAGS -xarch=amd64"
7859 LDFLAGS="$LDFLAGS -xarch=amd64";;
7865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
7876 SHLIB_LD='${CC} -shared'
7877 CC_SEARCH_FLAGS='"-Wl,-R,${LIB_RUNTIME_DIR}"'
7885 # We need to specify -static-libgcc or we need to
7887 # JH: static-libgcc is necessary for core Tcl, but may
7889 SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
7892 #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
7893 #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"
7899 # JH: static-libgcc is necessary for core Tcl, but may
7901 SHLIB_LD="$SHLIB_LD -m64 -static-libgcc"
7911 SunOS-5.[1-9][0-9]*)
7913 SHLIB_LD='${CC} -G -z text ${LDFLAGS_DEFAULT}';;
7915 SHLIB_LD='/usr/ccs/bin/ld -G -z text';;
7917 CC_SEARCH_FLAGS='"-Wl,-R,${LIB_RUNTIME_DIR}"'
7918 LD_SEARCH_FLAGS='-R "${LIB_RUNTIME_DIR}"'
7922 UNIX_SV* | UnixWare-5*)
7923 SHLIB_CFLAGS="-KPIC"
7924 SHLIB_LD='${CC} -G'
7928 # that don't grok the -Bexport option. Test that it does.
7929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
7930 printf %s "checking for ld accepts -Bexport flag... " >&6; }
7937 LDFLAGS="$LDFLAGS -Wl,-Bexport"
7938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
7964 LDFLAGS="$LDFLAGS -Wl,-Bexport"
7972 if test "$do64bit" = yes -a "$do64bit_ok" = no
7975 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know …
7976 printf "%s\n" "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform"…
7994 AIX-*) ;;
7995 BSD/OS*) ;;
7998 NetBSD-*|DragonFly-*|FreeBSD-*|OpenBSD-*) ;;
7999 Darwin-*) ;;
8000 SCO_SV-3.2*) ;;
8002 *) SHLIB_CFLAGS="-fPIC" ;;
8028 if test "${GCC}" = "yes" -a ${SHLIB_SUFFIX} = ".dll"; then
8029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SEH support in compiler" >&5
8039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_seh" >&5
8081 # with Cygwin's version as of 2002-04-10, define it to be int,
8084 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EXCEPTION_DISPOSITION support in includ…
8090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_eh_disposition" >&5
8128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winnt.h that ignores VOID define" >&5
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_winnt_ignore_void" >&5
8176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cast to union support" >&5
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cast_to_union" >&5
8237 # verify any possible 64-bit or similar switches are necessary
8239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for required early compiler flags" >&5
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
8396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${tcl_flags}" >&5
8401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit integer type" >&5
8402 printf %s "checking for 64-bit integer type... " >&6; }
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8429 # type that is our current guess for a 64-bit type inside this check
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8458 -a "${TEA_PLATFORM}" = "windows" ; then
8461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: using Tcl header defaults" >&5
8467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${tcl_cv_type_64bit}" >&5
8471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct dirent64" >&5
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_dirent64" >&5
8506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DIR64" >&5
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_DIR64" >&5
8542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct stat64" >&5
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_stat64" >&5
8590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5
8597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8603 off64_t offset;
8615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8634 #--------------------------------------------------------------------
8635 # Set the default compiler switches based on the --enable-symbols option.
8636 #--------------------------------------------------------------------
8640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5
8642 # Check whether --enable-symbols was given.
8651 CFLAGS_DEFAULT="${CFLAGS_OPTIMIZE} -DNDEBUG"
8653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5
8669 if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
8675 if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
8677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem debugging" >&5
8680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5
8686 #--------------------------------------------------------------------
8690 #--------------------------------------------------------------------
8693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
8694 printf %s "checking for grep that handles long lines and -e... " >&6; }
8699 if test -z "$GREP"; then
8701 # Loop through the user's path and test for each of PROGNAME-LIST
8718 case `"$ac_path_GREP" --version 2>&1` in
8730 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
8733 if test $ac_count -gt ${ac_path_GREP_max-0}; then
8739 test $ac_count -gt 10 && break
8741 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8749 if test -z "$ac_cv_path_GREP"; then
8757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
8762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
8768 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8769 then ac_cv_path_EGREP="$GREP -E"
8771 if test -z "$EGREP"; then
8773 # Loop through the user's path and test for each of PROGNAME-LIST
8790 case `"$ac_path_EGREP" --version 2>&1` in
8805 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8811 test $ac_count -gt 10 && break
8813 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8821 if test -z "$ac_cv_path_EGREP"; then
8830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8836 if test "${TEA_PLATFORM}" = "windows" -a "$GCC" != "yes"; then
8837 MAKE_STATIC_LIB="\${STLIB_LD} -out:\$@ \$(PKG_OBJECTS)"
8838 …MAKE_SHARED_LIB="\${SHLIB_LD} \${LDFLAGS} \${LDFLAGS_DEFAULT} -out:\$@ \$(PKG_OBJECTS) \${SHLIB_LD…
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 print("manifest needed")
8848 $EGREP "manifest needed" >/dev/null 2>&1
8852 …VC_MANIFEST_EMBED_DLL="if test -f \$@.manifest ; then mt.exe -nologo -manifest \$@.manifest -outpu…
8853 …VC_MANIFEST_EMBED_EXE="if test -f \$@.manifest ; then mt.exe -nologo -manifest \$@.manifest -outpu…
8856 CLEANFILES="$CLEANFILES *.manifest"
8860 rm -rf conftest*
8862 MAKE_STUB_LIB="\${STLIB_LD} -nodefaultlib -out:\$@ \$(PKG_STUB_OBJECTS)"
8865 …MAKE_SHARED_LIB="\${SHLIB_LD} \${LDFLAGS} \${LDFLAGS_DEFAULT} -o \$@ \$(PKG_OBJECTS) \${SHLIB_LD_L…
8875 #--------------------------------------------------------------------
8879 #--------------------------------------------------------------------
8883 if test "${TCL_MAJOR_VERSION}" -gt 8 ; then
8897 SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -static-libgcc"
8954 #--------------------------------------------------------------------
8960 #--------------------------------------------------------------------
8963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5
8965 if test -f "${TCL_BIN_DIR}/Makefile" ; then
8968 if test -f "${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}${EXEEXT}" ; then
8970 … elif test -f "${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}s${EXEEXT}" ; then
8972 … elif test -f "${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}t${EXEEXT}" ; then
8974 … elif test -f "${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}st${EXEEXT}" ; then
8987 list="`ls -d ${TCL_BIN_DIR}/../bin 2>/dev/null` \
8988 `ls -d ${TCL_BIN_DIR}/.. 2>/dev/null` \
8989 `ls -d ${TCL_PREFIX}/bin 2>/dev/null`"
8991 if test -f "$i/${TCLSH_PROG}" ; then
8998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${TCLSH_PROG}" >&5
9004 #--------------------------------------------------------------------
9006 #--------------------------------------------------------------------
9011 #--------------------------------------------------------------------
9015 #--------------------------------------------------------------------
9021 #--------------------------------------------------------------------
9024 #--------------------------------------------------------------------
9029 # scripts and configure runs, see configure's option --config-cache.
9034 # the --recheck option to rerun configure.
9048 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9053 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
9067 # `set' does not quote correctly, so add quotes: double-quote
9069 sed -n \
9075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9089 if test -w "$cache_file"; then
9091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9093 if test ! -f "$cache_file" || test -h "$cache_file"; then
9098 mv -f confcache "$cache_file"$$ &&
9099 mv -f "$cache_file"$$ "$cache_file" ;; #(
9101 mv -f confcache "$cache_file" ;;
9106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9110 rm -f confcache
9132 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
9134 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
9151 DEFS=`sed -n "$ac_script" confdefs.h`
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9192 SHELL=\${CONFIG_SHELL-$SHELL}
9196 ## -------------------- ##
9198 ## -------------------- ##
9207 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9209 alias -g '${1+"$@"}'='"$@"'
9212 case `(set -o) 2>/dev/null` in #(
9214 set -o posix ;; #(
9228 # Quoting is to prevent editors from complaining about space-tab.
9238 # Ensure predictable behavior from utilities with locale-dependent output.
9245 # to be unset--not just set to an empty or harmless value--now, to
9246 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
9262 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9263 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9282 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
9293 if test ! -f "$as_myself"; then
9301 # ----------------------------------------
9307 as_status=$1; test $as_status -eq 0 && as_status=1
9309 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9319 # -----------------------
9327 # -----------------
9328 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9337 # ---------------
9346 # ----------------------
9365 # ------------------
9378 as_val=`expr "$@" || test $? -eq 1`
9390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9402 as_me=`$as_basename -- "$0" ||
9433 case `echo -n x` in #(((((
9434 -n*)
9442 ECHO_N='-n';;
9445 # For backward compatibility with old third-party macros, we provide
9451 rm -f conf$$ conf$$.exe conf$$.file
9452 if test -d conf$$.dir; then
9453 rm -f conf$$.dir/conf$$.file
9455 rm -f conf$$.dir
9459 if ln -s conf$$.file conf$$ 2>/dev/null; then
9460 as_ln_s='ln -s'
9462 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9463 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9464 # In both cases, we have to default to `cp -pR'.
9465 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9466 as_ln_s='cp -pR'
9470 as_ln_s='cp -pR'
9473 as_ln_s='cp -pR'
9475 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9480 # -------------
9486 -*) as_dir=./$as_dir;;
9488 test -d "$as_dir" || eval $as_mkdir_p || {
9496 as_dir=`$as_dirname -- "$as_dir" ||
9519 test -d "$as_dir" && break
9521 test -z "$as_dirs" || eval "mkdir $as_dirs"
9522 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9526 if mkdir -p . 2>/dev/null; then
9527 as_mkdir_p='mkdir -p "$as_dir"'
9529 test -d ./-p && rmdir ./-p
9535 # -----------------------
9539 test -f "$1" && test -x "$1"
9541 as_test_x='test -x'
9552 ## ----------------------------------- ##
9554 ## ----------------------------------- ##
9572 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9597 -h, --help print this help, then exit
9598 -V, --version print version number and configuration settings, then exit
9599 --config print configuration, then exit
9600 -q, --quiet, --silent
9602 -d, --debug don't remove temporary files
9603 --recheck update $as_me by reconfiguring in the same conditions
9604 --file=FILE[:TEMPLATE]
9628 test -n "\$AWK" || AWK=awk
9637 --*=?*)
9642 --*=)
9656 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9658 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9660 --config | --confi | --conf | --con | --co | --c )
9662 --debug | --debu | --deb | --de | --d | -d )
9664 --file | --fil | --fi | --f )
9672 --he | --h | --help | --hel | -h )
9674 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9675 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9679 -*) as_fn_error $? "unrecognized option: \`$1'
9680 Try \`$0 --help' for more information." ;;
9693 ac_configure_extra_args="$ac_configure_extra_args --silent"
9699 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9712 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9755 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9762 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9763 test -d "$tmp"
9766 tmp=./conf$$-$RANDOM
9774 if test -n "$CONFIG_FILES"; then
9801 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9807 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9816 rm -f conf$$subs.sh
9821 sed -n '
9864 rm -f conf$$subs.awk
9927 fi # test -n "$CONFIG_FILES"
9940 :[FH]-) ac_tag=-:-;;
9958 -) ac_f="$ac_tmp/stdin";;
9960 # (if the path is not absolute). The absolute path cannot be DOS-style,
9962 test -f "$ac_f" ||
9965 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9979 if test x"$ac_file" != x-; then
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9993 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9999 ac_dir=`$as_dirname -- "$ac_file" ||
10080 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10083 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
10084 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10119 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10122 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10123 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10124 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
10125 "$ac_tmp/out"`; test -z "$ac_out"; } &&
10126 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
10131 rm -f "$ac_tmp/stdin"
10133 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10134 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10166 ac_config_status_args="$ac_config_status_args --quiet"
10174 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10175 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…