diff --git a/README.md b/README.md index 084966fd01..c4d94a0a9d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This bundle also provides the latest "upstream" sources for the followings: * ptexenc * ptex, (u)pbibtex, (u)pdvitype, (u)ppltotf, (u)ptftopl -* eptex +* eptex extention as a part of euptex * makejvf * mendex * dviout-util @@ -25,9 +25,9 @@ If you have issues, please let us know from the above page. ## Contents The bundle includes sources of: -ptex, eptex, uptex, euptex, +ptex, uptex, euptex, dvips, dvipdfmx, dvi2tty, makejvf, mendex, upmendex, -pbibtex, upbibtex, pmpost, upmpost, +upbibtex, pmpost, upmpost, dviout-util (dvispc, chkdvifont), seetex (dvibook, dviconcat, dviselect, dvitodvi), dvidvi, bibtex-x, related tools diff --git a/source/ChangeLog b/source/ChangeLog index 80de5a6262..bb0dcfea31 100644 --- a/source/ChangeLog +++ b/source/ChangeLog @@ -1,3 +1,9 @@ +2024-04-29 Karl Berry + + * Makefile.am (distdir): override default dist generation, + since we don't try to keep make dist working any more. + https://tug.org/pipermail/tlbuild/2024q2/005547.html + 2023-12-31 Karl Berry * reautoconf: add -f / --force option to pass to autoreconf. diff --git a/source/Makefile.am b/source/Makefile.am index 7db6b6b513..1f74bf7c23 100644 --- a/source/Makefile.am +++ b/source/Makefile.am @@ -103,3 +103,16 @@ texlinks: .PHONY: triptrap triptrap: cd texk && $(MAKE) $(AM_MAKEFLAGS) $@ + +# We aren't trying to keep make dist working. Sorry. +distdir: + @echo "Sorry, we don't try to keep make dist working in TeX Live." + @echo + @echo "You can retrieve the development and/or released sources" + @echo " in various ways: https://tug.org/texlive/svn" + @echo + @echo "For info on how to integrate the built binaries into a runnable" + @echo " system, see: https://tug.org/texlive/build.html#deploy" + @echo + @echo "The result of make install is not usable by itself." + @false diff --git a/source/Makefile.in b/source/Makefile.in index e79b08d778..3deea96259 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -669,8 +669,6 @@ cscopelist-am: $(am__tagged_files) distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files -distdir: $(BUILT_SOURCES) - $(MAKE) $(AM_MAKEFLAGS) distdir-am distdir-am: $(DISTFILES) $(am__remove_distdir) @@ -1084,6 +1082,19 @@ texlinks: triptrap: cd texk && $(MAKE) $(AM_MAKEFLAGS) $@ +# We aren't trying to keep make dist working. Sorry. +distdir: + @echo "Sorry, we don't try to keep make dist working in TeX Live." + @echo + @echo "You can retrieve the development and/or released sources" + @echo " in various ways: https://tug.org/texlive/svn" + @echo + @echo "For info on how to integrate the built binaries into a runnable" + @echo " system, see: https://tug.org/texlive/build.html#deploy" + @echo + @echo "The result of make install is not usable by itself." + @false + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/source/configure b/source/configure index 596d7e726b..284c1c7401 100755 --- a/source/configure +++ b/source/configure @@ -1990,6 +1990,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -2038,41 +2073,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2915,6 +2915,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -3240,7 +3241,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -3249,6 +3249,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Test code for whether the C++ compiler supports C++98 (global declarations) ac_cxx_conftest_cxx98_globals=' // Does the compiler advertise C++98 conformance? @@ -4822,9 +4824,187 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + + + + +echo 'tldbg:KPSE_SETUP called (toplevel=)' >&5 # Check whether --enable-all-pkgs was given. if test ${enable_all_pkgs+y} then : @@ -4935,6 +5115,24 @@ fi + +# We must enable system extensions before any compiler call to avoid +# (valid) autoconf warnings. Because different configure.ac's use +# different kpse setup routines, we call the ac_use_system_extensions +# macro both here and in kpse_basic (in kpse-common.m4). +# +# Fortunately, Autoconf defines the system_extensions macro to only have +# any effect once (with ac_defun_once), so it's harmless to call it +# multiple time. +# +# LuaTeX requires system extensions for socket support. Also, since +# SyncTeX, some libraries, and others unconditionally #define +# GNU_SOURCE, it seems more consistent to always use it. +# + + +# this macro, kpse_check_win32, is the first compiler call for +# configure.ac files that use this function (kpse setup). { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 printf %s "checking for native WIN32 or MINGW32... " >&6; } if test ${kpse_cv_have_win32+y} @@ -4987,6 +5185,8 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 printf "%s\n" "$kpse_cv_have_win32" >&6; } +# end call to kpse_check_win32. + case $with_x:$kpse_cv_have_win32 in #( yes:no | no:*) : : ;; #( @@ -7649,6 +7849,9 @@ fi +# end of kpse_setup macro. +echo 'tldbg:KPSE_SETUP done (toplevel=)' >&5 + am__api_version='1.16' @@ -11988,35 +12191,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -12111,6 +12285,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=TeX Live top-level, amopt=tar-pax dist-xz no-dist-gzip)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=TeX Live top-level, amopt=tar-pax dist-xz no-dist-gzip)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -12454,6 +12630,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -12478,6 +12656,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -12511,6 +12694,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -12568,6 +12753,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=TeX Live top-level, amopt=tar-pax dist-xz no-dist-gzip)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/doc/tlbuild.info b/source/doc/tlbuild.info index b17906cde2..6892fe4bbf 100644 --- a/source/doc/tlbuild.info +++ b/source/doc/tlbuild.info @@ -1,4 +1,4 @@ -This is tlbuild.info, produced by makeinfo version 6.7 from +This is tlbuild.info, produced by makeinfo version 7.1 from tlbuild.texi. This file documents the TeX Live build system and more. @@ -257,7 +257,7 @@ the source directory itself is not supported (sorry). * Build iteration:: What 'configure' and 'make' do in TL. * Build in parallel:: Simultaneous 'make' processes. -* Build distribution:: Making a distribution tarball. +* Build distribution:: (Not) making a distribution tarball. * Build one package:: Example of working on just one program. * Build one engine:: Example of building just one TeX engine. * Cross compilation:: Building on host X for target Y. @@ -312,15 +312,20 @@ File: tlbuild.info, Node: Build distribution, Next: Build one package, Prev: 4.3 Build distribution ====================== -Running 'make dist' at the top level creates a tarball -'tex-live-YYYY-MM-DD.tar.xz' from the TL source tree. Running 'make -distcheck' also verifies that this tarball suffices to build and install -all of TL. +Running 'make dist' or related targets at the top level outputs an error +message and fails. We no longer try to keep 'make dist' working, +although it could be restored if there is some use for it. - This is useful for checking consistency of the source tree and -Makefiles, but the result is not a complete or even usable TeX system, -since all the support files are lacking; *note Installing::. We do not -actually distribute any such tarball, and have no plans to do so. + The 'dist' target used to create a tarball +'tex-live-YYYY-MM-DD.tar.xz' from the TL source tree, and 'distcheck' +also verifies that this tarball suffices to build and install all of TL. + + However, the result was not a complete or even usable TeX system, +since all the support files are lacking. We do not actually distribute +any such tarball, and have no plans to do so. + + *Note Installing::, for more information on what to do with the +results of a build.  File: tlbuild.info, Node: Build one package, Next: Build one engine, Prev: Build distribution, Up: Building @@ -638,7 +643,8 @@ the source tree. not present in the TL source tree. The best basis for dealing with them is the TeX Live (plain text) database in 'Master/tlpkg/texlive.tlpdb', and/or the TeX Live installer, 'install-tl'. More information is under -'Master/tlpkg' and at . +'Master/tlpkg' and at and +. * Menu: @@ -4365,8 +4371,8 @@ package, dependencies are never removed. Options: *--backupdir* _directory_ - These options behave just as with the *note update: tlmgr update - [_option_...] [_pkg_...]. action (q.v.), except they apply to + These options behave just as with the *note update: tlmgr update + [_option_...] [_pkg_...]. action (q.v.), except they apply to making backups of packages before they are removed. The default is to make such a backup, that is, to save a copy of packages before removal. @@ -4380,8 +4386,8 @@ package, dependencies are never removed. Options: *--no-depends-at-all* - See above under *note install: tlmgr install [_option_...] _pkg_... - (and beware). + See above under *note install: tlmgr install [_option_...] + _pkg_.... (and beware). *--force* @@ -4634,7 +4640,7 @@ File: tlbuild.info, Node: tlmgr uninstall, Next: tlmgr update [_option_...] [_ B.6.30 uninstall ---------------- -Synonym for *note remove: tlmgr remove [_option_...] _pkg_.... +Synonym for *note remove: tlmgr remove [_option_...] _pkg_....  File: tlbuild.info, Node: tlmgr update [_option_...] [_pkg_...], Prev: tlmgr uninstall, Up: tlmgr ACTIONS @@ -4827,8 +4833,8 @@ must be specified. Options: *--no-depends-at-all* - See above under *note install: tlmgr install [_option_...] _pkg_... - (and beware). + See above under *note install: tlmgr install [_option_...] + _pkg_.... (and beware). *--force* @@ -5041,7 +5047,7 @@ be installed into a user tree. * tlmgr User mode logs::  -File: tlbuild.info, Node: tlmgr User mode install, Next: tlmgr User mode backup, restore, remove, update, Up: tlmgr USER MODE +File: tlbuild.info, Node: tlmgr User mode install, Next: tlmgr User mode backup, restore, remove, update, Up: tlmgr USER MODE B.9.1 User mode install ----------------------- @@ -5065,7 +5071,7 @@ of the user's 'updmap.cfg' in 'USERTREE/web2c/' is made, and then this file regenerated from the list of installed packages.  -File: tlbuild.info, Node: tlmgr User mode backup, restore, remove, update, Next: tlmgr User mode generate, option, paper, Prev: tlmgr User mode install, Up: tlmgr USER MODE +File: tlbuild.info, Node: tlmgr User mode backup, restore, remove, update, Next: tlmgr User mode generate, option, paper, Prev: tlmgr User mode install, Up: tlmgr USER MODE B.9.2 User mode backup, restore, remove, update ----------------------------------------------- @@ -5075,7 +5081,7 @@ installed in the user tree before proceeding; otherwise, they behave just as in normal mode.  -File: tlbuild.info, Node: tlmgr User mode generate, option, paper, Next: tlmgr User mode logs, Prev: tlmgr User mode backup, restore, remove, update, Up: tlmgr USER MODE +File: tlbuild.info, Node: tlmgr User mode generate, option, paper, Next: tlmgr User mode logs, Prev: tlmgr User mode backup, restore, remove, update, Up: tlmgr USER MODE B.9.3 User mode generate, option, paper --------------------------------------- @@ -5084,7 +5090,7 @@ In user mode, these actions operate only on the user tree's configuration files and/or 'texlive.tlpdb'.  -File: tlbuild.info, Node: tlmgr User mode logs, Prev: tlmgr User mode generate, option, paper, Up: tlmgr USER MODE +File: tlbuild.info, Node: tlmgr User mode logs, Prev: tlmgr User mode generate, option, paper, Up: tlmgr USER MODE B.9.4 User mode logs -------------------- @@ -5473,9 +5479,9 @@ messages for human consumption are written to stderr (normally they are written to stdout). The idea is that a program can get all the information it needs by reading stdout. - Currently this option only applies to the *note update: tlmgr update -[_option_...] [_pkg_...], *note install: tlmgr install [_option_...] -_pkg_..., and *note option: tlmgr option. actions. + Currently this option only applies to the *note update: tlmgr update +[_option_...] [_pkg_...], *note install: tlmgr install [_option_...] +_pkg_..., and *note option: tlmgr option. actions. * Menu: @@ -5735,7 +5741,6 @@ Index [index] * Menu: -* $@ target in normal make rules: Prerequisites. (line 13) * --bindir configure option: --prefix --bindir .... (line 6) * --bindir configure option <1>: --enable-multiplatform. @@ -5849,6 +5854,7 @@ Index * -fvisibility=hidden: Macros for compilers. (line 19) * -j make option: Build in parallel. (line 6) +* $@ target in normal make rules: Prerequisites. (line 13) * ac/withenable.ac: Adding a new program module. (line 42) * adapting TeX Live for distros: Distro builds. (line 54) @@ -5897,10 +5903,10 @@ Index * building: Building. (line 6) * building a distribution: Build distribution. (line 6) * building in parallel: Build in parallel. (line 6) -* C++11, removing dependent sources: Build one package. (line 85) -* C++11, required: Prerequisites. (line 17) * C, ANSI, required: Declarations and definitions. (line 6) +* C++11, removing dependent sources: Build one package. (line 85) +* C++11, required: Prerequisites. (line 17) * C99, avoided: Declarations and definitions. (line 6) * cache file, for configure: Build in parallel. (line 15) @@ -5908,8 +5914,8 @@ Index * callexe.c: Macros for Windows. (line 32) * CC: Variables for configure. (line 10) -* CC=C-COMPILER: Build one package. (line 77) * CC_BUILD: Cross problems. (line 13) +* CC=C-COMPILER: Build one package. (line 77) * ChangeLog: Adding a new program module. (line 73) * chktex: Declarations and definitions. @@ -6005,10 +6011,10 @@ Index * fontconfig library, required by xetex: Prerequisites. (line 40) * freetype cross compiling: Cross problems. (line 13) * freetype library: freetype library. (line 6) -* FreeType, requires gmake: Prerequisites. (line 13) * freetype-config: freetype library. (line 13) * freetype-config <1>: Variables for configure. (line 24) +* FreeType, requires gmake: Prerequisites. (line 13) * FT2_CONFIG: Variables for configure. (line 21) * gcc, default compilers: Build one package. (line 77) @@ -6032,11 +6038,11 @@ Index * ICU cross compiling: Cross problems. (line 20) * ICU libraries: Variables for configure. (line 24) -* ICU, requires C++11: Prerequisites. (line 17) -* icu-config: Variables for configure. - (line 24) * ICU_CONFIG: Variables for configure. (line 22) +* icu-config: Variables for configure. + (line 24) +* ICU, requires C++11: Prerequisites. (line 17) * infrastructure, tools needed for: Build system tools. (line 6) * inst/ top-level directory: Top-level directories. (line 39) @@ -6051,14 +6057,6 @@ Index (line 6) * kpathsea library: kpathsea library. (line 6) * kpathsea.ac: kpathsea library. (line 18) -* kpse-libpng-flags.m4: png library. (line 46) -* kpse-pkgs.m4: Overview of build system. - (line 30) -* kpse-zlib-flags.m4: zlib library. (line 6) -* kpsewhich: Variables for configure. - (line 30) -* KPSEWHICH: Variables for configure. - (line 29) * KPSE_ADD_FLAGS: Macros for library and header flags. (line 20) * KPSE_ALL_SYSTEM_FLAGS: Adding a new generic library module. @@ -6091,17 +6089,17 @@ Index (line 14) * KPSE_LARGEFILE: Macros for libraries. (line 8) -* KPSE_LIBPNG_FLAGS: Macros for library and header flags. - (line 10) -* KPSE_LIBPNG_FLAGS <1>: png library. (line 46) -* kpse_libs_pkgs: Adding a new generic library module. - (line 6) * KPSE_LIB_FLAGS: Macros for library and header flags. (line 6) * KPSE_LIB_FLAGS <1>: Adding a new generic library module. (line 26) * KPSE_LIB_SYSTEM_FLAGS: Adding a new generic library module. (line 34) +* KPSE_LIBPNG_FLAGS: Macros for library and header flags. + (line 10) +* KPSE_LIBPNG_FLAGS <1>: png library. (line 45) +* kpse_libs_pkgs: Adding a new generic library module. + (line 6) * KPSE_PROG_LEX: Macros for programs. (line 21) * KPSE_RESTORE_FLAGS: Macros for library and header flags. (line 24) @@ -6109,10 +6107,10 @@ Index (line 6) * kpse_texlibs_pkgs: Adding a new TeX-specific library module. (line 11) -* KPSE_TRY_LIB: png library. (line 18) +* KPSE_TRY_LIB: png library. (line 17) * KPSE_TRY_LIB <1>: Adding a new generic library module. (line 20) -* KPSE_TRY_LIBXX: png library. (line 31) +* KPSE_TRY_LIBXX: png library. (line 30) * KPSE_TRY_LIBXX <1>: Adding a new generic library module. (line 20) * kpse_utils_pkgs: Adding a new program module. @@ -6122,6 +6120,14 @@ Index (line 11) * KPSE_WITH_TEXLIB: Adding a new TeX-specific library module. (line 14) +* kpse-libpng-flags.m4: png library. (line 45) +* kpse-pkgs.m4: Overview of build system. + (line 30) +* kpse-zlib-flags.m4: zlib library. (line 6) +* kpsewhich: Variables for configure. + (line 30) +* KPSEWHICH: Variables for configure. + (line 29) * large file support: --disable-largefile. (line 6) * LATEX: Variables for configure. (line 40) @@ -6221,7 +6227,7 @@ Index * program modules: Program modules. (line 6) * program-specific configure options: Program-specific configure options. (line 6) -* proxy build system: png library. (line 36) +* proxy build system: png library. (line 35) * Python, required by ICU: Prerequisites. (line 23) * reautoconf: Build system tools. (line 28) * reautoconf, for new program: Adding a new program module. @@ -6271,11 +6277,11 @@ Index * TEXMFROOT for running standalone: Build one package. (line 44) * tie: Cross problems. (line 26) * timestamps, in repository: Build system tools. (line 38) +* TL_MAKE_FLAGS: Build in parallel. (line 11) * TLpatches/patch-...: Adding a new program module. (line 68) * TLpatches/TL-Changes: Adding a new program module. (line 64) -* TL_MAKE_FLAGS: Build in parallel. (line 11) * tools, for building: Build system tools. (line 6) * top-level directories: Top-level directories. (line 6) @@ -6290,15 +6296,15 @@ Index (line 52) * variables for configure: Variables for configure. (line 6) -* warning, discards qualifiers: Const. (line 30) * WARNING_C[XX]FLAGS: Macros for compilers. (line 9) +* warning, discards qualifiers: Const. (line 30) * web2c program: Cross problems. (line 13) * web2c.ac: Configure options for texk/web2c. (line 37) * wget: Linked scripts. (line 23) -* WIN32, Automake conditional: Macros for Windows. (line 16) * WIN32_WRAP, Automake conditional: Macros for Windows. (line 25) +* WIN32, Automake conditional: Macros for Windows. (line 16) * Windows, invoking scripts on: Linked scripts. (line 6) * Windows, macros for: Macros for Windows. (line 6) * withenable.ac, for new modules: Adding a new program module. @@ -6340,425 +6346,425 @@ Node: Overview of build system3943 Node: Prerequisites5994 Ref: Prerequisites-Footnote-18993 Node: Building9296 -Node: Build iteration10638 -Node: Build in parallel11682 -Node: Build distribution12433 -Node: Build one package13081 -Node: Build one engine17794 -Node: Cross compilation20406 -Node: Cross configuring21685 -Node: Cross problems23362 -Node: Installing25024 -Node: Installation directories26044 -Node: Linked scripts27862 -Node: Distro builds29357 -Node: Layout and infrastructure31733 -Node: Build system tools32564 -Node: Top-level directories34781 -Node: Autoconf macros37017 -Node: General setup macros37779 -Node: Macros for programs38654 -Node: Macros for compilers39455 -Node: Macros for libraries40919 -Node: Macros for library and header flags41345 -Node: Macros for Windows43256 -Node: Library modules44851 -Node: png library45340 -Node: zlib library47688 -Node: freetype library48203 -Node: kpathsea library48899 -Node: Program modules50278 -Node: t1utils package50706 -Node: xindy package51251 -Node: xdvik package52367 -Node: asymptote53426 -Node: Extending TeX Live53930 -Node: Adding a new program module54737 -Node: Adding a new engine59500 -Node: Adding a new generic library module61285 -Node: Adding a new TeX-specific library module63506 -Node: Configure options64204 -Node: Global configure options65585 -Node: --disable-native-texlive-build66127 -Node: --prefix --bindir ...67089 -Node: --disable-largefile67629 -Node: --disable-missing68171 -Node: --enable-compiler-warnings=LEVEL68572 -Node: --enable-cxx-runtime-hack69228 -Node: --enable-maintainer-mode69648 -Node: --enable-multiplatform70177 -Node: --enable-shared70750 -Node: --enable-silent-rules71121 -Node: --without-ln-s71573 -Node: --without-x71920 -Node: Program-specific configure options72108 -Node: --enable-PROG --disable-PROG72751 -Node: --disable-all-pkgs73024 -Node: Configure options for texk/web2c73807 -Node: Configure options for texk/bibtex-x76345 -Node: Configure options for texk/dvipdfm-x76888 -Node: Configure options for texk/dvisvgm77664 -Node: Configure options for texk/texlive78545 -Node: Configure options for texk/xdvik78966 -Node: Configure options for utils/xindy79587 -Node: Library-specific configure options80477 -Node: Configure options for kpathsea81438 -Node: Variables for configure82142 -Node: Coding conventions83568 -Node: Declarations and definitions84283 -Node: Const86457 -Node: Continuous integration88321 -Node: Transfer from Subversion to Github88985 -Node: Automatic update of the Git mirror91147 -Node: CI testing on Travis-CI91729 -Node: Releases on Github92438 -Node: install-tl92878 -Node: install-tl NAME93322 -Node: install-tl SYNOPSIS93502 -Node: install-tl DESCRIPTION93740 -Node: install-tl REFERENCES94937 -Node: install-tl EXAMPLES95546 -Ref: install-tl install-tl --paper=letter95997 -Ref: install-tl install-tl --scheme _scheme_96133 -Ref: install-tl install-tl --no-interaction96288 -Ref: install-tl install-tl --profile _texlive.profile_96440 -Node: install-tl OPTIONS96708 -Ref: install-tl *-gui* [[=]_module_]97205 -Ref: install-tl *-no-gui*97216 -Ref: install-tl text97424 -Ref: install-tl tcl (or "perltk" or "wizard" or "expert" or nothing)97609 -Ref: install-tl *-lang* _llcode_98241 -Ref: install-tl *-repository* _url|path_98865 -Ref: install-tl *-select-repository*99759 -Ref: install-tl *-all-options*100177 -Ref: install-tl *-custom-bin* _path_100432 -Ref: install-tl *-debug-fakenet*101264 -Ref: install-tl *-debug-setup-vars*101478 -Ref: install-tl *-debug-translation*101626 -Ref: install-tl *-force-platform* _platform_101902 -Ref: install-tl *-help*, *--help*, *-?*102160 -Ref: install-tl *-in-place*102573 -Ref: install-tl *-init-from-profile* _profile_file_103118 -Ref: install-tl *-logfile* _file_103387 -Ref: install-tl *-no-cls*103738 -Ref: install-tl *-no-continue*103865 -Ref: install-tl *-no-doc-install*104436 -Ref: install-tl *-no-src-install*104455 -Ref: install-tl *-no-installation*105246 -Ref: install-tl *-no-interaction*105397 -Ref: install-tl *-no-persistent-downloads*105654 -Ref: install-tl *-persistent-downloads*105679 -Ref: install-tl *-no-verify-downloads*106286 -Ref: install-tl *-non-admin*106649 -Ref: install-tl *-paper* a4*|*letter106755 -Ref: install-tl *-portable*106951 -Ref: install-tl *-print-platform*107088 -Ref: install-tl *-profile* _profile_file_107286 -Ref: install-tl *-q*107507 -Ref: install-tl *-scheme* _scheme_107569 -Ref: install-tl *-texdir* _dir_107970 -Ref: install-tl *-texuserdir* _dir_108575 -Ref: install-tl *-texmflocal* _dir_108864 -Ref: install-tl *-texmfhome* _dir_109489 -Ref: install-tl *-texmfsysconfig* _dir_109798 -Ref: install-tl *-texmfsysvar* _dir_109820 -Ref: install-tl *-texmfconfig* _dir_109915 -Ref: install-tl *-texmfvar* _dir_109934 -Ref: install-tl *-v*110142 -Ref: install-tl *-version*, *--version*110298 -Node: install-tl PROFILES110432 -Ref: install-tl instopt_adjustpath (default 0 on Unix, 1 on Windows)113448 -Ref: install-tl instopt_adjustrepo (default 1)113524 -Ref: install-tl instopt_letter (default 0)113661 -Ref: install-tl instopt_portable (default 0)113752 -Ref: install-tl instopt_write18_restricted (default 1)114291 -Node: install-tl ENVIRONMENT VARIABLES115630 -Ref: install-tl NOPERLDOC115993 -Ref: install-tl TEXLIVE_DOWNLOADER116078 -Ref: install-tl TL_DOWNLOAD_PROGRAM116101 -Ref: install-tl TL_DOWNLOAD_ARGS116121 -Ref: install-tl TEXLIVE_INSTALL_ENV_NOCHECK116325 -Ref: install-tl TEXLIVE_INSTALL_NO_CONTEXT_CACHE116527 -Ref: install-tl TEXLIVE_INSTALL_NO_DISKCHECK116639 -Ref: install-tl TEXLIVE_INSTALL_NO_RESUME117055 -Ref: install-tl TEXLIVE_INSTALL_NO_WELCOME117207 -Ref: install-tl TEXLIVE_INSTALL_PAPER117328 -Ref: install-tl TEXLIVE_INSTALL_PREFIX117474 -Ref: install-tl TEXLIVE_INSTALL_TEXMFCONFIG117505 -Ref: install-tl TEXLIVE_INSTALL_TEXMFVAR117533 -Ref: install-tl TEXLIVE_INSTALL_TEXMFHOME117562 -Ref: install-tl TEXLIVE_INSTALL_TEXMFLOCAL117592 -Ref: install-tl TEXLIVE_INSTALL_TEXMFSYSCONFIG117626 -Ref: install-tl TEXLIVE_INSTALL_TEXMFSYSVAR117657 -Node: install-tl DIRECTORY TREES118095 -Node: install-tl BUGS120679 -Node: install-tl AUTHORS AND COPYRIGHT121559 -Node: tlmgr121957 -Node: tlmgr NAME122463 -Node: tlmgr SYNOPSIS122607 -Node: tlmgr DESCRIPTION122809 -Node: tlmgr EXAMPLES123920 -Ref: tlmgr tlmgr option repository ctan124183 -Ref: tlmgr tlmgr option repository https://mirror.ctan.org/systems/texlive/tlnet124256 -Ref: tlmgr tlmgr update --list124861 -Ref: tlmgr tlmgr update --all124954 -Ref: tlmgr tlmgr info _what_125111 -Ref: tlmgr tlmgr bug _what_125289 -Node: tlmgr OPTIONS125484 -Ref: tlmgr *--repository* _url|path_126017 -Ref: tlmgr /some/local/dir127203 -Ref: tlmgr file:/some/local/dir127232 -Ref: tlmgr ctan127305 -Ref: tlmgr https://mirror.ctan.org/systems/texlive/tlnet127359 -Ref: tlmgr http://server/path/to/tlnet127700 -Ref: tlmgr https://server/path/to/tlnet128081 -Ref: tlmgr ftp://server/path/to/tlnet128549 -Ref: tlmgr user@machine:/path/to/tlnet128681 -Ref: tlmgr scp://user@machine/path/to/tlnet128722 -Ref: tlmgr ssh://user@machine/path/to/tlnet128763 -Ref: tlmgr *--gui* [_action_]129157 -Ref: tlmgr *--gui-lang* _llcode_129971 -Ref: tlmgr *--command-logfile* _file_130713 -Ref: tlmgr *--debug-translation*130980 -Ref: tlmgr *--machine-readable*131184 -Ref: tlmgr *--no-execute-actions*131453 -Ref: tlmgr *--package-logfile* _file_131647 -Ref: tlmgr *--pause*131902 -Ref: tlmgr *--persistent-downloads*132058 -Ref: tlmgr *--no-persistent-downloads*132087 -Ref: tlmgr *--pin-file*132582 -Ref: tlmgr *--usermode*132801 -Ref: tlmgr *--usertree* _dir_132922 -Ref: tlmgr *--verify-repo=[none|main|all]*133049 -Node: tlmgr ACTIONS133948 -Node: tlmgr help134841 -Node: tlmgr version135318 -Node: tlmgr backup135581 -Ref: tlmgr *backup [_option_...] --all*135758 -Ref: tlmgr *backup [_option_...] _pkg_...*135791 -Ref: tlmgr *--backupdir* _directory_136858 -Ref: tlmgr *--all*137076 -Ref: tlmgr *--clean*[=_N_]137329 -Ref: tlmgr *--dry-run*137657 -Node: tlmgr bug [_search-string_]137787 -Node: tlmgr candidates _pkg_138373 -Node: tlmgr check [_option_...] [depends|executes|files|runfiles|texmfdbs|all]138743 -Ref: tlmgr *depends*139257 -Ref: tlmgr *executes*139599 -Ref: tlmgr *files*139714 -Ref: tlmgr *runfiles*139850 -Ref: tlmgr *texmfdbs*139987 -Ref: tlmgr - all items in TEXMFDBS have the !! prefix.140217 -Ref: tlmgr - all items in TEXMFBDS have an ls-R file (if they exist at all).140293 -Ref: tlmgr - all items in TEXMF with !! are listed in TEXMFDBS.140358 -Ref: tlmgr - all items in TEXMF with an ls-R file are listed in TEXMFDBS.140433 -Ref: tlmgr *--use-svn*140459 -Node: tlmgr conf140600 -Ref: tlmgr *conf [texmf|tlmgr|updmap [--conffile _file_] [--delete] [_key_ [_value_]]]*140890 -Ref: tlmgr *conf auxtrees [--conffile _file_] [show|add|remove] [_value_]*140955 -Node: tlmgr dump-tlpdb [_option_...] [--json]143371 -Ref: tlmgr *--local*143807 -Ref: tlmgr *--remote*143847 -Ref: tlmgr *--json*143886 -Node: tlmgr generate144457 -Ref: tlmgr *generate [_option_...] language*144653 -Ref: tlmgr *generate [_option_...] language.dat*144692 -Ref: tlmgr *generate [_option_...] language.def*144731 -Ref: tlmgr *generate [_option_...] language.dat.lua*144774 -Ref: tlmgr *--dest* _output_file_147102 -Ref: tlmgr *--localcfg* _local_conf_file_147679 -Ref: tlmgr *--rebuild-sys*147803 -Node: tlmgr gui148618 -Node: tlmgr info148798 -Ref: tlmgr *info [_option_...] _pkg_...*148960 -Ref: tlmgr *info [_option_...] collections*148994 -Ref: tlmgr *info [_option_...] schemes*149024 -Ref: tlmgr *--list*150555 -Ref: tlmgr *--only-installed*150870 -Ref: tlmgr *--only-remote*151059 -Ref: tlmgr *--data item1,item2,...*151364 -Ref: tlmgr *--json* 1152737 -Node: tlmgr init-usertree153120 -Node: tlmgr install [_option_...] _pkg_...153501 -Ref: tlmgr *--dry-run* 1154010 -Ref: tlmgr *--file*154128 -Ref: tlmgr *--force*154351 -Ref: tlmgr *--no-depends*154572 -Ref: tlmgr *--no-depends-at-all*154732 -Ref: tlmgr *--reinstall*155133 -Ref: tlmgr *--with-doc*155512 -Ref: tlmgr *--with-src*155526 -Node: tlmgr key156254 -Ref: tlmgr *key list*156412 -Ref: tlmgr *key add _file_*156430 -Ref: tlmgr *key remove _keyid_*156452 -Node: tlmgr list157046 -Node: tlmgr option157208 -Ref: tlmgr *option [--json] [show]*157364 -Ref: tlmgr *option [--json] showall|help*157396 -Ref: tlmgr *option _key_ [_value_]*157422 -Node: tlmgr paper162001 -Ref: tlmgr *paper [a4|letter]*162150 -Ref: tlmgr *<[xdvi|pdftex|dvips|dvipdfmx|context|psutils] paper [_papersize_|--list]*>162227 -Ref: tlmgr *paper --json*162243 -Node: tlmgr path163458 -Ref: tlmgr *path [--windowsmode=user|admin] add*163624 -Ref: tlmgr *path [--windowsmode=user|admin] remove*163666 -Node: tlmgr pinning165181 -Ref: tlmgr pinning show165422 -Ref: tlmgr pinning add _repo_ _pkgglob_...165495 -Ref: tlmgr pinning remove _repo_ _pkgglob_...165614 -Ref: tlmgr pinning remove _repo_ --all165767 -Node: tlmgr platform165821 -Ref: tlmgr *platform list|add|remove _platform_...*166007 -Ref: tlmgr *platform set _platform_*166034 -Ref: tlmgr *platform set auto*166055 -Ref: tlmgr *--dry-run* 2166933 -Node: tlmgr postaction167052 -Ref: tlmgr *postaction [_option_...] install [shortcut|fileassoc|script] [_pkg_...]*167282 -Ref: tlmgr *postaction [_option_...] remove [shortcut|fileassoc|script] [_pkg_...]*167356 -Ref: tlmgr *--windowsmode=[user|admin]*167676 -Ref: tlmgr *--fileassocmode=[1|2]*168101 -Ref: tlmgr *--all* 1168387 -Node: tlmgr print-platform168442 -Node: tlmgr print-platform-info168773 -Node: tlmgr remove [_option_...] _pkg_...169073 -Ref: tlmgr *--all* 2169558 -Ref: tlmgr *--backup*169669 -Ref: tlmgr *--backupdir* _directory_ 1169696 -Ref: tlmgr *--no-depends* 1170099 -Ref: tlmgr *--no-depends-at-all* 1170162 -Ref: tlmgr *--force* 1170266 -Ref: tlmgr *--dry-run* 3170740 -Node: tlmgr repository171117 -Ref: tlmgr *repository list*171305 -Ref: tlmgr *repository list _path|url|tag_*171339 -Ref: tlmgr *repository add _path_ [_tag_]*171372 -Ref: tlmgr *repository remove _path|tag_*171404 -Ref: tlmgr *repository set _path_[#_tag_] [_path_[#_tag_] ...]*171458 -Ref: tlmgr *repository status*171479 -Ref: tlmgr The tag (which can be the same as the url);172706 -Node: tlmgr restore173184 -Ref: tlmgr *restore [_option_...] _pkg_ [_rev_]*173363 -Ref: tlmgr *restore [_option_...] --all*173394 -Ref: tlmgr *--all* 3174095 -Ref: tlmgr *--backupdir* _directory_ 2174310 -Ref: tlmgr *--dry-run* 4174492 -Ref: tlmgr *--force* 2174625 -Ref: tlmgr *--json* 2174672 -Node: tlmgr search174999 -Ref: tlmgr *search [_option_...] _what_*175163 -Ref: tlmgr *search [_option_...] --file _what_*175201 -Ref: tlmgr *search [_option_...] --all _what_*175238 -Ref: tlmgr *--file* 1175459 -Ref: tlmgr *--all* 4175522 -Ref: tlmgr *--global*175612 -Ref: tlmgr *--word*175740 -Node: tlmgr shell176055 -Ref: tlmgr protocol176790 -Ref: tlmgr help 1176854 -Ref: tlmgr version 1176907 -Ref: tlmgr quit, end, bye, byebye, EOF176975 -Ref: tlmgr restart176996 -Ref: tlmgr load [local|remote]177119 -Ref: tlmgr save177189 -Ref: tlmgr get [_var_] =item set [_var_ [_val_]]177312 -Node: tlmgr show177913 -Node: tlmgr uninstall178080 -Node: tlmgr update [_option_...] [_pkg_...]178310 -Ref: tlmgr *--all* 5178682 -Ref: tlmgr *--self*180862 -Ref: tlmgr *--dry-run* 5181627 -Ref: tlmgr *--list* [_pkg_]181805 -Ref: tlmgr *--exclude* _pkg_182495 -Ref: tlmgr *--no-auto-remove* [_pkg_...]183296 -Ref: tlmgr *--no-auto-install* [_pkg_...]183781 -Ref: tlmgr *--reinstall-forcibly-removed*184544 -Ref: tlmgr *--backup* 1185080 -Ref: tlmgr *--backupdir* _directory_ 3185107 -Ref: tlmgr *--no-depends* 2186274 -Ref: tlmgr *--no-depends-at-all* 2186478 -Ref: tlmgr *--force* 3186582 -Node: tlmgr CONFIGURATION FILE FOR TLMGR187573 -Ref: tlmgr auto-remove = 0 or 1 (default 1), same as command-line option.188575 -Ref: tlmgr gui-expertmode = 0 or 1 (default 1). This switches between the full GUI and a simplified GUI with only the most common settings.188707 -Ref: tlmgr gui-lang = _llcode_, with a language code value as with the command-line option.188791 -Ref: tlmgr no-checksums = 0 or 1 (default 0, see below).188840 -Ref: tlmgr persistent-downloads = 0 or 1 (default 1), same as command-line option.188915 -Ref: tlmgr require-verification = 0 or 1 (default 0), same as command-line option.188990 -Ref: tlmgr tkfontscale = _floating-point number_ (default 1.0); scaling factor for fonts in the Tk-based frontends.189098 -Ref: tlmgr update-exclude = _comma-separated list of packages_ (no spaces allowed). Same as the command line option --exclude for the update action.189243 -Ref: tlmgr verify-downloads = 0 or 1 (default 1), same as command-line option.189314 -Ref: tlmgr allowed-actions = _action1_[,_action2_,...] The value is a comma-separated list (no spaces) of tlmgr actions which are allowed to be executed when tlmgr is invoked in system mode (that is, without --usermode). This allows distributors to include tlmgr in their packaging, but allow only a restricted set of actions that do not interfere with their distro package manager. For native TeX Live installations, it doesn't make sense to set this.189831 -Node: tlmgr CRYPTOGRAPHIC VERIFICATION190663 -Node: tlmgr Configuration of GnuPG invocation192836 -Node: tlmgr USER MODE193474 -Node: tlmgr User mode install196345 -Node: tlmgr User mode backup, restore, remove, update197489 -Node: tlmgr User mode generate, option, paper197931 -Node: tlmgr User mode logs198294 -Node: tlmgr MULTIPLE REPOSITORIES198590 -Node: tlmgr Pinning200319 -Node: tlmgr GUI FOR TLMGR202242 -Node: tlmgr Main display203891 -Node: tlmgr Display configuration area204143 -Ref: tlmgr Status204504 -Ref: tlmgr Category204668 -Ref: tlmgr Match204854 -Ref: tlmgr Selection205035 -Ref: tlmgr Display configuration buttons205239 -Node: tlmgr Package list area205422 -Ref: tlmgr a checkbox206006 -Ref: tlmgr package name206142 -Ref: tlmgr local revision (and version)206241 -Ref: tlmgr remote revision (and version)206616 -Ref: tlmgr short description206913 -Node: tlmgr Main display action buttons206958 -Ref: tlmgr Update all installed207224 -Ref: tlmgr Update207596 -Ref: tlmgr Install207646 -Ref: tlmgr Remove207832 -Ref: tlmgr Backup208010 -Node: tlmgr Menu bar208167 -Ref: tlmgr tlmgr menu208390 -Ref: tlmgr Options menu208698 -Ref: tlmgr Actions menu209781 -Ref: tlmgr Help menu210209 -Node: tlmgr GUI options210343 -Ref: tlmgr -background _color_210589 -Ref: tlmgr -font " _fontname_ _fontsize_ "210654 -Ref: tlmgr -foreground _color_210812 -Ref: tlmgr -geometry _geomspec_210864 -Ref: tlmgr -xrm _xresource_211056 -Node: tlmgr MACHINE-READABLE OUTPUT211325 -Node: tlmgr Machine-readable update and install output212135 -Ref: tlmgr location-url _location_213411 -Ref: tlmgr total-bytes _count_213627 -Ref: tlmgr _pkgname_214037 -Ref: tlmgr _status_214247 -Ref: tlmgr d214325 -Ref: tlmgr f214385 -Ref: tlmgr u214564 -Ref: tlmgr r214610 -Ref: tlmgr a214733 -Ref: tlmgr i214911 -Ref: tlmgr I215030 -Ref: tlmgr _localrev_215132 -Ref: tlmgr _serverrev_215239 -Ref: tlmgr _size_215351 -Ref: tlmgr _runtime_215520 -Ref: tlmgr _esttot_215590 -Node: tlmgr Machine-readable option output215623 -Node: tlmgr ENVIRONMENT VARIABLES216135 -Ref: tlmgr TEXLIVE_COMPRESSOR216646 -Ref: tlmgr TEXLIVE_DOWNLOADER217494 -Ref: tlmgr TL_DOWNLOAD_PROGRAM217517 -Ref: tlmgr TL_DOWNLOAD_ARGS217537 -Ref: tlmgr TEXLIVE_PREFER_OWN218563 -Node: tlmgr AUTHORS AND COPYRIGHT219387 -Node: tlmgr POD ERRORS219810 -Ref: tlmgr Around line 8454:220035 -Node: Index220071 +Node: Build iteration10644 +Node: Build in parallel11688 +Node: Build distribution12439 +Node: Build one package13267 +Node: Build one engine17980 +Node: Cross compilation20592 +Node: Cross configuring21871 +Node: Cross problems23548 +Node: Installing25210 +Node: Installation directories26278 +Node: Linked scripts28096 +Node: Distro builds29591 +Node: Layout and infrastructure31967 +Node: Build system tools32798 +Node: Top-level directories35015 +Node: Autoconf macros37251 +Node: General setup macros38013 +Node: Macros for programs38888 +Node: Macros for compilers39689 +Node: Macros for libraries41153 +Node: Macros for library and header flags41579 +Node: Macros for Windows43490 +Node: Library modules45085 +Node: png library45574 +Node: zlib library47922 +Node: freetype library48437 +Node: kpathsea library49133 +Node: Program modules50512 +Node: t1utils package50940 +Node: xindy package51485 +Node: xdvik package52601 +Node: asymptote53660 +Node: Extending TeX Live54164 +Node: Adding a new program module54971 +Node: Adding a new engine59734 +Node: Adding a new generic library module61519 +Node: Adding a new TeX-specific library module63740 +Node: Configure options64438 +Node: Global configure options65819 +Node: --disable-native-texlive-build66361 +Node: --prefix --bindir ...67323 +Node: --disable-largefile67863 +Node: --disable-missing68405 +Node: --enable-compiler-warnings=LEVEL68806 +Node: --enable-cxx-runtime-hack69462 +Node: --enable-maintainer-mode69882 +Node: --enable-multiplatform70411 +Node: --enable-shared70984 +Node: --enable-silent-rules71355 +Node: --without-ln-s71807 +Node: --without-x72154 +Node: Program-specific configure options72342 +Node: --enable-PROG --disable-PROG72985 +Node: --disable-all-pkgs73258 +Node: Configure options for texk/web2c74041 +Node: Configure options for texk/bibtex-x76579 +Node: Configure options for texk/dvipdfm-x77122 +Node: Configure options for texk/dvisvgm77898 +Node: Configure options for texk/texlive78779 +Node: Configure options for texk/xdvik79200 +Node: Configure options for utils/xindy79821 +Node: Library-specific configure options80711 +Node: Configure options for kpathsea81672 +Node: Variables for configure82376 +Node: Coding conventions83802 +Node: Declarations and definitions84517 +Node: Const86691 +Node: Continuous integration88555 +Node: Transfer from Subversion to Github89219 +Node: Automatic update of the Git mirror91381 +Node: CI testing on Travis-CI91963 +Node: Releases on Github92672 +Node: install-tl93112 +Node: install-tl NAME93556 +Node: install-tl SYNOPSIS93736 +Node: install-tl DESCRIPTION93974 +Node: install-tl REFERENCES95171 +Node: install-tl EXAMPLES95780 +Ref: install-tl install-tl --paper=letter96231 +Ref: install-tl install-tl --scheme _scheme_96367 +Ref: install-tl install-tl --no-interaction96522 +Ref: install-tl install-tl --profile _texlive.profile_96674 +Node: install-tl OPTIONS96942 +Ref: install-tl *-gui* [[=]_module_]97439 +Ref: install-tl *-no-gui*97450 +Ref: install-tl text97658 +Ref: install-tl tcl (or "perltk" or "wizard" or "expert" or nothing)97843 +Ref: install-tl *-lang* _llcode_98475 +Ref: install-tl *-repository* _url|path_99099 +Ref: install-tl *-select-repository*99993 +Ref: install-tl *-all-options*100411 +Ref: install-tl *-custom-bin* _path_100666 +Ref: install-tl *-debug-fakenet*101498 +Ref: install-tl *-debug-setup-vars*101712 +Ref: install-tl *-debug-translation*101860 +Ref: install-tl *-force-platform* _platform_102136 +Ref: install-tl *-help*, *--help*, *-?*102394 +Ref: install-tl *-in-place*102807 +Ref: install-tl *-init-from-profile* _profile_file_103352 +Ref: install-tl *-logfile* _file_103621 +Ref: install-tl *-no-cls*103972 +Ref: install-tl *-no-continue*104099 +Ref: install-tl *-no-doc-install*104670 +Ref: install-tl *-no-src-install*104689 +Ref: install-tl *-no-installation*105480 +Ref: install-tl *-no-interaction*105631 +Ref: install-tl *-no-persistent-downloads*105888 +Ref: install-tl *-persistent-downloads*105913 +Ref: install-tl *-no-verify-downloads*106520 +Ref: install-tl *-non-admin*106883 +Ref: install-tl *-paper* a4*|*letter106989 +Ref: install-tl *-portable*107185 +Ref: install-tl *-print-platform*107322 +Ref: install-tl *-profile* _profile_file_107520 +Ref: install-tl *-q*107741 +Ref: install-tl *-scheme* _scheme_107803 +Ref: install-tl *-texdir* _dir_108204 +Ref: install-tl *-texuserdir* _dir_108809 +Ref: install-tl *-texmflocal* _dir_109098 +Ref: install-tl *-texmfhome* _dir_109723 +Ref: install-tl *-texmfsysconfig* _dir_110032 +Ref: install-tl *-texmfsysvar* _dir_110054 +Ref: install-tl *-texmfconfig* _dir_110149 +Ref: install-tl *-texmfvar* _dir_110168 +Ref: install-tl *-v*110376 +Ref: install-tl *-version*, *--version*110532 +Node: install-tl PROFILES110666 +Ref: install-tl instopt_adjustpath (default 0 on Unix, 1 on Windows)113682 +Ref: install-tl instopt_adjustrepo (default 1)113758 +Ref: install-tl instopt_letter (default 0)113895 +Ref: install-tl instopt_portable (default 0)113986 +Ref: install-tl instopt_write18_restricted (default 1)114525 +Node: install-tl ENVIRONMENT VARIABLES115864 +Ref: install-tl NOPERLDOC116227 +Ref: install-tl TEXLIVE_DOWNLOADER116312 +Ref: install-tl TL_DOWNLOAD_PROGRAM116335 +Ref: install-tl TL_DOWNLOAD_ARGS116355 +Ref: install-tl TEXLIVE_INSTALL_ENV_NOCHECK116559 +Ref: install-tl TEXLIVE_INSTALL_NO_CONTEXT_CACHE116761 +Ref: install-tl TEXLIVE_INSTALL_NO_DISKCHECK116873 +Ref: install-tl TEXLIVE_INSTALL_NO_RESUME117289 +Ref: install-tl TEXLIVE_INSTALL_NO_WELCOME117441 +Ref: install-tl TEXLIVE_INSTALL_PAPER117562 +Ref: install-tl TEXLIVE_INSTALL_PREFIX117708 +Ref: install-tl TEXLIVE_INSTALL_TEXMFCONFIG117739 +Ref: install-tl TEXLIVE_INSTALL_TEXMFVAR117767 +Ref: install-tl TEXLIVE_INSTALL_TEXMFHOME117796 +Ref: install-tl TEXLIVE_INSTALL_TEXMFLOCAL117826 +Ref: install-tl TEXLIVE_INSTALL_TEXMFSYSCONFIG117860 +Ref: install-tl TEXLIVE_INSTALL_TEXMFSYSVAR117891 +Node: install-tl DIRECTORY TREES118329 +Node: install-tl BUGS120913 +Node: install-tl AUTHORS AND COPYRIGHT121793 +Node: tlmgr122191 +Node: tlmgr NAME122697 +Node: tlmgr SYNOPSIS122841 +Node: tlmgr DESCRIPTION123043 +Node: tlmgr EXAMPLES124154 +Ref: tlmgr tlmgr option repository ctan124417 +Ref: tlmgr tlmgr option repository https://mirror.ctan.org/systems/texlive/tlnet124490 +Ref: tlmgr tlmgr update --list125095 +Ref: tlmgr tlmgr update --all125188 +Ref: tlmgr tlmgr info _what_125345 +Ref: tlmgr tlmgr bug _what_125523 +Node: tlmgr OPTIONS125718 +Ref: tlmgr *--repository* _url|path_126251 +Ref: tlmgr /some/local/dir127437 +Ref: tlmgr file:/some/local/dir127466 +Ref: tlmgr ctan127539 +Ref: tlmgr https://mirror.ctan.org/systems/texlive/tlnet127593 +Ref: tlmgr http://server/path/to/tlnet127934 +Ref: tlmgr https://server/path/to/tlnet128315 +Ref: tlmgr ftp://server/path/to/tlnet128783 +Ref: tlmgr user@machine:/path/to/tlnet128915 +Ref: tlmgr scp://user@machine/path/to/tlnet128956 +Ref: tlmgr ssh://user@machine/path/to/tlnet128997 +Ref: tlmgr *--gui* [_action_]129391 +Ref: tlmgr *--gui-lang* _llcode_130205 +Ref: tlmgr *--command-logfile* _file_130947 +Ref: tlmgr *--debug-translation*131214 +Ref: tlmgr *--machine-readable*131418 +Ref: tlmgr *--no-execute-actions*131687 +Ref: tlmgr *--package-logfile* _file_131881 +Ref: tlmgr *--pause*132136 +Ref: tlmgr *--persistent-downloads*132292 +Ref: tlmgr *--no-persistent-downloads*132321 +Ref: tlmgr *--pin-file*132816 +Ref: tlmgr *--usermode*133035 +Ref: tlmgr *--usertree* _dir_133156 +Ref: tlmgr *--verify-repo=[none|main|all]*133283 +Node: tlmgr ACTIONS134182 +Node: tlmgr help135075 +Node: tlmgr version135552 +Node: tlmgr backup135815 +Ref: tlmgr *backup [_option_...] --all*135992 +Ref: tlmgr *backup [_option_...] _pkg_...*136025 +Ref: tlmgr *--backupdir* _directory_137092 +Ref: tlmgr *--all*137310 +Ref: tlmgr *--clean*[=_N_]137563 +Ref: tlmgr *--dry-run*137891 +Node: tlmgr bug [_search-string_]138021 +Node: tlmgr candidates _pkg_138607 +Node: tlmgr check [_option_...] [depends|executes|files|runfiles|texmfdbs|all]138977 +Ref: tlmgr *depends*139491 +Ref: tlmgr *executes*139833 +Ref: tlmgr *files*139948 +Ref: tlmgr *runfiles*140084 +Ref: tlmgr *texmfdbs*140221 +Ref: tlmgr - all items in TEXMFDBS have the !! prefix.140451 +Ref: tlmgr - all items in TEXMFBDS have an ls-R file (if they exist at all).140527 +Ref: tlmgr - all items in TEXMF with !! are listed in TEXMFDBS.140592 +Ref: tlmgr - all items in TEXMF with an ls-R file are listed in TEXMFDBS.140667 +Ref: tlmgr *--use-svn*140693 +Node: tlmgr conf140834 +Ref: tlmgr *conf [texmf|tlmgr|updmap [--conffile _file_] [--delete] [_key_ [_value_]]]*141124 +Ref: tlmgr *conf auxtrees [--conffile _file_] [show|add|remove] [_value_]*141189 +Node: tlmgr dump-tlpdb [_option_...] [--json]143605 +Ref: tlmgr *--local*144041 +Ref: tlmgr *--remote*144081 +Ref: tlmgr *--json*144120 +Node: tlmgr generate144691 +Ref: tlmgr *generate [_option_...] language*144887 +Ref: tlmgr *generate [_option_...] language.dat*144926 +Ref: tlmgr *generate [_option_...] language.def*144965 +Ref: tlmgr *generate [_option_...] language.dat.lua*145008 +Ref: tlmgr *--dest* _output_file_147336 +Ref: tlmgr *--localcfg* _local_conf_file_147913 +Ref: tlmgr *--rebuild-sys*148037 +Node: tlmgr gui148852 +Node: tlmgr info149032 +Ref: tlmgr *info [_option_...] _pkg_...*149194 +Ref: tlmgr *info [_option_...] collections*149228 +Ref: tlmgr *info [_option_...] schemes*149258 +Ref: tlmgr *--list*150789 +Ref: tlmgr *--only-installed*151104 +Ref: tlmgr *--only-remote*151293 +Ref: tlmgr *--data item1,item2,...*151598 +Ref: tlmgr *--json* 1152971 +Node: tlmgr init-usertree153354 +Node: tlmgr install [_option_...] _pkg_...153735 +Ref: tlmgr *--dry-run* 1154244 +Ref: tlmgr *--file*154362 +Ref: tlmgr *--force*154585 +Ref: tlmgr *--no-depends*154806 +Ref: tlmgr *--no-depends-at-all*154966 +Ref: tlmgr *--reinstall*155367 +Ref: tlmgr *--with-doc*155746 +Ref: tlmgr *--with-src*155760 +Node: tlmgr key156488 +Ref: tlmgr *key list*156646 +Ref: tlmgr *key add _file_*156664 +Ref: tlmgr *key remove _keyid_*156686 +Node: tlmgr list157280 +Node: tlmgr option157442 +Ref: tlmgr *option [--json] [show]*157598 +Ref: tlmgr *option [--json] showall|help*157630 +Ref: tlmgr *option _key_ [_value_]*157656 +Node: tlmgr paper162235 +Ref: tlmgr *paper [a4|letter]*162384 +Ref: tlmgr *<[xdvi|pdftex|dvips|dvipdfmx|context|psutils] paper [_papersize_|--list]*>162461 +Ref: tlmgr *paper --json*162477 +Node: tlmgr path163692 +Ref: tlmgr *path [--windowsmode=user|admin] add*163858 +Ref: tlmgr *path [--windowsmode=user|admin] remove*163900 +Node: tlmgr pinning165415 +Ref: tlmgr pinning show165656 +Ref: tlmgr pinning add _repo_ _pkgglob_...165729 +Ref: tlmgr pinning remove _repo_ _pkgglob_...165848 +Ref: tlmgr pinning remove _repo_ --all166001 +Node: tlmgr platform166055 +Ref: tlmgr *platform list|add|remove _platform_...*166241 +Ref: tlmgr *platform set _platform_*166268 +Ref: tlmgr *platform set auto*166289 +Ref: tlmgr *--dry-run* 2167167 +Node: tlmgr postaction167286 +Ref: tlmgr *postaction [_option_...] install [shortcut|fileassoc|script] [_pkg_...]*167516 +Ref: tlmgr *postaction [_option_...] remove [shortcut|fileassoc|script] [_pkg_...]*167590 +Ref: tlmgr *--windowsmode=[user|admin]*167910 +Ref: tlmgr *--fileassocmode=[1|2]*168335 +Ref: tlmgr *--all* 1168621 +Node: tlmgr print-platform168676 +Node: tlmgr print-platform-info169007 +Node: tlmgr remove [_option_...] _pkg_...169307 +Ref: tlmgr *--all* 2169792 +Ref: tlmgr *--backup*169903 +Ref: tlmgr *--backupdir* _directory_ 1169930 +Ref: tlmgr *--no-depends* 1170335 +Ref: tlmgr *--no-depends-at-all* 1170398 +Ref: tlmgr *--force* 1170505 +Ref: tlmgr *--dry-run* 3170979 +Node: tlmgr repository171356 +Ref: tlmgr *repository list*171544 +Ref: tlmgr *repository list _path|url|tag_*171578 +Ref: tlmgr *repository add _path_ [_tag_]*171611 +Ref: tlmgr *repository remove _path|tag_*171643 +Ref: tlmgr *repository set _path_[#_tag_] [_path_[#_tag_] ...]*171697 +Ref: tlmgr *repository status*171718 +Ref: tlmgr The tag (which can be the same as the url);172945 +Node: tlmgr restore173423 +Ref: tlmgr *restore [_option_...] _pkg_ [_rev_]*173602 +Ref: tlmgr *restore [_option_...] --all*173633 +Ref: tlmgr *--all* 3174334 +Ref: tlmgr *--backupdir* _directory_ 2174549 +Ref: tlmgr *--dry-run* 4174731 +Ref: tlmgr *--force* 2174864 +Ref: tlmgr *--json* 2174911 +Node: tlmgr search175238 +Ref: tlmgr *search [_option_...] _what_*175402 +Ref: tlmgr *search [_option_...] --file _what_*175440 +Ref: tlmgr *search [_option_...] --all _what_*175477 +Ref: tlmgr *--file* 1175698 +Ref: tlmgr *--all* 4175761 +Ref: tlmgr *--global*175851 +Ref: tlmgr *--word*175979 +Node: tlmgr shell176294 +Ref: tlmgr protocol177029 +Ref: tlmgr help 1177093 +Ref: tlmgr version 1177146 +Ref: tlmgr quit, end, bye, byebye, EOF177214 +Ref: tlmgr restart177235 +Ref: tlmgr load [local|remote]177358 +Ref: tlmgr save177428 +Ref: tlmgr get [_var_] =item set [_var_ [_val_]]177551 +Node: tlmgr show178152 +Node: tlmgr uninstall178319 +Node: tlmgr update [_option_...] [_pkg_...]178551 +Ref: tlmgr *--all* 5178923 +Ref: tlmgr *--self*181103 +Ref: tlmgr *--dry-run* 5181868 +Ref: tlmgr *--list* [_pkg_]182046 +Ref: tlmgr *--exclude* _pkg_182736 +Ref: tlmgr *--no-auto-remove* [_pkg_...]183537 +Ref: tlmgr *--no-auto-install* [_pkg_...]184022 +Ref: tlmgr *--reinstall-forcibly-removed*184785 +Ref: tlmgr *--backup* 1185321 +Ref: tlmgr *--backupdir* _directory_ 3185348 +Ref: tlmgr *--no-depends* 2186515 +Ref: tlmgr *--no-depends-at-all* 2186719 +Ref: tlmgr *--force* 3186826 +Node: tlmgr CONFIGURATION FILE FOR TLMGR187817 +Ref: tlmgr auto-remove = 0 or 1 (default 1), same as command-line option.188819 +Ref: tlmgr gui-expertmode = 0 or 1 (default 1). This switches between the full GUI and a simplified GUI with only the most common settings.188951 +Ref: tlmgr gui-lang = _llcode_, with a language code value as with the command-line option.189035 +Ref: tlmgr no-checksums = 0 or 1 (default 0, see below).189084 +Ref: tlmgr persistent-downloads = 0 or 1 (default 1), same as command-line option.189159 +Ref: tlmgr require-verification = 0 or 1 (default 0), same as command-line option.189234 +Ref: tlmgr tkfontscale = _floating-point number_ (default 1.0); scaling factor for fonts in the Tk-based frontends.189342 +Ref: tlmgr update-exclude = _comma-separated list of packages_ (no spaces allowed). Same as the command line option --exclude for the update action.189487 +Ref: tlmgr verify-downloads = 0 or 1 (default 1), same as command-line option.189558 +Ref: tlmgr allowed-actions = _action1_[,_action2_,...] The value is a comma-separated list (no spaces) of tlmgr actions which are allowed to be executed when tlmgr is invoked in system mode (that is, without --usermode). This allows distributors to include tlmgr in their packaging, but allow only a restricted set of actions that do not interfere with their distro package manager. For native TeX Live installations, it doesn't make sense to set this.190075 +Node: tlmgr CRYPTOGRAPHIC VERIFICATION190907 +Node: tlmgr Configuration of GnuPG invocation193080 +Node: tlmgr USER MODE193718 +Node: tlmgr User mode install196589 +Node: tlmgr User mode backup, restore, remove, update197735 +Node: tlmgr User mode generate, option, paper198181 +Node: tlmgr User mode logs198548 +Node: tlmgr MULTIPLE REPOSITORIES198846 +Node: tlmgr Pinning200575 +Node: tlmgr GUI FOR TLMGR202498 +Node: tlmgr Main display204147 +Node: tlmgr Display configuration area204399 +Ref: tlmgr Status204760 +Ref: tlmgr Category204924 +Ref: tlmgr Match205110 +Ref: tlmgr Selection205291 +Ref: tlmgr Display configuration buttons205495 +Node: tlmgr Package list area205678 +Ref: tlmgr a checkbox206262 +Ref: tlmgr package name206398 +Ref: tlmgr local revision (and version)206497 +Ref: tlmgr remote revision (and version)206872 +Ref: tlmgr short description207169 +Node: tlmgr Main display action buttons207214 +Ref: tlmgr Update all installed207480 +Ref: tlmgr Update207852 +Ref: tlmgr Install207902 +Ref: tlmgr Remove208088 +Ref: tlmgr Backup208266 +Node: tlmgr Menu bar208423 +Ref: tlmgr tlmgr menu208646 +Ref: tlmgr Options menu208954 +Ref: tlmgr Actions menu210037 +Ref: tlmgr Help menu210465 +Node: tlmgr GUI options210599 +Ref: tlmgr -background _color_210845 +Ref: tlmgr -font " _fontname_ _fontsize_ "210910 +Ref: tlmgr -foreground _color_211068 +Ref: tlmgr -geometry _geomspec_211120 +Ref: tlmgr -xrm _xresource_211312 +Node: tlmgr MACHINE-READABLE OUTPUT211581 +Node: tlmgr Machine-readable update and install output212395 +Ref: tlmgr location-url _location_213671 +Ref: tlmgr total-bytes _count_213887 +Ref: tlmgr _pkgname_214297 +Ref: tlmgr _status_214507 +Ref: tlmgr d214585 +Ref: tlmgr f214645 +Ref: tlmgr u214824 +Ref: tlmgr r214870 +Ref: tlmgr a214993 +Ref: tlmgr i215171 +Ref: tlmgr I215290 +Ref: tlmgr _localrev_215392 +Ref: tlmgr _serverrev_215499 +Ref: tlmgr _size_215611 +Ref: tlmgr _runtime_215780 +Ref: tlmgr _esttot_215850 +Node: tlmgr Machine-readable option output215883 +Node: tlmgr ENVIRONMENT VARIABLES216395 +Ref: tlmgr TEXLIVE_COMPRESSOR216906 +Ref: tlmgr TEXLIVE_DOWNLOADER217754 +Ref: tlmgr TL_DOWNLOAD_PROGRAM217777 +Ref: tlmgr TL_DOWNLOAD_ARGS217797 +Ref: tlmgr TEXLIVE_PREFER_OWN218823 +Node: tlmgr AUTHORS AND COPYRIGHT219647 +Node: tlmgr POD ERRORS220070 +Ref: tlmgr Around line 8454:220295 +Node: Index220331  End Tag Table diff --git a/source/doc/tlbuild.texi b/source/doc/tlbuild.texi index a889b42b4a..43fb68f3dc 100644 --- a/source/doc/tlbuild.texi +++ b/source/doc/tlbuild.texi @@ -349,7 +349,7 @@ Building in the source directory itself is not supported (sorry). @menu * Build iteration:: What @code{configure} and @code{make} do in TL. * Build in parallel:: Simultaneous @code{make} processes. -* Build distribution:: Making a distribution tarball. +* Build distribution:: (Not) making a distribution tarball. * Build one package:: Example of working on just one program. * Build one engine:: Example of building just one @TeX{} engine. * Cross compilation:: Building on host X for target Y. @@ -420,16 +420,21 @@ configure cache file, i.e., specifying the @code{configure} option @cindex distribution tarball, making @cindex @code{dist} and @code{distcheck} targets for @code{make} -Running @code{make dist} at the top level creates a tarball +Running @code{make dist} or related targets at the top level outputs an +error message and fails. We no longer try to keep @code{make dist} +working, although it could be restored if there is some use for it. + +The @code{dist} target used to create a tarball @file{tex-live-@var{yyyy}-@var{mm}-@var{dd}.tar.xz} from the TL source -tree. Running @code{make distcheck} also verifies that this tarball -suffices to build and install all of TL. +tree, and @code{distcheck} also verifies that this tarball suffices to +build and install all of TL. + +However, the result was not a complete or even usable @TeX{} system, +since all the support files are lacking. We do not actually +distribute any such tarball, and have no plans to do so. -This is useful for checking consistency of the source tree and -Makefiles, but the result is not a complete or even usable @TeX{} -system, since all the support files are lacking; @pxref{Installing}. -We do not actually distribute any such tarball, and have no plans to -do so. +@xref{Installing}, for more information on what to do with the results +of a build. @node Build one package @section Build one package @@ -811,8 +816,9 @@ not present in the TL source tree. The best basis for dealing with them is the @TL{} (plain text) database in @file{Master/tlpkg/texlive.tlpdb}, and/or the @TL{} installer, @code{install-tl}. More information is under @file{Master/tlpkg} and -at @url{https://tug.org/texlive/distro.html}. - +at @url{https://tug.org/texlive/distro.html} and + @url{https://tug.org/texlive/build.html#deploy}. + @menu * Installation directories:: The prefix, @code{bindir}, etc., directories. * Linked scripts:: Scripts not maintained in the sources. diff --git a/source/libs/cairo/configure b/source/libs/cairo/configure index b7fa5e5b1d..6fe05490d7 100755 --- a/source/libs/cairo/configure +++ b/source/libs/cairo/configure @@ -4702,6 +4702,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=cairo, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4958,6 +4960,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4982,6 +4986,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -5015,6 +5024,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -5072,6 +5083,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=cairo, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/source/libs/configure b/source/libs/configure index 68aea89ae3..86136aa01b 100755 --- a/source/libs/configure +++ b/source/libs/configure @@ -609,6 +609,38 @@ PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' ac_unique_file="../build-aux/missing" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_STDIO_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_header_c_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -1854,6 +1886,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -2196,6 +2263,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2521,6 +2589,16 @@ main (int argc, char **argv) } " +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="missing install-sh compile config.guess config.sub" @@ -3870,9 +3948,187 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + + + + +echo 'tldbg:KPSE_SETUP called (toplevel=../)' >&5 # Check whether --enable-all-pkgs was given. if test ${enable_all_pkgs+y} then : @@ -3983,6 +4239,24 @@ fi + +# We must enable system extensions before any compiler call to avoid +# (valid) autoconf warnings. Because different configure.ac's use +# different kpse setup routines, we call the ac_use_system_extensions +# macro both here and in kpse_basic (in kpse-common.m4). +# +# Fortunately, Autoconf defines the system_extensions macro to only have +# any effect once (with ac_defun_once), so it's harmless to call it +# multiple time. +# +# LuaTeX requires system extensions for socket support. Also, since +# SyncTeX, some libraries, and others unconditionally #define +# GNU_SOURCE, it seems more consistent to always use it. +# + + +# this macro, kpse_check_win32, is the first compiler call for +# configure.ac files that use this function (kpse setup). { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 printf %s "checking for native WIN32 or MINGW32... " >&6; } if test ${kpse_cv_have_win32+y} @@ -4035,6 +4309,8 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 printf "%s\n" "$kpse_cv_have_win32" >&6; } +# end call to kpse_check_win32. + case $with_x:$kpse_cv_have_win32 in #( yes:no | no:*) : : ;; #( @@ -6507,6 +6783,9 @@ fi +# end of kpse_setup macro. +echo 'tldbg:KPSE_SETUP done (toplevel=../)' >&5 + am__api_version='1.16' @@ -7084,6 +7363,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=libs, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -7340,6 +7621,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -7364,6 +7647,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -7397,6 +7685,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -7454,6 +7744,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=libs, amopt=)' >&5 + diff --git a/source/libs/gmp/config.h.in b/source/libs/gmp/config.h.in index 65c4d2871e..21508000cd 100644 --- a/source/libs/gmp/config.h.in +++ b/source/libs/gmp/config.h.in @@ -38,6 +38,9 @@ /* Define to 1 if you have the 'memset' function. */ #undef HAVE_MEMSET +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'raise' function. */ #undef HAVE_RAISE @@ -68,6 +71,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Name of package */ #undef PACKAGE @@ -112,6 +118,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/libs/gmp/configure b/source/libs/gmp/configure index 861cad486d..381435a5d3 100755 --- a/source/libs/gmp/configure +++ b/source/libs/gmp/configure @@ -1544,6 +1544,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1715,41 +1750,6 @@ printf "%s\n" "$ac_res" >&6; } } # ac_fn_c_check_type -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_try_run LINENO # ---------------------- # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that @@ -2283,6 +2283,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2608,7 +2609,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2617,6 +2617,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub compile missing install-sh" @@ -4569,6 +4571,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4589,6 +4768,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=gmp, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4715,6 +4896,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4739,6 +4922,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4772,6 +4960,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4829,6 +5019,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=gmp, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -6215,35 +6408,6 @@ printf "%s\n" "#define HAVE_ATTRIBUTE_NORETURN 1" >>confdefs.h fi -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" if test "x$ac_cv_type_long_long" = xyes then : diff --git a/source/libs/gmp/native/config.h.in b/source/libs/gmp/native/config.h.in index dd3b02c5fc..2c434ef279 100644 --- a/source/libs/gmp/native/config.h.in +++ b/source/libs/gmp/native/config.h.in @@ -1,5 +1,38 @@ /* config.h.in. Generated from configure.ac by autoheader. */ +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDIO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Name of package */ #undef PACKAGE @@ -21,5 +54,102 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION +/* Define to 1 if all of the C89 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ +#undef STDC_HEADERS + +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/libs/gmp/native/configure b/source/libs/gmp/native/configure index da5c299d2e..8881e53c7a 100755 --- a/source/libs/gmp/native/configure +++ b/source/libs/gmp/native/configure @@ -609,6 +609,38 @@ PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' ac_unique_file="../gmp-src/gmp-impl.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_STDIO_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_header_c_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -1488,6 +1520,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1830,6 +1897,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2155,6 +2223,16 @@ main (int argc, char **argv) } " +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="compile missing install-sh" @@ -4107,6 +4185,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4127,6 +4382,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=gmp native, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4253,6 +4510,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4277,6 +4536,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4310,6 +4574,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4367,6 +4633,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=gmp native, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/source/libs/icu/configure b/source/libs/icu/configure index 79d025bf9e..a486f96c9e 100755 --- a/source/libs/icu/configure +++ b/source/libs/icu/configure @@ -609,6 +609,38 @@ PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' ac_unique_file="icu-src/source/common/unicode/utypes.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_STDIO_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_header_c_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -1518,6 +1550,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1900,6 +1967,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2225,6 +2293,16 @@ main (int argc, char **argv) } " +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Test code for whether the C++ compiler supports C++98 (global declarations) ac_cxx_conftest_cxx98_globals=' // Does the compiler advertise C++98 conformance? @@ -4393,6 +4471,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4413,6 +4668,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=icu, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4539,6 +4796,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4563,6 +4822,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4596,6 +4860,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4653,6 +4919,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=icu, amopt=)' >&5 + diff --git a/source/libs/libpaper/configure b/source/libs/libpaper/configure index 8561c0d630..0f6d3a2d15 100755 --- a/source/libs/libpaper/configure +++ b/source/libs/libpaper/configure @@ -4258,6 +4258,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=paper, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4514,6 +4516,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4538,6 +4542,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4571,6 +4580,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4628,6 +4639,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=paper, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/source/libs/libpng/config.h.in b/source/libs/libpng/config.h.in index c82251cc5d..873a637444 100644 --- a/source/libs/libpng/config.h.in +++ b/source/libs/libpng/config.h.in @@ -9,6 +9,9 @@ /* Define to 1 if you have the 'memset' function. */ #undef HAVE_MEMSET +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -33,6 +36,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Name of package */ #undef PACKAGE @@ -80,6 +86,98 @@ /* Define to 1 if your declares 'struct tm'. */ #undef TM_IN_SYS_TIME +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/libs/libpng/configure b/source/libs/libpng/configure index 30fb8e6374..a45f7a2f0a 100755 --- a/source/libs/libpng/configure +++ b/source/libs/libpng/configure @@ -1586,6 +1586,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1634,41 +1669,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache @@ -2130,6 +2130,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2455,7 +2456,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2464,6 +2464,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="ar-lib config.guess config.sub compile missing install-sh" @@ -4416,6 +4418,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4436,6 +4615,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=libpng, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4562,6 +4743,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4586,6 +4769,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4619,6 +4807,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4676,6 +4866,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=libpng, amopt=)' >&5 + # Because we use $host_cpu below. @@ -6253,35 +6446,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Checks for header files. # Autoupdate added the next two lines to ensure that your configure # script's behavior did not change. They are probably safe to remove. -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 printf %s "checking for grep that handles long lines and -e... " >&6; } if test ${ac_cv_path_GREP+y} diff --git a/source/libs/mpfi/configure b/source/libs/mpfi/configure index 4855156c1f..e238080c1d 100755 --- a/source/libs/mpfi/configure +++ b/source/libs/mpfi/configure @@ -1560,6 +1560,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1667,41 +1702,6 @@ printf "%s\n" "$ac_res" >&6; } } # ac_fn_c_check_type -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2060,6 +2060,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2385,7 +2386,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2394,6 +2394,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub compile missing install-sh" @@ -4346,6 +4348,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4366,6 +4545,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=mpfi, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4492,6 +4673,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4516,6 +4699,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4549,6 +4737,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4606,6 +4796,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=mpfi, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -5918,35 +6111,6 @@ ${top_builddir}/../../libs/mpfr/include/mpfr.h: fi -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes then : diff --git a/source/libs/mpfi/mpfi_config.h.in b/source/libs/mpfi/mpfi_config.h.in index 782e0f296e..19fe714a67 100644 --- a/source/libs/mpfi/mpfi_config.h.in +++ b/source/libs/mpfi/mpfi_config.h.in @@ -9,6 +9,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mpfr_q_sub' function. */ #undef HAVE_MPFR_Q_SUB @@ -42,6 +45,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Name of package */ #undef PACKAGE @@ -68,6 +74,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/libs/mpfr/config.h.in b/source/libs/mpfr/config.h.in index 69583f4485..9758230245 100644 --- a/source/libs/mpfr/config.h.in +++ b/source/libs/mpfr/config.h.in @@ -31,6 +31,9 @@ /* Define if compiler supports long long */ #undef HAVE_LONG_LONG +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define if stdarg */ #undef HAVE_STDARG @@ -142,6 +145,98 @@ macro is obsolete. */ #undef TIME_WITH_SYS_TIME +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/libs/mpfr/configure b/source/libs/mpfr/configure index e40002f47e..3e8329a12d 100755 --- a/source/libs/mpfr/configure +++ b/source/libs/mpfr/configure @@ -1551,6 +1551,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1599,41 +1634,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache @@ -2149,6 +2149,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2474,7 +2475,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2483,6 +2483,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" # Auxiliary files required by this configure script. @@ -4436,6 +4438,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4456,6 +4635,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=mpfr, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4582,6 +4763,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4606,6 +4789,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4639,6 +4827,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4696,6 +4886,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=mpfr, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -5910,35 +6103,6 @@ fi eval kpse_build_alias=\${build_alias-$build} -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi # Obsolete code to be removed. diff --git a/source/libs/pixman/config.h.in b/source/libs/pixman/config.h.in index 5dd805c497..b0ddcd1378 100644 --- a/source/libs/pixman/config.h.in +++ b/source/libs/pixman/config.h.in @@ -15,6 +15,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -39,6 +42,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Name of package */ #undef PACKAGE @@ -104,6 +110,98 @@ /* use SSSE3 compiler intrinsics */ #undef USE_SSSE3 +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* use VMX compiler intrinsics */ #undef USE_VMX diff --git a/source/libs/pixman/configure b/source/libs/pixman/configure index 2270ba8573..c0fd209a97 100755 --- a/source/libs/pixman/configure +++ b/source/libs/pixman/configure @@ -1528,6 +1528,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1684,41 +1719,6 @@ fi } # ac_fn_c_try_run -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR # ------------------------------------------------------------------ # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR @@ -2262,6 +2262,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2587,7 +2588,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2596,6 +2596,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="compile missing install-sh" @@ -4548,6 +4550,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4568,6 +4747,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=pixman, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4694,6 +4875,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4718,6 +4901,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4751,6 +4939,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4808,6 +4998,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=pixman, amopt=)' >&5 + PIXMAN_VERSION_MAJOR=0 PIXMAN_VERSION_MINOR=42 @@ -5882,35 +6075,6 @@ then : fi -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 printf %s "checking whether byte ordering is bigendian... " >&6; } if test ${ac_cv_c_bigendian+y} diff --git a/source/libs/pplib/config.h.in b/source/libs/pplib/config.h.in index d52b8d58b9..a601d13a8b 100644 --- a/source/libs/pplib/config.h.in +++ b/source/libs/pplib/config.h.in @@ -9,6 +9,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -33,6 +36,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -65,6 +71,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/libs/pplib/configure b/source/libs/pplib/configure index b116df8880..0abce3515b 100755 --- a/source/libs/pplib/configure +++ b/source/libs/pplib/configure @@ -1614,6 +1614,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1662,41 +1697,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2294,6 +2294,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2619,7 +2620,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2628,6 +2628,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh" @@ -4580,6 +4582,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4600,6 +4779,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=pplib, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4726,6 +4907,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4750,6 +4933,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4783,6 +4971,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4840,6 +5030,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=pplib, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -9739,35 +9932,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes diff --git a/source/libs/zlib/config.h.in b/source/libs/zlib/config.h.in index fca272f5a8..0db6ca54fe 100644 --- a/source/libs/zlib/config.h.in +++ b/source/libs/zlib/config.h.in @@ -6,6 +6,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -30,6 +33,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Name of package */ #undef PACKAGE @@ -56,6 +62,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/libs/zlib/configure b/source/libs/zlib/configure index 6492ecf523..59ca0ecf63 100755 --- a/source/libs/zlib/configure +++ b/source/libs/zlib/configure @@ -1540,6 +1540,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1587,41 +1622,6 @@ fi as_fn_set_status $ac_retval } # ac_fn_c_try_link - -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile ac_configure_args_raw= for ac_arg do @@ -1917,6 +1917,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2242,7 +2243,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2251,6 +2251,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="ar-lib compile missing install-sh" @@ -4204,6 +4206,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4224,6 +4403,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=zlib, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4350,6 +4531,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4374,6 +4557,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4407,6 +4595,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4464,6 +4654,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=zlib, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -5924,35 +6117,6 @@ else fi -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" if test "x$ac_cv_header_errno_h" = xyes then : diff --git a/source/m4/ChangeLog b/source/m4/ChangeLog index e8251fb4e2..9573af778b 100644 --- a/source/m4/ChangeLog +++ b/source/m4/ChangeLog @@ -1,3 +1,7 @@ +2024-04-28 Karl Berry + + * kpse-common.m4 (KPSE_BASIC): + 2024-04-18 Karl Berry * kpse-visibility.m4 (_KPSE_VISIBILITY_FLAGS): avoid testing or diff --git a/source/m4/kpse-common.m4 b/source/m4/kpse-common.m4 index 491c648c5f..f8706be25e 100644 --- a/source/m4/kpse-common.m4 +++ b/source/m4/kpse-common.m4 @@ -1,6 +1,6 @@ # $Id$ # Public macros for the TeX Live (TL) tree. -# Copyright 1995-2009, 2015-2023 Karl Berry +# Copyright 1995-2009, 2015-2024 Karl Berry # Copyright 2009-2015 Peter Breitenlohner # # This file is free software; the copyright holders @@ -217,23 +217,32 @@ eval LIBS=\"$[]AS_TR_CPP($1)_LIBS \$LIBS\" AC_DEFUN([KPSE_BASIC], [dnl echo 'tldbg:[$0] called (pkg=[$1], amopt=[$2])' >&AS_MESSAGE_LOG_FD m4_define([Kpse_Package], [$1]) -dnl +# +# am_init_automake AM_INIT_AUTOMAKE([foreign silent-rules subdir-objects]m4_ifval([$2], [ $2])) + +# am_maintainer_mode AM_MAINTAINER_MODE -dnl -dnl Check whether prototypes work. + +# See comments in kpse-setup.m4 about system extensions. +AC_USE_SYSTEM_EXTENSIONS + +# Check whether prototypes work. AC_CACHE_CHECK([whether the compiler accepts prototypes], [kb_cv_c_prototypes], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], - [[extern void foo(int i,...);]])], + [[extern void foo(int i,...);]])], [kb_cv_c_prototypes=yes], [kb_cv_c_prototypes=no])]) if test "x$kb_cv_c_prototypes" = xno; then AC_MSG_ERROR([Sorry, your compiler does not understand prototypes.]) fi -dnl -dnl Enable flags for compiler warnings + +# kpse_compiler_warnings options. KPSE_COMPILER_WARNINGS + +# end of kpse_basic macro. +echo 'tldbg:[$0] done (pkg=[$1], amopt=[$2])' >&AS_MESSAGE_LOG_FD ]) # KPSE_BASIC # KPSE_COMMON(PACKAGE-NAME, [MORE-AUTOMAKE-OPTIONS]) diff --git a/source/m4/kpse-setup.m4 b/source/m4/kpse-setup.m4 index 8da68c573a..7a1844d80f 100644 --- a/source/m4/kpse-setup.m4 +++ b/source/m4/kpse-setup.m4 @@ -18,6 +18,7 @@ # additional program specific configure options (if any) # library dependencies for programs and libraries AC_DEFUN([KPSE_SETUP], [dnl +echo 'tldbg:[$0] called (toplevel=[$1])' >&AS_MESSAGE_LOG_FD AC_REQUIRE([AC_CANONICAL_HOST])[]dnl AC_REQUIRE([_KPSE_MSG_WARN_PREPARE])[]dnl m4_define([kpse_TL], [$1])[]dnl @@ -74,7 +75,27 @@ KPSE_ENABLE_LT_HACK KPSE_LIBS_PREPARE KPSE_MKTEX_PREPARE KPSE_WEB2C_PREPARE + +# We must enable system extensions before any compiler call to avoid +# (valid) autoconf warnings. Because different configure.ac's use +# different kpse setup routines, we call the ac_use_system_extensions +# macro both here and in kpse_basic (in kpse-common.m4). +# +# Fortunately, Autoconf defines the system_extensions macro to only have +# any effect once (with ac_defun_once), so it's harmless to call it +# multiple time. +# +# LuaTeX requires system extensions for socket support. Also, since +# SyncTeX, some libraries, and others unconditionally #define +# GNU_SOURCE, it seems more consistent to always use it. +# +AC_USE_SYSTEM_EXTENSIONS + +# this macro, kpse_check_win32, is the first compiler call for +# configure.ac files that use this function (kpse setup). KPSE_CHECK_WIN32 +# end call to kpse_check_win32. + AS_CASE([$with_x:$kpse_cv_have_win32], [yes:no | no:*], [:], [yes:*], [AC_MSG_ERROR([you can not use `--with-x' for Windows])], @@ -96,6 +117,9 @@ KPSE_FOR_PKGS([utils], [m4_sinclude(kpse_TL[utils/]Kpse_Pkg[/ac/withenable.ac])] KPSE_FOR_PKGS([texk], [m4_sinclude(kpse_TL[texk/]Kpse_Pkg[/ac/withenable.ac])]) KPSE_FOR_PKGS([libs], [m4_sinclude(kpse_TL[libs/]Kpse_Pkg[/ac/withenable.ac])]) KPSE_FOR_PKGS([texlibs], [m4_sinclude(kpse_TL[texk/]Kpse_Pkg[/ac/withenable.ac])]) + +# end of kpse_setup macro. +echo 'tldbg:[$0] done (toplevel=[$1])' >&AS_MESSAGE_LOG_FD ]) # KPSE_SETUP # KPSE_ENABLE_PROG(PROG, REQUIRED-LIBS, OPTIONS, [COMMENT]) diff --git a/source/reautoconf b/source/reautoconf index 6282ff55b6..971132623f 100755 --- a/source/reautoconf +++ b/source/reautoconf @@ -97,6 +97,7 @@ do_it () { $do_cmd "$@" if test $? -ne 0; then echo "$0: goodbye, exit status of $*: $?" >&2 + echo "$0: directory: `/bin/pwd`" >&2 exit 1 fi } diff --git a/source/texk/bibtex-x/config.h.in b/source/texk/bibtex-x/config.h.in index cb7c1fab5a..a48707cdee 100644 --- a/source/texk/bibtex-x/config.h.in +++ b/source/texk/bibtex-x/config.h.in @@ -44,6 +44,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -103,6 +106,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -132,6 +138,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS diff --git a/source/texk/bibtex-x/configure b/source/texk/bibtex-x/configure index 350a98a441..00b9d70529 100755 --- a/source/texk/bibtex-x/configure +++ b/source/texk/bibtex-x/configure @@ -1641,6 +1641,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1689,41 +1724,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2562,6 +2562,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2887,7 +2888,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2896,6 +2896,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Test code for whether the C++ compiler supports C++98 (global declarations) ac_cxx_conftest_cxx98_globals=' // Does the compiler advertise C++98 conformance? @@ -5064,6 +5066,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8923,35 +9102,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -9046,6 +9196,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=bibtex-x, amopt=no-define)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=bibtex-x, amopt=no-define)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -9167,6 +9319,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -9191,6 +9345,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -9224,6 +9383,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -9281,6 +9442,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=bibtex-x, amopt=no-define)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/configure b/source/texk/configure index 7c06943a2a..09e0d21144 100755 --- a/source/texk/configure +++ b/source/texk/configure @@ -609,6 +609,38 @@ PACKAGE_BUGREPORT='tex-live@tug.org' PACKAGE_URL='' ac_unique_file="../build-aux/missing" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_STDIO_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_header_c_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -1854,6 +1886,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -2196,6 +2263,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2521,6 +2589,16 @@ main (int argc, char **argv) } " +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="missing install-sh compile config.guess config.sub" @@ -3870,9 +3948,187 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + + + + +echo 'tldbg:KPSE_SETUP called (toplevel=../)' >&5 # Check whether --enable-all-pkgs was given. if test ${enable_all_pkgs+y} then : @@ -3983,6 +4239,24 @@ fi + +# We must enable system extensions before any compiler call to avoid +# (valid) autoconf warnings. Because different configure.ac's use +# different kpse setup routines, we call the ac_use_system_extensions +# macro both here and in kpse_basic (in kpse-common.m4). +# +# Fortunately, Autoconf defines the system_extensions macro to only have +# any effect once (with ac_defun_once), so it's harmless to call it +# multiple time. +# +# LuaTeX requires system extensions for socket support. Also, since +# SyncTeX, some libraries, and others unconditionally #define +# GNU_SOURCE, it seems more consistent to always use it. +# + + +# this macro, kpse_check_win32, is the first compiler call for +# configure.ac files that use this function (kpse setup). { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 printf %s "checking for native WIN32 or MINGW32... " >&6; } if test ${kpse_cv_have_win32+y} @@ -4035,6 +4309,8 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 printf "%s\n" "$kpse_cv_have_win32" >&6; } +# end call to kpse_check_win32. + case $with_x:$kpse_cv_have_win32 in #( yes:no | no:*) : : ;; #( @@ -6507,6 +6783,9 @@ fi +# end of kpse_setup macro. +echo 'tldbg:KPSE_SETUP done (toplevel=../)' >&5 + am__api_version='1.16' @@ -7084,6 +7363,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=texk, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -7340,6 +7621,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -7364,6 +7647,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -7397,6 +7685,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -7454,6 +7744,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=texk, amopt=)' >&5 + diff --git a/source/texk/dvi2tty/c-auto.in b/source/texk/dvi2tty/c-auto.in index add1368c40..f1c83d5140 100644 --- a/source/texk/dvi2tty/c-auto.in +++ b/source/texk/dvi2tty/c-auto.in @@ -41,6 +41,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -100,6 +103,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -129,6 +135,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/dvi2tty/configure b/source/texk/dvi2tty/configure index 00174830f8..b9c21ba793 100755 --- a/source/texk/dvi2tty/configure +++ b/source/texk/dvi2tty/configure @@ -1614,6 +1614,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1662,41 +1697,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2373,6 +2373,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2698,7 +2699,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2707,6 +2707,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4659,6 +4661,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8518,35 +8697,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8641,6 +8791,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=dvi2tty, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=dvi2tty, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8767,6 +8919,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -8791,6 +8945,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -8824,6 +8983,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -8881,6 +9042,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=dvi2tty, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/dvidvi/config.h.in b/source/texk/dvidvi/config.h.in index 0984450fe3..a261194ea4 100644 --- a/source/texk/dvidvi/config.h.in +++ b/source/texk/dvidvi/config.h.in @@ -41,6 +41,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -100,6 +103,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -132,6 +138,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/dvidvi/configure b/source/texk/dvidvi/configure index 0ab2b4acb9..7d72cdca1c 100755 --- a/source/texk/dvidvi/configure +++ b/source/texk/dvidvi/configure @@ -1608,6 +1608,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1656,41 +1691,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2367,6 +2367,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2692,7 +2693,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2701,6 +2701,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4653,6 +4655,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8512,35 +8691,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8635,6 +8785,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=dvidvi, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=dvidvi, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8761,6 +8913,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -8785,6 +8939,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -8818,6 +8977,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -8875,6 +9036,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=dvidvi, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/dviout-util/config.h.in b/source/texk/dviout-util/config.h.in index 0984450fe3..a261194ea4 100644 --- a/source/texk/dviout-util/config.h.in +++ b/source/texk/dviout-util/config.h.in @@ -41,6 +41,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -100,6 +103,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -132,6 +138,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/dviout-util/configure b/source/texk/dviout-util/configure index 78aeca9263..8c583b4782 100755 --- a/source/texk/dviout-util/configure +++ b/source/texk/dviout-util/configure @@ -1613,6 +1613,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1661,41 +1696,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2372,6 +2372,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2697,7 +2698,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2706,6 +2706,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4658,6 +4660,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8517,35 +8696,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8640,6 +8790,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=dviout-util, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=dviout-util, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8766,6 +8918,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -8790,6 +8944,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -8823,6 +8982,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -8880,6 +9041,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=dviout-util, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/dvipdfm-x/ChangeLog b/source/texk/dvipdfm-x/ChangeLog index ac9e5832a1..55db019f57 100644 --- a/source/texk/dvipdfm-x/ChangeLog +++ b/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,25 @@ +2024-04-29 TANAKA Takuji + + * tfm.c: Fix segfaults. + * dvipdfmx-upjf2.test, tests/UPJF-UTF16-{H,V}, + tests/upjf-hara.map: Update tests. + https://github.com/texjporg/tex-jp-build/issues/46 + * configure.ac: version 20240429. + +2024-04-27 TANAKA Takuji + + * tfm.{c,h}, vf.c: Support upTeX new encoding + for combining characters via virtual fonts. + * cidtype2.c: Enable to treat Combining Katakana-Hiragana + (Semi-)Voiced Sound Mark in cid_to_code(). + * dvipdfmx-upjf2.test, tests/upjf2.{tex,dvi}, tests/upj{f,v}.pl, + tests/upj{f,v}-c.{pl,tfm}, tests/upjf1-r.{pl,tfm}, + tests/upj{f,v}2_full.{vf,zvp0}, tests/upjf{,-hara}.map, + tests/Makefile_upjf, Makefile.am: Add a test for + upTeX new encoding. It requires HaranoAji fonts. + https://github.com/texjporg/tex-jp-build/issues/46 + * configure.ac: version 20240427. + 2024-04-09 TANAKA Takuji * dvipdfmx-incl.test, tests/multi_incl.{tex,dvi}, diff --git a/source/texk/dvipdfm-x/Makefile.am b/source/texk/dvipdfm-x/Makefile.am index cef7f47bfd..ac3b3c435e 100644 --- a/source/texk/dvipdfm-x/Makefile.am +++ b/source/texk/dvipdfm-x/Makefile.am @@ -249,11 +249,12 @@ DISTCLEANFILES = config.force TESTS = xdvipdfmx.test xdvipdfm-ann.test xdvipdfm-bad.test xdvipdfm-bb.test TESTS += xdvipdfm-bkm.test xdvipdfm-psz.test xdvipdfm-ptx.test xdvipdfm-res.test TESTS += xdvipdfm-rev.test xdvipdfm-ttc.test -TESTS += dvipdfmx-upjf.test dvipdfmx-incl.test +TESTS += dvipdfmx-upjf.test dvipdfmx-upjf2.test dvipdfmx-incl.test xdvipdfmx.log xdvipdfm-ann.log xdvipdfm-bad.log xdvipdfm-bb.log \ xdvipdfm-bkm.log xdvipdfm-psz.log xdvipdfm-ptx.log xdvipdfm-res.log \ xdvipdfm-rev.log xdvipdfm-ttc.log \ - dvipdfmx-upjf.log dvipdfmx-incl.log: xdvipdfmx$(EXEEXT) + dvipdfmx-upjf.log dvipdfmx-upjf2.log dvipdfmx-incl.log: \ + xdvipdfmx$(EXEEXT) EXTRA_DIST = $(TESTS) ## xdvipdfmx.test EXTRA_DIST += tests/dvipdfmx.cfg tests/psfonts.map @@ -307,7 +308,13 @@ EXTRA_DIST += tests/upjv-r00.opl tests/upjv-r00.ofm EXTRA_DIST += tests/upjf1-r.pl tests/upjf1-r.tfm EXTRA_DIST += tests/upjf1_full.zvp0 tests/upjf1_full.vf EXTRA_DIST += tests/upjf1_omit.zvp0 tests/upjf1_omit.vf -DISTCLEANFILES += upjf.vf upjv.vf upjf-*.ofm upjv-*.ofm upjf-*.tfm upjf*.pdf +DISTCLEANFILES += upjf.vf upjv.vf upjf-*.ofm upjv-*.ofm upjf-*.tfm upjf_*.pdf upjf1_*.pdf +## dvipdfmx-upjf2.test +EXTRA_DIST += tests/upjf2_full.zvp0 tests/upjf2_full.vf +EXTRA_DIST += tests/upjv2_full.zvp0 tests/upjv2_full.vf +EXTRA_DIST += tests/upjf-c.pl tests/upjf-c.tfm +EXTRA_DIST += tests/upjv-c.pl tests/upjv-c.tfm +DISTCLEANFILES += upjf2_*.pdf ## dvipdfmx-incl.test EXTRA_DIST += tests/multi_incl.dvi tests/multi_incl.tex tests/sue-mp.pdf DISTCLEANFILES += multi_incl.pdf diff --git a/source/texk/dvipdfm-x/Makefile.in b/source/texk/dvipdfm-x/Makefile.in index 44bcb99279..773ca4b98f 100644 --- a/source/texk/dvipdfm-x/Makefile.in +++ b/source/texk/dvipdfm-x/Makefile.in @@ -822,11 +822,12 @@ dist_cmapdata_DATA = data/EUC-UCS2 DISTCLEANFILES = config.force image*.pdf xbmc*.pdf annot*.pdf pic*.* \ bookm*.pdf paper*.pdf ptex*.pdf resrc*.pdf reverse.pdf \ ttc*.pdf upjf.vf upjv.vf upjf-*.ofm upjv-*.ofm upjf-*.tfm \ - upjf*.pdf multi_incl.pdf + upjf_*.pdf upjf1_*.pdf upjf2_*.pdf multi_incl.pdf TESTS = xdvipdfmx.test xdvipdfm-ann.test xdvipdfm-bad.test \ xdvipdfm-bb.test xdvipdfm-bkm.test xdvipdfm-psz.test \ xdvipdfm-ptx.test xdvipdfm-res.test xdvipdfm-rev.test \ - xdvipdfm-ttc.test dvipdfmx-upjf.test dvipdfmx-incl.test + xdvipdfm-ttc.test dvipdfmx-upjf.test dvipdfmx-upjf2.test \ + dvipdfmx-incl.test EXTRA_DIST = $(TESTS) tests/dvipdfmx.cfg tests/psfonts.map \ tests/cmr10.pfb tests/cmr10.tfm tests/image.dvi \ tests/image.tex tests/xbmc.dvi tests/xbmc.tex \ @@ -852,9 +853,12 @@ EXTRA_DIST = $(TESTS) tests/dvipdfmx.cfg tests/psfonts.map \ tests/upjv-g00.ofm tests/upjf-r00.opl tests/upjf-r00.ofm \ tests/upjv-r00.opl tests/upjv-r00.ofm tests/upjf1-r.pl \ tests/upjf1-r.tfm tests/upjf1_full.zvp0 tests/upjf1_full.vf \ - tests/upjf1_omit.zvp0 tests/upjf1_omit.vf tests/multi_incl.dvi \ - tests/multi_incl.tex tests/sue-mp.pdf tests/fullmap.dvi \ - tests/fullmap.tex + tests/upjf1_omit.zvp0 tests/upjf1_omit.vf \ + tests/upjf2_full.zvp0 tests/upjf2_full.vf \ + tests/upjv2_full.zvp0 tests/upjv2_full.vf tests/upjf-c.pl \ + tests/upjf-c.tfm tests/upjv-c.pl tests/upjv-c.tfm \ + tests/multi_incl.dvi tests/multi_incl.tex tests/sue-mp.pdf \ + tests/fullmap.dvi tests/fullmap.tex all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am @@ -2026,7 +2030,8 @@ config.force: $(ZLIB_DEPEND) $(LIBPNG_DEPEND) $(KPATHSEA_DEPEND) $(LIBPAPER_DEPE xdvipdfmx.log xdvipdfm-ann.log xdvipdfm-bad.log xdvipdfm-bb.log \ xdvipdfm-bkm.log xdvipdfm-psz.log xdvipdfm-ptx.log xdvipdfm-res.log \ xdvipdfm-rev.log xdvipdfm-ttc.log \ - dvipdfmx-upjf.log dvipdfmx-incl.log: xdvipdfmx$(EXEEXT) + dvipdfmx-upjf.log dvipdfmx-upjf2.log dvipdfmx-incl.log: \ + xdvipdfmx$(EXEEXT) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/source/texk/dvipdfm-x/cidtype2.c b/source/texk/dvipdfm-x/cidtype2.c index 6d801bc561..54873627b5 100644 --- a/source/texk/dvipdfm-x/cidtype2.c +++ b/source/texk/dvipdfm-x/cidtype2.c @@ -463,73 +463,38 @@ cid_to_code (CMap *cmap, CID cid, int unicode_cmap, int32_t *puvs) return (int32_t) outbuf[0]; else if (outbytesleft == 30) return (int32_t) (outbuf[0] << 8|outbuf[1]); - else if (outbytesleft == 28) { - if (unicode_cmap) { - /* We assume the output encoding is UTF-16. */ - int32_t uc, uvs; - const unsigned char *endptr; - - p = outbuf; - endptr = p + 4; - uc = UC_UTF16BE_decode_char(&p, endptr); - if (p == endptr) - return uc; /* single Unicode characters */ - /* Check following Variation Selectors */ - uvs = UC_UTF16BE_decode_char(&p, endptr); - if (p == endptr && uvs >= 0xfe00 && uvs <= 0xfe0f) { + else if (outbytesleft == 28 && !unicode_cmap) + return (int32_t) (outbuf[0] << 24)|(outbuf[1] << 16)|(outbuf[2] << 8)|outbuf[3]; + else if ((outbytesleft == 28 || outbytesleft == 26 || outbytesleft == 24) + && unicode_cmap) { + /* We assume the output encoding is UTF-16. */ + int32_t uc, uvs; + const unsigned char *endptr; + + p = outbuf; + endptr = p + 32 - outbytesleft; + uc = UC_UTF16BE_decode_char(&p, endptr); + if (p == endptr) + return uc; /* single Unicode characters */ + /* Check following Variation Selectors */ + uvs = UC_UTF16BE_decode_char(&p, endptr); + if (p == endptr) { + if (uvs >= 0xfe00 && uvs <= 0xfe0f) { /* Standardized Variation Sequence */ *puvs = uvs; return uc; + } else if (uvs >= 0xe0100 && uvs <= 0xe01ef) { + /* Ideographic Variation Sequence */ + *puvs = uvs; + return uc; + } else if (uvs == 0x3099 || uvs == 0x309a) { + /* Combining Katakana-Hiragana (Semi-)Voiced Sound Mark */ + *puvs = uvs; + return uc; } - WARN("CID=%u mapped to non-single Unicode characters...", cid); - return -1; - } else { - return (outbuf[0] << 24)|(outbuf[1] << 16)|(outbuf[2] << 8)|outbuf[3]; - } - } else if (outbytesleft == 26) { /* 6 bytes sequence */ - if (unicode_cmap) { - /* We assume the output encoding is UTF-16. */ - int32_t uc, uvs; - const unsigned char *endptr; - - p = outbuf; - endptr = p + 6; - uc = UC_UTF16BE_decode_char(&p, endptr); - uvs = UC_UTF16BE_decode_char(&p, endptr); - if (p == endptr) { - if (uvs >= 0xfe00 && uvs <= 0xfe0f) { - /* Standardized Variation Sequence */ - *puvs = uvs; - return uc; - } else if (uvs >= 0xe0100 && uvs <= 0xe01ef) { - /* Ideographic Variation Sequence */ - *puvs = uvs; - return uc; - } - } - WARN("CID=%u mapped to non-single Unicode characters...", cid); - return -1; } - } else if (outbytesleft == 24) { /* 8 bytes sequence */ - if (unicode_cmap) { - /* We assume the output encoding is UTF-16. */ - int32_t uc, uvs; - const unsigned char *endptr; - - p = outbuf; - endptr = p + 8; - uc = UC_UTF16BE_decode_char(&p, endptr); - uvs = UC_UTF16BE_decode_char(&p, endptr); - if (p == endptr) { - if (uvs >= 0xe0100 && uvs <= 0xe01ef) { - /* Ideographic Variation Sequence */ - *puvs = uvs; - return uc; - } - } - WARN("CID=%u mapped to non-single Unicode characters...", cid); - return -1; - } + WARN("CID=%u mapped to non-single Unicode characters...", cid); + return -1; } return -1; diff --git a/source/texk/dvipdfm-x/config.h.in b/source/texk/dvipdfm-x/config.h.in index 9e851b06a4..5c5654189e 100644 --- a/source/texk/dvipdfm-x/config.h.in +++ b/source/texk/dvipdfm-x/config.h.in @@ -63,6 +63,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -145,6 +148,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define if you have zlib and its headers. */ #undef HAVE_ZLIB @@ -195,6 +201,98 @@ /* Define to 1 if your declares 'struct tm'. */ #undef TM_IN_SYS_TIME +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/dvipdfm-x/configure b/source/texk/dvipdfm-x/configure index 1982b3e84c..da957c5acb 100755 --- a/source/texk/dvipdfm-x/configure +++ b/source/texk/dvipdfm-x/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20240305. +# Generated by GNU Autoconf 2.72 for dvipdfm-x (TeX Live) 20240429. # # Report bugs to . # @@ -614,8 +614,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='dvipdfm-x (TeX Live)' PACKAGE_TARNAME='dvipdfm-x--tex-live-' -PACKAGE_VERSION='20240305' -PACKAGE_STRING='dvipdfm-x (TeX Live) 20240305' +PACKAGE_VERSION='20240429' +PACKAGE_STRING='dvipdfm-x (TeX Live) 20240429' PACKAGE_BUGREPORT='dvipdfmx@tug.org' PACKAGE_URL='' @@ -1383,7 +1383,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures dvipdfm-x (TeX Live) 20240305 to adapt to many kinds of systems. +'configure' configures dvipdfm-x (TeX Live) 20240429 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1455,7 +1455,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20240305:";; + short | recursive ) echo "Configuration of dvipdfm-x (TeX Live) 20240429:";; esac cat <<\_ACEOF @@ -1586,7 +1586,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -dvipdfm-x (TeX Live) configure 20240305 +dvipdfm-x (TeX Live) configure 20240429 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -1640,6 +1640,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1688,41 +1723,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2367,7 +2367,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by dvipdfm-x (TeX Live) $as_me 20240305, which was +It was created by dvipdfm-x (TeX Live) $as_me 20240429, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -2638,6 +2638,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2963,7 +2964,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2972,6 +2972,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4924,6 +4926,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8783,35 +8962,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8906,6 +9056,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=dvipdfm-x, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=dvipdfm-x, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8928,7 +9080,7 @@ fi # Define the identity of the package. PACKAGE='dvipdfm-x--tex-live-' - VERSION='20240305' + VERSION='20240429' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -9032,6 +9184,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -9056,6 +9210,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -9089,6 +9248,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -9146,6 +9307,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=dvipdfm-x, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then @@ -15995,7 +16159,7 @@ Usage: $0 [OPTIONS] Report bugs to ." lt_cl_version="\ -dvipdfm-x (TeX Live) config.lt 20240305 +dvipdfm-x (TeX Live) config.lt 20240429 configured by $0, generated by GNU Autoconf 2.72. Copyright (C) 2011 Free Software Foundation, Inc. @@ -17938,7 +18102,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by dvipdfm-x (TeX Live) $as_me 20240305, which was +This file was extended by dvipdfm-x (TeX Live) $as_me 20240429, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18010,7 +18174,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -dvipdfm-x (TeX Live) config.status 20240305 +dvipdfm-x (TeX Live) config.status 20240429 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff --git a/source/texk/dvipdfm-x/configure.ac b/source/texk/dvipdfm-x/configure.ac index faf55681f3..4307906b5d 100644 --- a/source/texk/dvipdfm-x/configure.ac +++ b/source/texk/dvipdfm-x/configure.ac @@ -8,7 +8,7 @@ dnl This file is free software; the copyright holder dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl -AC_INIT([dvipdfm-x (TeX Live)], [20240407], [dvipdfmx@tug.org]) +AC_INIT([dvipdfm-x (TeX Live)], [20240429], [dvipdfmx@tug.org]) AC_PREREQ([2.65]) AC_CONFIG_SRCDIR([agl.c]) AC_CONFIG_AUX_DIR([../../build-aux]) diff --git a/source/texk/dvipdfm-x/dvi.c b/source/texk/dvipdfm-x/dvi.c index 4a8e14029c..8614af46ec 100644 --- a/source/texk/dvipdfm-x/dvi.c +++ b/source/texk/dvipdfm-x/dvi.c @@ -71,12 +71,15 @@ #include "t1_load.h" #include "t1_char.h" #include "cff_dict.h" -#include "unicode.h" #define DVI_STACK_DEPTH_MAX 256u #define TEX_FONTS_ALLOC_SIZE 16u #define VF_NESTING_MAX 16u +/* UTF-32 over U+FFFF -> UTF-16 surrogate pair */ +#define UTF32toUTF16HS(x) (0xd800 + (((x-0x10000) >> 10) & 0x3ff)) +#define UTF32toUTF16LS(x) (0xdc00 + ( x & 0x3ff)) + /* Interal Variables */ static FILE *dvi_file = NULL; static char linear = 0; /* set to 1 for strict linear processing of the input */ diff --git a/source/texk/dvipdfm-x/dvipdfmx-upjf.test b/source/texk/dvipdfm-x/dvipdfmx-upjf.test index de10dca021..a543d9bbdb 100755 --- a/source/texk/dvipdfm-x/dvipdfmx-upjf.test +++ b/source/texk/dvipdfm-x/dvipdfmx-upjf.test @@ -85,12 +85,6 @@ echo "*** dvipdfmx: test for upjf1_omit2.pdf" && echo \ cmp ./upjf1_full.pdf ./upjf1_omit2.pdf || failed="$failed dvipdfmx-upjf1-cmp2" -rm -f upjf-r.ofm - -cp $srcdir/tests/upjf_full.vf ./upjf.vf -cp $srcdir/tests/upjf-r.tfm ./upjf-r.tfm -$_xdvipdfmx --dvipdfmx -vv -f up-ipamjm.map -o ivs12-ipa.pdf $srcdir/tests/ivs12.dvi -$_xdvipdfmx --dvipdfmx -vv -f up-hara.map -o ivs12-hara.pdf $srcdir/tests/ivs12.dvi test -z "$failed" && exit 0 echo diff --git a/source/texk/dvipdfm-x/dvipdfmx-upjf2.test b/source/texk/dvipdfm-x/dvipdfmx-upjf2.test new file mode 100755 index 0000000000..6c2229ec2c --- /dev/null +++ b/source/texk/dvipdfm-x/dvipdfmx-upjf2.test @@ -0,0 +1,45 @@ +#! /bin/sh -vx +# $Id$ +# Copyright 2020-2024 Japanese TeX Development Community +# You may freely use, modify and/or distribute this file. + +KpsDir=${KpsDir:-../kpathsea} +BinDir=${BinDir:-.} +ExeExt=${ExeExt:-} +_kpsewhich=$KpsDir/kpsewhich$ExeExt +_xdvipdfmx=$BinDir/xdvipdfmx$ExeExt + +TEXMFCNF=$srcdir/../kpathsea +TFMFONTS=".;$srcdir/tests;$srcdir/data" +T1FONTS="$srcdir/tests;$srcdir/data" +TEXFONTMAPS="$srcdir/tests;$srcdir/data" +DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data" +TEXPICTS=$srcdir/tests +TEXFONTS=".;$srcdir/tests" +SOURCE_DATE_EPOCH=1588474800 +export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS TEXFONTS SOURCE_DATE_EPOCH + +failed= + +##### following tests require HaranoAji fonts ##### + +$_kpsewhich HaranoAjiMincho-Regular.otf +otfpath=`$_kpsewhich HaranoAjiMincho-Regular.otf` || exit 77 +OPENTYPEFONTS=`echo $otfpath | sed -e 's,HaranoAjiMincho-Regular\.otf,,' -e 's,/fonts/opentype/.*$,/fonts/opentype//,'` +export OPENTYPEFONTS + +rm -f upjf.vf upjv.vf upjf-r.ofm upjv-r.ofm + +echo "*** dvipdfmx: test for upjf2_full-hara.pdf" && echo \ + && cp $srcdir/tests/upjf2_full.vf ./upjf.vf \ + && cp $srcdir/tests/upjv2_full.vf ./upjv.vf \ + && $_xdvipdfmx --dvipdfmx -vv --pdfm-str-utf8 -f upjf-hara.map -o upjf2.pdf $srcdir/tests/upjf2.dvi \ + && mv ./upjf2.pdf ./upjf2_full-hara.pdf \ + && echo && echo "dvipdfmx-upjf2-vf_full-hara tests OK" && echo \ + || failed="$failed dvipdfmx-upjf2-vf_full-hara" + + +test -z "$failed" && exit 0 +echo +echo "failed tests:$failed" +exit 1 diff --git a/source/texk/dvipdfm-x/tests/Makefile_upjf b/source/texk/dvipdfm-x/tests/Makefile_upjf index 2542406174..3f33d1d82a 100644 --- a/source/texk/dvipdfm-x/tests/Makefile_upjf +++ b/source/texk/dvipdfm-x/tests/Makefile_upjf @@ -47,6 +47,18 @@ upjf1_full.vf: upjf1_omit.vf: jfmutil zvp02vf upjf1_omit.zvp0 +upjf2_full.vf: + jfmutil zvp02vf upjf2_full.zvp0 + +upjv2_full.vf: + jfmutil zvp02vf upjv2_full.zvp0 + +upjf-c.tfm: + uppltotf upjf-c.pl + +upjv-c.tfm: + uppltotf upjv-c.pl + upjf.dvi: upjf.tex uplatex upjf.tex dvispc -a upjf.dvi upjf.dvitxt @@ -55,3 +67,11 @@ upjf.dvi: upjf.tex dvispc -x upjf.dvitxt upjf.dvi rm upjf.dvitxt +upjf2.dvi: upjf2.tex + uplatex upjf2.tex + dvispc -a upjf2.dvi upjf2.dvitxt + sed -i '/xxx/d' upjf2.dvitxt + sed -i -e "4i xxx1 176 'pdf:docinfo<>'" upjf2.dvitxt + dvispc -x upjf2.dvitxt upjf2.dvi + rm upjf2.dvitxt + diff --git a/source/texk/dvipdfm-x/tests/UPJF-UTF16-H b/source/texk/dvipdfm-x/tests/UPJF-UTF16-H index a63768ab58..8bb6cda848 100644 --- a/source/texk/dvipdfm-x/tests/UPJF-UTF16-H +++ b/source/texk/dvipdfm-x/tests/UPJF-UTF16-H @@ -39,10 +39,14 @@ endcodespacerange <0000> <001f> 1 endnotdefrange -3 begincidchar +7 begincidchar +<31f7> 16243 +<537f> 1698 <6674> 2646 <96ea> 2695 + 636 13803 + 13719 endcidchar 14 begincidrange diff --git a/source/texk/dvipdfm-x/tests/UPJF-UTF16-V b/source/texk/dvipdfm-x/tests/UPJF-UTF16-V index 1365d9d5fe..6ead175556 100644 --- a/source/texk/dvipdfm-x/tests/UPJF-UTF16-V +++ b/source/texk/dvipdfm-x/tests/UPJF-UTF16-V @@ -39,10 +39,14 @@ endcodespacerange <0000> <001f> 1 endnotdefrange -3 begincidchar +7 begincidchar +<31f7> 16340 +<537f> 1698 <6674> 2646 <96ea> 2695 + 8268 13803 + 13719 endcidchar 14 begincidrange diff --git a/source/texk/dvipdfm-x/tests/ivs06.dvi b/source/texk/dvipdfm-x/tests/ivs06.dvi deleted file mode 100644 index cb91379fc2..0000000000 Binary files a/source/texk/dvipdfm-x/tests/ivs06.dvi and /dev/null differ diff --git a/source/texk/dvipdfm-x/tests/ivs06.dvispc b/source/texk/dvipdfm-x/tests/ivs06.dvispc deleted file mode 100644 index 856eaf9fdb..0000000000 --- a/source/texk/dvipdfm-x/tests/ivs06.dvispc +++ /dev/null @@ -1,1593 +0,0 @@ -pre 2 25400000 473628672 1000 27 ' TeX output 2024.03.08:2028' - [1] -bop 1 0 0 0 0 0 0 0 0 0 -1 -push -xxx1 26 'header=l3backend-dvips.pro' -pop -down4 45413867 -push -down4 -44627435 -down4 42661355 -push -push -push -down4 -40468027 -push -right3 4063232 -fntdef1 19 0x4BF16079 655360 655360 0 5 'cmr10' -fntnum19 -setchar85 -setchar43 -setchar56 -setchar50 -setchar55 -setchar57 - "U+8279" -pop -y3 983040 -push -right3 4063232 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntdef1 46 0 655360 655360 0 4 'upjf' -fntnum46 -set2 0x8279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0xc08279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar49 -setchar58 - "FE01:" -right3 291271 -fntnum46 -set3 0xc48279 -pop -y0 -y0 -push -right3 4063232 -fntnum19 -setchar85 -setchar43 -setchar57 -setchar48 -setchar51 -setchar56 - "U+9038" -pop -y0 -push -right3 4063232 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x9038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0xc09038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar49 -setchar58 - "FE01:" -right3 291271 -fntnum46 -set3 0xc49038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x1009038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x1109038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x1209038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x1309038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x1409038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x1509038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set4 0x1609038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set4 0x1709038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set4 0x1809038 -pop -y0 -y0 -push -right3 4063232 -fntnum19 -setchar85 -setchar43 -setchar56 -setchar52 -setchar53 -setchar66 - "U+845B" -pop -y0 -push -right3 4063232 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x100845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x110845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x120845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x130845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x140845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x150845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set4 0x160845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set4 0x170845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set4 0x180845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar57 -setchar58 - "E0109:" -right3 291271 -fntnum46 -set4 0x190845b -pop -y0 -pop -push -down4 -40468027 -push -right4 9584640 -fntnum19 -setchar85 -setchar43 -setchar56 -setchar70 -setchar66 -setchar66 - "U+8FBB" -pop -y3 983040 -push -right4 9584640 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x8fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x1008fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x1108fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x1208fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x1308fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x1408fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x1508fbb -pop -y0 -y0 -push -right4 9584640 -fntnum19 -setchar85 -setchar43 -setchar57 -setchar70 -setchar52 -setchar66 - "U+9F4B" -pop -y0 -push -right4 9584640 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x9f4b -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x1009f4b -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x1109f4b -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x1209f4b -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x1309f4b -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x1409f4b -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x1509f4b -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set4 0x1609f4b -pop -pop -push -down4 -40468027 -push -right4 15106048 -fntnum19 -setchar85 -setchar43 -setchar57 -setchar48 -setchar56 -setchar57 - "U+9089" -pop -y3 983040 -push -right4 15106048 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x1009089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x1109089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x1209089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x1309089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x1409089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x1509089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set4 0x1609089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set4 0x1709089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set4 0x1809089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar57 -setchar58 - "E0109:" -right3 291271 -fntnum46 -set4 0x1909089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar65 -setchar58 - "E010A:" -right3 218453 -fntnum46 -set4 0x1a09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar66 -setchar58 - "E010B:" -right3 218453 -fntnum46 -set4 0x1b09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar67 -setchar58 - "E010C:" -right3 218453 -fntnum46 -set4 0x1c09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar68 -setchar58 - "E010D:" -right3 218453 -fntnum46 -set4 0x1d09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar69 -setchar58 - "E010E:" -right3 218453 -fntnum46 -set4 0x1e09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar70 -setchar58 - "E010F:" -right3 218453 -fntnum46 -set4 0x1f09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar48 -setchar58 - "E0110:" -right3 291271 -fntnum46 -set4 0x2009089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar49 -setchar58 - "E0111:" -right3 291271 -fntnum46 -set4 0x2109089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar50 -setchar58 - "E0112:" -right3 291271 -fntnum46 -set4 0x2209089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar51 -setchar58 - "E0113:" -right3 291271 -fntnum46 -set4 0x2309089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar52 -setchar58 - "E0114:" -right3 291271 -fntnum46 -set4 0x2409089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar53 -setchar58 - "E0115:" -right3 291271 -fntnum46 -set4 0x2509089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar54 -setchar58 - "E0116:" -right3 291271 -fntnum46 -set4 0x2609089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar55 -setchar58 - "E0117:" -right3 291271 -fntnum46 -set4 0x2709089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar56 -setchar58 - "E0118:" -right3 291271 -fntnum46 -set4 0x2809089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar57 -setchar58 - "E0119:" -right3 291271 -fntnum46 -set4 0x2909089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar65 -setchar58 - "E011A:" -right3 218453 -fntnum46 -set4 0x2a09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar66 -setchar58 - "E011B:" -right3 218453 -fntnum46 -set4 0x2b09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar67 -setchar58 - "E011C:" -right3 218453 -fntnum46 -set4 0x2c09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar68 -setchar58 - "E011D:" -right3 218453 -fntnum46 -set4 0x2d09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar69 -setchar58 - "E011E:" -right3 218453 -fntnum46 -set4 0x2e09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar70 -setchar58 - "E011F:" -right3 218453 -fntnum46 -set4 0x2f09089 -pop -y0 -pop -push -down4 -40468027 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar52 -setchar50 -setchar69 -setchar69 - "U+242EE" -pop -y3 983040 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x242ee -pop -y0 -push -right4 20627456 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0xc242ee -pop -y0 -y0 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar48 -setchar53 -setchar50 -setchar53 - "U+20525" -pop -y0 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x20525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x1020525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x1120525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x1220525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x1320525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x1420525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x1520525 -pop -y0 -y0 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar66 -setchar55 -setchar56 -setchar69 - "U+2B78E" -pop -y0 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x2b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x102b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x112b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x122b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x132b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x142b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x152b78e -pop -y0 -y0 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar68 -setchar54 -setchar66 -setchar54 - "U+2D6B6" -pop -y0 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x2d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set4 0x102d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set4 0x112d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set4 0x122d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set4 0x132d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set4 0x142d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set4 0x152d6b6 -pop -pop -pop -pop -down3 1966080 -pop -eop -post 42 25400000 473628672 1000 45413867 25493504 5 1 -fntdef1 46 0 655360 655360 0 4 'upjf' -fntdef1 19 0x4BF16079 655360 655360 0 5 'cmr10' -post_post 2732 2 223 223 223 223 diff --git a/source/texk/dvipdfm-x/tests/ivs06.tex b/source/texk/dvipdfm-x/tests/ivs06.tex deleted file mode 100644 index ca3b128f73..0000000000 --- a/source/texk/dvipdfm-x/tests/ivs06.tex +++ /dev/null @@ -1,144 +0,0 @@ -% Copyright (C) 2024 Japanese TeX Development Community -% You may freely use, modify and/or distribute this file. - -\documentclass{ujarticle} -\usepackage{multicol} -%\usepackage[T1]{fontenc} -%\usepackage{mathptmx} - -\textheight220mm -\topmargin0mm - -\begin{document} -\pagestyle{empty} -\parindent0pt -\begin{multicols*}{4} - -%\newcommand{\VS}{\vskip0.5ex} -\newcommand{\VS}{\\} -\font\upjf=upjf at 10pt -\upjf - -U+8279\\ -base: \kchar"8279\\ -FE00: \kchar"C08279\\ -FE01: \kchar"C48279\\ -\VS -U+9038\\ -base: \kchar"9038\\ -FE00: \kchar"C09038\\ -FE01: \kchar"C49038\\ -E0100: \kchar"409038\\ -E0101: \kchar"419038\\ -E0102: \kchar"429038\\ -E0103: \kchar"439038\\ -E0104: \kchar"449038\\ -E0105: \kchar"459038\\ -E0106: \kchar"469038\\ -E0107: \kchar"479038\\ -E0108: \kchar"489038\\ -\VS -U+845B\\ -base: \kchar"845B\\ -E0100: \kchar"40845B\\ -E0101: \kchar"41845B\\ -E0102: \kchar"42845B\\ -E0103: \kchar"43845B\\ -E0104: \kchar"44845B\\ -E0105: \kchar"45845B\\ -E0106: \kchar"46845B\\ -E0107: \kchar"47845B\\ -E0108: \kchar"48845B\\ -E0109: \kchar"49845B\\ - -\newcolumn -U+8FBB\\ -base: \kchar"8FBB\\ -E0100: \kchar"408FBB\\ -E0101: \kchar"418FBB\\ -E0102: \kchar"428FBB\\ -E0103: \kchar"438FBB\\ -E0104: \kchar"448FBB\\ -E0105: \kchar"458FBB\\ -\VS -U+9F4B\\ -base: \kchar"9F4B\\ -E0100: \kchar"409F4B\\ -E0101: \kchar"419F4B\\ -E0102: \kchar"429F4B\\ -E0103: \kchar"439F4B\\ -E0104: \kchar"449F4B\\ -E0105: \kchar"459F4B\\ -E0106: \kchar"469F4B - -\newcolumn -U+9089\\ -base: \kchar"9089\\ -E0100: \kchar"409089\\ -E0101: \kchar"419089\\ -E0102: \kchar"429089\\ -E0103: \kchar"439089\\ -E0104: \kchar"449089\\ -E0105: \kchar"459089\\ -E0106: \kchar"469089\\ -E0107: \kchar"479089\\ -E0108: \kchar"489089\\ -E0109: \kchar"499089\\ -E010A: \kchar"4A9089\\ -E010B: \kchar"4B9089\\ -E010C: \kchar"4C9089\\ -E010D: \kchar"4D9089\\ -E010E: \kchar"4E9089\\ -E010F: \kchar"4F9089\\ -E0110: \kchar"509089\\ -E0111: \kchar"519089\\ -E0112: \kchar"529089\\ -E0113: \kchar"539089\\ -E0114: \kchar"549089\\ -E0115: \kchar"559089\\ -E0116: \kchar"569089\\ -E0117: \kchar"579089\\ -E0118: \kchar"589089\\ -E0119: \kchar"599089\\ -E011A: \kchar"5A9089\\ -E011B: \kchar"5B9089\\ -E011C: \kchar"5C9089\\ -E011D: \kchar"5D9089\\ -E011E: \kchar"5E9089\\ -E011F: \kchar"5F9089\\ - -\newcolumn -U+242EE\\ -base: \kchar"242EE\\ -FE00: \kchar"C242EE\\ -\VS -U+20525\\ -base: \kchar"20525\\ -E0100: \kchar"800525\\ -E0101: \kchar"810525\\ -E0102: \kchar"820525\\ -E0103: \kchar"830525\\ -E0104: \kchar"840525\\ -E0105: \kchar"850525\\ -\VS -U+2B78E\\ -base: \kchar"2B78E\\ -E0100: \kchar"80B78E\\ -E0101: \kchar"81B78E\\ -E0102: \kchar"82B78E\\ -E0103: \kchar"83B78E\\ -E0104: \kchar"84B78E\\ -E0105: \kchar"85B78E\\ -\VS -U+2D6B6\\ -base: \kchar"2D6B6\\ -E0100: \kchar"80D6B6\\ -E0101: \kchar"81D6B6\\ -E0102: \kchar"82D6B6\\ -E0103: \kchar"83D6B6\\ -E0104: \kchar"84D6B6\\ -E0105: \kchar"85D6B6 - -\end{multicols*} -\end{document} - diff --git a/source/texk/dvipdfm-x/tests/ivs12.dvi b/source/texk/dvipdfm-x/tests/ivs12.dvi deleted file mode 100644 index 8682c5a3f1..0000000000 Binary files a/source/texk/dvipdfm-x/tests/ivs12.dvi and /dev/null differ diff --git a/source/texk/dvipdfm-x/tests/ivs12.dvispc b/source/texk/dvipdfm-x/tests/ivs12.dvispc deleted file mode 100644 index e3a78669bc..0000000000 --- a/source/texk/dvipdfm-x/tests/ivs12.dvispc +++ /dev/null @@ -1,2675 +0,0 @@ -pre 2 25400000 473628672 1000 27 ' TeX output 2024.03.16:2209' - [1] -bop 1 0 0 0 0 0 0 0 0 0 -1 -push -xxx1 26 'header=l3backend-dvips.pro' -pop -down4 47651484 -push -down4 -49662071 -down4 47695991 -push -push -push -down4 -45502663 -push -right3 4063232 -fntdef1 19 0x4BF16079 655360 655360 0 5 'cmr10' -fntnum19 -setchar85 -setchar43 -setchar48 -setchar48 -setchar51 -setchar48 - "U+0030" -pop -y3 983040 -push -right3 4063232 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntdef1 46 0 655360 655360 0 4 'upjf' -fntnum46 -set2 0x30 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0x400030 -set3 0x400030 -pop -y0 -y0 -push -right3 4063232 -fntnum19 -setchar85 -setchar43 -setchar56 -setchar50 -setchar55 -setchar57 - "U+8279" -pop -y0 -push -right3 4063232 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x8279 -set2 0x8279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0x408279 -set3 0x408279 -set3 0x408279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar49 -setchar58 - "FE01:" -right3 291271 -fntnum46 -set3 0x448279 -set3 0x448279 -set3 0x448279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x808279 -set3 0x808279 -set3 0x808279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x848279 -set3 0x848279 -set3 0x848279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x888279 -set3 0x888279 -set3 0x888279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c8279 -set3 0x8c8279 -set3 0x8c8279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x908279 -set3 0x908279 -set3 0x908279 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x948279 -set3 0x948279 -set3 0x948279 -pop -y0 -y0 -push -right3 4063232 -fntnum19 -setchar85 -setchar43 -setchar57 -setchar48 -setchar51 -setchar56 - "U+9038" -pop -y0 -push -right3 4063232 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x9038 -set2 0x9038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0x409038 -set3 0x409038 -set3 0x409038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar49 -setchar58 - "FE01:" -right3 291271 -fntnum46 -set3 0x449038 -set3 0x449038 -set3 0x449038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x809038 -set3 0x809038 -set3 0x809038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x849038 -set3 0x849038 -set3 0x849038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x889038 -set3 0x889038 -set3 0x889038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c9038 -set3 0x8c9038 -set3 0x8c9038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x909038 -set3 0x909038 -set3 0x909038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x949038 -set3 0x949038 -set3 0x949038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set3 0x989038 -set3 0x989038 -set3 0x989038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set3 0x9c9038 -set3 0x9c9038 -set3 0x9c9038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set3 0xa09038 -set3 0xa09038 -set3 0xa09038 -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar57 -setchar58 - "E0109:" -right3 291271 -fntnum46 -set3 0xa49038 -set3 0xa49038 -set3 0xa49038 -pop -y0 -y0 -push -right3 4063232 -fntnum19 -setchar85 -setchar43 -setchar56 -setchar52 -setchar53 -setchar66 - "U+845B" -pop -y0 -push -right3 4063232 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x845b -set2 0x845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x80845b -set3 0x80845b -set3 0x80845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x84845b -set3 0x84845b -set3 0x84845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x88845b -set3 0x88845b -set3 0x88845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c845b -set3 0x8c845b -set3 0x8c845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x90845b -set3 0x90845b -set3 0x90845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x94845b -set3 0x94845b -set3 0x94845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set3 0x98845b -set3 0x98845b -set3 0x98845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set3 0x9c845b -set3 0x9c845b -set3 0x9c845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set3 0xa0845b -set3 0xa0845b -set3 0xa0845b -pop -y0 -push -right3 4063232 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar57 -setchar58 - "E0109:" -right3 291271 -fntnum46 -set3 0xa4845b -set3 0xa4845b -set3 0xa4845b -pop -y0 -pop -push -down4 -45502663 -push -right4 9584640 -fntnum19 -setchar85 -setchar43 -setchar52 -setchar48 -setchar51 -setchar57 - "U+4039" -pop -y3 983040 -push -right4 9584640 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x4039 -set2 0x4039 -pop -y0 -push -right4 9584640 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0x404039 -set3 0x404039 -set3 0x404039 -pop -y0 -push -right4 9584640 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar49 -setchar58 - "FE01:" -right3 291271 -fntnum46 -set3 0x444039 -set3 0x444039 -set3 0x444039 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x804039 -set3 0x804039 -set3 0x804039 -pop -y0 -y0 -push -right4 9584640 -fntnum19 -setchar85 -setchar43 -setchar53 -setchar49 -setchar68 -setchar69 - "U+51DE" -pop -y0 -push -right4 9584640 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x51de -set2 0x51de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x8051de -set3 0x8051de -set3 0x8051de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x8451de -set3 0x8451de -set3 0x8451de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x8851de -set3 0x8851de -set3 0x8851de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c51de -set3 0x8c51de -set3 0x8c51de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x9051de -set3 0x9051de -set3 0x9051de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x9451de -set3 0x9451de -set3 0x9451de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set3 0x9851de -set3 0x9851de -set3 0x9851de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set3 0x9c51de -set3 0x9c51de -set3 0x9c51de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set3 0xa051de -set3 0xa051de -set3 0xa051de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar57 -setchar58 - "E0109:" -right3 291271 -fntnum46 -set3 0xa451de -set3 0xa451de -set3 0xa451de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar65 -setchar58 - "E010A:" -right3 218453 -fntnum46 -set3 0xa851de -set3 0xa851de -set3 0xa851de -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar66 -setchar58 - "E010B:" -right3 218453 -fntnum46 -set3 0xac51de -set3 0xac51de -set3 0xac51de -pop -y0 -y0 -push -right4 9584640 -fntnum19 -setchar85 -setchar43 -setchar53 -setchar51 -setchar65 -setchar57 - "U+53A9" -pop -y0 -push -right4 9584640 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x53a9 -set2 0x53a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x8053a9 -set3 0x8053a9 -set3 0x8053a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x8453a9 -set3 0x8453a9 -set3 0x8453a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x8853a9 -set3 0x8853a9 -set3 0x8853a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c53a9 -set3 0x8c53a9 -set3 0x8c53a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x9053a9 -set3 0x9053a9 -set3 0x9053a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x9453a9 -set3 0x9453a9 -set3 0x9453a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set3 0x9853a9 -set3 0x9853a9 -set3 0x9853a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set3 0x9c53a9 -set3 0x9c53a9 -set3 0x9c53a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set3 0xa053a9 -set3 0xa053a9 -set3 0xa053a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar57 -setchar58 - "E0109:" -right3 291271 -fntnum46 -set3 0xa453a9 -set3 0xa453a9 -set3 0xa453a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar65 -setchar58 - "E010A:" -right3 218453 -fntnum46 -set3 0xa853a9 -set3 0xa853a9 -set3 0xa853a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar66 -setchar58 - "E010B:" -right3 218453 -fntnum46 -set3 0xac53a9 -set3 0xac53a9 -set3 0xac53a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar67 -setchar58 - "E010C:" -right3 218453 -fntnum46 -set3 0xb053a9 -set3 0xb053a9 -set3 0xb053a9 -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar68 -setchar58 - "E010D:" -right3 218453 -fntnum46 -set3 0xb453a9 -set3 0xb453a9 -set3 0xb453a9 -pop -y0 -y0 -push -right4 9584640 -fntnum19 -setchar85 -setchar43 -setchar56 -setchar70 -setchar66 -setchar66 - "U+8FBB" -pop -y0 -push -right4 9584640 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x8fbb -set2 0x8fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x808fbb -set3 0x808fbb -set3 0x808fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x848fbb -set3 0x848fbb -set3 0x848fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x888fbb -set3 0x888fbb -set3 0x888fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c8fbb -set3 0x8c8fbb -set3 0x8c8fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x908fbb -set3 0x908fbb -set3 0x908fbb -pop -y0 -push -right4 9584640 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x948fbb -set3 0x948fbb -set3 0x948fbb -pop -y0 -pop -push -down4 -45502663 -push -right4 15106048 -fntnum19 -setchar85 -setchar43 -setchar57 -setchar48 -setchar56 -setchar57 - "U+9089" -pop -y3 983040 -push -right4 15106048 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x9089 -set2 0x9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x809089 -set3 0x809089 -set3 0x809089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x849089 -set3 0x849089 -set3 0x849089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x889089 -set3 0x889089 -set3 0x889089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c9089 -set3 0x8c9089 -set3 0x8c9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x909089 -set3 0x909089 -set3 0x909089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x949089 -set3 0x949089 -set3 0x949089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set3 0x989089 -set3 0x989089 -set3 0x989089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set3 0x9c9089 -set3 0x9c9089 -set3 0x9c9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set3 0xa09089 -set3 0xa09089 -set3 0xa09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar57 -setchar58 - "E0109:" -right3 291271 -fntnum46 -set3 0xa49089 -set3 0xa49089 -set3 0xa49089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar65 -setchar58 - "E010A:" -right3 218453 -fntnum46 -set3 0xa89089 -set3 0xa89089 -set3 0xa89089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar66 -setchar58 - "E010B:" -right3 218453 -fntnum46 -set3 0xac9089 -set3 0xac9089 -set3 0xac9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar67 -setchar58 - "E010C:" -right3 218453 -fntnum46 -set3 0xb09089 -set3 0xb09089 -set3 0xb09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar68 -setchar58 - "E010D:" -right3 218453 -fntnum46 -set3 0xb49089 -set3 0xb49089 -set3 0xb49089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar69 -setchar58 - "E010E:" -right3 218453 -fntnum46 -set3 0xb89089 -set3 0xb89089 -set3 0xb89089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar70 -setchar58 - "E010F:" -right3 218453 -fntnum46 -set3 0xbc9089 -set3 0xbc9089 -set3 0xbc9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar48 -setchar58 - "E0110:" -right3 291271 -fntnum46 -set3 0xc09089 -set3 0xc09089 -set3 0xc09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar49 -setchar58 - "E0111:" -right3 291271 -fntnum46 -set3 0xc49089 -set3 0xc49089 -set3 0xc49089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar50 -setchar58 - "E0112:" -right3 291271 -fntnum46 -set3 0xc89089 -set3 0xc89089 -set3 0xc89089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar51 -setchar58 - "E0113:" -right3 291271 -fntnum46 -set3 0xcc9089 -set3 0xcc9089 -set3 0xcc9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar52 -setchar58 - "E0114:" -right3 291271 -fntnum46 -set3 0xd09089 -set3 0xd09089 -set3 0xd09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar53 -setchar58 - "E0115:" -right3 291271 -fntnum46 -set3 0xd49089 -set3 0xd49089 -set3 0xd49089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar54 -setchar58 - "E0116:" -right3 291271 -fntnum46 -set3 0xd89089 -set3 0xd89089 -set3 0xd89089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar55 -setchar58 - "E0117:" -right3 291271 -fntnum46 -set3 0xdc9089 -set3 0xdc9089 -set3 0xdc9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar56 -setchar58 - "E0118:" -right3 291271 -fntnum46 -set3 0xe09089 -set3 0xe09089 -set3 0xe09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar57 -setchar58 - "E0119:" -right3 291271 -fntnum46 -set3 0xe49089 -set3 0xe49089 -set3 0xe49089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar65 -setchar58 - "E011A:" -right3 218453 -fntnum46 -set3 0xe89089 -set3 0xe89089 -set3 0xe89089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar66 -setchar58 - "E011B:" -right3 218453 -fntnum46 -set3 0xec9089 -set3 0xec9089 -set3 0xec9089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar67 -setchar58 - "E011C:" -right3 218453 -fntnum46 -set3 0xf09089 -set3 0xf09089 -set3 0xf09089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar68 -setchar58 - "E011D:" -right3 218453 -fntnum46 -set3 0xf49089 -set3 0xf49089 -set3 0xf49089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar69 -setchar58 - "E011E:" -right3 218453 -fntnum46 -set3 0xf89089 -set3 0xf89089 -set3 0xf89089 -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar49 -setchar70 -setchar58 - "E011F:" -right3 218453 -fntnum46 -set3 0xfc9089 -set3 0xfc9089 -set3 0xfc9089 -pop -y0 -y0 -push -right4 15106048 -fntnum19 -setchar85 -setchar43 -setchar57 -setchar70 -setchar52 -setchar66 - "U+9F4B" -pop -y0 -push -right4 15106048 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set2 0x9f4b -set2 0x9f4b -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x809f4b -set3 0x809f4b -set3 0x809f4b -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x849f4b -set3 0x849f4b -set3 0x849f4b -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x889f4b -set3 0x889f4b -set3 0x889f4b -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8c9f4b -set3 0x8c9f4b -set3 0x8c9f4b -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x909f4b -set3 0x909f4b -set3 0x909f4b -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x949f4b -set3 0x949f4b -set3 0x949f4b -pop -y0 -push -right4 15106048 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set3 0x989f4b -set3 0x989f4b -set3 0x989f4b -pop -y0 -pop -push -down4 -45502663 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar52 -setchar50 -setchar69 -setchar69 - "U+242EE" -pop -y3 983040 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x242ee -set3 0x242ee -pop -y0 -push -right4 20627456 -fntnum19 -setchar70 -setchar69 -setchar48 -setchar48 -setchar58 - "FE00:" -right3 291271 -fntnum46 -set3 0x4242ee -set3 0x4242ee -set3 0x4242ee -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x8242ee -set3 0x8242ee -set3 0x8242ee -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x8642ee -set3 0x8642ee -set3 0x8642ee -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x8a42ee -set3 0x8a42ee -set3 0x8a42ee -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8e42ee -set3 0x8e42ee -set3 0x8e42ee -pop -y0 -y0 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar48 -setchar53 -setchar50 -setchar53 - "U+20525" -pop -y0 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x20525 -set3 0x20525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x820525 -set3 0x820525 -set3 0x820525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x860525 -set3 0x860525 -set3 0x860525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x8a0525 -set3 0x8a0525 -set3 0x8a0525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8e0525 -set3 0x8e0525 -set3 0x8e0525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x920525 -set3 0x920525 -set3 0x920525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x960525 -set3 0x960525 -set3 0x960525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar54 -setchar58 - "E0106:" -right3 291271 -fntnum46 -set3 0x9a0525 -set3 0x9a0525 -set3 0x9a0525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar55 -setchar58 - "E0107:" -right3 291271 -fntnum46 -set3 0x9e0525 -set3 0x9e0525 -set3 0x9e0525 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar56 -setchar58 - "E0108:" -right3 291271 -fntnum46 -set3 0xa20525 -set3 0xa20525 -set3 0xa20525 -pop -y0 -y0 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar66 -setchar55 -setchar56 -setchar69 - "U+2B78E" -pop -y0 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x2b78e -set3 0x2b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x82b78e -set3 0x82b78e -set3 0x82b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x86b78e -set3 0x86b78e -set3 0x86b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x8ab78e -set3 0x8ab78e -set3 0x8ab78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8eb78e -set3 0x8eb78e -set3 0x8eb78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x92b78e -set3 0x92b78e -set3 0x92b78e -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x96b78e -set3 0x96b78e -set3 0x96b78e -pop -y0 -y0 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar50 -setchar68 -setchar54 -setchar66 -setchar54 - "U+2D6B6" -pop -y0 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x2d6b6 -set3 0x2d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x82d6b6 -set3 0x82d6b6 -set3 0x82d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar49 -setchar58 - "E0101:" -right3 291271 -fntnum46 -set3 0x86d6b6 -set3 0x86d6b6 -set3 0x86d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar50 -setchar58 - "E0102:" -right3 291271 -fntnum46 -set3 0x8ad6b6 -set3 0x8ad6b6 -set3 0x8ad6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar51 -setchar58 - "E0103:" -right3 291271 -fntnum46 -set3 0x8ed6b6 -set3 0x8ed6b6 -set3 0x8ed6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar52 -setchar58 - "E0104:" -right3 291271 -fntnum46 -set3 0x92d6b6 -set3 0x92d6b6 -set3 0x92d6b6 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar53 -setchar58 - "E0105:" -right3 291271 -fntnum46 -set3 0x96d6b6 -set3 0x96d6b6 -set3 0x96d6b6 -pop -y0 -y0 -push -right4 20627456 -fntnum19 -setchar85 -setchar43 -setchar51 -setchar49 -setchar51 -setchar53 -setchar48 - "U+31350" -pop -y0 -push -right4 20627456 -setchar98 -setchar97 -setchar115 -setchar101 -setchar58 - "base:" -right3 291271 -fntnum46 -set3 0x31350 -set3 0x31350 -pop -y0 -push -right4 20627456 -fntnum19 -setchar69 -setchar48 -setchar49 -setchar48 -setchar48 -setchar58 - "E0100:" -right3 291271 -fntnum46 -set3 0x831350 -set3 0x831350 -set3 0x831350 -pop -y0 -pop -pop -pop -down3 1966080 -pop -eop -post 42 25400000 473628672 1000 47651484 25493504 5 1 -fntdef1 46 0 655360 655360 0 4 'upjf' -fntdef1 19 0x4BF16079 655360 655360 0 5 'cmr10' -post_post 5005 2 223 223 223 223 223 223 223 diff --git a/source/texk/dvipdfm-x/tests/ivs12.tex b/source/texk/dvipdfm-x/tests/ivs12.tex deleted file mode 100644 index 14c63c0a92..0000000000 --- a/source/texk/dvipdfm-x/tests/ivs12.tex +++ /dev/null @@ -1,219 +0,0 @@ -% Copyright (C) 2024 Japanese TeX Development Community -% You may freely use, modify and/or distribute this file. - -\documentclass{ujarticle} -\usepackage{multicol} -%\usepackage[T1]{fontenc} -%\usepackage{mathptmx} - -\textheight247mm -\topmargin-15mm -\showboxdepth=100 -\showboxbreadth=100 - -\begin{document} -\pagestyle{empty} -\parindent0pt -\begin{multicols*}{4} - -%\newcommand{\VS}{\vskip0.5ex} -\newcommand{\VS}{\\} -\font\upjf=upjf at 10pt -\upjf - -\setbox0\hbox{【 - \kchar"8279艹\Uchar"8279 ~% - \kchar"8279\kchar"FE00 艹︀\Uchar"8279\Uchar"FE00 ~% - \kchar"8279\kchar"E0100 艹󠄀\Uchar"8279\Uchar"E0100 % -】} -\showbox0 - -U+0030\\ -base: \kchar"30\\ -FE00: \kchar"400030\kchar"30\kchar"FE00\\ -\VS -U+8279\\ -base: \kchar"8279 艹\\ -FE00: \kchar"408279 艹︀\kchar"8279\kchar"FE00\\ -FE01: \kchar"448279 艹︁\kchar"8279\kchar"FE01\\ -E0100: \kchar"808279 艹󠄀\kchar"8279\kchar"E0100\\ -E0101: \kchar"848279 艹󠄁\kchar"8279\kchar"E0101\\ -E0102: \kchar"888279 艹󠄂\kchar"8279\kchar"E0102\\ -E0103: \kchar"8C8279 艹󠄃\kchar"8279\kchar"E0103\\ -E0104: \kchar"908279 艹󠄄\kchar"8279\kchar"E0104\\ -E0105: \kchar"948279 艹󠄅\kchar"8279\kchar"E0105\\ -\VS -U+9038\\ -base: \kchar"9038 逸\\ -FE00: \kchar"409038 逸︀\kchar"9038\kchar"FE00\\ -FE01: \kchar"449038 逸︁\kchar"9038\kchar"FE01\\ -E0100: \kchar"809038 逸󠄀\kchar"9038\kchar"E0100\\ -E0101: \kchar"849038 逸󠄁\kchar"9038\kchar"E0101\\ -E0102: \kchar"889038 逸󠄂\kchar"9038\kchar"E0102\\ -E0103: \kchar"8C9038 逸󠄃\kchar"9038\kchar"E0103\\ -E0104: \kchar"909038 逸󠄄\kchar"9038\kchar"E0104\\ -E0105: \kchar"949038 逸󠄅\kchar"9038\kchar"E0105\\ -E0106: \kchar"989038 逸󠄆\kchar"9038\kchar"E0106\\ -E0107: \kchar"9C9038 逸󠄇\kchar"9038\kchar"E0107\\ -E0108: \kchar"A09038 逸󠄈\kchar"9038\kchar"E0108\\ -E0109: \kchar"A49038 逸󠄉\kchar"9038\kchar"E0109\\ -\VS -U+845B\\ -base: \kchar"845B 葛\\ -E0100: \kchar"80845B 葛󠄀\kchar"845B\kchar"E0100\\ -E0101: \kchar"84845B 葛󠄁\kchar"845B\kchar"E0101\\ -E0102: \kchar"88845B 葛󠄂\kchar"845B\kchar"E0102\\ -E0103: \kchar"8C845B 葛󠄃\kchar"845B\kchar"E0103\\ -E0104: \kchar"90845B 葛󠄄\kchar"845B\kchar"E0104\\ -E0105: \kchar"94845B 葛󠄅\kchar"845B\kchar"E0105\\ -E0106: \kchar"98845B 葛󠄆\kchar"845B\kchar"E0106\\ -E0107: \kchar"9C845B 葛󠄇\kchar"845B\kchar"E0107\\ -E0108: \kchar"A0845B 葛󠄈\kchar"845B\kchar"E0108\\ -E0109: \kchar"A4845B 葛󠄉\kchar"845B\kchar"E0109\\ - -\newcolumn -U+4039\\ -base: \kchar"4039 䀹\\ -FE00: \kchar"404039 䀹︀\kchar"4039\kchar"FE00\\ -FE01: \kchar"444039 䀹︁\kchar"4039\kchar"FE01\\ -E0100: \kchar"804039 䀹󠄀\kchar"4039\kchar"E0100\\ -\VS -U+51DE\\ -base: \kchar"51DE 凞\\ -E0100: \kchar"8051DE 凞󠄀\kchar"51DE\kchar"E0100\\ -E0101: \kchar"8451DE 凞󠄁\kchar"51DE\kchar"E0101\\ -E0102: \kchar"8851DE 凞󠄂\kchar"51DE\kchar"E0102\\ -E0103: \kchar"8C51DE 凞󠄃\kchar"51DE\kchar"E0103\\ -E0104: \kchar"9051DE 凞󠄄\kchar"51DE\kchar"E0104\\ -E0105: \kchar"9451DE 凞󠄅\kchar"51DE\kchar"E0105\\ -E0106: \kchar"9851DE 凞󠄆\kchar"51DE\kchar"E0106\\ -E0107: \kchar"9C51DE 凞󠄇\kchar"51DE\kchar"E0107\\ -E0108: \kchar"A051DE 凞󠄈\kchar"51DE\kchar"E0108\\ -E0109: \kchar"A451DE 凞󠄉\kchar"51DE\kchar"E0109\\ -E010A: \kchar"A851DE 凞󠄊\kchar"51DE\kchar"E010A\\ -E010B: \kchar"AC51DE 凞󠄋\kchar"51DE\kchar"E010B\\ -\VS -U+53A9\\ -base: \kchar"53A9 厩\\ -E0100: \kchar"8053A9 厩󠄀\kchar"53A9\kchar"E0100\\ -E0101: \kchar"8453A9 厩󠄁\kchar"53A9\kchar"E0101\\ -E0102: \kchar"8853A9 厩󠄂\kchar"53A9\kchar"E0102\\ -E0103: \kchar"8C53A9 厩󠄃\kchar"53A9\kchar"E0103\\ -E0104: \kchar"9053A9 厩󠄄\kchar"53A9\kchar"E0104\\ -E0105: \kchar"9453A9 厩󠄅\kchar"53A9\kchar"E0105\\ -E0106: \kchar"9853A9 厩󠄆\kchar"53A9\kchar"E0106\\ -E0107: \kchar"9C53A9 厩󠄇\kchar"53A9\kchar"E0107\\ -E0108: \kchar"A053A9 厩󠄈\kchar"53A9\kchar"E0108\\ -E0109: \kchar"A453A9 厩󠄉\kchar"53A9\kchar"E0109\\ -E010A: \kchar"A853A9 厩󠄊\kchar"53A9\kchar"E010A\\ -E010B: \kchar"AC53A9 厩󠄋\kchar"53A9\kchar"E010B\\ -E010C: \kchar"B053A9 厩󠄌\kchar"53A9\kchar"E010C\\ -E010D: \kchar"B453A9 厩󠄍\kchar"53A9\kchar"E010D\\ -\VS -U+8FBB\\ -base: \kchar"8FBB 辻\\ -E0100: \kchar"808FBB 辻󠄀\kchar"8FBB\kchar"E0100\\ -E0101: \kchar"848FBB 辻󠄁\kchar"8FBB\kchar"E0101\\ -E0102: \kchar"888FBB 辻󠄂\kchar"8FBB\kchar"E0102\\ -E0103: \kchar"8C8FBB 辻󠄃\kchar"8FBB\kchar"E0103\\ -E0104: \kchar"908FBB 辻󠄄\kchar"8FBB\kchar"E0104\\ -E0105: \kchar"948FBB 辻󠄅\kchar"8FBB\kchar"E0105\\ - -\newcolumn -U+9089\\ -base: \kchar"9089 邉\\ -E0100: \kchar"809089 邉󠄀\kchar"9089\kchar"E0100\\ -E0101: \kchar"849089 邉󠄁\kchar"9089\kchar"E0101\\ -E0102: \kchar"889089 邉󠄂\kchar"9089\kchar"E0102\\ -E0103: \kchar"8C9089 邉󠄃\kchar"9089\kchar"E0103\\ -E0104: \kchar"909089 邉󠄄\kchar"9089\kchar"E0104\\ -E0105: \kchar"949089 邉󠄅\kchar"9089\kchar"E0105\\ -E0106: \kchar"989089 邉󠄆\kchar"9089\kchar"E0106\\ -E0107: \kchar"9C9089 邉󠄇\kchar"9089\kchar"E0107\\ -E0108: \kchar"A09089 邉󠄈\kchar"9089\kchar"E0108\\ -E0109: \kchar"A49089 邉󠄉\kchar"9089\kchar"E0109\\ -E010A: \kchar"A89089 邉󠄊\kchar"9089\kchar"E010A\\ -E010B: \kchar"AC9089 邉󠄋\kchar"9089\kchar"E010B\\ -E010C: \kchar"B09089 邉󠄌\kchar"9089\kchar"E010C\\ -E010D: \kchar"B49089 邉󠄍\kchar"9089\kchar"E010D\\ -E010E: \kchar"B89089 邉󠄎\kchar"9089\kchar"E010E\\ -E010F: \kchar"BC9089 邉󠄏\kchar"9089\kchar"E010F\\ -E0110: \kchar"C09089 邉󠄐\kchar"9089\kchar"E0110\\ -E0111: \kchar"C49089 邉󠄑\kchar"9089\kchar"E0111\\ -E0112: \kchar"C89089 邉󠄒\kchar"9089\kchar"E0112\\ -E0113: \kchar"CC9089 邉󠄓\kchar"9089\kchar"E0113\\ -E0114: \kchar"D09089 邉󠄔\kchar"9089\kchar"E0114\\ -E0115: \kchar"D49089 邉󠄕\kchar"9089\kchar"E0115\\ -E0116: \kchar"D89089 邉󠄖\kchar"9089\kchar"E0116\\ -E0117: \kchar"DC9089 邉󠄗\kchar"9089\kchar"E0117\\ -E0118: \kchar"E09089 邉󠄘\kchar"9089\kchar"E0118\\ -E0119: \kchar"E49089 邉󠄙\kchar"9089\kchar"E0119\\ -E011A: \kchar"E89089 邉󠄚\kchar"9089\kchar"E011A\\ -E011B: \kchar"EC9089 邉󠄛\kchar"9089\kchar"E011B\\ -E011C: \kchar"F09089 邉󠄜\kchar"9089\kchar"E011C\\ -E011D: \kchar"F49089 邉󠄝\kchar"9089\kchar"E011D\\ -E011E: \kchar"F89089 邉󠄞\kchar"9089\kchar"E011E\\ -E011F: \kchar"FC9089 邉󠄟\kchar"9089\kchar"E011F\\ -\VS -U+9F4B\\ -base: \kchar"9F4B 齋\\ -E0100: \kchar"809F4B 齋󠄀\kchar"9F4B\kchar"E0100\\ -E0101: \kchar"849F4B 齋󠄁\kchar"9F4B\kchar"E0101\\ -E0102: \kchar"889F4B 齋󠄂\kchar"9F4B\kchar"E0102\\ -E0103: \kchar"8C9F4B 齋󠄃\kchar"9F4B\kchar"E0103\\ -E0104: \kchar"909F4B 齋󠄄\kchar"9F4B\kchar"E0104\\ -E0105: \kchar"949F4B 齋󠄅\kchar"9F4B\kchar"E0105\\ -E0106: \kchar"989F4B 齋󠄆\kchar"9F4B\kchar"E0106\\ - -\newcolumn -U+242EE\\ -base: \kchar"242EE 𤋮\\ -FE00: \kchar"4242EE 𤋮︀\kchar"242EE\kchar"FE00\\ -E0100: \kchar"8242EE 𤋮󠄀\kchar"242EE\kchar"E0100\\ -E0101: \kchar"8642EE 𤋮󠄁\kchar"242EE\kchar"E0101\\ -E0102: \kchar"8A42EE 𤋮󠄂\kchar"242EE\kchar"E0102\\ -E0103: \kchar"8E42EE 𤋮󠄃\kchar"242EE\kchar"E0103\\ -\VS -U+20525\\ -base: \kchar"20525 𠔥\\ -E0100: \kchar"820525 𠔥󠄀\kchar"20525\kchar"E0100\\ -E0101: \kchar"860525 𠔥󠄁\kchar"20525\kchar"E0101\\ -E0102: \kchar"8A0525 𠔥󠄂\kchar"20525\kchar"E0102\\ -E0103: \kchar"8E0525 𠔥󠄃\kchar"20525\kchar"E0103\\ -E0104: \kchar"920525 𠔥󠄄\kchar"20525\kchar"E0104\\ -E0105: \kchar"960525 𠔥󠄅\kchar"20525\kchar"E0105\\ -E0106: \kchar"9A0525 𠔥󠄆\kchar"20525\kchar"E0106\\ -E0107: \kchar"9E0525 𠔥󠄇\kchar"20525\kchar"E0107\\ -E0108: \kchar"A20525 𠔥󠄈\kchar"20525\kchar"E0108\\ -\VS -U+2B78E\\ -base: \kchar"2B78E 𫞎\\ -E0100: \kchar"82B78E 𫞎󠄀\kchar"2B78E\kchar"E0100\\ -E0101: \kchar"86B78E 𫞎󠄁\kchar"2B78E\kchar"E0101\\ -E0102: \kchar"8AB78E 𫞎󠄂\kchar"2B78E\kchar"E0102\\ -E0103: \kchar"8EB78E 𫞎󠄃\kchar"2B78E\kchar"E0103\\ -E0104: \kchar"92B78E 𫞎󠄄\kchar"2B78E\kchar"E0104\\ -E0105: \kchar"96B78E 𫞎󠄅\kchar"2B78E\kchar"E0105\\ -\VS -U+2D6B6\\ -base: \kchar"2D6B6 𭚶\\ -E0100: \kchar"82D6B6 𭚶󠄀\kchar"2D6B6\kchar"E0100\\ -E0101: \kchar"86D6B6 𭚶󠄁\kchar"2D6B6\kchar"E0101\\ -E0102: \kchar"8AD6B6 𭚶󠄂\kchar"2D6B6\kchar"E0102\\ -E0103: \kchar"8ED6B6 𭚶󠄃\kchar"2D6B6\kchar"E0103\\ -E0104: \kchar"92D6B6 𭚶󠄄\kchar"2D6B6\kchar"E0104\\ -E0105: \kchar"96D6B6 𭚶󠄅\kchar"2D6B6\kchar"E0105\\ -\VS -U+31350\\ -base: \kchar"31350 𱍐\\ -E0100: \kchar"831350 𱍐󠄀\kchar"31350\kchar"E0100\\ - -% -%󠄀󠄁 -% -%︀︁ -% -%𱍐󠄟 - -\end{multicols*} -\end{document} diff --git a/source/texk/dvipdfm-x/tests/up-hara.map b/source/texk/dvipdfm-x/tests/up-hara.map deleted file mode 100644 index cabe4a15b1..0000000000 --- a/source/texk/dvipdfm-x/tests/up-hara.map +++ /dev/null @@ -1,6 +0,0 @@ -uprml-h unicode HaranoAjiMincho-Regular.otf -uprml-hq unicode HaranoAjiMincho-Regular.otf -upjf-r unicode HaranoAjiMincho-Regular.otf -upjf-g unicode HaranoAjiMincho-Regular.otf - -cmr10 CMR10 = map->coverage.first_char && - charcode <= map->coverage.last_char) -#else if (charcode >= map->coverage.first_char && charcode <= map->coverage.first_char + map->coverage.num_chars) -#endif return map->indices[CHARACTER_INDEX(charcode - map->coverage.first_char)]; - else - return -1; + +#ifndef WITHOUT_ASCII_PTEX + if (charcode <= map->coverage.last_char) + return map->indices[0]; +#endif + + return -1; } static int @@ -238,7 +238,7 @@ lookup_range (const struct range_map *map, int charcode) return map->indices[CHARACTER_INDEX(idx)]; } #ifndef WITHOUT_ASCII_PTEX - if (charcode <= map->coverages[0].last_char) + if (charcode <= JFM_LASTCHAR) return map->indices[0]; #endif @@ -476,7 +476,7 @@ jfm_do_char_type_array (FILE *tfm_file, struct tfm_font *tfm) unsigned short chartype; unsigned int i; - tfm->chartypes = NEW((UCS_LASTCHAR + 1), unsigned int); + tfm->chartypes = NEW(UCS_LASTCHAR + 1, unsigned int); for (i = 0; i < (UCS_LASTCHAR + 1); i++) { tfm->chartypes[i] = 0; } @@ -505,8 +505,8 @@ jfm_make_charmap (struct font_metric *fm, struct tfm_font *tfm) #ifndef WITHOUT_ASCII_PTEX map->coverage.num_chars = UCS_LASTCHAR; map->coverage.last_char = JFM_LASTCHAR; - map->indices = NEW((UCS_LASTCHAR + 2), unsigned int); - map->indices[(UCS_LASTCHAR + 1)] = tfm->chartypes[0]; + map->indices = NEW(UCS_LASTCHAR + 2, unsigned int); + map->indices[UCS_LASTCHAR + 1] = tfm->chartypes[0]; for (code = 0; code <= UCS_LASTCHAR; code++) { #else map->coverage.num_chars = 0xFFFFL; @@ -1030,6 +1030,10 @@ tfm_get_fw_width (int font_id, int32_t ch) default: idx = ch; } +#ifndef WITHOUT_ASCII_PTEX + } else if (ch > fm->lastchar && ch <= JFM_LASTCHAR) { + idx = 0; +#endif /* !WITHOUT_ASCII_PTEX */ } else { ERROR("Invalid char: %ld\n", ch); } @@ -1061,6 +1065,10 @@ tfm_get_fw_height (int font_id, int32_t ch) default: idx = ch; } +#ifndef WITHOUT_ASCII_PTEX + } else if (ch > fm->lastchar && ch <= JFM_LASTCHAR) { + idx = 0; +#endif /* !WITHOUT_ASCII_PTEX */ } else { ERROR("Invalid char: %ld\n", ch); } @@ -1092,6 +1100,10 @@ tfm_get_fw_depth (int font_id, int32_t ch) default: idx = ch; } +#ifndef WITHOUT_ASCII_PTEX + } else if (ch > fm->lastchar && ch <= JFM_LASTCHAR) { + idx = 0; +#endif /* !WITHOUT_ASCII_PTEX */ } else { ERROR("Invalid char: %ld\n", ch); } diff --git a/source/texk/dvipdfm-x/tt_cmap.c b/source/texk/dvipdfm-x/tt_cmap.c index f4227310ee..56c699275d 100644 --- a/source/texk/dvipdfm-x/tt_cmap.c +++ b/source/texk/dvipdfm-x/tt_cmap.c @@ -1033,32 +1033,6 @@ create_inverse_cmap12 (int32_t *map_base, int32_t *map_sub, USHORT num_glyphs, } } -static void -create_inverse_cmap14 (int32_t *map_base, int32_t *map_sub, int32_t *map_uvs, - USHORT num_glyphs, struct cmap14 *map) -{ - ULONG i, j, vs; - - for (i = 0; i < map->numVarSelectorRecords; i++) { - vs = map->varSelector[i].varSelector; - /* It is expected that the default UVS inverse map - is already created with cmap4/12. */ - for (j = 0; j < map->varSelector[i].numUVSMappings; j++) { - ULONG ch = map->varSelector[i].uvsMappingsUnicodeValue[j]; - USHORT gid = map->varSelector[i].uvsMappingsGlyphID[j]; - if (dpx_conf.verbose_level > VERBOSE_LEVEL_MIN) { - WARN("Read cmap14 VS=%x CH=%x (GID=%u)", vs, ch, gid); - } - if (is_PUA_or_presentation(ch)) { - map_sub[gid] = ch; - } else { - map_base[gid] = ch; - } - map_uvs[gid] = vs; - } - } -} - /* NOTE: Reverse mapping code which had been placed here is removed since: * - Implementation of reserve CMap mapping itself is imcomplete. * - It is wrong to assume that all CMap passed here is Unicode to CID mapping. @@ -1074,8 +1048,6 @@ create_ToUnicode_cmap (tt_cmap *ttcmap, pdf_obj *stream = NULL; int32_t *map_base = NULL, *map_sub = NULL; USHORT gid, num_glyphs = 0; - tt_cmap *ttcmap_uvs = NULL; - int32_t *map_uvs = NULL; ASSERT(ttcmap); @@ -1108,18 +1080,6 @@ create_ToUnicode_cmap (tt_cmap *ttcmap, break; } - /* Create Unicode Variation Sequences mapping from - inverse mapping of OpenType cmap format 14 subtable. */ - ttcmap_uvs = tt_cmap_read(sfont, 0, 5); - if (ttcmap_uvs && ttcmap_uvs->format == 14) { - map_uvs = NEW(num_glyphs, int32_t); - for (gid = 0; gid < num_glyphs; gid++) { - map_uvs[gid] = -1; - } - create_inverse_cmap14(map_base, map_sub, map_uvs, num_glyphs, ttcmap_uvs->map); - tt_cmap_release(ttcmap_uvs); - } - /* Now create ToUnicode CMap stream */ { CMap *cmap; @@ -1164,8 +1124,8 @@ create_ToUnicode_cmap (tt_cmap *ttcmap, uint16_t cid = GIDToCIDMap[gid]; if (is_used_char2(used_chars_copy, cid)) { int32_t ch; - unsigned char src[2], dst[8]; - unsigned char *p = dst, *endptr = dst + 8; + unsigned char src[2], dst[4]; + unsigned char *p = dst, *endptr = dst + 4; size_t len; ch = map_base[gid]; @@ -1173,9 +1133,6 @@ create_ToUnicode_cmap (tt_cmap *ttcmap, src[0] = (cid >> 8) & 0xff; src[1] = cid & 0xff; len = UC_UTF16BE_encode_char(ch, &p, endptr); - if (map_uvs && map_uvs[gid] > 0) { - len += UC_UTF16BE_encode_char(map_uvs[gid], &p, endptr); - } CMap_add_bfchar(cmap, src, 2, dst, len); used_chars_copy[cid / 8] &= ~(1 << (7 - (cid % 8))); count++; @@ -1243,7 +1200,6 @@ create_ToUnicode_cmap (tt_cmap *ttcmap, } RELEASE(map_base); RELEASE(map_sub); - RELEASE(map_uvs); return stream; } @@ -1376,9 +1332,6 @@ otf_create_ToUnicode_stream (const char *font_name, } if (ttcmap) { pdf_obj *cmap_obj; - tt_cmap *ttcmap_uvs = NULL; - - ttcmap_uvs = tt_cmap_read(sfont, 0, 5); CMap_set_silent(1); /* many warnings without this... */ cmap_obj = create_ToUnicode_cmap(ttcmap, cmap_name, cmap_add, used_chars, sfont); @@ -1498,69 +1451,6 @@ load_cmap12 (struct cmap12 *map, uint16_t *GIDToCIDMap, USHORT num_glyphs, return; } -static void -load_cmap14 (struct cmap14 *map, tt_cmap *ttcmap_default, uint16_t *GIDToCIDMap, USHORT num_glyphs, - otl_gsub *gsub_vert, otl_gsub *gsub_list, - CMap *cmap, int32_t *map_base, int32_t *map_sub) -{ - ULONG i, j, ch, vs, vs0; - USHORT gid, cid; - unsigned char buf[4]; - - for (i = 0; i < map->numVarSelectorRecords; i++) { - vs = map->varSelector[i].varSelector; - for (j = 0; j < map->varSelector[i].numUnicodeValueRanges; j++) { - for (ch = map->varSelector[i].rangesStartUnicodeValue[j]; - ch <= map->varSelector[i].rangesStartUnicodeValue[j] + map->varSelector[i].rangesAdditionalCount[j]; - ch++) { - gid = tt_cmap_lookup(ttcmap_default, ch); - if (gsub_list) - otl_gsub_apply_chain(gsub_list, &gid); - if (gsub_vert) - otl_gsub_apply(gsub_vert, &gid); - cid = (gid < num_glyphs) ? GIDToCIDMap[gid] : 0; - vs0 = (vs >= 0xE0100) ? ((vs-0xE0100+0x20) << 2) : ((vs-0xFE00+0x10) << 2); - buf[0] = (vs0 >> 8) & 0xff; - buf[1] = (ch >> 16) + vs0 & 0xff; - buf[2] = (ch >> 8) & 0xff; - buf[3] = ch & 0xff; - if (dpx_conf.verbose_level > 1) { - WARN("load_cmap14 CH=%x VS=%x(%x) (%02x %02x %02x %02x)", ch, vs, vs0, - buf[0], buf[1], buf[2], buf[3]); - } - CMap_add_cidchar(cmap, buf, 4, cid); - if (map_base && map_sub && map_base[gid] <= 0) { - map_base[gid] = ch; - } - } - } - for (j = 0; j < map->varSelector[i].numUVSMappings; j++) { - ch = map->varSelector[i].uvsMappingsUnicodeValue[j]; - gid = map->varSelector[i].uvsMappingsGlyphID[j]; - if (gsub_list) - otl_gsub_apply_chain(gsub_list, &gid); - if (gsub_vert) - otl_gsub_apply(gsub_vert, &gid); - cid = (gid < num_glyphs) ? GIDToCIDMap[gid] : 0; - vs0 = (vs >= 0xE0100) ? ((vs-0xE0100+0x20) << 2) : ((vs-0xFE00+0x10) << 2); - buf[0] = (vs0 >> 8) & 0xff; - buf[1] = (ch >> 16) + vs0 & 0xff; - buf[2] = (ch >> 8) & 0xff; - buf[3] = ch & 0xff; - if (dpx_conf.verbose_level > 1) { - WARN("load_cmap14 CH=%x VS=%x(%x) (%02x %02x %02x %02x)", ch, vs, vs0, - buf[0], buf[1], buf[2], buf[3]); - } - CMap_add_cidchar(cmap, buf, 4, cid); - if (map_base && map_sub && map_base[gid] <= 0) { - map_base[gid] = ch; - } - } - } - - return; -} - int otf_load_Unicode_CMap (const char *map_name, uint32_t ttc_index, /* 0 for non-TTC font */ const char *otl_tags, int wmode) @@ -1572,7 +1462,6 @@ otf_load_Unicode_CMap (const char *map_name, uint32_t ttc_index, /* 0 for non-TT uint16_t num_glyphs = 0; FILE *fp = NULL; tt_cmap *ttcmap = NULL; - tt_cmap *ttcmap_uvs = NULL; CIDSysInfo csi = {NULL, NULL, 0}; uint16_t *GIDToCIDMap = NULL; @@ -1808,11 +1697,6 @@ otf_load_Unicode_CMap (const char *map_name, uint32_t ttc_index, /* 0 for non-TT cmap, map_base, map_sub); break; } - ttcmap_uvs = tt_cmap_read(sfont, 0, 5); /* Unicode Variation Sequence */ - if (ttcmap_uvs && ttcmap_uvs->format == 14) { - load_cmap14(ttcmap_uvs->map, ttcmap, GIDToCIDMap, num_glyphs, gsub_vert, gsub_list, cmap, map_base, map_sub); - tt_cmap_release(ttcmap_uvs); - } if (gsub_vert) otl_gsub_release(gsub_vert); if (gsub_list) diff --git a/source/texk/dvipdfm-x/unicode.h b/source/texk/dvipdfm-x/unicode.h index ea3c8d783b..f10a56e0ce 100644 --- a/source/texk/dvipdfm-x/unicode.h +++ b/source/texk/dvipdfm-x/unicode.h @@ -34,8 +34,4 @@ extern size_t UC_UTF8_encode_char (int32_t ucv, unsigned char **dstpp, unsigned extern int32_t UC_Combine_CJK_compatibility_ideograph(int32_t ucv, int32_t uvs); -/* UTF-32 over U+FFFF -> UTF-16 surrogate pair */ -#define UTF32toUTF16HS(x) (0xd800 + (((x-0x10000) >> 10) & 0x3ff)) -#define UTF32toUTF16LS(x) (0xdc00 + ( x & 0x3ff)) - #endif /* _UNICODE_H_ */ diff --git a/source/texk/dvipsk/c-auto.in b/source/texk/dvipsk/c-auto.in index 1bc7cf71f5..b21e88a450 100644 --- a/source/texk/dvipsk/c-auto.in +++ b/source/texk/dvipsk/c-auto.in @@ -41,6 +41,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -100,6 +103,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -135,6 +141,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/dvipsk/configure b/source/texk/dvipsk/configure index de070d73a5..b564c759f9 100755 --- a/source/texk/dvipsk/configure +++ b/source/texk/dvipsk/configure @@ -1609,6 +1609,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1657,41 +1692,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2607,6 +2607,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2932,7 +2933,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2941,6 +2941,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4894,6 +4896,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8753,35 +8932,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8876,6 +9026,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=dvipsk, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=dvipsk, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -9002,6 +9154,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -9026,6 +9180,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -9059,6 +9218,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -9116,6 +9277,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=dvipsk, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/dvipsk/squeeze/configure b/source/texk/dvipsk/squeeze/configure index 01d430b0ce..c14bbeced4 100755 --- a/source/texk/dvipsk/squeeze/configure +++ b/source/texk/dvipsk/squeeze/configure @@ -609,6 +609,38 @@ PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' ac_unique_file="squeeze.c" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_STDIO_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_header_c_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -1485,6 +1517,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1827,6 +1894,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2152,6 +2220,16 @@ main (int argc, char **argv) } " +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="compile missing install-sh" @@ -4104,6 +4182,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -4124,6 +4379,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=dvipsk squeeze, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -4250,6 +4507,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -4274,6 +4533,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -4307,6 +4571,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -4364,6 +4630,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=dvipsk squeeze, amopt=)' >&5 + ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/source/texk/kpathsea/c-auto.in b/source/texk/kpathsea/c-auto.in index a96935b4f2..ccf48a4a2c 100644 --- a/source/texk/kpathsea/c-auto.in +++ b/source/texk/kpathsea/c-auto.in @@ -74,6 +74,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -133,6 +136,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -193,6 +199,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/kpathsea/configure b/source/texk/kpathsea/configure index 0ae63f2bff..d7ee0f84a0 100755 --- a/source/texk/kpathsea/configure +++ b/source/texk/kpathsea/configure @@ -1626,6 +1626,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1674,41 +1709,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2624,6 +2624,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2949,7 +2950,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2958,6 +2958,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4920,6 +4922,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8779,35 +8958,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8902,6 +9052,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=kpathsea, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=kpathsea, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -9028,6 +9180,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -9052,6 +9206,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -9085,6 +9244,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -9142,6 +9303,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=kpathsea, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/makejvf/c-auto.in b/source/texk/makejvf/c-auto.in index df6ab5eaf8..21f767c2be 100644 --- a/source/texk/makejvf/c-auto.in +++ b/source/texk/makejvf/c-auto.in @@ -41,6 +41,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -100,6 +103,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -126,6 +132,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS diff --git a/source/texk/makejvf/configure b/source/texk/makejvf/configure index 1e6ca7b617..8c530a81dc 100755 --- a/source/texk/makejvf/configure +++ b/source/texk/makejvf/configure @@ -1610,6 +1610,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1658,41 +1693,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2369,6 +2369,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2694,7 +2695,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2703,6 +2703,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4655,6 +4657,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8514,35 +8693,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8637,6 +8787,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=makejvfk, amopt=no-define)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=makejvfk, amopt=no-define)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8758,6 +8910,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -8782,6 +8936,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -8815,6 +8974,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -8872,6 +9033,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=makejvfk, amopt=no-define)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/mendexk/c-auto.in b/source/texk/mendexk/c-auto.in index 4cfcc5ad61..7fa3d62b9f 100644 --- a/source/texk/mendexk/c-auto.in +++ b/source/texk/mendexk/c-auto.in @@ -41,6 +41,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -100,6 +103,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to 1 if you have C99 variadic macros. */ #undef HAVE___VA_ARGS__ @@ -132,6 +138,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS diff --git a/source/texk/mendexk/configure b/source/texk/mendexk/configure index d334c711d2..843cd6bbc1 100755 --- a/source/texk/mendexk/configure +++ b/source/texk/mendexk/configure @@ -1610,6 +1610,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1658,41 +1693,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2369,6 +2369,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2694,7 +2695,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2703,6 +2703,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4655,6 +4657,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8514,35 +8693,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8637,6 +8787,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=mendexk, amopt=no-define)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=mendexk, amopt=no-define)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8758,6 +8910,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -8782,6 +8936,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -8815,6 +8974,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -8872,6 +9033,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=mendexk, amopt=no-define)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/ptexenc/c-auto.in b/source/texk/ptexenc/c-auto.in index dd8ea6dd13..a2b69599a0 100644 --- a/source/texk/ptexenc/c-auto.in +++ b/source/texk/ptexenc/c-auto.in @@ -61,6 +61,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -123,6 +126,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to 1 if you use iconv for kanji <=> unicode conversion. */ #undef KANJI_ICONV @@ -158,6 +164,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/ptexenc/configure b/source/texk/ptexenc/configure index ccfbd18eb9..ae23bc745a 100755 --- a/source/texk/ptexenc/configure +++ b/source/texk/ptexenc/configure @@ -1609,6 +1609,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1657,41 +1692,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2368,6 +2368,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2693,7 +2694,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2702,6 +2702,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4660,6 +4662,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8519,35 +8698,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8642,6 +8792,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=ptexenc, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=ptexenc, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8768,6 +8920,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -8792,6 +8946,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -8825,6 +8984,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -8882,6 +9043,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=ptexenc, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/seetexk/config.h.in b/source/texk/seetexk/config.h.in index e678a160a2..0106b69f73 100644 --- a/source/texk/seetexk/config.h.in +++ b/source/texk/seetexk/config.h.in @@ -44,6 +44,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -106,6 +109,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -138,6 +144,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/seetexk/configure b/source/texk/seetexk/configure index 530d698984..afb4bccfb2 100755 --- a/source/texk/seetexk/configure +++ b/source/texk/seetexk/configure @@ -1606,6 +1606,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1654,41 +1689,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2365,6 +2365,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2690,7 +2691,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2699,6 +2699,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4651,6 +4653,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8510,35 +8689,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8633,6 +8783,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=seetexk, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=seetexk, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -8759,6 +8911,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -8783,6 +8937,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -8816,6 +8975,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -8873,6 +9034,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=seetexk, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/upmendex/c-auto.in b/source/texk/upmendex/c-auto.in index d352d04df8..85b76d9bad 100644 --- a/source/texk/upmendex/c-auto.in +++ b/source/texk/upmendex/c-auto.in @@ -44,6 +44,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -103,6 +106,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to 1 if you have C99 variadic macros. */ #undef HAVE___VA_ARGS__ @@ -135,6 +141,98 @@ /* Define to the current TeX Live version string. */ #undef TL_VERSION +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS diff --git a/source/texk/upmendex/configure b/source/texk/upmendex/configure index 955360c827..136902fe01 100755 --- a/source/texk/upmendex/configure +++ b/source/texk/upmendex/configure @@ -1630,6 +1630,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1678,41 +1713,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2551,6 +2551,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2876,7 +2877,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2885,6 +2885,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Test code for whether the C++ compiler supports C++98 (global declarations) ac_cxx_conftest_cxx98_globals=' // Does the compiler advertise C++98 conformance? @@ -5053,6 +5055,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8912,35 +9091,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -9035,6 +9185,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=upmendex, amopt=no-define)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=upmendex, amopt=no-define)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -9156,6 +9308,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -9180,6 +9334,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -9213,6 +9372,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -9270,6 +9431,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=upmendex, amopt=no-define)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/web2c/ChangeLog b/source/texk/web2c/ChangeLog index 96014fdc24..e5d85a5f2f 100644 --- a/source/texk/web2c/ChangeLog +++ b/source/texk/web2c/ChangeLog @@ -1,3 +1,19 @@ +2024-04-28 Luigi Scarso + + * configure.ac (LUA53_DEFINES, LUA52_DEFINES, LUAJIT_DEFINES): + define _LARGEFILE_SOURCE to help avoid off64_t errors. Specifically: + +In file included from /home/texlive/karl/Build/source/Work/libs/zziplib/include/zzip/types.h:25, + from /home/texlive/karl/Build/source/Work/libs/zziplib/include/zzip/zzip.h:17, + from ../../../texk/web2c/luatexdir/luazip/src/luazip.c:13: +/home/texlive/karl/Build/source/Work/libs/zziplib/include/zzip/conf.h:50:23: error: unknown type name 'off64_t' + #define _zzip_off64_t off64_t + ^~~~~~~ +/home/texlive/karl/Build/source/Work/libs/zziplib/include/zzip/types.h:35:15: note: in expansion of macro '_zzip_off64_t' + typedef _zzip_off64_t zzip_off64_t; + ^~~~~~~~~~~~~ +make[5]: *** [Makefile:10380: luatexdir/luazip/src/libluajitmisc_a-luazip.o] Error 1 + 2024-04-21 Karl Berry * configure.ac (AC_USE_SYSTEM_EXTENSIONS): make it unconditional, diff --git a/source/texk/web2c/Makefile.in b/source/texk/web2c/Makefile.in index 1e42d352af..98813e3024 100644 --- a/source/texk/web2c/Makefile.in +++ b/source/texk/web2c/Makefile.in @@ -342,6 +342,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ + $(top_srcdir)/../../m4/kpse-largefile.m4 \ $(top_srcdir)/../../m4/kpse-lex.m4 \ $(top_srcdir)/../../m4/kpse-lib-version.m4 \ $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ @@ -4674,7 +4675,7 @@ libluasocket_a_CPPFLAGS = \ #liblua53socket_a_CPPFLAGS = \ # -DLUASOCKET_DEBUG -I$(top_srcdir)/luatexdir/luasocket $(LUA_LUA53_INCLUDES) libluajitsocket_a_CPPFLAGS = \ - -DLUASOCKET_DEBUG -I$(top_srcdir)/luatexdir/luasocket $(LUAJIT_INCLUDES) + -DLUASOCKET_DEBUG -I$(top_srcdir)/luatexdir/luasocket $(LUAJIT_INCLUDES) $(LUAJIT_DEFINES) libluasocket_a_CFLAGS = # $(WARNING_CFLAGS) libluajitsocket_a_CFLAGS = # $(WARNING_CFLAGS) @@ -4720,8 +4721,8 @@ libluajitmisc_a_DEPENDENCIES = $(ZZIPLIB_DEPEND) libluajitsocket.a libluamisc_a_CPPFLAGS = $(ZLIB_INCLUDES) $(ZZIPLIB_INCLUDES) $(PPLIB_INCLUDES) $(LUA_INCLUDES) #liblua53misc_a_CPPFLAGS = $(ZLIB_INCLUDES) $(ZZIPLIB_INCLUDES) $(PPLIB_INCLUDES) $(LUA_LUA53_INCLUDES) libluajitmisc_a_CPPFLAGS = $(ZLIB_INCLUDES) $(ZZIPLIB_INCLUDES) \ - $(PPLIB_INCLUDES) $(LUAJIT_INCLUDES) -DLuajitTeX \ - -I$(srcdir)/luatexdir + $(PPLIB_INCLUDES) $(LUAJIT_INCLUDES) $(LUAJIT_DEFINES) \ + -DLuajitTeX -I$(srcdir)/luatexdir libluamisc_a_CFLAGS = # $(WARNING_CFLAGS) #liblua53misc_a_CFLAGS = # $(WARNING_CFLAGS) libluajitmisc_a_CFLAGS = # $(WARNING_CFLAGS) @@ -5275,7 +5276,8 @@ libluaharfbuzz_a_DEPENDENCIES = $(HARFBUZZ_DEPEND) $(GRAPHITE2_DEPEND) libluajitharfbuzz_a_DEPENDENCIES = $(HARFBUZZ_DEPEND) $(GRAPHITE2_DEPEND) libluaharfbuzz_a_CPPFLAGS = $(AM_CPPFLAGS) $(LUA_INCLUDES) $(HARFBUZZ_INCLUDES) $(GRAPHITE2_INCLUDES) libluajitharfbuzz_a_CPPFLAGS = $(AM_CPPFLAGS) $(LUAJIT_INCLUDES) \ - $(HARFBUZZ_INCLUDES) $(GRAPHITE2_INCLUDES) -DLuajitTeX + $(LUAJIT_DEFINES) $(HARFBUZZ_INCLUDES) $(GRAPHITE2_INCLUDES) \ + -DLuajitTeX libluaharfbuzz_a_CFLAGS = # $(WARNING_CFLAGS) libluajitharfbuzz_a_CFLAGS = # $(WARNING_CFLAGS) libluaharfbuzz_a_SOURCES = \ diff --git a/source/texk/web2c/aclocal.m4 b/source/texk/web2c/aclocal.m4 index daa8e104ee..ff7bd5d4ae 100644 --- a/source/texk/web2c/aclocal.m4 +++ b/source/texk/web2c/aclocal.m4 @@ -1295,6 +1295,7 @@ m4_include([../../m4/kpse-graphite2-flags.m4]) m4_include([../../m4/kpse-harfbuzz-flags.m4]) m4_include([../../m4/kpse-icu-flags.m4]) m4_include([../../m4/kpse-kpathsea-flags.m4]) +m4_include([../../m4/kpse-largefile.m4]) m4_include([../../m4/kpse-lex.m4]) m4_include([../../m4/kpse-lib-version.m4]) m4_include([../../m4/kpse-libpng-flags.m4]) diff --git a/source/texk/web2c/configure b/source/texk/web2c/configure index 0ea00d0511..62ffd4c227 100755 --- a/source/texk/web2c/configure +++ b/source/texk/web2c/configure @@ -9779,6 +9779,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=web2c programs, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=web2c programs, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -10035,6 +10037,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -10059,6 +10063,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -10092,6 +10101,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -10149,6 +10160,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=web2c programs, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then @@ -22424,6 +22438,72 @@ case $host_os:$host_cpu in #( esac +if test "x$enable_largefile" != xno; then + case $ac_cv_sys_file_offset_bits in #( + no) : + ;; #( + unknown) : + case $ac_cv_sys_large_files in #( + no | unknown) : + ;; #( + *) : + LUA53_DEFINES="$LUA53_DEFINES -D_LARGE_FILES" ;; +esac ;; #( + *) : + LUA53_DEFINES="$LUA53_DEFINES -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ;; +esac +fi +case $ac_cv_sys_largefile_source in #( + no | unknown) : + ;; #( + *) : + LUA53_DEFINES="$LUA53_DEFINES -D_LARGEFILE_SOURCE" ;; +esac + +if test "x$enable_largefile" != xno; then + case $ac_cv_sys_file_offset_bits in #( + no) : + ;; #( + unknown) : + case $ac_cv_sys_large_files in #( + no | unknown) : + ;; #( + *) : + LUA52_DEFINES="$LUA52_DEFINES -D_LARGE_FILES" ;; +esac ;; #( + *) : + LUA52_DEFINES="$LUA52_DEFINES -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ;; +esac +fi +case $ac_cv_sys_largefile_source in #( + no | unknown) : + ;; #( + *) : + LUA52_DEFINES="$LUA52_DEFINES -D_LARGEFILE_SOURCE" ;; +esac + +if test "x$enable_largefile" != xno; then + case $ac_cv_sys_file_offset_bits in #( + no) : + ;; #( + unknown) : + case $ac_cv_sys_large_files in #( + no | unknown) : + ;; #( + *) : + LUAJIT_DEFINES="$LUAJIT_DEFINES -D_LARGE_FILES" ;; +esac ;; #( + *) : + LUAJIT_DEFINES="$LUAJIT_DEFINES -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" ;; +esac +fi +case $ac_cv_sys_largefile_source in #( + no | unknown) : + ;; #( + *) : + LUAJIT_DEFINES="$LUAJIT_DEFINES -D_LARGEFILE_SOURCE" ;; +esac + LIBS=$kpse_save_LIBS if test "x$kpse_cv_have_win32" = xno; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 diff --git a/source/texk/web2c/configure.ac b/source/texk/web2c/configure.ac index 2f3fb57905..44f6a5c3ee 100644 --- a/source/texk/web2c/configure.ac +++ b/source/texk/web2c/configure.ac @@ -116,6 +116,9 @@ kpse_save_LIBS=$LIBS KPSE_LUA53_DEFINES KPSE_LUA52_DEFINES KPSE_LUAJIT_DEFINES +KPSE_LARGEFILE([LUA53_DEFINES], [_LARGEFILE64_SOURCE]) +KPSE_LARGEFILE([LUA52_DEFINES], [_LARGEFILE64_SOURCE]) +KPSE_LARGEFILE([LUAJIT_DEFINES], [_LARGEFILE64_SOURCE]) LIBS=$kpse_save_LIBS if test "x$kpse_cv_have_win32" = xno; then AC_SEARCH_LIBS([gethostbyname], [nsl]) diff --git a/source/texk/web2c/doc/Makefile.in b/source/texk/web2c/doc/Makefile.in index b9dc2c05b4..5ee392343d 100644 --- a/source/texk/web2c/doc/Makefile.in +++ b/source/texk/web2c/doc/Makefile.in @@ -103,6 +103,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ + $(top_srcdir)/../../m4/kpse-largefile.m4 \ $(top_srcdir)/../../m4/kpse-lex.m4 \ $(top_srcdir)/../../m4/kpse-lib-version.m4 \ $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ diff --git a/source/texk/web2c/euptexdir/ChangeLog b/source/texk/web2c/euptexdir/ChangeLog index 136715e33b..5d39c9205c 100644 --- a/source/texk/web2c/euptexdir/ChangeLog +++ b/source/texk/web2c/euptexdir/ChangeLog @@ -1,3 +1,7 @@ +2024-05-01 TANAKA Takuji + + * pdfutils.ch: Revert some patches. + 2024-04-27 TANAKA Takuji * eptex.ech, pdfutils.ch, euptex.defines: diff --git a/source/texk/web2c/euptexdir/pdfutils.ch b/source/texk/web2c/euptexdir/pdfutils.ch index 1f39749cd8..f62a48be12 100644 --- a/source/texk/web2c/euptexdir/pdfutils.ch +++ b/source/texk/web2c/euptexdir/pdfutils.ch @@ -1882,6 +1882,21 @@ if_in_csname_code: b := is_in_csname; if_font_char_code:begin scan_font_ident; n:=cur_val; @z +@x +procedure print_kanji(@!s:KANJI_code); {prints a single character} +@y +procedure print_kanji(@!s:KANJI_code); {prints a single character} +@z + +@x +else begin + s:=toBUFF(s mod max_cjk_val); +@y +else begin + if isprint_utf8 then s:=UCStoUTF8(toUCS(s mod max_cjk_val)) + else s:=toBUFF(s mod max_cjk_val); +@z + @x @* \[54] System-dependent changes. @y diff --git a/source/texk/web2c/help.h b/source/texk/web2c/help.h index 37f64b4e24..00737bb898 100644 --- a/source/texk/web2c/help.h +++ b/source/texk/web2c/help.h @@ -350,6 +350,9 @@ const_string OVP2OVFHELP[] = { " Default OVFFILE is basename of OVPFILE extended with `.ovf'.", " Default OFMFILE is basename of OVFFILE extended with `.ofm'.", "", +#ifdef OMFONTS + "-omit-ofm do not output OFMFILE", +#endif "-help display this help and exit", "-verbose display progress reports", "-version output version information and exit", diff --git a/source/texk/web2c/lib/Makefile.in b/source/texk/web2c/lib/Makefile.in index 435bdd73a8..254949ce6c 100644 --- a/source/texk/web2c/lib/Makefile.in +++ b/source/texk/web2c/lib/Makefile.in @@ -105,6 +105,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ + $(top_srcdir)/../../m4/kpse-largefile.m4 \ $(top_srcdir)/../../m4/kpse-lex.m4 \ $(top_srcdir)/../../m4/kpse-lib-version.m4 \ $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ diff --git a/source/texk/web2c/man/Makefile.in b/source/texk/web2c/man/Makefile.in index 7bfb6cfa2f..f3b3263703 100644 --- a/source/texk/web2c/man/Makefile.in +++ b/source/texk/web2c/man/Makefile.in @@ -128,6 +128,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ + $(top_srcdir)/../../m4/kpse-largefile.m4 \ $(top_srcdir)/../../m4/kpse-lex.m4 \ $(top_srcdir)/../../m4/kpse-lib-version.m4 \ $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ diff --git a/source/texk/web2c/omegafonts/ChangeLog b/source/texk/web2c/omegafonts/ChangeLog index d7df7a08bf..7ee9ac9b7d 100644 --- a/source/texk/web2c/omegafonts/ChangeLog +++ b/source/texk/web2c/omegafonts/ChangeLog @@ -1,3 +1,16 @@ +2024-04-29 TANAKA Takuji + + * omfonts.{c,h}, out_ofm.c: + Add new option '-omit-ofm' for 'omfonts -ovp2ovf' + * parse_ofm.c, char_routines.c: + Extend maximum character code from 0x10FFFF to 0xFFFFFF + to support new encoding of upTeX for combining characters. + https://github.com/texjporg/tex-jp-build/issues/46 + * overbmp.test, tests/inbmp.opl, tests/over{bmp,ucs}.{opl,ovp}, + tests/adbjpn.opl, Makefile.am: Update tests. + + * omfonts.c: Version 2.2. + 2023-09-03 TANAKA Takuji * {check,repeat,selectfont}.test: Update tests for Windows. diff --git a/source/texk/web2c/omegafonts/Makefile.am b/source/texk/web2c/omegafonts/Makefile.am index b7bcd38784..f52580aa46 100644 --- a/source/texk/web2c/omegafonts/Makefile.am +++ b/source/texk/web2c/omegafonts/Makefile.am @@ -153,8 +153,9 @@ DISTCLEANFILES += tests/Cherokee.tfm tests/OCherokee.ofm \ tests/OCherokee.opl tests/OCherokee.ovf \ tests/xCherokee.* tests/xOCherokee.* ## overbmp.test -EXTRA_DIST += tests/inbmp.opl tests/overbmp.opl tests/overbmp.ovp -DISTCLEANFILES += tests/xinbmp* tests/xoverbmp* +EXTRA_DIST += tests/inbmp.opl tests/overbmp.opl tests/overbmp.ovp \ + tests/overucs.opl tests/overucs.ovp adbjpn.opl +DISTCLEANFILES += tests/xinbmp* tests/xoverbmp* tests/xoverucs* tests/xadbjpn* ## realnum.test EXTRA_DIST += tests/realnum.opl tests/realnum.out DISTCLEANFILES += tests/realnum.* diff --git a/source/texk/web2c/omegafonts/Makefile.in b/source/texk/web2c/omegafonts/Makefile.in index 6a0c335586..a63ee7d60b 100644 --- a/source/texk/web2c/omegafonts/Makefile.in +++ b/source/texk/web2c/omegafonts/Makefile.in @@ -751,10 +751,11 @@ DISTCLEANFILES = pl-parser.output bad*.* tests/charwdr.* \ tests/xofont* tests/Cherokee.tfm tests/OCherokee.ofm \ tests/OCherokee.opl tests/OCherokee.ovf tests/xCherokee.* \ tests/xOCherokee.* tests/xinbmp* tests/xoverbmp* \ - tests/realnum.* tests/xrepeated.* tests/sample*.ofm \ - tests/sample*.ovf tests/sample1-h.opl tests/xsample*.out \ - tests/shortend.* tests/specialhex.ofm tests/specialhex.opl \ - tests/specialhex.ovf tests/xspecialhex.* tests/*yarabic* + tests/xoverucs* tests/xadbjpn* tests/realnum.* \ + tests/xrepeated.* tests/sample*.ofm tests/sample*.ovf \ + tests/sample1-h.opl tests/xsample*.out tests/shortend.* \ + tests/specialhex.ofm tests/specialhex.opl tests/specialhex.ovf \ + tests/xspecialhex.* tests/*yarabic* linked_programs = ofm2opl opl2ofm ovf2ovp ovp2ovf bin_links = \ omfonts$(EXEEXT):ofm2opl \ @@ -781,6 +782,7 @@ EXTRA_DIST = $(OMFONTS_tests) tests/badofm.ofm tests/badopl.opl \ tests/ofontv5.opl tests/ofontv5.ovp tests/ofontv6.opl \ tests/ofontv6.ovp tests/Cherokee.pl tests/OCherokee.ovp \ tests/inbmp.opl tests/overbmp.opl tests/overbmp.ovp \ + tests/overucs.opl tests/overucs.ovp adbjpn.opl \ tests/realnum.opl tests/realnum.out tests/repeat.opl \ tests/repeated.opl tests/sample.out tests/sample.ovp \ tests/sample0-h.opl tests/shorten.opl tests/specialhex.ovp \ diff --git a/source/texk/web2c/omegafonts/char_routines.c b/source/texk/web2c/omegafonts/char_routines.c index bc366f88a4..61f2fbe421 100644 --- a/source/texk/web2c/omegafonts/char_routines.c +++ b/source/texk/web2c/omegafonts/char_routines.c @@ -986,9 +986,9 @@ compute_ofm_character_info(void) break; } case OFM_LEVEL0: { - if (ec>0x10ffff) + if (ec>0xffffff) fatal_error_1( - "Char (%x) too big for OFM level-0 (max 10ffff); use level-1", + "Char (%x) too big for OFM level-0 (max ffffff); use level-2", ec); break; } diff --git a/source/texk/web2c/omegafonts/omfonts.c b/source/texk/web2c/omegafonts/omfonts.c index 7e8d4d2fa3..9bd87d27b5 100644 --- a/source/texk/web2c/omegafonts/omfonts.c +++ b/source/texk/web2c/omegafonts/omfonts.c @@ -54,6 +54,7 @@ int verbose_option; int char_format = CHAR_CODE_NUM; int num_format = NUM_CODE_HEX; int text_format = TEXT_CODE_MIXED; +int omit_ofm = 0; int program; @@ -91,11 +92,11 @@ static const_string names_program[PROG_NUM] = static const_string *names_help[PROG_NUM] = { OFM2OPLHELP, OPL2OFMHELP, OVF2OVPHELP, OVP2OVFHELP, OMFONTSHELP }; static const_string names_msg[PROG_NUM] = { - "This is ofm2opl, Version 2.1", - "This is opl2ofm, Version 2.1", - "This is ovf2ovp, Version 2.1", - "This is ovp2ovf, Version 2.1", - "This is omfonts, Version 2.1" + "This is ofm2opl, Version 2.2", + "This is opl2ofm, Version 2.2", + "This is ovf2ovp, Version 2.2", + "This is ovp2ovf, Version 2.2", + "This is omfonts, Version 2.2" }; int no_files=0; @@ -109,6 +110,7 @@ static struct option long_options[] = { {"num-format", 1, 0, 0}, {"charcode-format", 1, 0, 0}, {"text-format", 1, 0, 0}, + {"omit-ofm", 0, 0, 0}, {"ofm2opl", 0, 0, 0}, {"opl2ofm", 0, 0, 0}, {"ovf2ovp", 0, 0, 0}, @@ -163,6 +165,8 @@ main (int argc, string *argv) } else if (!strcmp(long_options[option_index ].name, "ovp2ovf")) { if (program == PROG_OMFONTS) program = PROG_OVP2OVF; else usage (names_program[program]); + } else if (!strcmp(long_options[option_index ].name, "omit-ofm")) { + omit_ofm = 1; } else if (!strcmp(long_options[option_index ].name, "char-format")) { if (!strcmp(optarg, "ascii")) char_format = CHAR_CODE_ASCII; else if (!strcmp(optarg, "num")) char_format = CHAR_CODE_NUM; @@ -313,12 +317,12 @@ main (int argc, string *argv) case PROG_OVP2OVF: { file_ovp = kpse_open_file(name_ovp, kpse_ovp_format); rewritebin(file_ovf, name_ovf); - rewritebin(file_ofm, name_ofm); + if (!omit_ofm) rewritebin(file_ofm, name_ofm); init_tables(); yyin = file_ovp; (void)yyparse(); output_ofm_file(); - (void)fclose(file_ofm); + if (!omit_ofm) (void)fclose(file_ofm); output_ovf_file(); (void)fclose(file_ovf); if (num_errors > 0) exit(1); diff --git a/source/texk/web2c/omegafonts/omfonts.h b/source/texk/web2c/omegafonts/omfonts.h index 6486c15c0c..a22b95982d 100644 --- a/source/texk/web2c/omegafonts/omfonts.h +++ b/source/texk/web2c/omegafonts/omfonts.h @@ -35,6 +35,7 @@ extern int verbose_option; extern int char_format; extern int num_format; extern int text_format; +extern int omit_ofm; extern unsigned length_ofm; extern unsigned length_ovf; diff --git a/source/texk/web2c/omegafonts/out_ofm.c b/source/texk/web2c/omegafonts/out_ofm.c index 0f8f515cd9..bd7fbee2f5 100644 --- a/source/texk/web2c/omegafonts/out_ofm.c +++ b/source/texk/web2c/omegafonts/out_ofm.c @@ -42,6 +42,7 @@ void output_ofm_file(void) { check_and_correct(); + if (omit_ofm) return; compute_ofm_extra_stuff(); compute_ofm_character_info(); compute_ofm_subsizes(); diff --git a/source/texk/web2c/omegafonts/overbmp.test b/source/texk/web2c/omegafonts/overbmp.test index 809e000be2..97fef55b62 100755 --- a/source/texk/web2c/omegafonts/overbmp.test +++ b/source/texk/web2c/omegafonts/overbmp.test @@ -58,4 +58,28 @@ $_omfonts -ovf2ovp $tests/xoverbmp1 xoverbmp1 $tests/xoverbmp2 || rc=15 diff $tests/xoverbmp1.ovp $tests/xoverbmp2.ovp || rc=16 + +# +# JVF with characters of code points over UCS-range in upTeX encoding +# +$_omfonts -ovp2ovf $srcdir/$tests/overucs.ovp $tests/xoverucs || rc=21 + +$_omfonts -ovp2ovf -omit-ofm $srcdir/$tests/overucs.ovp $tests/xoverucs1 || rc=22 + +cmp $tests/xoverucs.ovf $tests/xoverucs1.ovf || rc=23 + +$_omfonts -ofm2opl xoverucs $tests/xoverucs || rc=24 + +diff $srcdir/$tests/overucs.opl $tests/xoverucs.opl || rc=25 + +$_omfonts -ovf2ovp $tests/xoverucs xoverucs $tests/xoverucs.ovp || rc=26 + +diff $srcdir/$tests/overucs.ovp $tests/xoverucs.ovp || rc=27 + +$_omfonts -opl2ofm $srcdir/$tests/adbjpn $tests/xadbjpn || rc=28 + +$_omfonts -ofm2opl xadbjpn $tests/xadbjpn || rc=29 + +diff $srcdir/$tests/adbjpn.opl $tests/xadbjpn.opl || rc=30 + exit $rc diff --git a/source/texk/web2c/omegafonts/tests/adbjpn.opl b/source/texk/web2c/omegafonts/tests/adbjpn.opl new file mode 100644 index 0000000000..a395342628 --- /dev/null +++ b/source/texk/web2c/omegafonts/tests/adbjpn.opl @@ -0,0 +1,22 @@ +(OFMLEVEL H 0) +(FONTDIR TL) +(FAMILY UNSPECIFIED) +(FACE F MRR) +(CODINGSCHEME UNSPECIFIED) +(DESIGNSIZE R 10.0) +(COMMENT DESIGNSIZE IS IN POINTS) +(COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) +(CHECKSUM H 293701E9) +(SEVENBITSAFEFLAG FALSE) +(CHARACTER H 2079 + (CHARWD R 1.0) + ) +(CHARACTER H 3408 + (CHARWD R 1.0) + ) +(CHARACTER H 37CA + (CHARWD R 1.0) + ) +(CHARACTER H 3F51 + (CHARWD R 1.0) + ) diff --git a/source/texk/web2c/omegafonts/tests/inbmp.opl b/source/texk/web2c/omegafonts/tests/inbmp.opl index 7f23d0b829..a51e02055a 100644 --- a/source/texk/web2c/omegafonts/tests/inbmp.opl +++ b/source/texk/web2c/omegafonts/tests/inbmp.opl @@ -8,9 +8,21 @@ (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) (CHECKSUM H AA6297E0) (SEVENBITSAFEFLAG FALSE) +(CHARACTER H 304B + (CHARWD R 1.0) + ) (CHARACTER H 4E00 (CHARWD R 1.0) ) (CHARACTER H 53F1 (CHARWD R 1.0) ) +(CHARACTER H 9038 + (CHARWD R 1.0) + ) +(CHARACTER H FA25 + (CHARWD R 1.0) + ) +(CHARACTER H FA6C + (CHARWD R 1.0) + ) diff --git a/source/texk/web2c/omegafonts/tests/overbmp.opl b/source/texk/web2c/omegafonts/tests/overbmp.opl index c80f889b8b..19eaf62f0e 100644 --- a/source/texk/web2c/omegafonts/tests/overbmp.opl +++ b/source/texk/web2c/omegafonts/tests/overbmp.opl @@ -20,3 +20,9 @@ (CHARACTER H 20BB7 (CHARWD R 1.0) ) +(CHARACTER H 242EE + (CHARWD R 1.0) + ) +(CHARACTER H 2F9DE + (CHARWD R 1.0) + ) diff --git a/source/texk/web2c/omegafonts/tests/overbmp.ovp b/source/texk/web2c/omegafonts/tests/overbmp.ovp index 9110397b8d..fa92efb437 100644 --- a/source/texk/web2c/omegafonts/tests/overbmp.ovp +++ b/source/texk/web2c/omegafonts/tests/overbmp.ovp @@ -47,3 +47,17 @@ (SETCHAR H 53F1) ) ) +(CHARACTER H 242EE + (CHARWD R 1.0) + (MAP + (SELECTFONT D 1) + (SETCHAR H 242EE) + ) + ) +(CHARACTER H 2F9DE + (CHARWD R 1.0) + (MAP + (SELECTFONT D 1) + (SETCHAR H 2F9DE) + ) + ) diff --git a/source/texk/web2c/omegafonts/tests/overucs.opl b/source/texk/web2c/omegafonts/tests/overucs.opl new file mode 100644 index 0000000000..0a012d5ac3 --- /dev/null +++ b/source/texk/web2c/omegafonts/tests/overucs.opl @@ -0,0 +1,46 @@ +(OFMLEVEL H 1) +(FONTDIR TL) +(FAMILY UNSPECIFIED) +(FACE F MRR) +(CODINGSCHEME UNSPECIFIED) +(DESIGNSIZE R 10.0) +(COMMENT DESIGNSIZE IS IN POINTS) +(COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) +(CHECKSUM H DD8C3992) +(SEVENBITSAFEFLAG FALSE) +(CHARACTER H 304B + (CHARWD R 1.0) + ) +(CHARACTER H 30EF + (CHARWD R 1.0) + ) +(CHARACTER H 9038 + (CHARWD R 1.0) + ) +(CHARACTER H 242EE + (CHARWD R 1.0) + ) +(CHARACTER H 2230EF + (CHARWD R 1.0) + ) +(CHARACTER H 24304B + (CHARWD R 1.0) + ) +(CHARACTER H 408ED4 + (CHARWD R 1.0) + ) +(CHARACTER H 409038 + (CHARWD R 1.0) + ) +(CHARACTER H 4242EE + (CHARWD R 1.0) + ) +(CHARACTER H 8242EE + (CHARWD R 1.0) + ) +(CHARACTER H 849038 + (CHARWD R 1.0) + ) +(CHARACTER H 8642EE + (CHARWD R 1.0) + ) diff --git a/source/texk/web2c/omegafonts/tests/overucs.ovp b/source/texk/web2c/omegafonts/tests/overucs.ovp new file mode 100644 index 0000000000..68c610347c --- /dev/null +++ b/source/texk/web2c/omegafonts/tests/overucs.ovp @@ -0,0 +1,111 @@ +(VTITLE JVF with characters of code points over UCS-range in upTeX encoding) +(OFMLEVEL H 1) +(FONTDIR TL) +(FAMILY UNSPECIFIED) +(FACE F MRR) +(CODINGSCHEME UNSPECIFIED) +(DESIGNSIZE R 10.0) +(COMMENT DESIGNSIZE IS IN POINTS) +(COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) +(CHECKSUM H DD8C3992) +(SEVENBITSAFEFLAG FALSE) +(MAPFONT D 0 + (FONTNAME xinbmp) + (FONTCHECKSUM H AA6297E0) + (FONTAT R 1.0) + (FONTDSIZE R 10.0) + ) +(MAPFONT D 1 + (FONTNAME xoverbmp) + (FONTCHECKSUM H DD8C3992) + (FONTAT R 1.0) + (FONTDSIZE R 10.0) + ) +(MAPFONT D 2 + (FONTNAME xadbjpn) + (FONTCHECKSUM H DD8C3992) + (FONTAT R 1.0) + (FONTDSIZE R 10.0) + ) +(CHARACTER H 304B + (CHARWD R 1.0) + (MAP + (SETCHAR H 304B) + ) + ) +(CHARACTER H 30EF + (CHARWD R 1.0) + (MAP + (SELECTFONT D 1) + (SETCHAR H 30EF) + ) + ) +(CHARACTER H 9038 + (CHARWD R 1.0) + (MAP + (SETCHAR H 9038) + ) + ) +(CHARACTER H 242EE + (CHARWD R 1.0) + (MAP + (SELECTFONT D 1) + (SETCHAR H 242EE) + ) + ) +(CHARACTER H 2230EF + (CHARWD R 1.0) + (MAP + (SELECTFONT D 2) + (SETCHAR H 2079) + ) + ) +(CHARACTER H 24304B + (CHARWD R 1.0) + (MAP + (SELECTFONT D 2) + (SETCHAR H 3F51) + ) + ) +(CHARACTER H 408ED4 + (CHARWD R 1.0) + (MAP + (SELECTFONT D 1) + (SETCHAR H 2F9DE) + ) + ) +(CHARACTER H 409038 + (CHARWD R 1.0) + (MAP + (SELECTFONT D 0) + (SETCHAR H FA25) + ) + ) +(CHARACTER H 4242EE + (CHARWD R 1.0) + (MAP + (SELECTFONT D 0) + (SETCHAR H FA6C) + ) + ) +(CHARACTER H 8242EE + (CHARWD R 1.0) + (MAP + (SELECTFONT D 2) + (SETCHAR H 37CA) + ) + ) +(CHARACTER H 849038 + (CHARWD R 1.0) + (MAP + (SELECTFONT D 2) + (SETCHAR H 3408) + ) + ) +(CHARACTER H 8642EE + (CHARWD R 1.0) + (MAP + (SELECTFONT D 2) + (SETCHAR H 37C9) + ) + ) diff --git a/source/texk/web2c/otps/Makefile.in b/source/texk/web2c/otps/Makefile.in index 9d146d1145..281a16c938 100644 --- a/source/texk/web2c/otps/Makefile.in +++ b/source/texk/web2c/otps/Makefile.in @@ -108,6 +108,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ + $(top_srcdir)/../../m4/kpse-largefile.m4 \ $(top_srcdir)/../../m4/kpse-lex.m4 \ $(top_srcdir)/../../m4/kpse-lib-version.m4 \ $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ diff --git a/source/texk/web2c/otps/win32/Makefile.in b/source/texk/web2c/otps/win32/Makefile.in index d99449f2f9..5357dbf56d 100644 --- a/source/texk/web2c/otps/win32/Makefile.in +++ b/source/texk/web2c/otps/win32/Makefile.in @@ -105,6 +105,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ + $(top_srcdir)/../../m4/kpse-largefile.m4 \ $(top_srcdir)/../../m4/kpse-lex.m4 \ $(top_srcdir)/../../m4/kpse-lib-version.m4 \ $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ diff --git a/source/texk/web2c/uptexdir/ChangeLog b/source/texk/web2c/uptexdir/ChangeLog index 5ca5f7b8b7..90b3bd0297 100644 --- a/source/texk/web2c/uptexdir/ChangeLog +++ b/source/texk/web2c/uptexdir/ChangeLog @@ -1,3 +1,7 @@ +2024-05-01 TANAKA Takuji + + * uptex-m.ch: Revert some patches. + 2024-04-27 TANAKA Takuji * uptex-m.ch, kanji.{c,h}, updvitype.ch, uptex.defines: diff --git a/source/texk/web2c/uptexdir/uptex-m.ch b/source/texk/web2c/uptexdir/uptex-m.ch index 8c0f662087..f4b7c7272d 100644 --- a/source/texk/web2c/uptexdir/uptex-m.ch +++ b/source/texk/web2c/uptexdir/uptex-m.ch @@ -48,7 +48,7 @@ % (2022-07-23) TTK upTeX u1.29 % (2022-12-09) HK Hironori Kitagawa fixed a bug in \char, \kchar. % (2023-09-16) TTK upTeX u1.30 -% (2024-04-27) TTK upTeX u1.35 +% (2024-05-01) TTK upTeX u1.35 @x \def\pTeX{p\kern-.15em\TeX} @@ -580,13 +580,6 @@ if cat=other_kchar then k:=k-multilenbuffchar(cur_chr)+1; {now |k| points to fir else cur_tok:=(cur_cmd*max_char_val)+cur_chr @z -@x -@!j:0..buf_size; {index into |buffer|} -@y -@!j:0..buf_size; {index into |buffer|} -@!v,@!nn,@!jj: integer; -@z - @x if check_kanji(info(p)) then {|wchar_token|} begin buffer[j]:=Hi(info(p)); buffer2[j]:=1; incr(j); buffer2[j]:=1; @@ -595,31 +588,11 @@ if cat=other_kchar then k:=k-multilenbuffchar(cur_chr)+1; {now |k| points to fir buffer[j]:=Lo(info(p)); incr(j); p:=link(p); @y if check_kanji(info(p)) then {|wchar_token|} - begin - if (isinternalUPTEX) then begin - t:=ktokentochr(info(p)); - t:=toUCS(t); - nn:=UVSgetcodepointlength(t); - jj:=1; - while jj0) then begin - v:=UCStoUTF8(v); - if BYTE1(v)<>0 then begin buffer[j]:=BYTE1(v); buffer2[j]:=1; incr(j); end; - if BYTE2(v)<>0 then begin buffer[j]:=BYTE2(v); buffer2[j]:=1; incr(j); end; - if BYTE3(v)<>0 then begin buffer[j]:=BYTE3(v); buffer2[j]:=1; incr(j); end; - buffer[j]:=BYTE4(v); buffer2[j]:=1; incr(j); - end; - incr(jj); - end - end - else begin - t:=toBUFF(info(p) mod max_cjk_val); - if BYTE1(t)<>0 then begin buffer[j]:=BYTE1(t); buffer2[j]:=1; incr(j); end; - if BYTE2(t)<>0 then begin buffer[j]:=BYTE2(t); buffer2[j]:=1; incr(j); end; - if BYTE3(t)<>0 then begin buffer[j]:=BYTE3(t); buffer2[j]:=1; incr(j); end; - buffer[j]:=BYTE4(t); buffer2[j]:=1; incr(j); - end; + begin t:=toBUFF(info(p) mod max_cjk_val); + if BYTE1(t)<>0 then begin buffer[j]:=BYTE1(t); buffer2[j]:=1; incr(j); end; + if BYTE2(t)<>0 then begin buffer[j]:=BYTE2(t); buffer2[j]:=1; incr(j); end; + if BYTE3(t)<>0 then begin buffer[j]:=BYTE3(t); buffer2[j]:=1; incr(j); end; + buffer[j]:=BYTE4(t); buffer2[j]:=1; incr(j); p:=link(p); end else @@ -1343,9 +1316,8 @@ begin if is_char_node(link(p)) then ins_kp:=false; goto again_2 end - end end; - begin if not disp_called then + if not disp_called then begin prev_node:=tail; tail_append(get_node(small_node_size)); type(tail):=disp_node; disp_dimen(tail):=0; disp_called:=true end; diff --git a/source/texk/web2c/web2c/c-auto.in b/source/texk/web2c/web2c/c-auto.in index b27f89314c..0752de7154 100644 --- a/source/texk/web2c/web2c/c-auto.in +++ b/source/texk/web2c/web2c/c-auto.in @@ -44,6 +44,9 @@ /* Define to 1 if you have the 'memcpy' function. */ #undef HAVE_MEMCPY +/* Define to 1 if you have the header file. */ +#undef HAVE_MINIX_CONFIG_H + /* Define to 1 if you have the 'mkstemp' function. */ #undef HAVE_MKSTEMP @@ -109,6 +112,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -147,6 +153,98 @@ backward compatibility; new code need not use it. */ #undef STDC_HEADERS +/* Enable extensions on AIX, Interix, z/OS. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif +/* Enable general extensions on macOS. */ +#ifndef _DARWIN_C_SOURCE +# undef _DARWIN_C_SOURCE +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif +/* Enable X/Open compliant socket functions that do not require linking + with -lxnet on HP-UX 11.11. */ +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# undef _HPUX_ALT_XOPEN_SOCKET_API +#endif +/* Identify the host operating system as Minix. + This macro does not affect the system headers' behavior. + A future release of Autoconf may stop defining this macro. */ +#ifndef _MINIX +# undef _MINIX +#endif +/* Enable general extensions on NetBSD. + Enable NetBSD compatibility extensions on Minix. */ +#ifndef _NETBSD_SOURCE +# undef _NETBSD_SOURCE +#endif +/* Enable OpenBSD compatibility extensions on NetBSD. + Oddly enough, this does nothing on OpenBSD. */ +#ifndef _OPENBSD_SOURCE +# undef _OPENBSD_SOURCE +#endif +/* Define to 1 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_SOURCE +# undef _POSIX_SOURCE +#endif +/* Define to 2 if needed for POSIX-compatible behavior. */ +#ifndef _POSIX_1_SOURCE +# undef _POSIX_1_SOURCE +#endif +/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# undef __STDC_WANT_IEC_60559_BFP_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# undef __STDC_WANT_IEC_60559_DFP_EXT__ +#endif +/* Enable extensions specified by C23 Annex F. */ +#ifndef __STDC_WANT_IEC_60559_EXT__ +# undef __STDC_WANT_IEC_60559_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ +#endif +/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# undef __STDC_WANT_IEC_60559_TYPES_EXT__ +#endif +/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ +#ifndef __STDC_WANT_LIB_EXT2__ +# undef __STDC_WANT_LIB_EXT2__ +#endif +/* Enable extensions specified by ISO/IEC 24747:2009. */ +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# undef __STDC_WANT_MATH_SPEC_FUNCS__ +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif +/* Enable X/Open extensions. Define to 500 only if necessary + to make mbstate_t available. */ +#ifndef _XOPEN_SOURCE +# undef _XOPEN_SOURCE +#endif + + /* Version number of package */ #undef VERSION diff --git a/source/texk/web2c/web2c/configure b/source/texk/web2c/web2c/configure index 4e9e7fc119..0d160e7165 100755 --- a/source/texk/web2c/web2c/configure +++ b/source/texk/web2c/web2c/configure @@ -1610,6 +1610,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -1658,41 +1693,6 @@ fi } # ac_fn_c_try_link -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -printf %s "checking for $2... " >&6; } -if eval test \${$3+y} -then : - printf %s "(cached) " >&6 -else case e in #( - e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO" -then : - eval "$3=yes" -else case e in #( - e) eval "$3=no" ;; -esac -fi -rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; -esac -fi -eval ac_res=\$$3 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -printf "%s\n" "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_c_check_header_compile - # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly @@ -2608,6 +2608,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2933,7 +2934,6 @@ main (int argc, char **argv) } " -as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" @@ -2942,6 +2942,8 @@ as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="config.guess config.sub ltmain.sh ar-lib compile missing install-sh" @@ -4894,6 +4896,183 @@ fi +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + # Check whether --enable-compiler-warnings was given. if test ${enable_compiler_warnings+y} then : @@ -8753,35 +8932,6 @@ func_munge_path_list () esac } -ac_header= ac_cache= -for ac_item in $ac_header_c_list -do - if test $ac_cache; then - ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" - if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then - printf "%s\n" "#define $ac_item 1" >> confdefs.h - fi - ac_header= ac_cache= - elif test $ac_header; then - ac_cache=$ac_item - else - ac_header=$ac_item - fi -done - - - - - - - - -if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes -then : - -printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h - -fi ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes @@ -8876,6 +9026,8 @@ esac echo 'tldbg:KPSE_COMMON called (pkg=web2c convert, amopt=)' >&5 echo 'tldbg:KPSE_BASIC called (pkg=web2c convert, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -9002,6 +9154,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -9026,6 +9180,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -9059,6 +9218,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -9116,6 +9277,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=web2c convert, amopt=)' >&5 + # am_prog_ar must be called before lt_init. if test -n "$ac_tool_prefix"; then diff --git a/source/texk/web2c/window/Makefile.in b/source/texk/web2c/window/Makefile.in index 688ef00865..f8fcee2c5c 100644 --- a/source/texk/web2c/window/Makefile.in +++ b/source/texk/web2c/window/Makefile.in @@ -105,6 +105,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/web2c-disable.m4 \ $(top_srcdir)/../../m4/kpse-harfbuzz-flags.m4 \ $(top_srcdir)/../../m4/kpse-icu-flags.m4 \ $(top_srcdir)/../../m4/kpse-kpathsea-flags.m4 \ + $(top_srcdir)/../../m4/kpse-largefile.m4 \ $(top_srcdir)/../../m4/kpse-lex.m4 \ $(top_srcdir)/../../m4/kpse-lib-version.m4 \ $(top_srcdir)/../../m4/kpse-libpng-flags.m4 \ diff --git a/source/utils/configure b/source/utils/configure index aa3a824aa8..1e5c677c56 100755 --- a/source/utils/configure +++ b/source/utils/configure @@ -609,6 +609,38 @@ PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' ac_unique_file="../build-aux/missing" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_STDIO_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#endif +#ifdef HAVE_STRING_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_header_c_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -1854,6 +1886,41 @@ fi } # ac_fn_c_try_compile +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +printf %s "checking for $2... " >&6; } +if eval test \${$3+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + eval "$3=yes" +else case e in #( + e) eval "$3=no" ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +eval ac_res=\$$3 + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +printf "%s\n" "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. @@ -2196,6 +2263,7 @@ printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? @@ -2521,6 +2589,16 @@ main (int argc, char **argv) } " +as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" +as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" +as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" +as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" +as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" +as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" +as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" +as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" +as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" +as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" # Auxiliary files required by this configure script. ac_aux_files="missing install-sh compile config.guess config.sub" @@ -3870,9 +3948,187 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +ac_header= ac_cache= +for ac_item in $ac_header_c_list +do + if test $ac_cache; then + ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" + if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then + printf "%s\n" "#define $ac_item 1" >> confdefs.h + fi + ac_header= ac_cache= + elif test $ac_header; then + ac_cache=$ac_item + else + ac_header=$ac_item + fi +done + + + + + +if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes +then : + +printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h + +fi + + + + + + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if test ${ac_cv_safe_to_define___extensions__+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_safe_to_define___extensions__=yes +else case e in #( + e) ac_cv_safe_to_define___extensions__=no ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } + + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 +printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } +if test ${ac_cv_should_define__xopen_source+y} +then : + printf %s "(cached) " >&6 +else case e in #( + e) ac_cv_should_define__xopen_source=no + if test $ac_cv_header_wchar_h = yes +then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + +else case e in #( + e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #define _XOPEN_SOURCE 500 + #include + mbstate_t x; +int +main (void) +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO" +then : + ac_cv_should_define__xopen_source=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; +esac +fi +rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext +fi ;; +esac +fi +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 +printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } + + printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h + + printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h + + printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h + + printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h + + if test $ac_cv_header_minix_config_h = yes +then : + MINIX=yes + printf "%s\n" "#define _MINIX 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h + + printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h + +else case e in #( + e) MINIX= ;; +esac +fi + if test $ac_cv_safe_to_define___extensions__ = yes +then : + printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h + +fi + if test $ac_cv_should_define__xopen_source = yes +then : + printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h + +fi + + + + +echo 'tldbg:KPSE_SETUP called (toplevel=../)' >&5 # Check whether --enable-all-pkgs was given. if test ${enable_all_pkgs+y} then : @@ -3983,6 +4239,24 @@ fi + +# We must enable system extensions before any compiler call to avoid +# (valid) autoconf warnings. Because different configure.ac's use +# different kpse setup routines, we call the ac_use_system_extensions +# macro both here and in kpse_basic (in kpse-common.m4). +# +# Fortunately, Autoconf defines the system_extensions macro to only have +# any effect once (with ac_defun_once), so it's harmless to call it +# multiple time. +# +# LuaTeX requires system extensions for socket support. Also, since +# SyncTeX, some libraries, and others unconditionally #define +# GNU_SOURCE, it seems more consistent to always use it. +# + + +# this macro, kpse_check_win32, is the first compiler call for +# configure.ac files that use this function (kpse setup). { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5 printf %s "checking for native WIN32 or MINGW32... " >&6; } if test ${kpse_cv_have_win32+y} @@ -4035,6 +4309,8 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5 printf "%s\n" "$kpse_cv_have_win32" >&6; } +# end call to kpse_check_win32. + case $with_x:$kpse_cv_have_win32 in #( yes:no | no:*) : : ;; #( @@ -6507,6 +6783,9 @@ fi +# end of kpse_setup macro. +echo 'tldbg:KPSE_SETUP done (toplevel=../)' >&5 + am__api_version='1.16' @@ -7084,6 +7363,8 @@ esac echo 'tldbg:KPSE_BASIC called (pkg=utils, amopt=)' >&5 +# +# am_init_automake if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -7340,6 +7621,8 @@ END fi +# am_maintainer_mode + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. @@ -7364,6 +7647,11 @@ fi MAINT=$MAINTAINER_MODE_TRUE + +# See comments in kpse-setup.m4 about system extensions. + + +# Check whether prototypes work. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5 printf %s "checking whether the compiler accepts prototypes... " >&6; } if test ${kb_cv_c_prototypes+y} @@ -7397,6 +7685,8 @@ printf "%s\n" "$kb_cv_c_prototypes" >&6; } if test "x$kb_cv_c_prototypes" = xno; then as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5 fi + +# kpse_compiler_warnings options. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5 printf %s "checking what warning flags to pass to the C compiler... " >&6; } if test ${kpse_cv_warning_cflags+y} @@ -7454,6 +7744,9 @@ WARNING_CFLAGS=$kpse_cv_warning_cflags +# end of kpse_basic macro. +echo 'tldbg:KPSE_BASIC done (pkg=utils, amopt=)' >&5 +