Tcl Source Code

View Ticket
Login
Ticket UUID: b4a5386ce0d95bb5404c8612ecf0588562af4a9a
Title: minizip: No such file or directory
Type: Bug Version: 9.0b1
Submitter: anonymous Created on: 2024-01-10 20:48:40
Subsystem: 80. Thread Package Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2024-09-30 12:12:01
Resolution: Rejected Closed By: gahr
    Closed on: 2024-09-30 12:12:01
Description:
 when attempting to make tcl 9, the 'configure' script ran without objections (tried a bunch of different variations of arguments given to it, including no arguments)

but when using 'make' to build tcl, the following error occurred:

...
gcc -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\" -DPACKAGE_VERSION=\"3.0b1\" -DPACKAGE_STRING=\"thread\ 3.0b1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_thread=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DUSE_TCL_STUBS=1 -DZIPFS_BUILD=1  -I"/sources/tktcl/tcl9.0b1/generic" -I.    -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -std=gnu2x -Oz  -pipe -m64 -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC  -c `echo /sources/tktcl/tcl9.0b1/pkgs/thread3.0b1/generic/tclXkeylist.c` -o tclXkeylist.o
gcc -DPACKAGE_NAME=\"thread\" -DPACKAGE_TARNAME=\"thread\" -DPACKAGE_VERSION=\"3.0b1\" -DPACKAGE_STRING=\"thread\ 3.0b1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_thread=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DUSE_TCL_STUBS=1 -DZIPFS_BUILD=1  -I"/sources/tktcl/tcl9.0b1/generic" -I.    -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -std=gnu2x -Oz  -pipe -m64 -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC  -c `echo /sources/tktcl/tcl9.0b1/pkgs/thread3.0b1/unix/threadUnix.c` -o threadUnix.o
creating libthread.vfs/thread_library (prepare compression)
creating libthread3.0b1.zip from libthread.vfs/thread_library
cd libthread.vfs && /sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1/minizip -o -r ../libthread3.0b1.zip *
/bin/sh: line 5: /sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1/minizip: No such file or directory
make[1]: *** [Makefile:233: libthread3.0b1.zip] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1'
make: *** [Makefile:2046: packages] Error 2

changing into the pkg/thread3.0b1 subdirectory and issuing 'make' gets this to happen again

it really does seem like 'minizip' is not being built, and doesn't exist on the system
so 
1) if it is a prerequisite for building tcl, it should be looked for in 'configure'
2) if it is something that gets built as part of tcl (if i'm under the correct understanding of what should be happening) this is failing somewhere


config.log:

root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# cat config.status 
#! /bin/sh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false

SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
as_nop=:
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
else $as_nop
  case `(set -o) 2>/dev/null` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac
fi



# Reset variables that may have inherited troublesome values from
# the environment.

# IFS needs to be set, to space, tab, and newline, in precisely that order.
# (If _AS_PATH_WALK were called with IFS unset, it would have the
# side effect of setting IFS to empty, thus disabling word splitting.)
# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
IFS=" ""	$as_nl"

PS1='$ '
PS2='> '
PS4='+ '

# Ensure predictable behavior from utilities with locale-dependent output.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# We cannot yet rely on "unset" to work, but we need these variables
# to be unset--not just set to an empty or harmless value--now, to
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
# also avoids known problems related to "unset" and subshell syntax
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
do eval test \${$as_var+y} \
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done

# Ensure that fds 0, 1, and 2 are open.
if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi

# The user is always right.
if ${PATH_SEPARATOR+false} :; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi


# Find who we are.  Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  exit 1
fi



# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
  as_status=$1; test $as_status -eq 0 && as_status=1
  if test "$4"; then
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  fi
  printf "%s\n" "$as_me: error: $2" >&2
  as_fn_exit $as_status
} # as_fn_error



# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
  return $1
} # as_fn_set_status

# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
  set +e
  as_fn_set_status $1
  exit $1
} # as_fn_exit

# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
  { eval $1=; unset $1;}
}
as_unset=as_fn_unset

# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
  eval 'as_fn_append ()
  {
    eval $1+=\$2
  }'
else $as_nop
  as_fn_append ()
  {
    eval $1=\$$1\$2
  }
fi # as_fn_append

# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
  eval 'as_fn_arith ()
  {
    as_val=$(( $* ))
  }'
else $as_nop
  as_fn_arith ()
  {
    as_val=`expr "$@" || test $? -eq 1`
  }
fi # as_fn_arith


if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi

if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits


# Determine whether it's possible to make 'echo' print without a newline.
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
  case `echo 'xy\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  xy)  ECHO_C='\c';;
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       ECHO_T='	';;
  esac;;
*)
  ECHO_N='-n';;
esac

# For backward compatibility with old third-party macros, we provide
# the shell variables $as_echo and $as_echo_n.  New code should use
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
as_echo='printf %s\n'
as_echo_n='printf %s'

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -pR'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -pR'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -pR'
  fi
else
  as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null


# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{

  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || eval $as_mkdir_p || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"


} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
  as_mkdir_p='mkdir -p "$as_dir"'
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi


# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
  test -f "$1" && test -x "$1"
} # as_fn_executable_p
as_test_x='test -x'
as_executable_p=as_fn_executable_p

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by thread $as_me 3.0b1, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

# Files that config.status was made for.
config_files=" Makefile pkgIndex.tcl"

ac_cs_usage="\
\`$as_me' instantiates files and other configuration actions
from templates according to the current configuration.  Unless the files
and actions are specified as TAGs, all are instantiated by default.

Usage: $0 [OPTION]... [TAG]...

  -h, --help       print this help, then exit
  -V, --version    print version number and configuration settings, then exit
      --config     print configuration, then exit
  -q, --quiet, --silent
                   do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
      --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE

Configuration files:
$config_files

Report bugs to the package provider."

ac_cs_config='--with-tcl=../.. --with-tclinclude=/sources/tktcl/tcl9.0b1/generic '\''CFLAGS= -std=gnu2x -Oz '\'' '\''CXXFLAGS= -std=c++23 -Os '\'' --prefix=/usr --mandir=/usr/share/man --enable-64bit --libdir=/usr/lib --enable-shared'
ac_cs_version="\
thread config.status 3.0b1
configured by /sources/tktcl/tcl9.0b1/pkgs/thread3.0b1/configure, generated by GNU Autoconf 2.71,
  with options \"$ac_cs_config\"

Copyright (C) 2021 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."

ac_pwd='/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1'
srcdir='/sources/tktcl/tcl9.0b1/pkgs/thread3.0b1'
test -n "$AWK" || AWK=awk
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=?*)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  --*=)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=
    ac_shift=:
    ;;
  *)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  esac

  case $ac_option in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    printf "%s\n" "$ac_cs_version"; exit ;;
  --config | --confi | --conf | --con | --co | --c )
    printf "%s\n" "$ac_cs_config"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    '') as_fn_error $? "missing file argument" ;;
    esac
    as_fn_append CONFIG_FILES " '$ac_optarg'"
    ac_need_defaults=false;;
  --he | --h |  --help | --hel | -h )
    printf "%s\n" "$ac_cs_usage"; exit ;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) as_fn_error $? "unrecognized option: \`$1'
Try \`$0 --help' for more information." ;;

  *) as_fn_append ac_config_targets " $1"
     ac_need_defaults=false ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

if $ac_cs_recheck; then
  set X /bin/sh '/sources/tktcl/tcl9.0b1/pkgs/thread3.0b1/configure'  '--with-tcl=../..' '--with-tclinclude=/sources/tktcl/tcl9.0b1/generic' 'CFLAGS= -std=gnu2x -Oz ' 'CXXFLAGS= -std=c++23 -Os ' '--prefix=/usr' '--mandir=/usr/share/man' '--enable-64bit' '--libdir=/usr/lib' '--enable-shared' $ac_configure_extra_args --no-create --no-recursion
  shift
  \printf "%s\n" "running CONFIG_SHELL=/bin/sh $*" >&6
  CONFIG_SHELL='/bin/sh'
  export CONFIG_SHELL
  exec "$@"
fi

exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  printf "%s\n" "$ac_log"
} >&5


# Handling of arguments.
for ac_config_target in $ac_config_targets
do
  case $ac_config_target in
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;;

  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  esac
done


# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
$debug ||
{
  tmp= ac_tmp=
  trap 'exit_status=$?
  : "${ac_tmp:=$tmp}"
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
' 0
  trap 'as_fn_exit 1' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -d "$tmp"
}  ||
{
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
ac_tmp=$tmp

# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with `./config.status config.h'.
if test -n "$CONFIG_FILES"; then


ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr.
# But we know of no other shell where ac_cr would be empty at this
# point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
  eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  ac_cs_awk_cr='\\r'
else
  ac_cs_awk_cr=$ac_cr
fi

echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
S["LTLIBOBJS"]=""
S["INSTALL_MSGS"]=""
S["INSTALL_LIBRARIES"]="install-demos"
S["THREAD_ZIP_FILE"]="libthread3.0b1.zip"
S["ZIPFS_BUILD"]="1"
S["ZIP_INSTALL_OBJS"]="minizip"
S["ZIP_PROG_VFSSEARCH"]="*"
S["ZIP_PROG_OPTIONS"]="-o -r"
S["ZIP_PROG"]="./minizip"
S["MACHER_PROG"]=""
S["TCLSH_PROG"]="/sources/tktcl/tcl9.0b1/unix/tclsh"
S["VC_MANIFEST_EMBED_EXE"]=""
S["VC_MANIFEST_EMBED_DLL"]=""
S["RANLIB_STUB"]="ranlib"
S["PKG_STUB_LIB_FILE"]="libthreadstub.a"
S["MAKE_STUB_LIB"]="${STLIB_LD} $@ $(PKG_STUB_OBJECTS)"
S["MAKE_STATIC_LIB"]="${STLIB_LD} $@ $(PKG_OBJECTS)"
S["MAKE_SHARED_LIB"]="${SHLIB_LD} ${LDFLAGS} ${LDFLAGS_DEFAULT} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS}"
S["MAKE_LIB"]="${SHLIB_LD} ${LDFLAGS} ${LDFLAGS_DEFAULT} -o $@ $(PKG_OBJECTS) ${SHLIB_LD_LIBS} "
S["EGREP"]="/usr/bin/grep -E"
S["GREP"]="/usr/bin/grep"
S["LDFLAGS_DEFAULT"]=""
S["CFLAGS_DEFAULT"]="-O2 -fomit-frame-pointer -DNDEBUG"
S["LD_LIBRARY_PATH_VAR"]="LD_LIBRARY_PATH"
S["SHLIB_CFLAGS"]="-fPIC"
S["SHLIB_LD_LIBS"]="${LIBS} -L/sources/tktcl/tcl9.0b1/unix -ltclstub"
S["SHLIB_LD"]="${CC} ${CFLAGS} ${LDFLAGS_DEFAULT} -shared"
S["STLIB_LD"]="${AR} cr"
S["LDFLAGS_OPTIMIZE"]=""
S["LDFLAGS_DEBUG"]=""
S["CFLAGS_WARNING"]="-Wall"
S["CFLAGS_OPTIMIZE"]="-O2 -fomit-frame-pointer"
S["CFLAGS_DEBUG"]="-g"
S["LIBOBJS"]=""
S["RC"]=""
S["AR"]="ar"
S["STUBS_BUILD"]="1"
S["SHARED_BUILD"]="1"
S["TCL_THREADS"]="1"
S["TCL_INCLUDES"]="-I\"/sources/tktcl/tcl9.0b1/generic\""
S["PKG_OBJECTS"]=" threadNs.o threadCmd.o threadSvCmd.o threadSpCmd.o threadPoolCmd.o psGdbm.o psLmdb.o threadSvListCmd.o threadSvKeylistCmd.o tclXkeylist.o threadUni"\
"x.o"
S["PKG_SOURCES"]=" generic/threadNs.c generic/threadCmd.c generic/threadSvCmd.c generic/threadSpCmd.c generic/threadPoolCmd.c generic/psGdbm.c generic/psLmdb.c generi"\
"c/threadSvListCmd.c generic/threadSvKeylistCmd.c generic/tclXkeylist.c unix/threadUnix.c"
S["RANLIB"]=":"
S["SET_MAKE"]=""
S["CPP"]="gcc -E"
S["TCL_SHLIB_LD_LIBS"]="${LIBS}"
S["TCL_LD_FLAGS"]=" -Wl,--export-dynamic "
S["TCL_EXTRA_CFLAGS"]=" -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8 "
S["TCL_DEFS"]="-DPACKAGE_NAME=\\\"tcl\\\" -DPACKAGE_TARNAME=\\\"tcl\\\" -DPACKAGE_VERSION=\\\"9.0\\\" -DPACKAGE_STRING=\\\"tcl\\ 9.0\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\""\
" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_"\
"H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\\\"utf-8\\\" -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHA"\
"VE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_DECL_PTHREAD_MUTEX_RECURSIVE=1 -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(_"\
"_visibility__\\(\\\"hidden\\\"\\)\\)\\) -DHAVE_HIDDEN=1 -DTCL_CFG_DO64BIT=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DHAVE_VFORK=1 -DHAVE_POSIX_SPAWNP=1 -"\
"DHAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1 -DHAVE_POSIX_SPAWNATTR_SETFLAGS=1 -DTCL_SHLIB_EXT=\\\".so\\\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DMP_PREC=4 -D_L"\
"ARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREE"\
"ADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DH"\
"AVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DH"\
"AVE_GETGRNAM_R=1 -DHAVE_DECL_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_DECL_GETHOSTBYADDR_R=1 -DHAVE_GETHOSTBYADD"\
"R_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_PSELECT=1 -DHAVE_SYS_EPOLL_H=1 -DNOTIFIER_EPOLL=1 -DHAVE_SYS_EVENTFD"\
"_H=1 -DHAVE_EVENTFD=1 -DHAVE_SYS_TIME_H=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STR"\
"UCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_"\
"WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CFMAKERAW=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUI"\
"D=1 -DZIPFS_BUILD=1"
S["TCL_LIBS"]="-ldl -lz  -lpthread -lm"
S["CLEANFILES"]=""
S["OBJEXT"]="o"
S["ac_ct_CC"]="gcc"
S["CPPFLAGS"]=""
S["LDFLAGS"]=" -Wl,--export-dynamic "
S["CFLAGS"]=" -std=gnu2x -Oz  -pipe -m64 ${CFLAGS_DEFAULT} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} "
S["CC"]="gcc"
S["TCL_STUB_LIB_SPEC"]="-L/sources/tktcl/tcl9.0b1/unix -ltclstub"
S["TCL_STUB_LIB_FLAG"]="-ltclstub"
S["TCL_STUB_LIB_FILE"]="libtclstub.a"
S["TCL_LIB_SPEC"]="-L/sources/tktcl/tcl9.0b1/unix -ltcl9.0"
S["TCL_LIB_FLAG"]="-ltcl9.0"
S["TCL_LIB_FILE"]="libtcl9.0.so"
S["TCL_SRC_DIR"]="/sources/tktcl/tcl9.0b1"
S["TCL_BIN_DIR"]="/sources/tktcl/tcl9.0b1/unix"
S["TCL_PATCH_LEVEL"]="b1"
S["TCL_VERSION"]="9.0"
S["INSTALL_LIBRARY"]="${INSTALL} -m 644"
S["INSTALL_SCRIPT"]="${INSTALL} -m 755"
S["INSTALL_PROGRAM"]="${INSTALL} -m 755"
S["INSTALL_DATA"]="${INSTALL} -m 644"
S["INSTALL_DATA_DIR"]="${INSTALL} -d -m 755"
S["INSTALL"]="$(SHELL) $(srcdir)/tclconfig/install-sh -c"
S["PKG_CFLAGS"]="  "
S["PKG_LIBS"]=""
S["PKG_INCLUDES"]=""
S["PKG_HEADERS"]=" generic/tclThread.h"
S["PKG_TCL_SOURCES"]=" lib/ttrace.tcl"
S["PKG_STUB_OBJECTS"]=""
S["PKG_STUB_SOURCES"]=""
S["PKG_LIB_FILE9"]="libtcl9thread3.0b1.so"
S["PKG_LIB_FILE8"]="libthread3.0b1.so"
S["PKG_LIB_FILE"]="libtcl9thread3.0b1.so"
S["EXEEXT"]=""
S["CYGPATH"]="echo"
S["target_alias"]=""
S["host_alias"]=""
S["build_alias"]=""
S["LIBS"]=""
S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"thread\\\" -DPACKAGE_TARNAME=\\\"thread\\\" -DPACKAGE_VERSION=\\\"3.0b1\\\" -DPACKAGE_STRING=\\\"thread\\ 3.0b1\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPAC"\
"KAGE_URL=\\\"\\\" -DBUILD_thread=/\\*\\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -D"\
"HAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE"\
"_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\\ __attribute__\\(\\(__visibility__\\(\\\"hidden\\\"\\)\\)\\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DH"\
"AVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DUSE_TCL_STUBS=1 -DZIPFS_BUILD=1"
S["mandir"]="/usr/share/man"
S["localedir"]="${datarootdir}/locale"
S["libdir"]="/usr/lib"
S["psdir"]="${docdir}"
S["pdfdir"]="${docdir}"
S["dvidir"]="${docdir}"
S["htmldir"]="${docdir}"
S["infodir"]="${datarootdir}/info"
S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
S["oldincludedir"]="/usr/include"
S["includedir"]="${prefix}/include"
S["runstatedir"]="${localstatedir}/run"
S["localstatedir"]="${prefix}/var"
S["sharedstatedir"]="${prefix}/com"
S["sysconfdir"]="${prefix}/etc"
S["datadir"]="${datarootdir}"
S["datarootdir"]="${prefix}/share"
S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin"
S["program_transform_name"]="s,x,x,"
S["prefix"]="/usr"
S["exec_prefix"]="/usr"
S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]=""
S["PACKAGE_STRING"]="thread 3.0b1"
S["PACKAGE_VERSION"]="3.0b1"
S["PACKAGE_TARNAME"]="thread"
S["PACKAGE_NAME"]="thread"
S["PATH_SEPARATOR"]=":"
S["SHELL"]="/bin/sh"
_ACAWK
cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  for (key in S) S_is_set[key] = 1
  FS = ""

}
{
  line = $ 0
  nfields = split(line, field, "@")
  substed = 0
  len = length(field[1])
  for (i = 2; i < nfields; i++) {
    key = field[i]
    keylen = length(key)
    if (S_is_set[key]) {
      value = S[key]
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
      len += length(value) + length(field[++i])
      substed = 1
    } else
      len += 1 + keylen
  }

  print line
}

_ACAWK
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
  cat
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
fi # test -n "$CONFIG_FILES"


eval set X "  :F $CONFIG_FILES      "
shift
for ac_tag
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$ac_tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
      esac
      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
      as_fn_append ac_file_inputs " '$ac_f'"
    done

    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input='Generated from '`
	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
	`' by configure.'
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
printf "%s\n" "$as_me: creating $ac_file" >&6;}
    fi
    # Neutralize special characters interpreted by sed in replacement strings.
    case $configure_input in #(
    *\&* | *\|* | *\\* )
       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
    *) ac_sed_conf_input=$configure_input;;
    esac

    case $ac_tag in
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    esac
    ;;
  esac

  ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  as_dir="$ac_dir"; as_fn_mkdir_p
  ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #

# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
  p
  q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  ac_datarootdir_hack='
  s&@datadir@&${datarootdir}&g
  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  s&@infodir@&${datarootdir}/info&g
  s&@localedir@&${datarootdir}/locale&g
  s&@mandir@&/usr/share/man&g
  s&\${datarootdir}&${prefix}/share&g' ;;
esac
ac_sed_extra="

:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@top_build_prefix@&$ac_top_build_prefix&;t t
s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined" >&5
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined" >&2;}

  rm -f "$ac_tmp/stdin"
  case $ac_file in
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  esac \
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 ;;



  esac

done # for ac_tag


as_fn_exit 0
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# cd ..
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs# ls
itcl4.2.4  sqlite3.44.2  tdbc1.1.6  tdbcmysql1.1.6  tdbcodbc1.1.6  tdbcpostgres1.1.6  tdbcsqlite3-1.1.6  thread3.0b1
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs# cd thread3.0b1/
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# ls
config.log     libthread.vfs  pkgIndex.tcl  psLmdb.o       threadCmd.o  threadPoolCmd.o  threadSvCmd.o         threadSvListCmd.o  threadUuid.h
config.status  Makefile       psGdbm.o      tclXkeylist.o  threadNs.o   threadSpCmd.o    threadSvKeylistCmd.o  threadUnix.o
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# ls minizip*
ls: cannot access 'minizip*': No such file or directory
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# make
creating libthread.vfs/thread_library (prepare compression)
creating libthread3.0b1.zip from libthread.vfs/thread_library
cd libthread.vfs && /sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1/minizip -o -r ../libthread3.0b1.zip *
/bin/sh: line 5: /sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1/minizip: No such file or directory
make: *** [Makefile:233: libthread3.0b1.zip] Error 127
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# ls libthread.vfs/
thread_library
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# cd libthread.vfs/
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1/libthread.vfs# ls
thread_library
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1/libthread.vfs# cd ..
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# l
config.log     libthread.vfs  pkgIndex.tcl  psLmdb.o       threadCmd.o  threadPoolCmd.o  threadSvCmd.o         threadSvListCmd.o  threadUuid.h
config.status  Makefile       psGdbm.o      tclXkeylist.o  threadNs.o   threadSpCmd.o    threadSvKeylistCmd.o  threadUnix.o
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs/thread3.0b1# cd ..
root@fatima:/sources/tktcl/tcl9.0b1/unix/pkgs# cd ..
root@fatima:/sources/tktcl/tcl9.0b1/unix# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tcl configure 9.0, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./configure 'CFLAGS= -std=gnu2x -Oz ' 'CXXFLAGS= -std=c++23 -Os ' --prefix=/usr --mandir=/usr/share/man --enable-64bit

## --------- ##
## Platform. ##
## --------- ##

hostname = fatima
uname -m = x86_64
uname -r = 6.7.0-gnm-c23lfs
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Tue Jan  9 15:37:28 CST 2024

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/sbin/
PATH: /usr/bin/
PATH: /root/tools/
PATH: /usr/games/
PATH: /usr/local/bin/
PATH: /usr/local/sbin/
PATH: /usr/sbin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2737: checking whether to use symlinks for manpages
configure:2747: result: no
configure:2750: checking whether to compress the manpages
configure:2764: result: no
configure:2778: checking whether to add a package name suffix for the manpages
configure:2792: result: no
configure:2870: checking for gcc
configure:2891: found /usr/bin/gcc
configure:2902: result: gcc
configure:3255: checking for C compiler version
configure:3264: gcc --version >&5
gcc (GCC) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3275: $? = 0
configure:3264: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/13.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --prefix=/usr --disable-multilib --with-system-zlib --enable-default-pie --enable-default-ssp --disable-fixincludes --enable-languages=c,c++,fortran --enable-bootstrap
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 (GCC) 
configure:3275: $? = 0
configure:3264: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3275: $? = 1
configure:3264: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3275: $? = 1
configure:3264: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3275: $? = 1
configure:3295: checking whether the C compiler works
configure:3317: gcc  -std=gnu2x -Oz    conftest.c  >&5
configure:3321: $? = 0
configure:3371: result: yes
configure:3374: checking for C compiler default output file name
configure:3376: result: a.out
configure:3382: checking for suffix of executables
configure:3389: gcc -o conftest  -std=gnu2x -Oz    conftest.c  >&5
configure:3393: $? = 0
configure:3416: result: 
configure:3438: checking whether we are cross compiling
configure:3446: gcc -o conftest  -std=gnu2x -Oz    conftest.c  >&5
configure:3450: $? = 0
configure:3457: ./conftest
configure:3461: $? = 0
configure:3476: result: no
configure:3481: checking for suffix of object files
configure:3504: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3508: $? = 0
configure:3530: result: o
configure:3534: checking whether the compiler supports GNU C
configure:3554: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3554: $? = 0
configure:3564: result: yes
configure:3575: checking whether gcc accepts -g
configure:3596: gcc -c -g  conftest.c >&5
configure:3596: $? = 0
configure:3640: result: yes
configure:3660: checking for gcc option to enable C11 features
configure:3675: gcc  -c  -std=gnu2x -Oz   conftest.c >&5
conftest.c: In function 'e':
conftest.c:23:14: warning: old-style function definition [-Wold-style-definition]
   23 | static char *e (p, i)
      |              ^
configure:3675: $? = 0
configure:3693: result: none needed
configure:3804: checking for inline
configure:3821: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3821: $? = 0
configure:3830: result: inline
configure:3863: checking for stdio.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for stdlib.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for string.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for inttypes.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for stdint.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for strings.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for sys/stat.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for sys/types.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for unistd.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3863: checking for sys/time.h
configure:3863: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:3863: $? = 0
configure:3863: result: yes
configure:3893: checking how to run the C preprocessor
configure:3919: gcc -E  conftest.c
configure:3919: $? = 0
configure:3934: gcc -E  conftest.c
conftest.c:20:10: fatal error: ac_nonexistent.h: No such file or directory
   20 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3934: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3961: result: gcc -E
configure:3975: gcc -E  conftest.c
configure:3975: $? = 0
configure:3990: gcc -E  conftest.c
conftest.c:20:10: fatal error: ac_nonexistent.h: No such file or directory
   20 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3990: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4021: checking for grep that handles long lines and -e
configure:4085: result: /usr/bin/grep
configure:4090: checking for egrep
configure:4158: result: /usr/bin/grep -E
configure:4164: checking for string.h
configure:4164: result: yes
configure:4210: checking for sys/wait.h
configure:4210: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:4210: $? = 0
configure:4210: result: yes
configure:4220: checking for dlfcn.h
configure:4220: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:4220: $? = 0
configure:4220: result: yes
configure:4232: checking for sys/param.h
configure:4232: gcc -c  -std=gnu2x -Oz   conftest.c >&5
configure:4232: $? = 0
configure:4232: result: yes
configure:4253: checking if the compiler understands -pipe
configure:4272: gcc -c  -std=gnu2x -Oz  -pipe  conftest.c >&5
configure:4272: $? = 0
configure:4281: result: yes
configure:4316: checking for gcc options needed to detect all undeclared functions
configure:4338: gcc -c  -std=gnu2x -Oz  -pipe   conftest.c >&5
conftest.c: In function 'main':
conftest.c:26:8: error: 'strchr' undeclared (first use in this function)
   26 | (void) strchr;
      |        ^~~~~~
conftest.c:1:1: note: 'strchr' is defined in header '<string.h>'; did you forget to '#include <string.h>'?
    1 | /* confdefs.h */
conftest.c:26:8: note: each undeclared identifier is reported only once for each function it appears in
   26 | (void) strchr;
      |        ^~~~~~
configure:4338: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| (void) strchr;
|   ;
|   return 0;
| }
configure:4365: gcc -c  -std=gnu2x -Oz  -pipe   conftest.c >&5
configure:4365: $? = 0
configure:4382: result: none needed
configure:4402: checking for sin
configure:4402: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c  >&5
conftest.c:38:6: warning: conflicting types for built-in function 'sin'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
   38 | char sin ();
      |      ^~~
conftest.c:30:1: note: 'sin' is declared in header '<math.h>'
   29 | #include <limits.h>
   30 | #undef sin
/usr/bin/ld: /tmp/ccCOhCvf.o: in function `main':
conftest.c:(.text.startup+0x2): undefined reference to `sin'
collect2: error: ld returned 1 exit status
configure:4402: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| /* end confdefs.h.  */
| /* Define sin to an innocuous variant, in case <limits.h> declares sin.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sin innocuous_sin
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char sin (); below.  */
| 
| #include <limits.h>
| #undef sin
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sin ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sin || defined __stub___sin
| choke me
| #endif
| 
| int
| main (void)
| {
| return sin ();
|   ;
|   return 0;
| }
configure:4402: result: no
configure:4416: checking for main in -linet
configure:4436: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c -linet   >&5
/usr/bin/ld: cannot find -linet: No such file or directory
collect2: error: ld returned 1 exit status
configure:4436: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| /* end confdefs.h.  */
| 
| 
| int
| main (void)
| {
| return main ();
|   ;
|   return 0;
| }
configure:4446: result: no
configure:4453: checking for net/errno.h
configure:4453: gcc -c  -std=gnu2x -Oz  -pipe  conftest.c >&5
conftest.c:50:10: fatal error: net/errno.h: No such file or directory
   50 | #include <net/errno.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
configure:4453: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/errno.h>
configure:4453: result: no
configure:4482: checking for connect
configure:4482: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c  >&5
configure:4482: $? = 0
configure:4482: result: yes
configure:4553: checking for gethostbyname
configure:4553: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c  >&5
configure:4553: $? = 0
configure:4553: result: yes
configure:4607: checking for pthread_mutex_init in -lpthread
configure:4630: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c -lpthread   >&5
configure:4630: $? = 0
configure:4640: result: yes
configure:4850: checking for pthread_attr_setstacksize
configure:4850: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c   -lpthread >&5
configure:4850: $? = 0
configure:4850: result: yes
configure:4856: checking for pthread_atfork
configure:4856: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c   -lpthread >&5
configure:4856: $? = 0
configure:4856: result: yes
configure:4866: checking whether PTHREAD_MUTEX_RECURSIVE is declared
configure:4866: gcc -c  -std=gnu2x -Oz  -pipe   conftest.c >&5
configure:4866: $? = 0
configure:4866: result: yes
configure:4888: checking how to build libraries
configure:4899: result: shared
configure:4920: checking for tclsh
configure:4945: result: /usr/bin/tclsh8.6
configure:4964: checking for zlib.h
configure:4964: gcc -c  -std=gnu2x -Oz  -pipe  conftest.c >&5
configure:4964: $? = 0
configure:4964: result: yes
configure:4968: checking for gz_header
configure:4968: gcc -c  -std=gnu2x -Oz  -pipe  conftest.c >&5
configure:4968: $? = 0
configure:4968: gcc -c  -std=gnu2x -Oz  -pipe  conftest.c >&5
conftest.c: In function 'main':
conftest.c:32:24: error: expected expression before ')' token
   32 | if (sizeof ((gz_header)))
      |                        ^
configure:4968: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| /* end confdefs.h.  */
| #include <zlib.h>
| 
| int
| main (void)
| {
| if (sizeof ((gz_header)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:4968: result: yes
configure:4985: checking for library containing deflateSetHeader
configure:5015: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c  -lpthread >&5
/usr/bin/ld: /tmp/cctvjzjK.o: in function `main':
conftest.c:(.text.startup+0x2): undefined reference to `deflateSetHeader'
collect2: error: ld returned 1 exit status
configure:5015: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char deflateSetHeader ();
| int
| main (void)
| {
| return deflateSetHeader ();
|   ;
|   return 0;
| }
configure:5015: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c -lz   -lpthread >&5
configure:5015: $? = 0
configure:5035: result: -lz
configure:5076: checking for tommath.h
configure:5076: gcc -c  -std=gnu2x -Oz  -pipe  conftest.c >&5
conftest.c:56:10: fatal error: tommath.h: No such file or directory
   56 | #include <tommath.h>
      |          ^~~~~~~~~~~
compilation terminated.
configure:5076: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <tommath.h>
configure:5076: result: no
configure:5218: checking for ranlib
configure:5239: found /usr/bin/ranlib
configure:5250: result: ranlib
configure:5276: checking if 64bit support is requested
configure:5286: result: yes
configure:5291: checking if 64bit Sparc VIS support is requested
configure:5301: result: no
configure:5312: checking if compiler supports visibility "hidden"
configure:5333: gcc -o conftest  -std=gnu2x -Oz  -pipe -Werror   conftest.c -lz  -lpthread >&5
configure:5333: $? = 0
configure:5343: result: yes
configure:5359: checking if rpath support is requested
configure:5369: result: yes
configure:5376: checking system version
configure:5402: result: Linux-6.7.0-gnm-c23lfs
configure:5410: checking for dlopen in -ldl
configure:5433: gcc -o conftest  -std=gnu2x -Oz  -pipe   conftest.c -ldl  -lz  -lpthread >&5
configure:5433: $? = 0
configure:5443: result: yes
configure:5540: checking for ar
configure:5561: found /usr/bin/ar
configure:5572: result: ar
configure:6203: checking if compiler accepts -m64 flag
configure:6223: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64   -Wl,--export-dynamic conftest.c -lz  -lpthread >&5
configure:6223: $? = 0
configure:6233: result: yes
configure:7216: checking for cast to union support
configure:7236: gcc -c  -std=gnu2x -Oz  -pipe -m64  conftest.c >&5
configure:7236: $? = 0
configure:7245: result: yes
configure:7253: checking for working -fno-lto
configure:7270: gcc -c  -std=gnu2x -Oz  -pipe -m64 -fno-lto  conftest.c >&5
configure:7270: $? = 0
configure:7279: result: yes
configure:7287: checking if the compiler understands -finput-charset
configure:7306: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:7306: $? = 0
configure:7315: result: yes
configure:7321: checking for stdbool.h
configure:7321: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:7321: $? = 0
configure:7321: result: yes
configure:7331: checking for vfork
configure:7331: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:7331: $? = 0
configure:7331: result: yes
configure:7337: checking for posix_spawnp
configure:7337: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:7337: $? = 0
configure:7337: result: yes
configure:7343: checking for posix_spawn_file_actions_adddup2
configure:7343: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:7343: $? = 0
configure:7343: result: yes
configure:7349: checking for posix_spawnattr_setflags
configure:7349: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:7349: $? = 0
configure:7349: result: yes
configure:7398: checking for build with symbols
configure:7415: result: no
configure:7466: checking for required early compiler flags
configure:7485: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:7485: $? = 0
configure:7535: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:7535: $? = 0
configure:7585: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:45:15: error: storage size of 'buf' isn't known
   45 | struct stat64 buf; int i = stat64("/", &buf);
      |               ^~~
conftest.c:45:28: warning: implicit declaration of function 'stat64'; did you mean 'stat'? [-Wimplicit-function-declaration]
   45 | struct stat64 buf; int i = stat64("/", &buf);
      |                            ^~~~~~
      |                            stat
configure:7585: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| /* end confdefs.h.  */
| #include <sys/stat.h>
| int
| main (void)
| {
| struct stat64 buf; int i = stat64("/", &buf);
|   ;
|   return 0;
| }
configure:7601: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:7601: $? = 0
configure:7623: result:  _LARGEFILE64_SOURCE
configure:7629: checking if 'long' and 'long long' have the same size (64-bit)?
configure:7653: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:47:21: error: duplicate case value
   47 |             case 1: case (sizeof(long long)==sizeof(long)): ;
      |                     ^~~~
conftest.c:47:13: note: previously used here
   47 |             case 1: case (sizeof(long long)==sizeof(long)): ;
      |             ^~~~
configure:7653: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| switch (0) {
|             case 1: case (sizeof(long long)==sizeof(long)): ;
|         }
|   ;
|   return 0;
| }
configure:7664: result: yes
configure:7869: checking whether byte ordering is bigendian
configure:7885: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c:44:16: error: unknown type name 'not'
   44 |                not a universal capable compiler
      |                ^~~
conftest.c:44:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
   44 |                not a universal capable compiler
      |                      ^~~~~~~~~
conftest.c:44:22: error: unknown type name 'universal'
configure:7885: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
| 	       not a universal capable compiler
| 	     #endif
| 	     typedef int dummy;
| 
configure:7931: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:7931: $? = 0
configure:7950: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:50:18: error: unknown type name 'not'; did you mean 'ino_t'?
   50 |                  not big endian
      |                  ^~~
      |                  ino_t
conftest.c:50:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
   50 |                  not big endian
      |                          ^~~~~~
configure:7950: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| 		#include <sys/param.h>
| 
| int
| main (void)
| {
| #if BYTE_ORDER != BIG_ENDIAN
| 		 not big endian
| 		#endif
| 
|   ;
|   return 0;
| }
configure:8084: result: no
configure:8110: checking for getcwd
configure:8110: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8110: $? = 0
configure:8110: result: yes
configure:8125: checking for mkstemp
configure:8125: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8125: $? = 0
configure:8125: result: yes
configure:8138: checking for waitpid
configure:8138: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8138: $? = 0
configure:8138: result: yes
configure:8152: checking for strerror
configure:8152: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8152: $? = 0
configure:8152: result: yes
configure:8162: checking for getwd
configure:8162: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
/usr/bin/ld: /tmp/ccWbIPCP.o: in function `main':
conftest.c:(.text.startup+0x2): warning: the `getwd' function is dangerous and should not be used.
configure:8162: $? = 0
configure:8162: result: yes
configure:8172: checking for wait3
configure:8172: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8172: $? = 0
configure:8172: result: yes
configure:8182: checking for fork
configure:8182: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
conftest.c:62:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch]
   62 | char fork ();
      |      ^~~~
configure:8182: $? = 0
configure:8182: result: yes
configure:8192: checking for mknod
configure:8192: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8192: $? = 0
configure:8192: result: yes
configure:8202: checking for tcdrain
configure:8202: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8202: $? = 0
configure:8202: result: yes
configure:8212: checking for uname
configure:8212: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8212: $? = 0
configure:8212: result: yes
configure:8229: checking for realpath
configure:8229: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8229: $? = 0
configure:8229: result: yes
configure:8246: checking for getnameinfo
configure:8246: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8246: $? = 0
configure:8246: result: yes
configure:8246: checking for getaddrinfo
configure:8246: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8246: $? = 0
configure:8246: result: yes
configure:8246: checking for freeaddrinfo
configure:8246: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8246: $? = 0
configure:8246: result: yes
configure:8246: checking for gai_strerror
configure:8246: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8246: $? = 0
configure:8246: result: yes
configure:8258: checking for struct addrinfo
configure:8258: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8258: $? = 0
configure:8258: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:60:30: error: expected expression before ')' token
   60 | if (sizeof ((struct addrinfo)))
      |                              ^
configure:8258: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| /* end confdefs.h.  */
| 
| #include <sys/types.h>
| #include <sys/socket.h>
| #include <netinet/in.h>
| #include <netdb.h>
| 
| 
| int
| main (void)
| {
| if (sizeof ((struct addrinfo)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:8258: result: yes
configure:8274: checking for struct in6_addr
configure:8274: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8274: $? = 0
configure:8274: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:61:30: error: expected expression before ')' token
   61 | if (sizeof ((struct in6_addr)))
      |                              ^
configure:8274: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| /* end confdefs.h.  */
| 
| #include <sys/types.h>
| #include <sys/socket.h>
| #include <netinet/in.h>
| #include <netdb.h>
| 
| 
| int
| main (void)
| {
| if (sizeof ((struct in6_addr)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:8274: result: yes
configure:8290: checking for struct sockaddr_in6
configure:8290: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8290: $? = 0
configure:8290: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:62:34: error: expected expression before ')' token
   62 | if (sizeof ((struct sockaddr_in6)))
      |                                  ^
configure:8290: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| /* end confdefs.h.  */
| 
| #include <sys/types.h>
| #include <sys/socket.h>
| #include <netinet/in.h>
| #include <netdb.h>
| 
| 
| int
| main (void)
| {
| if (sizeof ((struct sockaddr_in6)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:8290: result: yes
configure:8306: checking for struct sockaddr_storage
configure:8306: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8306: $? = 0
configure:8306: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:38: error: expected expression before ')' token
   63 | if (sizeof ((struct sockaddr_storage)))
      |                                      ^
configure:8306: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| /* end confdefs.h.  */
| 
| #include <sys/types.h>
| #include <sys/socket.h>
| #include <netinet/in.h>
| #include <netdb.h>
| 
| 
| int
| main (void)
| {
| if (sizeof ((struct sockaddr_storage)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:8306: result: yes
configure:8346: checking for getpwuid_r
configure:8346: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8346: $? = 0
configure:8346: result: yes
configure:8350: checking for getpwuid_r with 5 args
configure:8378: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8378: $? = 0
configure:8386: result: yes
configure:8447: checking for getpwnam_r
configure:8447: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8447: $? = 0
configure:8447: result: yes
configure:8451: checking for getpwnam_r with 5 args
configure:8479: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8479: $? = 0
configure:8487: result: yes
configure:8548: checking for getgrgid_r
configure:8548: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8548: $? = 0
configure:8548: result: yes
configure:8552: checking for getgrgid_r with 5 args
configure:8580: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8580: $? = 0
configure:8588: result: yes
configure:8649: checking for getgrnam_r
configure:8649: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8649: $? = 0
configure:8649: result: yes
configure:8653: checking for getgrnam_r with 5 args
configure:8681: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8681: $? = 0
configure:8689: result: yes
configure:8777: checking whether gethostbyname_r is declared
configure:8777: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   conftest.c >&5
configure:8777: $? = 0
configure:8777: result: yes
configure:8797: checking for gethostbyname_r
configure:8797: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8797: $? = 0
configure:8797: result: yes
configure:8801: checking for gethostbyname_r with 6 args
configure:8829: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:8829: $? = 0
configure:8837: result: yes
configure:8945: checking whether gethostbyaddr_r is declared
configure:8945: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   conftest.c >&5
configure:8945: $? = 0
configure:8945: result: yes
configure:8965: checking for gethostbyaddr_r
configure:8965: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:8965: $? = 0
configure:8965: result: yes
configure:8969: checking for gethostbyaddr_r with 7 args
configure:9000: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:82:32: warning: passing argument 7 of 'gethostbyaddr_r' from incompatible pointer type [-Wincompatible-pointer-types]
   82 |                                &h_errnop);
      |                                ^~~~~~~~~
      |                                |
      |                                int *
In file included from conftest.c:67:
/usr/include/netdb.h:174:57: note: expected 'struct hostent ** restrict' but argument is of type 'int *'
  174 |                             struct hostent **__restrict __result,
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
conftest.c:81:16: error: too few arguments to function 'gethostbyaddr_r'
   81 |         (void) gethostbyaddr_r(addr, length, type, result, buffer, buflen,
      |                ^~~~~~~~~~~~~~~
/usr/include/netdb.h:170:12: note: declared here
  170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len,
      |            ^~~~~~~~~~~~~~~
configure:9000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| /* end confdefs.h.  */
| 
| 	#include <netdb.h>
| 
| int
| main (void)
| {
| 
| 	char *addr;
| 	int length;
| 	int type;
| 	struct hostent *result;
| 	char buffer[2048];
| 	int buflen = 2048;
| 	int h_errnop;
| 
| 	(void) gethostbyaddr_r(addr, length, type, result, buffer, buflen,
| 			       &h_errnop);
| 
|   ;
|   return 0;
| }
configure:9008: result: no
configure:9016: checking for gethostbyaddr_r with 8 args
configure:9047: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9047: $? = 0
configure:9055: result: yes
configure:9085: checking for termios.h
configure:9085: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9085: $? = 0
configure:9085: result: yes
configure:9092: checking for sys/ioctl.h
configure:9092: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9092: $? = 0
configure:9092: result: yes
configure:9099: checking for sys/modem.h
configure:9099: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c:98:10: fatal error: sys/modem.h: No such file or directory
   98 | #include <sys/modem.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
configure:9099: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/modem.h>
configure:9099: result: no
configure:9117: checking for fd_set in sys/types
configure:9135: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9135: $? = 0
configure:9143: result: yes
configure:9184: checking for pselect
configure:9202: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9202: $? = 0
configure:9210: result: yes
configure:9224: checking for advanced notifier support
configure:9228: result: epoll(7)
configure:9232: checking for sys/epoll.h
configure:9232: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9232: $? = 0
configure:9232: result: yes
configure:9244: checking for sys/eventfd.h
configure:9244: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9244: $? = 0
configure:9244: result: yes
configure:9296: checking for sys/time.h
configure:9296: result: yes
configure:9305: checking for gmtime_r
configure:9305: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:9305: $? = 0
configure:9305: result: yes
configure:9311: checking for localtime_r
configure:9311: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:9311: $? = 0
configure:9311: result: yes
configure:9317: checking for mktime
configure:9317: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:9317: $? = 0
configure:9317: result: yes
configure:9325: checking tm_tzadj in struct tm
configure:9343: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:83:23: error: 'struct tm' has no member named 'tm_tzadj'
   83 | struct tm tm; (void)tm.tm_tzadj;
      |                       ^
configure:9343: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| /* end confdefs.h.  */
| #include <time.h>
| int
| main (void)
| {
| struct tm tm; (void)tm.tm_tzadj;
|   ;
|   return 0;
| }
configure:9351: result: no
configure:9359: checking tm_gmtoff in struct tm
configure:9377: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9377: $? = 0
configure:9385: result: yes
configure:9397: checking long timezone variable
configure:9418: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9418: $? = 0
configure:9426: result: yes
configure:9482: checking for struct stat.st_blocks
configure:9482: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9482: $? = 0
configure:9482: result: yes
configure:9490: checking for struct stat.st_blksize
configure:9490: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9490: $? = 0
configure:9490: result: yes
configure:9498: checking for struct stat.st_rdev
configure:9498: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9498: $? = 0
configure:9498: result: yes
configure:9508: checking for blkcnt_t
configure:9508: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9508: $? = 0
configure:9508: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:115:23: error: expected expression before ')' token
  115 | if (sizeof ((blkcnt_t)))
      |                       ^
configure:9508: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((blkcnt_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9508: result: yes
configure:9517: checking for fstatfs
configure:9517: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:9517: $? = 0
configure:9517: result: yes
configure:9534: checking for memmove
configure:9534: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
conftest.c:101:6: warning: conflicting types for built-in function 'memmove'; expected 'void *(void *, const void *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
  101 | char memmove ();
      |      ^~~~~~~
conftest.c:93:1: note: 'memmove' is declared in header '<string.h>'
   92 | #include <limits.h>
   93 | #undef memmove
configure:9534: $? = 0
configure:9534: result: yes
configure:9554: checking for mode_t
configure:9554: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9554: $? = 0
configure:9554: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:116:21: error: expected expression before ')' token
  116 | if (sizeof ((mode_t)))
      |                     ^
configure:9554: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((mode_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9554: result: yes
configure:9565: checking for pid_t
configure:9565: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9565: $? = 0
configure:9565: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:117:20: error: expected expression before ')' token
  117 | if (sizeof ((pid_t)))
      |                    ^
configure:9565: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| 
| int
| main (void)
| {
| if (sizeof ((pid_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9565: result: yes
configure:9601: checking for size_t
configure:9601: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9601: $? = 0
configure:9601: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:116:21: error: expected expression before ')' token
  116 | if (sizeof ((size_t)))
      |                     ^
configure:9601: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main (void)
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9601: result: yes
configure:9611: checking for uid_t in sys/types.h
configure:9632: result: yes
configure:9644: checking for socklen_t
configure:9667: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9667: $? = 0
configure:9675: result: yes
configure:9683: checking for intptr_t
configure:9683: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9683: $? = 0
configure:9683: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:92:23: error: expected expression before ')' token
   92 | if (sizeof ((intptr_t)))
      |                       ^
configure:9683: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| /* end confdefs.h.  */
| 
| #include <stdint.h>
| 
| 
| int
| main (void)
| {
| if (sizeof ((intptr_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9683: result: yes
configure:9694: checking for uintptr_t
configure:9694: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9694: $? = 0
configure:9694: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c: In function 'main':
conftest.c:93:24: error: expected expression before ')' token
   93 | if (sizeof ((uintptr_t)))
      |                        ^
configure:9694: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| #define HAVE_INTPTR_T 1
| /* end confdefs.h.  */
| 
| #include <stdint.h>
| 
| 
| int
| main (void)
| {
| if (sizeof ((uintptr_t)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:9694: result: yes
configure:9715: checking union wait
configure:9738: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
conftest.c: In function 'main':
conftest.c:93:12: error: storage size of 'x' isn't known
   93 | union wait x;
      |            ^
configure:9738: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| #define HAVE_INTPTR_T 1
| #define HAVE_UINTPTR_T 1
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <sys/wait.h>
| int
| main (void)
| {
| 
| union wait x;
| WIFEXITED(x);		/* Generates compiler error if WIFEXITED
| 			 * uses an int. */
| 
|   ;
|   return 0;
| }
configure:9747: result: no
configure:9761: checking for strncasecmp
configure:9761: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
conftest.c:104:6: warning: conflicting types for built-in function 'strncasecmp'; expected 'int(const char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
  104 | char strncasecmp ();
      |      ^~~~~~~~~~~
configure:9761: $? = 0
configure:9761: result: yes
configure:9876: checking for gettimeofday
configure:9876: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:9876: $? = 0
configure:9876: result: yes
configure:9888: checking for gettimeofday declaration
configure:9910: result: present
configure:9924: checking whether char is unsigned
configure:9944: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9944: $? = 0
configure:9952: result: no
configure:9959: checking signed char declarations
configure:9980: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:9980: $? = 0
configure:9988: result: yes
configure:10000: checking for a putenv() that copies the buffer
configure:10034: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:10034: $? = 0
configure:10034: ./conftest
configure:10034: $? = 0
configure:10045: result: no
configure:10069: checking for langinfo.h
configure:10069: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:10069: $? = 0
configure:10069: result: yes
configure:10078: checking whether to use nl_langinfo
configure:10097: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
configure:10097: $? = 0
configure:10106: result: yes
configure:10123: checking for cfmakeraw
configure:10123: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:10123: $? = 0
configure:10123: result: yes
configure:10129: checking for chflags
configure:10129: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
conftest.c:112:1: error: unknown type name 'choke'
  112 | choke me
      | ^~~~~
conftest.c:112:9: error: expected ';' before 'int'
  112 | choke me
      |         ^
      |         ;
......
  115 | int
      | ~~~      
configure:10129: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| #define HAVE_INTPTR_T 1
| #define HAVE_UINTPTR_T 1
| #define NO_UNION_WAIT 1
| #define HAVE_SIGNED_CHAR 1
| #define HAVE_LANGINFO 1
| #define HAVE_CFMAKERAW 1
| /* end confdefs.h.  */
| /* Define chflags to an innocuous variant, in case <limits.h> declares chflags.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define chflags innocuous_chflags
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char chflags (); below.  */
| 
| #include <limits.h>
| #undef chflags
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char chflags ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_chflags || defined __stub___chflags
| choke me
| #endif
| 
| int
| main (void)
| {
| return chflags ();
|   ;
|   return 0;
| }
configure:10129: result: no
configure:10135: checking for mkstemps
configure:10135: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:10135: $? = 0
configure:10135: result: yes
configure:10302: checking for fts
configure:10328: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:10328: $? = 0
configure:10337: result: yes
configure:10352: checking for sys/ioctl.h
configure:10352: result: yes
configure:10359: checking for sys/filio.h
configure:10359: gcc -c  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8  conftest.c >&5
conftest.c:122:10: fatal error: sys/filio.h: No such file or directory
  122 | #include <sys/filio.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
configure:10359: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tcl"
| #define PACKAGE_TARNAME "tcl"
| #define PACKAGE_VERSION "9.0"
| #define PACKAGE_STRING "tcl 9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_PARAM_H 1
| #define TCL_CFGVAL_ENCODING "utf-8"
| #define _REENTRANT 1
| #define _THREAD_SAFE 1
| #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
| #define HAVE_PTHREAD_ATFORK 1
| #define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
| #define HAVE_ZLIB 1
| #define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
| #define HAVE_HIDDEN 1
| #define TCL_CFG_DO64BIT 1
| #define HAVE_CAST_TO_UNION 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_VFORK 1
| #define HAVE_POSIX_SPAWNP 1
| #define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
| #define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
| #define TCL_SHLIB_EXT ".so"
| #define NDEBUG 1
| #define TCL_CFG_OPTIMIZED 1
| #define MP_PREC 4
| #define _LARGEFILE64_SOURCE 1
| #define TCL_WIDE_INT_IS_LONG 1
| #define HAVE_GETCWD 1
| #define HAVE_MKSTEMP 1
| #define HAVE_WAITPID 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_FREEADDRINFO 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_STRUCT_ADDRINFO 1
| #define HAVE_STRUCT_IN6_ADDR 1
| #define HAVE_STRUCT_SOCKADDR_IN6 1
| #define HAVE_STRUCT_SOCKADDR_STORAGE 1
| #define HAVE_GETPWUID_R_5 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETPWNAM_R_5 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRGID_R_5 1
| #define HAVE_GETGRGID_R 1
| #define HAVE_GETGRNAM_R_5 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_DECL_GETHOSTBYNAME_R 1
| #define HAVE_GETHOSTBYNAME_R_6 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_DECL_GETHOSTBYADDR_R 1
| #define HAVE_GETHOSTBYADDR_R_8 1
| #define HAVE_GETHOSTBYADDR_R 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_PSELECT 1
| #define HAVE_SYS_EPOLL_H 1
| #define NOTIFIER_EPOLL 1
| #define HAVE_SYS_EVENTFD_H 1
| #define HAVE_EVENTFD 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_GMTIME_R 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MKTIME 1
| #define HAVE_TM_GMTOFF 1
| #define HAVE_TIMEZONE_VAR 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_BLKCNT_T 1
| #define HAVE_INTPTR_T 1
| #define HAVE_UINTPTR_T 1
| #define NO_UNION_WAIT 1
| #define HAVE_SIGNED_CHAR 1
| #define HAVE_LANGINFO 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_MKSTEMPS 1
| #define HAVE_FTS 1
| #define HAVE_SYS_IOCTL_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/filio.h>
configure:10359: result: no
configure:10367: checking system version
configure:10393: result: Linux-6.7.0-gnm-c23lfs
configure:10397: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O
configure:10408: result: O_NONBLOCK
configure:10416: checking whether to use dll unloading
configure:10431: result: yes
configure:10440: checking for timezone data
configure:10483: result: /usr/share/zoneinfo
configure:10571: checking whether to enable DTrace support
configure:10594: result: no
configure:10601: checking whether the cpuid instruction is usable
configure:10627: gcc -o conftest  -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8   -Wl,--export-dynamic  conftest.c -lz  -lpthread >&5
configure:10627: $? = 0
configure:10636: result: yes
configure:10861: checking for macher
configure:10890: checking for zip
configure:10928: result: No zip found on PATH. Building minizip
configure:10944: checking for building with zipfs
configure:10957: result: yes
configure:11213: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by tcl config.status 9.0, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on fatima

config.status:845: creating Makefile
config.status:845: creating dltest/Makefile
config.status:845: creating tclConfig.sh
config.status:845: creating tcl.pc

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian=no
ac_cv_c_char_unsigned=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_c_undeclared_builtin_options='none needed'
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' -std=gnu2x -Oz '
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_cfmakeraw=yes
ac_cv_func_chflags=no
ac_cv_func_connect=yes
ac_cv_func_fork=yes
ac_cv_func_freeaddrinfo=yes
ac_cv_func_fstatfs=yes
ac_cv_func_gai_strerror=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getcwd=yes
ac_cv_func_getgrgid_r=yes
ac_cv_func_getgrnam_r=yes
ac_cv_func_gethostbyaddr_r=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_gethostbyname_r=yes
ac_cv_func_getnameinfo=yes
ac_cv_func_getpwnam_r=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_getwd=yes
ac_cv_func_gmtime_r=yes
ac_cv_func_localtime_r=yes
ac_cv_func_memmove=yes
ac_cv_func_mknod=yes
ac_cv_func_mkstemp=yes
ac_cv_func_mkstemps=yes
ac_cv_func_mktime=yes
ac_cv_func_posix_spawn_file_actions_adddup2=yes
ac_cv_func_posix_spawnattr_setflags=yes
ac_cv_func_posix_spawnp=yes
ac_cv_func_pthread_atfork=yes
ac_cv_func_pthread_attr_setstacksize=yes
ac_cv_func_realpath=yes
ac_cv_func_sin=no
ac_cv_func_strerror=yes
ac_cv_func_strncasecmp=yes
ac_cv_func_tcdrain=yes
ac_cv_func_uname=yes
ac_cv_func_vfork=yes
ac_cv_func_wait3=yes
ac_cv_func_waitpid=yes
ac_cv_have_decl_PTHREAD_MUTEX_RECURSIVE=yes
ac_cv_have_decl_gethostbyaddr_r=yes
ac_cv_have_decl_gethostbyname_r=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_langinfo_h=yes
ac_cv_header_net_errno_h=no
ac_cv_header_stdbool_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_epoll_h=yes
ac_cv_header_sys_eventfd_h=yes
ac_cv_header_sys_filio_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_modem_h=no
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_tommath_h=no
ac_cv_header_unistd_h=yes
ac_cv_header_zlib_h=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_inet_main=no
ac_cv_lib_pthread_pthread_mutex_init=yes
ac_cv_member_struct_stat_st_blksize=yes
ac_cv_member_struct_stat_st_blocks=yes
ac_cv_member_struct_stat_st_rdev=yes
ac_cv_nolto=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_tclsh=/usr/bin/tclsh8.6
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_search_deflateSetHeader=-lz
ac_cv_type_blkcnt_t=yes
ac_cv_type_gz_header=yes
ac_cv_type_intptr_t=yes
ac_cv_type_mode_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_size_t=yes
ac_cv_type_struct_addrinfo=yes
ac_cv_type_struct_in6_addr=yes
ac_cv_type_struct_sockaddr_in6=yes
ac_cv_type_struct_sockaddr_storage=yes
ac_cv_type_uid_t=yes
ac_cv_type_uintptr_t=yes
tcl_cv_api_fts=yes
tcl_cv_api_getgrgid_r_5=yes
tcl_cv_api_getgrnam_r_5=yes
tcl_cv_api_gethostbyaddr_r=yes
tcl_cv_api_gethostbyaddr_r_7=no
tcl_cv_api_gethostbyaddr_r_8=yes
tcl_cv_api_gethostbyname_r=yes
tcl_cv_api_gethostbyname_r_6=yes
tcl_cv_api_getpwnam_r_5=yes
tcl_cv_api_getpwuid_r_5=yes
tcl_cv_cast_to_union=yes
tcl_cv_cc_input_charset=yes
tcl_cv_cc_m64=yes
tcl_cv_cc_pipe=yes
tcl_cv_cc_visibility_hidden=yes
tcl_cv_char_signed=yes
tcl_cv_cpuid=yes
tcl_cv_dir_zoneinfo=/usr/share/zoneinfo
tcl_cv_flag__file_offset_bits=no
tcl_cv_flag__isoc99_source=no
tcl_cv_flag__largefile64_source=yes
tcl_cv_func_pselect=yes
tcl_cv_grep_gettimeofday=present
tcl_cv_langinfo_h=yes
tcl_cv_member_tm_gmtoff=yes
tcl_cv_member_tm_tzadj=no
tcl_cv_putenv_copy=no
tcl_cv_sys_version=Linux-6.7.0-gnm-c23lfs
tcl_cv_timezone_long=yes
tcl_cv_type_64bit=none
tcl_cv_type_fd_set=yes
tcl_cv_type_socklen_t=yes
tcl_cv_union_wait=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
BUILD_DLTEST='$(DLTEST_TARGETS)'
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
CFG_TCL_SHARED_LIB_SUFFIX='${VERSION}.so'
CFG_TCL_UNSHARED_LIB_SUFFIX='${VERSION}.a'
CFLAGS=' -std=gnu2x -Oz  -pipe -m64 -finput-charset=UTF-8 '
CFLAGS_DEBUG='-g'
CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
CFLAGS_NOLTO='-fno-lto'
CFLAGS_OPTIMIZE='-O2'
CFLAGS_WARNING='-Wall -Wextra -Wshadow -Wundef -Wwrite-strings -Wpointer-arith -Wc++-compat -fextended-identifiers'
CPP='gcc -E'
CPPFLAGS=''
DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"9.0\" -DPACKAGE_STRING=\"tcl\ 9.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"utf-8\" -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DHAVE_DECL_PTHREAD_MUTEX_RECURSIVE=1 -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DTCL_CFG_DO64BIT=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DHAVE_VFORK=1 -DHAVE_POSIX_SPAWNP=1 -DHAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2=1 -DHAVE_POSIX_SPAWNATTR_SETFLAGS=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_DECL_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_DECL_GETHOSTBYADDR_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_PSELECT=1 -DHAVE_SYS_EPOLL_H=1 -DNOTIFIER_EPOLL=1 -DHAVE_SYS_EVENTFD_H=1 -DHAVE_EVENTFD=1 -DHAVE_SYS_TIME_H=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_CFMAKERAW=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DHAVE_CPUID=1 -DZIPFS_BUILD=1'
DLL_INSTALL_DIR='$(LIB_INSTALL_DIR)'
DLTEST_LD='${SHLIB_LD}'
DLTEST_SUFFIX=''
DL_LIBS='-ldl'
DL_OBJS='tclLoadDl.o'
DTRACE=''
DTRACE_HDR=''
DTRACE_OBJ=''
DTRACE_SRC=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
EXEEXT_FOR_BUILD='$(EXEEXT)'
EXTRA_APP_CC_SWITCHES=''
EXTRA_BUILD_HTML='@:'
EXTRA_CC_SWITCHES=''
EXTRA_INSTALL=''
EXTRA_INSTALL_BINARIES='@:'
EXTRA_TCLSH_LIBS=''
GREP='/usr/bin/grep'
HTML_DIR='$(DISTDIR)/html'
INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
INSTALL_LIBRARIES=''
INSTALL_MSGS=''
INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)"'
INSTALL_TZDATA=''
LDAIX_SRC=''
LDFLAGS=' -Wl,--export-dynamic '
LDFLAGS_DEBUG=''
LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
LDFLAGS_OPTIMIZE=''
LD_LIBRARY_PATH_VAR='LD_LIBRARY_PATH'
LD_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
LIBOBJS=''
LIBS='-lz  -lpthread'
MACHER_PROG=''
MAKEFILE_SHELL='/bin/sh'
MAKE_LIB='${SHLIB_LD} -o $@ ${OBJS} ${LDFLAGS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS} ; ${RANLIB} $@'
MAN_FLAGS=''
OBJEXT='o'
OBJEXT_FOR_BUILD='$(OBJEXT)'
PACKAGE_BUGREPORT=''
PACKAGE_DIR='/usr/lib'
PACKAGE_NAME='tcl'
PACKAGE_STRING='tcl 9.0'
PACKAGE_TARNAME='tcl'
PACKAGE_URL=''
PACKAGE_VERSION='9.0'
PATH_SEPARATOR=':'
PKG_CFG_ARGS=' '\''CFLAGS= -std=gnu2x -Oz '\'' '\''CXXFLAGS= -std=c++23 -Os '\'' '\''--prefix=/usr'\'' '\''--mandir=/usr/share/man'\'' '\''--enable-64bit'\'' '
PLAT_OBJS=''
PLAT_SRCS=''
PRIVATE_INCLUDE_DIR='$(includedir)'
RANLIB='ranlib'
SHARED_BUILD='1'
SHELL='/bin/sh'
SHLIB_CFLAGS='-fPIC -fno-common'
SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX='.so'
STLIB_LD='${AR} cr'
TCLSH_PROG='/usr/bin/tclsh8.6'
TCL_BUILDTIME_LIBRARY=''
TCL_BUILD_LIB_SPEC='-L/sources/tktcl/tcl9.0b1/unix -ltcl9.0'
TCL_BUILD_STUB_LIB_PATH='/sources/tktcl/tcl9.0b1/unix/libtclstub.a'
TCL_BUILD_STUB_LIB_SPEC='-L/sources/tktcl/tcl9.0b1/unix -ltclstub'
TCL_HAS_LONGLONG=''
TCL_INCLUDE_SPEC='-I/usr/include'
TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
TCL_LIBS='-ldl -lz  -lpthread -lm'
TCL_LIB_FILE='libtcl9.0.so'
TCL_LIB_FLAG='-ltcl9.0'
TCL_LIB_SPEC='-L/usr/lib -ltcl9.0'
TCL_LIB_VERSIONS_OK='ok'
TCL_MAJOR_VERSION='9'
TCL_MINOR_VERSION='0'
TCL_MODULE_PATH=''
TCL_PACKAGE_PATH='{/usr/lib} '
TCL_PATCH_LEVEL='b1'
TCL_PC_CFLAGS=''
TCL_PC_REQUIRES_PRIVATE=''
TCL_SHARED_BUILD='1'
TCL_SHARED_LIB_SUFFIX='${VERSION}${SHLIB_SUFFIX}'
TCL_SHLIB_LD_EXTRAS=''
TCL_SRC_DIR='/sources/tktcl/tcl9.0b1'
TCL_STUB_LIB_FILE='libtclstub.a'
TCL_STUB_LIB_FLAG='-ltclstub'
TCL_STUB_LIB_PATH='/usr/lib/libtclstub.a'
TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub'
TCL_UNSHARED_LIB_SUFFIX='${VERSION}.a'
TCL_VERSION='9.0'
TCL_YEAR=''
TCL_ZIP_FILE='libtcl9.0b1.zip'
TK_SHLIB_LD_EXTRAS=''
TOMMATH_INCLUDE='-I${TOMMATH_DIR}'
TOMMATH_OBJS='${TOMMATH_OBJS}'
TOMMATH_SRCS='${TOMMATH_SRCS}'
ZIPFS_BUILD='1'
ZIP_INSTALL_OBJS='minizip$(EXEEXT)'
ZIP_PROG='./minizip$(EXEEXT)'
ZIP_PROG_OPTIONS='-o -r'
ZIP_PROG_VFSSEARCH='*'
ZLIB_INCLUDE=''
ZLIB_OBJS=''
ZLIB_SRCS=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "tcl"
#define PACKAGE_TARNAME "tcl"
#define PACKAGE_VERSION "9.0"
#define PACKAGE_STRING "tcl 9.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_TIME_H 1
#define STDC_HEADERS 1
#define HAVE_SYS_PARAM_H 1
#define TCL_CFGVAL_ENCODING "utf-8"
#define _REENTRANT 1
#define _THREAD_SAFE 1
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
#define HAVE_PTHREAD_ATFORK 1
#define HAVE_DECL_PTHREAD_MUTEX_RECURSIVE 1
#define HAVE_ZLIB 1
#define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
#define HAVE_HIDDEN 1
#define TCL_CFG_DO64BIT 1
#define HAVE_CAST_TO_UNION 1
#define HAVE_STDBOOL_H 1
#define HAVE_VFORK 1
#define HAVE_POSIX_SPAWNP 1
#define HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
#define HAVE_POSIX_SPAWNATTR_SETFLAGS 1
#define TCL_SHLIB_EXT ".so"
#define NDEBUG 1
#define TCL_CFG_OPTIMIZED 1
#define MP_PREC 4
#define _LARGEFILE64_SOURCE 1
#define TCL_WIDE_INT_IS_LONG 1
#define HAVE_GETCWD 1
#define HAVE_MKSTEMP 1
#define HAVE_WAITPID 1
#define HAVE_GETNAMEINFO 1
#define HAVE_GETADDRINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_IN6_ADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_GETPWUID_R_5 1
#define HAVE_GETPWUID_R 1
#define HAVE_GETPWNAM_R_5 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETGRGID_R_5 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R_5 1
#define HAVE_GETGRNAM_R 1
#define HAVE_DECL_GETHOSTBYNAME_R 1
#define HAVE_GETHOSTBYNAME_R_6 1
#define HAVE_GETHOSTBYNAME_R 1
#define HAVE_DECL_GETHOSTBYADDR_R 1
#define HAVE_GETHOSTBYADDR_R_8 1
#define HAVE_GETHOSTBYADDR_R 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_PSELECT 1
#define HAVE_SYS_EPOLL_H 1
#define NOTIFIER_EPOLL 1
#define HAVE_SYS_EVENTFD_H 1
#define HAVE_EVENTFD 1
#define HAVE_SYS_TIME_H 1
#define HAVE_GMTIME_R 1
#define HAVE_LOCALTIME_R 1
#define HAVE_MKTIME 1
#define HAVE_TM_GMTOFF 1
#define HAVE_TIMEZONE_VAR 1
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_BLKCNT_T 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define NO_UNION_WAIT 1
#define HAVE_SIGNED_CHAR 1
#define HAVE_LANGINFO 1
#define HAVE_CFMAKERAW 1
#define HAVE_MKSTEMPS 1
#define HAVE_FTS 1
#define HAVE_SYS_IOCTL_H 1
#define TCL_UNLOAD_DLLS 1
#define HAVE_CPUID 1
#define ZIPFS_BUILD 1

configure: exit 0
User Comments: gahr added on 2024-09-30 12:12:01:
Tcl doesn't seem to install minizip. It just builds it and uses it during its own build time.

What's the rationale here? Do we say everything needs zip to build, or should Tcl install minizip or export the needed functionality?

oehhar added on 2024-01-12 10:10:57:

Transfered to https://core.tcl-lang.org/thread/tktview/f36e5b333c9eb359c3967adbd9bc68bfa865151d.

Closing here.

Thanks, Harald


anonymous added on 2024-01-11 02:23:48:
installing 'zip' to the system does seem to allow it to build further but this further raises the question of : why does configure not test for this?  it should probably do so

jan.nijtmans added on 2024-01-10 21:11:23:

I would expect Thread to find the "minizip" built by Tcl, so the problem is in the Thread package, not in Tcl itself.

Quick solution: Install the "zip" utility. If "zip" is found, there's no need to build "minizip"