- Timestamp:
- Nov 3, 2024 2:33:14 AM (6 months ago)
- Location:
- trunk/src/sed
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sed/Makefile.kmk
r3062 r3646 5 5 6 6 # 7 # Copyright (c) 2006-20 10knut st. osmundsen <[email protected]>7 # Copyright (c) 2006-2024 knut st. osmundsen <[email protected]> 8 8 # 9 9 # This file is part of kBuild. … … 35 35 kmk_sed_DEPS = \ 36 36 $(kmk_sed_0_OUTDIR)/config.h \ 37 $(kmk_sed_0_OUTDIR)/regex.h 37 $(kmk_sed_0_OUTDIR)/version.h \ 38 $(kmk_sed_0_OUTDIR)/stdckdint.h 39 kmk_sed_DEPS.win = \ 40 $(kmk_sed_0_OUTDIR)/alloca.h \ 41 $(kmk_sed_0_OUTDIR)/getopt.h \ 42 $(kmk_sed_0_OUTDIR)/unistd.h \ 43 $(kmk_sed_0_OUTDIR)/langinfo.h \ 44 $(kmk_sed_0_OUTDIR)/sys/random.h 38 45 kmk_sed_CLEAN = $(kmk_sed_DEPS) 39 46 kmk_sed_CFLAGS.solaris = -std=gnu99 … … 41 48 $(kmk_sed_0_OUTDIR) \ 42 49 . \ 43 lib \ 44 intl 45 kmk_sed_DEFS = \ 46 HAVE_CONFIG_H 47 ifdef KBUILD_SOLARIS_10 48 kmk_sed_CFLAGS += -std=gnu99 49 endif 50 lib 50 51 kmk_sed_SOURCES = \ 51 52 sed/sed.c \ 52 lib/regex.c \53 sed/debug.c \ 53 54 sed/compile.c \ 54 55 sed/execute.c \ 56 sed/mbcs.c \ 55 57 sed/regexp.c \ 56 sed/fmt.c \ 57 sed/mbcs.c \ 58 lib/getopt1.c \ 59 lib/getopt.c \ 60 lib/utils.c 61 kmk_sed_SOURCES.darwin = \ 62 lib/strverscmp.c \ 63 lib/obstack.c \ 64 lib/getline.c 65 kmk_sed_SOURCES.dragonfly = \ 66 lib/strverscmp.c \ 67 lib/obstack.c \ 68 lib/getline.c 69 kmk_sed_SOURCES.freebsd = \ 70 lib/strverscmp.c \ 71 lib/obstack.c \ 72 lib/getline.c 73 kmk_sed_SOURCES.haiku = \ 74 lib/strverscmp.c \ 75 lib/obstack.c 76 kmk_sed_SOURCES.netbsd = \ 77 lib/strverscmp.c \ 78 lib/obstack.c \ 79 lib/getline.c 80 kmk_sed_SOURCES.openbsd = \ 81 lib/strverscmp.c \ 82 lib/obstack.c \ 83 lib/getline.c 84 kmk_sed_SOURCES.solaris = \ 85 lib/strverscmp.c \ 86 lib/obstack.c \ 87 lib/getline.c 58 sed/utils.c 59 88 60 kmk_sed_SOURCES.win = \ 89 lib/strverscmp.c \90 lib/obstack.c \91 lib/mkstemp.c \92 lib/getline.c \93 61 ../lib/startuphacks-win.c 94 62 63 kmk_sed_LIBS = $(kmk_libsed_1_TARGET) 95 64 kmk_sed_LIBS.win = $(LIB_KUTIL) # for stdout optimizations. 65 kmk_sed_BLDDIRS = \ 66 $(kmk_sed_0_OUTDIR)/sys/ 67 68 LIBRARIES += kmk_libsed 69 kmk_libsed_TEMPLATE = LIB 70 kmk_libsed_CFLAGS.solaris = -std=gnu99 71 kmk_libsed_DEFS = HAVE_CONFIG_H 72 kmk_libsed_INCS = \ 73 $(kmk_sed_0_OUTDIR) \ 74 . \ 75 lib 76 kmk_libsed_DEPS = $(kmk_sed_DEPS) 77 kmk_libsed_DEPS.win = $(kmk_sed_DEPS.win) 78 kmk_libsed_SOURCES = \ 79 lib/basename-lgpl.c \ 80 lib/binary-io.c \ 81 lib/c-ctype.c \ 82 lib/c-strcasecmp.c \ 83 lib/c-strncasecmp.c \ 84 lib/close-stream.c \ 85 lib/closeout.c \ 86 lib/dirname-lgpl.c \ 87 lib/progname.c \ 88 lib/getprogname.c \ 89 lib/obstack.c \ 90 lib/localcharset.c \ 91 lib/localeinfo.c \ 92 lib/xalloc-die.c \ 93 lib/xmalloc.c \ 94 lib/version-etc-fsf.c \ 95 lib/version-etc.c \ 96 lib/strverscmp.c \ 97 lib/dfa.c \ 98 lib/regex.c \ 99 lib/fwriting.c \ 100 lib/mkostemp.c \ 101 lib/getdelim.c \ 102 lib/reallocarray.c \ 103 lib/exitfail.c \ 104 lib/malloc/dynarray_resize.c \ 105 lib/tempname.c \ 106 lib/error.c \ 107 \ 108 ../kmk/getopt.c \ 109 ../kmk/getopt1.c 110 111 kmk_libsed_SOURCES.win = \ 112 lib/memrchr.c \ 113 lib/getrandom.c \ 114 lib/mkdir.c \ 115 lib/stripslash.c 96 116 97 117 include $(FILE_KBUILD_SUB_FOOTER) … … 100 120 # Use checked in config.h instead of running ./configure for it. 101 121 # 102 kmk_sed_config .h.$(KBUILD_TARGET) := $(kmk_sed_DEFPATH)/config.h.$(KBUILD_TARGET)122 kmk_sed_config-$(KBUILD_TARGET).h := $(kmk_sed_DEFPATH)/config-$(KBUILD_TARGET).h 103 123 104 $(kmk_sed_0_OUTDIR)/config.h: $(kmk_sed_config .h.$(KBUILD_TARGET)) | $(call DIRDEP,$(kmk_sed_0_OUTDIR))124 $(kmk_sed_0_OUTDIR)/config.h: $(kmk_sed_config-$(KBUILD_TARGET).h) | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 105 125 $(CP) -f $^ $@ 126 127 $(kmk_sed_0_OUTDIR)/version.h: | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 128 $(APPEND) -tn "$@" \ 129 '#define Version "4.9"' 130 131 $(kmk_sed_0_OUTDIR)/stdckdint.h: $(kmk_sed_DEFPATH)/lib/stdckdint.in.h | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 132 $(CP) -f $^ $@ 133 106 134 107 135 # 108 136 # Use the regex lib shipped with sed and not anything installed on the system. 109 137 # 110 $(kmk_sed_0_OUTDIR)/regex.h: $(kmk_sed_DEFPATH)/lib/regex_.h | $(call DIRDEP,$(kmk_sed_0_OUTDIR))111 $(CP) -f $^ $@138 #$(kmk_sed_0_OUTDIR)/regex.h: $(kmk_sed_DEFPATH)/lib/regex_.h | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 139 # $(CP) -f $^ $@ 112 140 141 142 $(kmk_sed_0_OUTDIR)/alloca.h: | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 143 $(APPEND) -tn "$@" \ 144 "#ifdef _MSC_VER" \ 145 "# include <malloc.h>" \ 146 "#else" \ 147 "# include <stdlib.h>" \ 148 "#endif" 149 150 $(kmk_sed_0_OUTDIR)/langinfo.h: | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 151 $(APPEND) -tn "$@" \ 152 "" 153 154 $(kmk_sed_0_OUTDIR)/stdbool.h: | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 155 $(APPEND) -tn "$@" \ 156 "#ifndef _STDBOOL_H" \ 157 "#define _STDBOOL_H" \ 158 "typedef unsigned char _Bool;" \ 159 "#define bool _Bool" \ 160 "#define false (0)" \ 161 "#define true (1)" \ 162 "#endif" 163 164 165 $(kmk_sed_0_OUTDIR)/unistd.h: | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 166 $(APPEND) -tn "$@" \ 167 "#ifndef _UNISTD_H" \ 168 "#define _UNISTD_H" \ 169 "#ifdef _MSC_VER" \ 170 "# include <io.h>" \ 171 "#endif" \ 172 "#endif" 173 174 175 $(kmk_sed_0_OUTDIR)/getopt.h: $(PATH_ROOT)/src/kmk/getopt.h | $(call DIRDEP,$(kmk_sed_0_OUTDIR)) 176 $(CP) -f "$^" "$@" 177 178 $(kmk_sed_0_OUTDIR)/sys/random.h: $(kmk_sed_DEFPATH)/lib/sys_random.in.h | $(call DIRDEP,$(kmk_sed_0_OUTDIR)/sys/) 179 $(RM) -f "$@" 180 $(SED) \ 181 -e "s/@GUARD_PREFIX@/GNULIB_/g" \ 182 -e "s/@PRAGMA_SYSTEM_HEADER@//g" \ 183 -e "s/@PRAGMA_COLUMNS@//g" \ 184 -e "s/# *@INCLUDE_NEXT@.*//g" \ 185 \ 186 -e "s/@HAVE_SYS_RANDOM_H@/0/g" \ 187 -e "s/@GNULIB_GETRANDOM@/1/g" \ 188 -e "s/@REPLACE_GETRANDOM@/0/g" \ 189 -e "s/@HAVE_GETRANDOM@/0/g" \ 190 -e 's/.*The definitions of _GL_FUNCDECL_RPL.*/$(HASH)include "c++defs.h"/' \ 191 -e 's/.*The definitions of _GL_ARG_NONNULL.*/$(HASH)include "arg-nonnull.h"/' \ 192 -e 's/.*The definitions of _GL_WARN_ON_USE.*/$(HASH)include "warn-on-use.h"/' \ 193 \ 194 --output "$@" "$<" 195 -
trunk/src/sed/config-win.h
r3645 r3646 1 /* config.h. win Maintaind by hand. */1 /* config.h. Generated from config_h.in by configure. */ 2 2 /* config_h.in. Generated from configure.ac by autoheader. */ 3 3 4 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 5 systems. This function is required for `alloca.c' support on those systems. 6 */ 7 /* #undef CRAY_STACKSEG_END */ 8 9 /* Define to 1 if using `alloca.c'. */ 4 /* Define if building universal (internal helper macro) */ 5 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 6 7 /* Define to the number of bits in type 'ptrdiff_t'. */ 8 /* #undef BITSIZEOF_PTRDIFF_T */ 9 10 /* Define to the number of bits in type 'sig_atomic_t'. */ 11 /* #undef BITSIZEOF_SIG_ATOMIC_T */ 12 13 /* Define to the number of bits in type 'size_t'. */ 14 /* #undef BITSIZEOF_SIZE_T */ 15 16 /* Define to the number of bits in type 'wchar_t'. */ 17 /* #undef BITSIZEOF_WCHAR_T */ 18 19 /* Define to the number of bits in type 'wint_t'. */ 20 /* #undef BITSIZEOF_WINT_T */ 21 22 /* Define to 1 if using 'alloca.c'. */ 10 23 /* #undef C_ALLOCA */ 24 25 /* the name of the file descriptor member of DIR */ 26 /* #undef DIR_FD_MEMBER_NAME */ 27 28 #ifdef DIR_FD_MEMBER_NAME 29 # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME) 30 #else 31 # define DIR_TO_FD(Dir_p) -1 32 #endif 33 34 35 /* Define to 1 if // is a file system root distinct from /. */ 36 #define DOUBLE_SLASH_IS_DISTINCT_ROOT 1 11 37 12 38 /* Define to 1 if translation of program messages to the user's native … … 14 40 /* #undef ENABLE_NLS */ 15 41 16 /* Define to 1 if you have `alloca', as a function or macro. */ 42 /* Define this to 1 if F_DUPFD behavior does not match POSIX */ 43 #define FCNTL_DUPFD_BUGGY 1 44 45 /* Define to nothing if C supports flexible array members, and to 1 if it does 46 not. That way, with a declaration like 'struct s { int n; short 47 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99 48 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 49 the size in bytes of such a struct containing an N-element array. */ 50 #define FLEXIBLE_ARRAY_MEMBER /* 51 52 /* Define to 1 if fopen() fails to recognize a trailing slash. */ 53 #define FOPEN_TRAILING_SLASH_BUG 1 54 55 /* Define to 1 if the system's ftello function has the Solaris bug. */ 56 /* #undef FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE */ 57 58 /* Define to 1 if the system's ftello function has the macOS bug. */ 59 /* #undef FTELLO_BROKEN_AFTER_UNGETC */ 60 61 /* Define to 1 if fflush is known to work on stdin as per POSIX.1-2008, 0 if 62 fflush is known to not work, -1 if unknown. */ 63 #define FUNC_FFLUSH_STDIN 0 64 65 /* Define to 1 if mkdir mistakenly creates a directory given with a trailing 66 dot component. */ 67 /* #undef FUNC_MKDIR_DOT_BUG */ 68 69 /* Define to 1 if nl_langinfo (YESEXPR) returns a non-empty string. */ 70 /*#undef FUNC_NL_LANGINFO_YESEXPR_WORKS*/ 71 72 /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 73 and handles a trailing slash correctly. */ 74 /* #undef FUNC_REALPATH_NEARLY_WORKS */ 75 76 /* Define to 1 if realpath() can malloc memory, always gives an absolute path, 77 and handles leading slashes and a trailing slash correctly. */ 78 /*#undef FUNC_REALPATH_WORKS 1*/ 79 80 /* Define to 1 if ungetc is broken when used on arbitrary bytes. */ 81 /* #undef FUNC_UNGETC_BROKEN */ 82 83 /* Define this to 'void' or 'struct timezone' to match the system's 84 declaration of the second argument to gettimeofday. */ 85 #define GETTIMEOFDAY_TIMEZONE void 86 87 /* Define to 1 if getxattr works with XATTR_NAME_POSIX_ACL_ACCESS and 88 XATTR_NAME_POSIX_ACL_DEFAULT. */ 89 /*#undef GETXATTR_WITH_POSIX_ACLS 1 */ 90 91 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 92 whether the gnulib module canonicalize-lgpl shall be considered present. */ 93 #define GNULIB_CANONICALIZE_LGPL 1 94 95 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 96 whether the gnulib module close-stream shall be considered present. */ 97 #define GNULIB_CLOSE_STREAM 1 98 99 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 100 whether the gnulib module fflush shall be considered present. */ 101 #define GNULIB_FFLUSH IN_SED_GNULIB_TESTS 102 103 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 104 whether the gnulib module fopen-gnu shall be considered present. */ 105 #define GNULIB_FOPEN_GNU IN_SED_GNULIB_TESTS 106 107 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 108 whether the gnulib module fscanf shall be considered present. */ 109 #define GNULIB_FSCANF 1 110 111 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 112 whether the gnulib module isblank shall be considered present. */ 113 #define GNULIB_ISBLANK IN_SED_GNULIB_TESTS 114 115 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 116 whether the gnulib module lock shall be considered present. */ 117 #define GNULIB_LOCK 1 118 119 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 120 whether the gnulib module mkostemp shall be considered present. */ 121 #define GNULIB_MKOSTEMP 1 122 123 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 124 whether the gnulib module msvc-nothrow shall be considered present. */ 125 #define GNULIB_MSVC_NOTHROW 1 126 127 /* Define to 1 to disable use of VLAs */ 128 #define GNULIB_NO_VLA 1 129 130 /* enable some gnulib portability checks */ 131 /* #undef GNULIB_PORTCHECK */ 132 133 /* Define to 1 if printf and friends should be labeled with attribute 134 "__gnu_printf__" instead of "__printf__" */ 135 /* #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU */ 136 137 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 138 whether the gnulib module reallocarray shall be considered present. */ 139 #define GNULIB_REALLOCARRAY 1 140 141 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 142 whether the gnulib module scanf shall be considered present. */ 143 #define GNULIB_SCANF 1 144 145 /* Define to 1 if you want the FILE stream functions getc, putc, etc. to use 146 unlocked I/O if available, throughout the package. Unlocked I/O can improve 147 performance, sometimes dramatically. But unlocked I/O is safe only in 148 single-threaded programs, as well as in multithreaded programs for which 149 you can guarantee that every FILE stream, including stdin, stdout, stderr, 150 is used only in a single thread. */ 151 #define GNULIB_STDIO_SINGLE_THREAD 1 152 153 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 154 whether the gnulib module strerror shall be considered present. */ 155 #define GNULIB_STRERROR 1 156 157 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 158 whether the gnulib module strerror_r-posix shall be considered present. */ 159 #define GNULIB_STRERROR_R_POSIX IN_SED_GNULIB_TESTS 160 161 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 162 whether the gnulib module tempname shall be considered present. */ 163 #define GNULIB_TEMPNAME 1 164 165 /* Define to 1 when the gnulib module accept should be tested. */ 166 #define GNULIB_TEST_ACCEPT 1 167 168 /* Define to 1 when the gnulib module bind should be tested. */ 169 #define GNULIB_TEST_BIND 1 170 171 /* Define to 1 when the gnulib module btowc should be tested. */ 172 #define GNULIB_TEST_BTOWC 1 173 174 /* Define to 1 when the gnulib module calloc-gnu should be tested. */ 175 #define GNULIB_TEST_CALLOC_GNU 1 176 177 /* Define to 1 when the gnulib module calloc-posix should be tested. */ 178 #define GNULIB_TEST_CALLOC_POSIX 1 179 180 /* Define to 1 when the gnulib module canonicalize_file_name should be tested. 181 */ 182 #define GNULIB_TEST_CANONICALIZE_FILE_NAME 1 183 184 /* Define to 1 when the gnulib module chdir should be tested. */ 185 #define GNULIB_TEST_CHDIR 1 186 187 /* Define to 1 when the gnulib module cloexec should be tested. */ 188 #define GNULIB_TEST_CLOEXEC 1 189 190 /* Define to 1 when the gnulib module close should be tested. */ 191 #define GNULIB_TEST_CLOSE 1 192 193 /* Define to 1 when the gnulib module closedir should be tested. */ 194 #define GNULIB_TEST_CLOSEDIR 1 195 196 /* Define to 1 when the gnulib module connect should be tested. */ 197 #define GNULIB_TEST_CONNECT 1 198 199 /* Define to 1 when the gnulib module dirfd should be tested. */ 200 #define GNULIB_TEST_DIRFD 1 201 202 /* Define to 1 when the gnulib module dup2 should be tested. */ 203 #define GNULIB_TEST_DUP2 1 204 205 /* Define to 1 when the gnulib module environ should be tested. */ 206 #define GNULIB_TEST_ENVIRON 1 207 208 /* Define to 1 when the gnulib module explicit_bzero should be tested. */ 209 #define GNULIB_TEST_EXPLICIT_BZERO 1 210 211 /* Define to 1 when the gnulib module fcntl should be tested. */ 212 #define GNULIB_TEST_FCNTL 1 213 214 /* Define to 1 when the gnulib module fdopen should be tested. */ 215 #define GNULIB_TEST_FDOPEN 1 216 217 /* Define to 1 when the gnulib module fflush should be tested. */ 218 #define GNULIB_TEST_FFLUSH 1 219 220 /* Define to 1 when the gnulib module fgetc should be tested. */ 221 #define GNULIB_TEST_FGETC 1 222 223 /* Define to 1 when the gnulib module fgets should be tested. */ 224 #define GNULIB_TEST_FGETS 1 225 226 /* Define to 1 when the gnulib module fopen should be tested. */ 227 #define GNULIB_TEST_FOPEN 1 228 229 /* Define to 1 when the gnulib module fopen-gnu should be tested. */ 230 #define GNULIB_TEST_FOPEN_GNU 1 231 232 /* Define to 1 when the gnulib module fprintf should be tested. */ 233 #define GNULIB_TEST_FPRINTF 1 234 235 /* Define to 1 when the gnulib module fpurge should be tested. */ 236 #define GNULIB_TEST_FPURGE 1 237 238 /* Define to 1 when the gnulib module fputc should be tested. */ 239 #define GNULIB_TEST_FPUTC 1 240 241 /* Define to 1 when the gnulib module fputs should be tested. */ 242 #define GNULIB_TEST_FPUTS 1 243 244 /* Define to 1 when the gnulib module fread should be tested. */ 245 #define GNULIB_TEST_FREAD 1 246 247 /* Define to 1 when the gnulib module free-posix should be tested. */ 248 #define GNULIB_TEST_FREE_POSIX 1 249 250 /* Define to 1 when the gnulib module fscanf should be tested. */ 251 #define GNULIB_TEST_FSCANF 1 252 253 /* Define to 1 when the gnulib module fseek should be tested. */ 254 #define GNULIB_TEST_FSEEK 1 255 256 /* Define to 1 when the gnulib module fseeko should be tested. */ 257 #define GNULIB_TEST_FSEEKO 1 258 259 /* Define to 1 when the gnulib module fstat should be tested. */ 260 #define GNULIB_TEST_FSTAT 1 261 262 /* Define to 1 when the gnulib module ftell should be tested. */ 263 #define GNULIB_TEST_FTELL 1 264 265 /* Define to 1 when the gnulib module ftello should be tested. */ 266 #define GNULIB_TEST_FTELLO 1 267 268 /* Define to 1 when the gnulib module ftruncate should be tested. */ 269 #define GNULIB_TEST_FTRUNCATE 1 270 271 /* Define to 1 when the gnulib module fwrite should be tested. */ 272 #define GNULIB_TEST_FWRITE 1 273 274 /* Define to 1 when the gnulib module getc should be tested. */ 275 #define GNULIB_TEST_GETC 1 276 277 /* Define to 1 when the gnulib module getchar should be tested. */ 278 #define GNULIB_TEST_GETCHAR 1 279 280 /* Define to 1 when the gnulib module getcwd should be tested. */ 281 #define GNULIB_TEST_GETCWD 1 282 283 /* Define to 1 when the gnulib module getdelim should be tested. */ 284 #define GNULIB_TEST_GETDELIM 1 285 286 /* Define to 1 when the gnulib module getdtablesize should be tested. */ 287 #define GNULIB_TEST_GETDTABLESIZE 1 288 289 /* Define to 1 when the gnulib module getpagesize should be tested. */ 290 #define GNULIB_TEST_GETPAGESIZE 1 291 292 /* Define to 1 when the gnulib module getrandom should be tested. */ 293 #define GNULIB_TEST_GETRANDOM 1 294 295 /* Define to 1 when the gnulib module gettimeofday should be tested. */ 296 #define GNULIB_TEST_GETTIMEOFDAY 1 297 298 /* Define to 1 when the gnulib module ioctl should be tested. */ 299 #define GNULIB_TEST_IOCTL 1 300 301 /* Define to 1 when the gnulib module link should be tested. */ 302 #define GNULIB_TEST_LINK 1 303 304 /* Define to 1 when the gnulib module listen should be tested. */ 305 #define GNULIB_TEST_LISTEN 1 306 307 /* Define to 1 when the gnulib module localeconv should be tested. */ 308 #define GNULIB_TEST_LOCALECONV 1 309 310 /* Define to 1 when the gnulib module localename should be tested. */ 311 #define GNULIB_TEST_LOCALENAME 1 312 313 /* Define to 1 when the gnulib module lseek should be tested. */ 314 #define GNULIB_TEST_LSEEK 1 315 316 /* Define to 1 when the gnulib module lstat should be tested. */ 317 #define GNULIB_TEST_LSTAT 1 318 319 /* Define to 1 when the gnulib module malloc-gnu should be tested. */ 320 #define GNULIB_TEST_MALLOC_GNU 1 321 322 /* Define to 1 when the gnulib module malloc-posix should be tested. */ 323 #define GNULIB_TEST_MALLOC_POSIX 1 324 325 /* Define to 1 when the gnulib module mbrlen should be tested. */ 326 #define GNULIB_TEST_MBRLEN 1 327 328 /* Define to 1 when the gnulib module mbrtowc should be tested. */ 329 #define GNULIB_TEST_MBRTOWC 1 330 331 /* Define to 1 when the gnulib module mbsinit should be tested. */ 332 #define GNULIB_TEST_MBSINIT 1 333 334 /* Define to 1 when the gnulib module mbtowc should be tested. */ 335 #define GNULIB_TEST_MBTOWC 1 336 337 /* Define to 1 when the gnulib module memchr should be tested. */ 338 #define GNULIB_TEST_MEMCHR 1 339 340 /* Define to 1 when the gnulib module mempcpy should be tested. */ 341 #define GNULIB_TEST_MEMPCPY 1 342 343 /* Define to 1 when the gnulib module memrchr should be tested. */ 344 #define GNULIB_TEST_MEMRCHR 1 345 346 /* Define to 1 when the gnulib module mkdir should be tested. */ 347 #define GNULIB_TEST_MKDIR 1 348 349 /* Define to 1 when the gnulib module mkostemp should be tested. */ 350 #define GNULIB_TEST_MKOSTEMP 1 351 352 /* Define to 1 when the gnulib module nanosleep should be tested. */ 353 #define GNULIB_TEST_NANOSLEEP 1 354 355 /* Define to 1 when the gnulib module nl_langinfo should be tested. */ 356 #define GNULIB_TEST_NL_LANGINFO 1 357 358 /* Define to 1 when the gnulib module open should be tested. */ 359 #define GNULIB_TEST_OPEN 1 360 361 /* Define to 1 when the gnulib module opendir should be tested. */ 362 #define GNULIB_TEST_OPENDIR 1 363 364 /* Define to 1 when the gnulib module perror should be tested. */ 365 #define GNULIB_TEST_PERROR 1 366 367 /* Define to 1 when the gnulib module pipe should be tested. */ 368 #define GNULIB_TEST_PIPE 1 369 370 /* Define to 1 when the gnulib module printf should be tested. */ 371 #define GNULIB_TEST_PRINTF 1 372 373 /* Define to 1 when the gnulib module pselect should be tested. */ 374 #define GNULIB_TEST_PSELECT 1 375 376 /* Define to 1 when the gnulib module pthread_sigmask should be tested. */ 377 #define GNULIB_TEST_PTHREAD_SIGMASK 1 378 379 /* Define to 1 when the gnulib module pthread-thread should be tested. */ 380 #define GNULIB_TEST_PTHREAD_THREAD 1 381 382 /* Define to 1 when the gnulib module putc should be tested. */ 383 #define GNULIB_TEST_PUTC 1 384 385 /* Define to 1 when the gnulib module putchar should be tested. */ 386 #define GNULIB_TEST_PUTCHAR 1 387 388 /* Define to 1 when the gnulib module putenv should be tested. */ 389 #define GNULIB_TEST_PUTENV 1 390 391 /* Define to 1 when the gnulib module puts should be tested. */ 392 #define GNULIB_TEST_PUTS 1 393 394 /* Define to 1 when the gnulib module raise should be tested. */ 395 #define GNULIB_TEST_RAISE 1 396 397 /* Define to 1 when the gnulib module rawmemchr should be tested. */ 398 #define GNULIB_TEST_RAWMEMCHR 1 399 400 /* Define to 1 when the gnulib module readdir should be tested. */ 401 #define GNULIB_TEST_READDIR 1 402 403 /* Define to 1 when the gnulib module readlink should be tested. */ 404 #define GNULIB_TEST_READLINK 1 405 406 /* Define to 1 when the gnulib module reallocarray should be tested. */ 407 #define GNULIB_TEST_REALLOCARRAY 1 408 409 /* Define to 1 when the gnulib module realloc-gnu should be tested. */ 410 #define GNULIB_TEST_REALLOC_GNU 1 411 412 /* Define to 1 when the gnulib module realloc-posix should be tested. */ 413 #define GNULIB_TEST_REALLOC_POSIX 1 414 415 /* Define to 1 when the gnulib module realpath should be tested. */ 416 #define GNULIB_TEST_REALPATH 1 417 418 /* Define to 1 when the gnulib module rename should be tested. */ 419 #define GNULIB_TEST_RENAME 1 420 421 /* Define to 1 when the gnulib module rmdir should be tested. */ 422 #define GNULIB_TEST_RMDIR 1 423 424 /* Define to 1 when the gnulib module scanf should be tested. */ 425 #define GNULIB_TEST_SCANF 1 426 427 /* Define to 1 when the gnulib module select should be tested. */ 428 #define GNULIB_TEST_SELECT 1 429 430 /* Define to 1 when the gnulib module setenv should be tested. */ 431 #define GNULIB_TEST_SETENV 1 432 433 /* Define to 1 when the gnulib module setlocale should be tested. */ 434 #define GNULIB_TEST_SETLOCALE 1 435 436 /* Define to 1 when the gnulib module setlocale_null should be tested. */ 437 #define GNULIB_TEST_SETLOCALE_NULL 1 438 439 /* Define to 1 when the gnulib module setsockopt should be tested. */ 440 #define GNULIB_TEST_SETSOCKOPT 1 441 442 /* Define to 1 when the gnulib module sigprocmask should be tested. */ 443 #define GNULIB_TEST_SIGPROCMASK 1 444 445 /* Define to 1 when the gnulib module sleep should be tested. */ 446 #define GNULIB_TEST_SLEEP 1 447 448 /* Define to 1 when the gnulib module socket should be tested. */ 449 #define GNULIB_TEST_SOCKET 1 450 451 /* Define to 1 when the gnulib module stat should be tested. */ 452 #define GNULIB_TEST_STAT 1 453 454 /* Define to 1 when the gnulib module strdup should be tested. */ 455 #define GNULIB_TEST_STRDUP 1 456 457 /* Define to 1 when the gnulib module strerror should be tested. */ 458 #define GNULIB_TEST_STRERROR 1 459 460 /* Define to 1 when the gnulib module strerror_r should be tested. */ 461 #define GNULIB_TEST_STRERROR_R 1 462 463 /* Define to 1 when the gnulib module strverscmp should be tested. */ 464 #define GNULIB_TEST_STRVERSCMP 1 465 466 /* Define to 1 when the gnulib module symlink should be tested. */ 467 #define GNULIB_TEST_SYMLINK 1 468 469 /* Define to 1 when the gnulib module unsetenv should be tested. */ 470 #define GNULIB_TEST_UNSETENV 1 471 472 /* Define to 1 when the gnulib module vfprintf should be tested. */ 473 #define GNULIB_TEST_VFPRINTF 1 474 475 /* Define to 1 when the gnulib module vprintf should be tested. */ 476 #define GNULIB_TEST_VPRINTF 1 477 478 /* Define to 1 when the gnulib module wcrtomb should be tested. */ 479 #define GNULIB_TEST_WCRTOMB 1 480 481 /* Define to 1 when the gnulib module wctob should be tested. */ 482 #define GNULIB_TEST_WCTOB 1 483 484 /* Define to 1 when the gnulib module wctomb should be tested. */ 485 #define GNULIB_TEST_WCTOMB 1 486 487 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 488 whether the gnulib module xalloc shall be considered present. */ 489 #define GNULIB_XALLOC 1 490 491 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 492 whether the gnulib module xalloc-die shall be considered present. */ 493 #define GNULIB_XALLOC_DIE 1 494 495 /* Define to 1 if you have the `aclsort' function. */ 496 /* #undef HAVE_ACLSORT */ 497 498 /* Define to 1 if you have the <aclv.h> header file. */ 499 /* #undef HAVE_ACLV_H */ 500 501 /* Define to 1 if you have the `aclx_get' function. */ 502 /* #undef HAVE_ACLX_GET */ 503 504 /* Define to 1 if you have the `acl_copy_ext_native' function. */ 505 /* #undef HAVE_ACL_COPY_EXT_NATIVE */ 506 507 /* Define to 1 if you have the `acl_create_entry_np' function. */ 508 /* #undef HAVE_ACL_CREATE_ENTRY_NP */ 509 510 /* Define to 1 if you have the `acl_delete_def_file' function. */ 511 /* #undef HAVE_ACL_DELETE_DEF_FILE */ 512 513 /* Define to 1 if you have the `acl_delete_fd_np' function. */ 514 /* #undef HAVE_ACL_DELETE_FD_NP */ 515 516 /* Define to 1 if you have the `acl_delete_file_np' function. */ 517 /* #undef HAVE_ACL_DELETE_FILE_NP */ 518 519 /* Define to 1 if you have the `acl_entries' function. */ 520 /* #undef HAVE_ACL_ENTRIES */ 521 522 /* Define to 1 if you have the `acl_extended_file' function. */ 523 /* #undef HAVE_ACL_EXTENDED_FILE */ 524 525 /* Define to 1 if the constant ACL_FIRST_ENTRY exists. */ 526 /* #undef HAVE_ACL_FIRST_ENTRY */ 527 528 /* Define to 1 if you have the `acl_free' function. */ 529 /* #undef HAVE_ACL_FREE */ 530 531 /* Define to 1 if you have the `acl_free_text' function. */ 532 /* #undef HAVE_ACL_FREE_TEXT */ 533 534 /* Define to 1 if you have the `acl_from_mode' function. */ 535 /* #undef HAVE_ACL_FROM_MODE */ 536 537 /* Define to 1 if you have the `acl_from_text' function. */ 538 /* #undef HAVE_ACL_FROM_TEXT */ 539 540 /* Define to 1 if you have the `acl_get_fd' function. */ 541 /* #undef HAVE_ACL_GET_FD */ 542 543 /* Define to 1 if you have the `acl_get_file' function. */ 544 /* #undef HAVE_ACL_GET_FILE */ 545 546 /* Define to 1 if you have the <acl/libacl.h> header file. */ 547 /* #undef HAVE_ACL_LIBACL_H */ 548 549 /* Define to 1 if you have the `acl_set_fd' function. */ 550 /* #undef HAVE_ACL_SET_FD */ 551 552 /* Define to 1 if you have the `acl_set_file' function. */ 553 /* #undef HAVE_ACL_SET_FILE */ 554 555 /* Define to 1 if you have the `acl_to_short_text' function. */ 556 /* #undef HAVE_ACL_TO_SHORT_TEXT */ 557 558 /* Define to 1 if you have the `acl_trivial' function. */ 559 /* #undef HAVE_ACL_TRIVIAL */ 560 561 /* Define to 1 if the ACL type ACL_TYPE_EXTENDED exists. */ 562 /* #undef HAVE_ACL_TYPE_EXTENDED */ 563 564 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that 565 may be supplied by this distribution. */ 17 566 #define HAVE_ALLOCA 1 18 567 19 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 20 */ 568 /* Define to 1 if <alloca.h> works. */ 21 569 /*#define HAVE_ALLOCA_H 1*/ 22 570 23 /* Define to 1 if you have the <argz.h> header file. */ 24 /*#define HAVE_ARGZ_H 1*/ 25 26 /* Define to 1 if you have the `bcopy' function. */ 27 /*#define HAVE_BCOPY 1*/ 571 /* Define to 1 if you have the <arpa/inet.h> header file. */ 572 #define HAVE_ARPA_INET_H 1 573 574 /* Define to 1 if you have the <bcrypt.h> header file. */ 575 /* #undef HAVE_BCRYPT_H */ 576 577 /* Define to 1 if you have the <bp-sym.h> header file. */ 578 /* #undef HAVE_BP_SYM_H */ 28 579 29 580 /* Define to 1 if you have the `btowc' function. */ 30 /*#define HAVE_BTOWC 1 - bird don't drag in msvcp71.dll */ 31 32 /* Define to 1 if you have the `bzero' function. */ 33 /*#define HAVE_BZERO 1*/ 581 #define HAVE_BTOWC 1 582 583 /* Define to 1 if nanosleep mishandles large arguments. */ 584 #define HAVE_BUG_BIG_NANOSLEEP 1 585 586 /* Define to 1 if you have the `canonicalize_file_name' function. */ 587 /*#define HAVE_CANONICALIZE_FILE_NAME 1*/ 588 589 /* Define to 1 if you have the `catgets' function. */ 590 /*#define HAVE_CATGETS 1*/ 591 592 /* Define to 1 if you have the Mac OS X function 593 CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ 594 /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ 595 596 /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in 597 the CoreFoundation framework. */ 598 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ 599 600 /* Define to 1 if you have the `clock_getres' function. */ 601 /*#define HAVE_CLOCK_GETRES 1*/ 602 603 /* Define to 1 if you have the `clock_gettime' function. */ 604 /*#define HAVE_CLOCK_GETTIME 1*/ 605 606 /* Define to 1 if you have the `clock_settime' function. */ 607 /*#define HAVE_CLOCK_SETTIME 1*/ 608 609 /* Define to 1 if you have the `closedir' function. */ 610 #define HAVE_CLOSEDIR 1 611 612 /* Define to 1 if you have the <crtdefs.h> header file. */ 613 /* #undef HAVE_CRTDEFS_H */ 614 615 /* Define to 1 if the alignas and alignof keywords work. */ 616 /* #undef HAVE_C_ALIGNASOF */ 617 618 /* Define to 1 if bool, true and false work as per C2023. */ 619 /* #undef HAVE_C_BOOL */ 620 621 /* Define to 1 if the static_assert keyword works. */ 622 /* #undef HAVE_C_STATIC_ASSERT */ 623 624 /* Define to 1 if C supports variable-length arrays. */ 625 #define HAVE_C_VARARRAYS 1 34 626 35 627 /* Define if the GNU dcgettext() function is already present or preinstalled. … … 37 629 /* #undef HAVE_DCGETTEXT */ 38 630 39 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.631 /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. 40 632 */ 41 #define HAVE_DIRENT_H 1 /* unused */ 42 43 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ 44 /* #undef HAVE_DOPRNT */ 633 #define HAVE_DECL_ALARM 1 634 635 /* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if 636 you don't. */ 637 #define HAVE_DECL_CLEARERR_UNLOCKED 0 638 639 /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't. 640 */ 641 /*#define HAVE_DECL_DIRFD 1*/ 642 643 /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't. 644 */ 645 #define HAVE_DECL_ECVT 1 646 647 /* Define to 1 if you have the declaration of `execvpe', and to 0 if you 648 don't. */ 649 #define HAVE_DECL_EXECVPE 1 650 651 /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you 652 don't. */ 653 #define HAVE_DECL_FCLOSEALL 1 654 655 /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't. 656 */ 657 #define HAVE_DECL_FCVT 1 658 659 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you 660 don't. */ 661 #define HAVE_DECL_FEOF_UNLOCKED 0 662 663 /* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if 664 you don't. */ 665 #define HAVE_DECL_FERROR_UNLOCKED 0 666 667 /* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if 668 you don't. */ 669 #define HAVE_DECL_FFLUSH_UNLOCKED 0 670 671 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if 672 you don't. */ 673 #define HAVE_DECL_FGETS_UNLOCKED 0 674 675 /* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't. 676 */ 677 #define HAVE_DECL_FPURGE 0 678 679 /* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if 680 you don't. */ 681 #define HAVE_DECL_FPUTC_UNLOCKED 0 682 683 /* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if 684 you don't. */ 685 #define HAVE_DECL_FPUTS_UNLOCKED 0 686 687 /* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if 688 you don't. */ 689 #define HAVE_DECL_FREAD_UNLOCKED 0 690 691 /* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't. 692 */ 693 #define HAVE_DECL_FSEEKO 0 694 695 /* Define to 1 if you have the declaration of `ftello', and to 0 if you don't. 696 */ 697 #define HAVE_DECL_FTELLO 0 698 699 /* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if 700 you don't. */ 701 #define HAVE_DECL_FWRITE_UNLOCKED 0 702 703 /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't. 704 */ 705 #define HAVE_DECL_GCVT 1 706 707 /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if 708 you don't. */ 709 #define HAVE_DECL_GETCHAR_UNLOCKED 0 710 711 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you 712 don't. */ 713 #define HAVE_DECL_GETC_UNLOCKED 0 714 715 /* Define to 1 if you have the declaration of `getdelim', and to 0 if you 716 don't. */ 717 #define HAVE_DECL_GETDELIM 0 718 719 /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you 720 don't. */ 721 #define HAVE_DECL_GETDTABLESIZE 0 722 723 /* Define to 1 if you have the declaration of `inet_pton', and to 0 if you 724 don't. */ 725 #define HAVE_DECL_INET_PTON 1 726 727 /* Define to 1 if you have the declaration of `isblank', and to 0 if you 728 don't. */ 729 /* #undef HAVE_DECL_ISBLANK */ 730 731 /* Define to 1 if you have the declaration of `mbrlen', and to 0 if you don't. 732 */ 733 #define HAVE_DECL_MBRLEN 734 735 /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 736 don't. */ 737 #define HAVE_DECL_MBRTOWC 1 738 739 /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 740 don't. */ 741 #define HAVE_DECL_MBSINIT 1 742 743 /* Define to 1 if you have the declaration of `memrchr', and to 0 if you 744 don't. */ 745 #define HAVE_DECL_MEMRCHR 1 746 747 /* Define to 1 if you have the declaration of `program_invocation_name', and 748 to 0 if you don't. */ 749 #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 750 751 /* Define to 1 if you have the declaration of `program_invocation_short_name', 752 and to 0 if you don't. */ 753 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 754 755 /* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if 756 you don't. */ 757 #define HAVE_DECL_PUTCHAR_UNLOCKED 0 758 759 /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you 760 don't. */ 761 #define HAVE_DECL_PUTC_UNLOCKED 0 762 763 /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 764 */ 765 #define HAVE_DECL_SETENV 0 766 767 /* Define to 1 if you have the declaration of `sleep', and to 0 if you don't. 768 */ 769 #define HAVE_DECL_SLEEP 0 770 771 /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. 772 */ 773 #define HAVE_DECL_STRDUP 1 774 775 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 776 don't. */ 777 #define HAVE_DECL_STRERROR_R 0 778 779 /* Define to 1 if you have the declaration of `towlower', and to 0 if you 780 don't. */ 781 /* #undef HAVE_DECL_TOWLOWER */ 782 783 /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you 784 don't. */ 785 #define HAVE_DECL_UNSETENV 0 786 787 /* Define to 1 if you have the declaration of `wcrtomb', and to 0 if you 788 don't. */ 789 #define HAVE_DECL_WCRTOMB 790 791 /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 792 */ 793 #define HAVE_DECL_WCSDUP 1 794 795 /* Define to 1 if you have the declaration of `wctob', and to 0 if you don't. 796 */ 797 #define HAVE_DECL_WCTOB 1 798 799 /* Define to 1 if you have the declaration of `_fseeki64', and to 0 if you 800 don't. */ 801 #define HAVE_DECL__FSEEKI64 1 802 803 /* Define to 1 if you have the declaration of `_putenv', and to 0 if you 804 don't. */ 805 #define HAVE_DECL__PUTENV 1 806 807 /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 808 */ 809 #define HAVE_DECL___ARGV 1 810 811 /* Define to 1 if you have the declaration of `__fpending', and to 0 if you 812 don't. */ 813 #define HAVE_DECL___FPENDING 0 814 815 /* Define to 1 if you have the <dirent.h> header file. */ 816 #define HAVE_DIRENT_H 1 817 818 /* Define to 1 if you have the `dirfd' function. */ 819 /*#define HAVE_DIRFD 1*/ 820 821 /* Define to 1 if you have the `duplocale' function. */ 822 /*#define HAVE_DUPLOCALE 1*/ 823 824 /* Define if you have the declaration of environ. */ 825 #define HAVE_ENVIRON_DECL 1 45 826 46 827 /* Define to 1 if you have the <errno.h> header file. */ 47 828 #define HAVE_ERRNO_H 1 48 829 830 /* Define to 1 if you have the `explicit_bzero' function. */ 831 #define HAVE_EXPLICIT_BZERO 1 832 833 /* Define to 1 if you have the `explicit_memset' function. */ 834 /* #undef HAVE_EXPLICIT_MEMSET */ 835 836 /* Define to 1 if you have the `faccessat' function. */ 837 /*#define HAVE_FACCESSAT 1*/ 838 839 /* Define to 1 if you have the `facl' function. */ 840 /* #undef HAVE_FACL */ 841 842 /* Define if the locale_t type contains insufficient information, as on 843 OpenBSD. */ 844 /* #undef HAVE_FAKE_LOCALES */ 845 49 846 /* Define to 1 if you have the `fchmod' function. */ 50 847 /*#define HAVE_FCHMOD 1*/ … … 53 850 /*#define HAVE_FCHOWN 1*/ 54 851 55 /* Define to 1 if you have the `feof_unlocked' function. */ 56 /*#define HAVE_FEOF_UNLOCKED 1*/ 57 58 /* Define to 1 if you have the `fgets_unlocked' function. */ 59 /*#define HAVE_FGETS_UNLOCKED 1*/ 852 /* Define to 1 if you have the `fcntl' function. */ 853 #define HAVE_FCNTL 1 854 855 /* Define to 1 if you have the <features.h> header file. */ 856 /*#define HAVE_FEATURES_H 1*/ 857 858 /* Define to 1 if you have the `flockfile' function. */ 859 /* #undef HAVE_FLOCKFILE */ 860 861 /* Defined if "rt" can be used as a mode to fopen. */ 862 #define HAVE_FOPEN_RT 1 863 864 /* Define to 1 if you have the `fpurge' function. */ 865 /* #undef HAVE_FPURGE */ 866 867 /* Define to 1 if you have the `freelocale' function. */ 868 /*#define HAVE_FREELOCALE 1*/ 869 870 /* Define if the 'free' function is guaranteed to preserve errno. */ 871 /*#define HAVE_FREE_POSIX 1*/ 872 873 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 874 /*#define HAVE_FSEEKO 1*/ 875 876 /* Define to 1 if you have the `ftruncate' function. */ 877 /*#define HAVE_FTRUNCATE 1*/ 878 879 /* Define to 1 if you have the `funlockfile' function. */ 880 /* #undef HAVE_FUNLOCKFILE */ 881 882 /* Define to 1 if you have the `getacl' function. */ 883 /* #undef HAVE_GETACL */ 60 884 61 885 /* Define to 1 if you have the `getcwd' function. */ 62 886 #define HAVE_GETCWD 1 63 887 64 /* Define to 1 if you have the `getc_unlocked' function. */ 65 /*#define HAVE_GETC_UNLOCKED 1*/ 66 67 /* Define to 1 if you have the `getegid' function. */ 68 /*#define HAVE_GETEGID 1*/ 69 70 /* Define to 1 if you have the `geteuid' function. */ 71 /*#define HAVE_GETEUID 1*/ 72 73 /* Define to 1 if you have the `getgid' function. */ 74 /*#define HAVE_GETGID 1*/ 75 76 /* Define to 1 if you have the `getpagesize' function. */ 77 #define HAVE_GETPAGESIZE 1 /* unused */ 888 /* Define to 1 if you have the `getdelim' function. */ 889 /*#define HAVE_GETDELIM 1*/ 890 891 /* Define to 1 if you have the `getdtablesize' function. */ 892 /*#define HAVE_GETDTABLESIZE 1*/ 893 894 /* Define to 1 if you have the `getexecname' function. */ 895 /* #undef HAVE_GETEXECNAME */ 896 897 /* Define to 1 if you have the `getlocalename_l' function. */ 898 /* #undef HAVE_GETLOCALENAME_L */ 899 900 /* Define to 1 if you have the `getprogname' function. */ 901 /* #undef HAVE_GETPROGNAME */ 902 903 /* Define to 1 if you have the `getrandom' function. */ 904 /*#define HAVE_GETRANDOM 1*/ 78 905 79 906 /* Define if the GNU gettext() function is already present or preinstalled. */ 80 907 /* #undef HAVE_GETTEXT */ 81 908 82 /* Define to 1 if you have the `getuid' function. */ 83 #define HAVE_GETUID 1 /* unused (intl) */ 84 85 /* Define if you have the iconv() function. */ 86 #define HAVE_ICONV 1 /* unused (intl?) */ 909 /* Define to 1 if you have the `gettimeofday' function. */ 910 /*#define HAVE_GETTIMEOFDAY 1*/ 911 912 /* Define if the uselocale exists, may be safely called, and returns 913 sufficient information. */ 914 /*#define HAVE_GOOD_USELOCALE 1*/ 915 916 /* Define if you have the iconv() function and it works. */ 917 /* #undef HAVE_ICONV */ 918 919 /* Define to 1 if you have the `inet_pton' function. */ 920 /* #undef HAVE_INET_PTON */ 87 921 88 922 /* Define to 1 if you have the <inttypes.h> header file. */ 89 /*#define HAVE_INTTYPES_H 1*/ 90 91 /* Define to 1 if you have the <io.h> header file. */ 92 /* #undef HAVE_IO_H */ 923 #if _MSC_VER_ >= 1700 /* 2012 and later */ 924 # define HAVE_INTTYPES_H 1 925 #endif 926 927 /* Define to 1 if you have the `ioctl' function. */ 928 #define HAVE_IOCTL 1 929 930 /* Define to 1 if <sys/socket.h> defines AF_INET. */ 931 /*#define HAVE_IPV4 1*/ 932 933 /* Define to 1 if <sys/socket.h> defines AF_INET6. */ 934 /*#define HAVE_IPV6 1*/ 93 935 94 936 /* Define to 1 if you have the `isascii' function. */ 95 /*#define HAVE_ISASCII 1*/ /* don't think we've got this... */ 937 #define HAVE_ISASCII 1 96 938 97 939 /* Define to 1 if you have the `isatty' function. */ … … 99 941 100 942 /* Define to 1 if you have the `isblank' function. */ 101 /*#define HAVE_ISBLANK 1*/ /* don't think we've got this... */ 943 #if _MSC_VER_ >= 1700 /* 2012 and later */ 944 # define HAVE_ISBLANK 1 945 #endif 946 947 /* Define to 1 if you have the `iswcntrl' function. */ 948 #define HAVE_ISWCNTRL 1 949 950 /* Define to 1 if you have the `iswctype' function. */ 951 #define HAVE_ISWCTYPE 1 102 952 103 953 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ 104 954 /*#define HAVE_LANGINFO_CODESET 1*/ 105 955 956 /* Define to 1 if you have the <langinfo.h> header file. */ 957 /*#define HAVE_LANGINFO_H 1*/ 958 106 959 /* Define if your <locale.h> file defines LC_MESSAGES. */ 107 #define HAVE_LC_MESSAGES 1 /* ??? */ 108 109 /* Define to 1 if you have the `regex' library (-lregex). */ 110 /* #undef HAVE_LIBREGEX */ 960 /*#define HAVE_LC_MESSAGES 1*/ 961 962 /* Define to 1 if you have the <libintl.h> header file. */ 963 /* #undef HAVE_LIBINTL_H */ 964 965 /* Define to 1 if the bcrypt library is guaranteed to be present. */ 966 /* #undef HAVE_LIB_BCRYPT */ 111 967 112 968 /* Define to 1 if you have the <limits.h> header file. */ 113 969 #define HAVE_LIMITS_H 1 114 970 971 /* Define to 1 if you have the `link' function. */ 972 /*#define HAVE_LINK 1*/ 973 115 974 /* Define to 1 if you have the <locale.h> header file. */ 116 975 #define HAVE_LOCALE_H 1 117 976 118 /* Define to 1 if you support file names longer than 14 characters. */ 119 #define HAVE_LONG_FILE_NAMES 1 977 /* Define to 1 if the system has the type 'long long int'. */ 978 #define HAVE_LONG_LONG_INT 1 979 980 /* Define to 1 if you have the `lstat' function. */ 981 #define HAVE_LSTAT 1 120 982 121 983 /* Define to 1 if you have the <malloc.h> header file. */ 122 984 #define HAVE_MALLOC_H 1 123 985 124 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */ 125 /*#define HAVE_MBRTOWC 1 - bird don't drag in msvcp71.dll */ 986 /* Define if malloc, realloc, and calloc set errno on allocation failure. */ 987 /*#define HAVE_MALLOC_POSIX 1*/ 988 989 /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including 990 config.h and <sys/mman.h>. */ 991 /*#define HAVE_MAP_ANONYMOUS 1*/ 992 993 /* Define to 1 if you have the `mbrlen' function. */ 994 #define HAVE_MBRLEN 1 995 996 /* Define to 1 if you have the `mbrtowc' function. */ 997 #define HAVE_MBRTOWC 1 998 999 /* Define to 1 if you have the `mbsinit' function. */ 1000 #define HAVE_MBSINIT 1 126 1001 127 1002 /* Define to 1 if <wchar.h> declares mbstate_t. */ 128 1003 #define HAVE_MBSTATE_T 1 129 1004 1005 /* Define to 1 if you have the `mbtowc' function. */ 1006 #define HAVE_MBTOWC 1 1007 130 1008 /* Define to 1 if you have the <mcheck.h> header file. */ 131 1009 /*#define HAVE_MCHECK_H 1*/ 132 1010 133 /* Define to 1 if you have the `memchr' function. */134 #define HAVE_MEMCHR 1135 136 /* Define to 1 if you have the `memcmp' function. */137 #define HAVE_MEMCMP 1138 139 1011 /* Define to 1 if you have the `memcpy' function. */ 140 1012 #define HAVE_MEMCPY 1 141 1013 142 /* Define to 1 if you have the `memmove' function. */143 #define HAVE_MEMMOVE 1144 145 /* Define to 1 if you have the <memory.h> header file. */146 #define HAVE_MEMORY_H 1147 148 1014 /* Define to 1 if you have the `mempcpy' function. */ 149 /*#define HAVE_MEMPCPY 1*/ 150 151 /* Define to 1 if you have the `memset' function. */ 152 #define HAVE_MEMSET 1 153 154 /* Define to 1 if you have the `mkstemp' function. */ 155 /*#define HAVE_MKSTEMP 1*/ 156 157 /* Define to 1 if you have a working `mmap' system call. */ 158 /*#define HAVE_MMAP 1*/ 159 160 /* Define to 1 if you have the `munmap' function. */ 161 /*#define HAVE_MUNMAP 1*/ 162 163 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 164 /* #undef HAVE_NDIR_H */ 165 166 /* Define to 1 if you have the <nl_types.h> header file. */ 167 /*#define HAVE_NL_TYPES_H 1*/ 168 169 /* Define to 1 if libc includes obstacks. */ 170 /*#define HAVE_OBSTACK 1*/ 1015 #define HAVE_MEMPCPY 1 1016 1017 /* Define to 1 if you have the `memrchr' function. */ 1018 /*#define HAVE_MEMRCHR 1 */ 1019 1020 /* Define to 1 if you have the `memset_s' function. */ 1021 /* #undef HAVE_MEMSET_S */ 1022 1023 /* Define to 1 if you have the <minix/config.h> header file. */ 1024 /* #undef HAVE_MINIX_CONFIG_H */ 1025 1026 /* Define to 1 if <limits.h> defines the MIN and MAX macros. */ 1027 /* #undef HAVE_MINMAX_IN_LIMITS_H */ 1028 1029 /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */ 1030 /*#define HAVE_MINMAX_IN_SYS_PARAM_H 1*/ 1031 1032 /* Define to 1 if you have the `mkostemp' function. */ 1033 /*#define HAVE_MKOSTEMP 1*/ 1034 1035 /* Define to 1 if you have the `mprotect' function. */ 1036 /*#define HAVE_MPROTECT 1*/ 1037 1038 /* Define to 1 if you have the `mquery' function. */ 1039 /* #undef HAVE_MQUERY */ 1040 1041 /* Define to 1 on MSVC platforms that have the "invalid parameter handler" 1042 concept. */ 1043 /* #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER */ 1044 1045 /* Define if the locale_t type does not contain the name of each locale 1046 category. */ 1047 /* #undef HAVE_NAMELESS_LOCALES */ 1048 1049 /* Define to 1 if you have the <netdb.h> header file. */ 1050 /*#define HAVE_NETDB_H 1 */ 1051 1052 /* Define to 1 if you have the <netinet/in.h> header file. */ 1053 /*#define HAVE_NETINET_IN_H 1 */ 1054 1055 /* Define to 1 if you have the `newlocale' function. */ 1056 /*#define HAVE_NEWLOCALE 1*/ 1057 1058 /* Define to 1 if you have the `nl_langinfo' function. */ 1059 /*#define HAVE_NL_LANGINFO 1*/ 1060 1061 /* Define to 1 if the system has obstacks that work with any size object. */ 1062 /* #undef HAVE_OBSTACK */ 1063 1064 /* Define to 1 if you have the `opendir' function. */ 1065 #define HAVE_OPENDIR 1 1066 1067 /* Define to 1 if you have the <OS.h> header file. */ 1068 /* #undef HAVE_OS_H */ 171 1069 172 1070 /* Define to 1 if you have the `pathconf' function. */ 173 #define HAVE_PATHCONF 1 /* ?? */ 1071 #define HAVE_PATHCONF 1 1072 1073 /* Define to 1 if you have the `pipe' function. */ 1074 #define HAVE_PIPE 1 174 1075 175 1076 /* Define to 1 if you have the `popen' function. */ 176 /*#define HAVE_POPEN 1*/ /** @todo popen */ 177 178 /* Define to 1 if you have the `putenv' function. */ 179 #define HAVE_PUTENV 1 180 181 /* Define to 1 if you have the <regex.h> header file. */ 182 /* #undef HAVE_REGEX_H */ 1077 /*#define HAVE_POPEN 1*/ 1078 1079 /* Define to 1 if you have the `pselect' function. */ 1080 /*#define HAVE_PSELECT 1*/ 1081 1082 /* Define to 1 if you have the `pstat_getprocvm' function. */ 1083 /* #undef HAVE_PSTAT_GETPROCVM */ 1084 1085 /* Define if you have the <pthread.h> header and the POSIX threads API. */ 1086 /*#define HAVE_PTHREAD_API 1*/ 1087 1088 /* Define to 1 if you have the `pthread_atfork' function. */ 1089 /* #undef HAVE_PTHREAD_ATFORK */ 1090 1091 /* Define to 1 if you have the <pthread.h> header file. */ 1092 /*#define HAVE_PTHREAD_H 1*/ 1093 1094 /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */ 1095 /* #undef HAVE_PTHREAD_MUTEX_RECURSIVE */ 1096 1097 /* Define if the POSIX multithreading library has read/write locks. */ 1098 /* #undef HAVE_PTHREAD_RWLOCK */ 1099 1100 /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a 1101 reader. */ 1102 /* #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER */ 1103 1104 /* Define to 1 if the pthread_sigmask function can be used (despite bugs). */ 1105 /*#define HAVE_PTHREAD_SIGMASK 1*/ 1106 1107 /* Define to 1 if the system has the type `pthread_spinlock_t'. */ 1108 /*#define HAVE_PTHREAD_SPINLOCK_T 1*/ 1109 1110 /* Define to 1 if the system has the type `pthread_t'. */ 1111 /*#define HAVE_PTHREAD_T 1*/ 1112 1113 /* Define to 1 if you have the `raise' function. */ 1114 #define HAVE_RAISE 1 1115 1116 /* Define to 1 if you have the `rawmemchr' function. */ 1117 /*#define HAVE_RAWMEMCHR 1*/ 1118 1119 /* Define to 1 if you have the `readdir' function. */ 1120 #define HAVE_READDIR 1 1121 1122 /* Define to 1 if you have the `readlink' function. */ 1123 /*#define HAVE_READLINK 1*/ 1124 1125 /* Define to 1 if you have the `reallocarray' function. */ 1126 /*#define HAVE_REALLOCARRAY 1*/ 1127 1128 /* Define to 1 if you have the `realpath' function. */ 1129 /*#define HAVE_REALPATH 1*/ 1130 1131 /* Define to 1 if the system has the type `sa_family_t'. */ 1132 /*#define HAVE_SA_FAMILY_T 1*/ 1133 1134 /* Define to 1 if you have the <sched.h> header file. */ 1135 /*#define HAVE_SCHED_H 1*/ 1136 1137 /* Define to 1 if you have the <sdkddkver.h> header file. */ 1138 /* #undef HAVE_SDKDDKVER_H */ 1139 1140 /* Define to 1 if you have the <search.h> header file. */ 1141 #define HAVE_SEARCH_H 1 1142 1143 /* Define to 1 if you have the <selinux/context.h> header file. */ 1144 /* #undef HAVE_SELINUX_CONTEXT_H */ 1145 1146 /* Define to 1 if you have the <selinux/label.h> header file. */ 1147 /* #undef HAVE_SELINUX_LABEL_H */ 1148 1149 /* Define to 1 if you have the <selinux/selinux.h> header file. */ 1150 /*#define HAVE_SELINUX_SELINUX_H 0*/ 1151 1152 /* Define to 1 if you have the `setdtablesize' function. */ 1153 /* #undef HAVE_SETDTABLESIZE */ 183 1154 184 1155 /* Define to 1 if you have the `setenv' function. */ … … 188 1159 #define HAVE_SETLOCALE 1 189 1160 190 /* Define to 1 if you have the <stdarg.h> header file. */ 191 #define HAVE_STDARG_H 1 192 193 /* Define to 1 if stdbool.h conforms to C99. */ 194 /*#define HAVE_STDBOOL_H 1*/ 195 196 /* Define to 1 if you have the <stddef.h> header file. */ 197 #define HAVE_STDDEF_H 1 1161 /* Define to 1 if you have the `shutdown' function. */ 1162 /*#define HAVE_SHUTDOWN 1*/ 1163 1164 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ 1165 /* #undef HAVE_SIGNED_SIG_ATOMIC_T */ 1166 1167 /* Define to 1 if 'wchar_t' is a signed integer type. */ 1168 /* #undef HAVE_SIGNED_WCHAR_T */ 1169 1170 /* Define to 1 if 'wint_t' is a signed integer type. */ 1171 /* #undef HAVE_SIGNED_WINT_T */ 1172 1173 /* Define to 1 if the system has the type `sigset_t'. */ 1174 /*#define HAVE_SIGSET_T 1*/ 1175 1176 /* Define to 1 if you have the `sleep' function. */ 1177 /*#define HAVE_SLEEP 1*/ 1178 1179 /* Define to 1 if you have the `snprintf' function. */ 1180 #define HAVE_SNPRINTF 1 1181 1182 /* Define if the locale_t type is as on Solaris 11.4. */ 1183 /* #undef HAVE_SOLARIS114_LOCALES */ 1184 1185 /* Define to 1 if you have the `statacl' function. */ 1186 /* #undef HAVE_STATACL */ 1187 1188 /* Define to 1 if you have the <stdalign.h> header file. */ 1189 /*#define HAVE_STDALIGN_H 1*/ 1190 1191 /* Define to 1 if you have the <stdbool.h> header file. */ 1192 #define HAVE_STDBOOL_H 1 1193 1194 /* Define to 1 if you have the <stdckdint.h> header file. */ 1195 /* #undef HAVE_STDCKDINT_H */ 198 1196 199 1197 /* Define to 1 if you have the <stdint.h> header file. */ 200 1198 #define HAVE_STDINT_H 1 201 1199 1200 /* Define to 1 if you have the <stdio_ext.h> header file. */ 1201 /*#define HAVE_STDIO_EXT_H 1*/ 1202 1203 /* Define to 1 if you have the <stdio.h> header file. */ 1204 #define HAVE_STDIO_H 1 1205 202 1206 /* Define to 1 if you have the <stdlib.h> header file. */ 203 1207 #define HAVE_STDLIB_H 1 204 1208 205 /* Define to 1 if you have the `stpcpy' function. */206 /*#define HAVE_STPCPY 1*/207 208 /* Define to 1 if you have the `strcasecmp' function. */209 #define HAVE_STRCASECMP 1210 #define strcasecmp(__a,__b) stricmp((__a),(__b))211 212 1209 /* Define to 1 if you have the `strchr' function. */ 213 1210 #define HAVE_STRCHR 1 214 1211 215 /* Define to 1 if you have the `strdup' function. */ 216 #define HAVE_STRDUP 1 217 218 /* Define to 1 if you have the `strerror' function. */ 219 #define HAVE_STRERROR 1 1212 /* Define to 1 if you have the `strerror_r' function. */ 1213 /*#define HAVE_STRERROR_R 1*/ 220 1214 221 1215 /* Define to 1 if you have the <strings.h> header file. */ … … 228 1222 #define HAVE_STRTOUL 1 229 1223 1224 /* Define to 1 if `decimal_point' is a member of `struct lconv'. */ 1225 /* #undef HAVE_STRUCT_LCONV_DECIMAL_POINT */ 1226 1227 /* Define to 1 if the system has the type `struct sockaddr_storage'. */ 1228 /*#define HAVE_STRUCT_SOCKADDR_STORAGE 1*/ 1229 1230 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */ 1231 /*#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1*/ 1232 1233 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */ 1234 /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */ 1235 1236 /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */ 1237 /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */ 1238 1239 /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */ 1240 /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ 1241 1242 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */ 1243 #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 1244 1245 /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */ 1246 /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC */ 1247 1248 /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ 1249 /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ 1250 1251 /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */ 1252 #define HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC 1 1253 230 1254 /* Define to 1 if you have the `strverscmp' function. */ 231 /*#define HAVE_STRVERSCMP 1*/ 232 233 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 234 */ 235 /* #undef HAVE_SYS_DIR_H */ 236 237 /* Define to 1 if you have the <sys/file.h> header file. */ 238 /*#define HAVE_SYS_FILE_H 1*/ 239 240 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 241 */ 242 /* #undef HAVE_SYS_NDIR_H */ 1255 #define HAVE_STRVERSCMP 1 1256 1257 /* Define to 1 if you have the `symlink' function. */ 1258 /*#define HAVE_SYMLINK 1*/ 1259 1260 /* Define to 1 if you have the <sys/acl.h> header file. */ 1261 /* #undef HAVE_SYS_ACL_H */ 1262 1263 /* Define to 1 if you have the <sys/bitypes.h> header file. */ 1264 /* #undef HAVE_SYS_BITYPES_H */ 1265 1266 /* Define to 1 if you have the <sys/cdefs.h> header file. */ 1267 /*#define HAVE_SYS_CDEFS_H 1*/ 1268 1269 /* Define to 1 if you have the <sys/inttypes.h> header file. */ 1270 /* #undef HAVE_SYS_INTTYPES_H */ 1271 1272 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 1273 #define HAVE_SYS_IOCTL_H 1 1274 1275 /* Define to 1 if you have the <sys/mman.h> header file. */ 1276 /*#define HAVE_SYS_MMAN_H 1*/ 243 1277 244 1278 /* Define to 1 if you have the <sys/param.h> header file. */ 245 1279 /*#define HAVE_SYS_PARAM_H 1*/ 246 1280 1281 /* Define to 1 if you have the <sys/random.h> header file. */ 1282 /*#define HAVE_SYS_RANDOM_H 1*/ 1283 1284 /* Define to 1 if you have the <sys/select.h> header file. */ 1285 /*#define HAVE_SYS_SELECT_H 1*/ 1286 1287 /* Define to 1 if you have the <sys/single_threaded.h> header file. */ 1288 /*#define HAVE_SYS_SINGLE_THREADED_H 1*/ 1289 1290 /* Define to 1 if you have the <sys/socket.h> header file. */ 1291 /*#define HAVE_SYS_SOCKET_H 1*/ 1292 247 1293 /* Define to 1 if you have the <sys/stat.h> header file. */ 248 1294 #define HAVE_SYS_STAT_H 1 249 1295 1296 /* Define to 1 if you have the <sys/time.h> header file. */ 1297 #define HAVE_SYS_TIME_H 1 1298 250 1299 /* Define to 1 if you have the <sys/types.h> header file. */ 251 1300 #define HAVE_SYS_TYPES_H 1 252 1301 1302 /* Define to 1 if you have the <sys/uio.h> header file. */ 1303 /*#define HAVE_SYS_UIO_H 1*/ 1304 1305 /* Define to 1 if you have the <sys/wait.h> header file. */ 1306 /*#define HAVE_SYS_WAIT_H 1*/ 1307 1308 /* Define to 1 if you have the `thrd_create' function. */ 1309 /* #undef HAVE_THRD_CREATE */ 1310 1311 /* Define to 1 if you have the <threads.h> header file. */ 1312 /*#define HAVE_THREADS_H 1*/ 1313 1314 /* Define to 1 if you have the `towlower' function. */ 1315 #define HAVE_TOWLOWER 1 1316 253 1317 /* Define to 1 if you have the `tsearch' function. */ 254 #define HAVE_TSEARCH 1 /* ???*/1318 /*#define HAVE_TSEARCH 1*/ 255 1319 256 1320 /* Define to 1 if you have the <unistd.h> header file. */ 257 1321 /*#define HAVE_UNISTD_H 1*/ 258 1322 259 /* Define to 1 if you have the `vprintf' function. */ 260 #define HAVE_VPRINTF 1 1323 /* Define to 1 if you have the `unsetenv' function. */ 1324 /*#define HAVE_UNSETENV 1*/ 1325 1326 /* Define to 1 if the system has the type 'unsigned long long int'. */ 1327 #define HAVE_UNSIGNED_LONG_LONG_INT 1 1328 1329 /* Define to 1 if you have the `uselocale' function. */ 1330 /*#define HAVE_USELOCALE 1*/ 1331 1332 /* Define if you have a global __progname variable */ 1333 /* #undef HAVE_VAR___PROGNAME */ 1334 1335 /* Define to 1 or 0, depending whether the compiler supports simple visibility 1336 declarations. */ 1337 /* #undef HAVE_VISIBILITY */ 261 1338 262 1339 /* Define to 1 if you have the <wchar.h> header file. */ 263 1340 #define HAVE_WCHAR_H 1 264 1341 1342 /* Define if you have the 'wchar_t' type. */ 1343 #define HAVE_WCHAR_T 1 1344 265 1345 /* Define to 1 if you have the `wcrtomb' function. */ 266 /*#define HAVE_WCRTOMB 1 - bird don't drag in msvcp71.dll */ 267 268 /* Define to 1 if you have the `wc scoll' function. */269 /*#define HAVE_WCSCOLL 1 - bird don't drag in msvcp71.dll */ 1346 #define HAVE_WCRTOMB 1 1347 1348 /* Define to 1 if you have the `wctob' function. */ 1349 #define HAVE_WCTOB 1 270 1350 271 1351 /* Define to 1 if you have the <wctype.h> header file. */ 272 1352 #define HAVE_WCTYPE_H 1 273 1353 274 /* Define to 1 if the system has the type `_Bool'. */ 275 /*#define HAVE__BOOL 1*/ 276 277 /* Define to 1 if you have the `__argz_count' function. */ 278 /*#define HAVE___ARGZ_COUNT 1*/ 279 280 /* Define to 1 if you have the `__argz_next' function. */ 281 /*#define HAVE___ARGZ_NEXT 1*/ 282 283 /* Define to 1 if you have the `__argz_stringify' function. */ 284 /*#define HAVE___ARGZ_STRINGIFY 1*/ 285 286 /* Define as const if the declaration of iconv() needs const. */ 287 /*#define ICONV_CONST */ 1354 /* Define to 1 if the compiler and linker support weak declarations of 1355 symbols. */ 1356 /* #undef HAVE_WEAK_SYMBOLS */ 1357 1358 /* Define to 1 if you have the <winsock2.h> header file. */ 1359 #define HAVE_WINSOCK2_H 1 1360 1361 /* Define if you have the 'wint_t' type. */ 1362 #define HAVE_WINT_T 1 1363 1364 /* Define to 1 if O_NOATIME works. */ 1365 /*#define HAVE_WORKING_O_NOATIME 1*/ 1366 1367 /* Define to 1 if O_NOFOLLOW works. */ 1368 /*#define HAVE_WORKING_O_NOFOLLOW 1*/ 1369 1370 /* Define if the uselocale function exists and may safely be called. */ 1371 #define HAVE_WORKING_USELOCALE 1 1372 1373 /* Define to 1 if you have the <ws2tcpip.h> header file. */ 1374 /* #undef HAVE_WS2TCPIP_H */ 1375 1376 /* Define to 1 if you have the <xlocale.h> header file. */ 1377 /* #undef HAVE_XLOCALE_H */ 1378 1379 /* Define to 1 if you have the `_chsize' function. */ 1380 /* #undef HAVE__CHSIZE */ 1381 1382 /* Define to 1 if you have the `_fseeki64' function. */ 1383 /* #undef HAVE__FSEEKI64 */ 1384 1385 /* Define to 1 if you have the `_ftelli64' function. */ 1386 /* #undef HAVE__FTELLI64 */ 1387 1388 /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ 1389 /* #undef HAVE__SET_INVALID_PARAMETER_HANDLER */ 1390 1391 /* Define to 1 if the compiler supports __builtin_expect, 1392 and to 2 if <builtins.h> does. */ 1393 /*#define HAVE___BUILTIN_EXPECT 1*/ 1394 #ifndef HAVE___BUILTIN_EXPECT 1395 # define __builtin_expect(e, c) (e) 1396 #elif HAVE___BUILTIN_EXPECT == 2 1397 # include <builtins.h> 1398 #endif 1399 1400 1401 /* Define to 1 if you have the `__fpurge' function. */ 1402 /*#define HAVE___FPURGE 1*/ 1403 1404 /* Define to 1 if you have the `__freading' function. */ 1405 /*#define HAVE___FREADING 1*/ 1406 1407 /* Define to 1 if you have the `__fwriting' function. */ 1408 /*#define HAVE___FWRITING 1*/ 1409 1410 /* Define to 1 if ctype.h defines __header_inline. */ 1411 /* #undef HAVE___HEADER_INLINE */ 1412 1413 /* Please see the Gnulib manual for how to use these macros. 1414 1415 Suppress extern inline with HP-UX cc, as it appears to be broken; see 1416 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>. 1417 1418 Suppress extern inline with Sun C in standards-conformance mode, as it 1419 mishandles inline functions that call each other. E.g., for 'inline void f 1420 (void) { } inline void g (void) { f (); }', c99 incorrectly complains 1421 'reference to static identifier "f" in extern inline function'. 1422 This bug was observed with Oracle Developer Studio 12.6 1423 (Sun C 5.15 SunOS_sparc 2017/05/30). 1424 1425 Suppress extern inline (with or without __attribute__ ((__gnu_inline__))) 1426 on configurations that mistakenly use 'static inline' to implement 1427 functions or macros in standard C headers like <ctype.h>. For example, 1428 if isdigit is mistakenly implemented via a static inline function, 1429 a program containing an extern inline function that calls isdigit 1430 may not work since the C standard prohibits extern inline functions 1431 from calling static functions (ISO C 99 section 6.7.4.(3). 1432 This bug is known to occur on: 1433 1434 OS X 10.8 and earlier; see: 1435 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html 1436 1437 DragonFly; see 1438 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log 1439 1440 FreeBSD; see: 1441 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html 1442 1443 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 1444 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>. 1445 Assume DragonFly and FreeBSD will be similar. 1446 1447 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 1448 inline semantics, unless -fgnu89-inline is used. It defines a macro 1449 __GNUC_STDC_INLINE__ to indicate this situation or a macro 1450 __GNUC_GNU_INLINE__ to indicate the opposite situation. 1451 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline 1452 semantics but warns, unless -fgnu89-inline is used: 1453 warning: C99 inline functions are not supported; using GNU89 1454 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute 1455 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation. 1456 */ 1457 #if (((defined __APPLE__ && defined __MACH__) \ 1458 || defined __DragonFly__ || defined __FreeBSD__) \ 1459 && (defined HAVE___HEADER_INLINE \ 1460 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 1461 && ! defined __clang__) \ 1462 : ((! defined _DONT_USE_CTYPE_INLINE_ \ 1463 && (defined __GNUC__ || defined __cplusplus)) \ 1464 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 1465 && defined __GNUC__ && ! defined __cplusplus)))) 1466 # define _GL_EXTERN_INLINE_STDHEADER_BUG 1467 #endif 1468 #if ((__GNUC__ \ 1469 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 1470 : (199901L <= __STDC_VERSION__ \ 1471 && !defined __HP_cc \ 1472 && !defined __PGI \ 1473 && !(defined __SUNPRO_C && __STDC__))) \ 1474 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1475 # define _GL_INLINE inline 1476 # define _GL_EXTERN_INLINE extern inline 1477 # define _GL_EXTERN_INLINE_IN_USE 1478 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 1479 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG) 1480 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 1481 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 1482 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 1483 # else 1484 # define _GL_INLINE extern inline 1485 # endif 1486 # define _GL_EXTERN_INLINE extern 1487 # define _GL_EXTERN_INLINE_IN_USE 1488 #else 1489 # define _GL_INLINE _GL_UNUSED static 1490 # define _GL_EXTERN_INLINE _GL_UNUSED static 1491 #endif 1492 1493 /* In GCC 4.6 (inclusive) to 5.1 (exclusive), 1494 suppress bogus "no previous prototype for 'FOO'" 1495 and "no previous declaration for 'FOO'" diagnostics, 1496 when FOO is an inline function in the header; see 1497 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and 1498 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */ 1499 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__ 1500 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 1501 # define _GL_INLINE_HEADER_CONST_PRAGMA 1502 # else 1503 # define _GL_INLINE_HEADER_CONST_PRAGMA \ 1504 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 1505 # endif 1506 # define _GL_INLINE_HEADER_BEGIN \ 1507 _Pragma ("GCC diagnostic push") \ 1508 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 1509 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 1510 _GL_INLINE_HEADER_CONST_PRAGMA 1511 # define _GL_INLINE_HEADER_END \ 1512 _Pragma ("GCC diagnostic pop") 1513 #else 1514 # define _GL_INLINE_HEADER_BEGIN 1515 # define _GL_INLINE_HEADER_END 1516 #endif 1517 1518 /* Define to 1 if the compiler supports the keyword '__inline'. */ 1519 #define HAVE___INLINE 1 1520 #define __inline _inline 1521 1522 /* Define to 1 if you have the `__xpg_strerror_r' function. */ 1523 /*#define HAVE___XPG_STRERROR_R 1*/ 1524 1525 /* Define if localename.c overrides newlocale(), duplocale(), freelocale(). */ 1526 /* #undef LOCALENAME_ENHANCE_LOCALE_FUNCS */ 1527 1528 /* Define to 1 if lseek does not detect pipes. */ 1529 /* #undef LSEEK_PIPE_BROKEN */ 1530 1531 /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing 1532 slash. */ 1533 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 1534 1535 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ 1536 #define MALLOC_0_IS_NONNULL 0 1537 1538 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ 1539 /* #undef MAP_ANONYMOUS */ 1540 1541 /* Define if the mbrtowc function does not return (size_t) -2 for empty input. 1542 */ 1543 /* #undef MBRTOWC_EMPTY_INPUT_BUG */ 1544 1545 /* Define if the mbrtowc function may signal encoding errors in the C locale. 1546 */ 1547 #define MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ 1 1548 1549 /* Define if the mbrtowc function has the NULL pwc argument bug. */ 1550 /* #undef MBRTOWC_NULL_ARG1_BUG */ 1551 1552 /* Define if the mbrtowc function has the NULL string argument bug. */ 1553 /* #undef MBRTOWC_NULL_ARG2_BUG */ 1554 1555 /* Define if the mbrtowc function does not return 0 for a NUL character. */ 1556 /* #undef MBRTOWC_NUL_RETVAL_BUG */ 1557 1558 /* Define if the mbrtowc function returns a wrong return value. */ 1559 /* #undef MBRTOWC_RETVAL_BUG */ 1560 1561 /* Define if the mbrtowc function stores a wide character when reporting 1562 incomplete input. */ 1563 /* #undef MBRTOWC_STORES_INCOMPLETE_BUG */ 1564 1565 /* Use GNU style printf and scanf. */ 1566 /*#ifndef __USE_MINGW_ANSI_STDIO 1567 # define __USE_MINGW_ANSI_STDIO 1 1568 #endif*/ 1569 1570 1571 /* Define to 1 on musl libc. */ 1572 /* #undef MUSL_LIBC */ 1573 1574 /* Define to 1 if assertions should be disabled. */ 1575 /* #undef NDEBUG */ 1576 1577 /* Define to 1 to enable general improvements of setlocale. */ 1578 #define NEED_SETLOCALE_IMPROVED 0 1579 1580 /* Define to 1 to enable a multithread-safety fix of setlocale. */ 1581 #define NEED_SETLOCALE_MTSAFE 0 1582 1583 /* Define to 1 if nl_langinfo is multithread-safe. */ 1584 /*#define NL_LANGINFO_MTSAFE 1*/ 1585 1586 /* Define to 1 if open() fails to recognize a trailing slash. */ 1587 /* #undef OPEN_TRAILING_SLASH_BUG */ 288 1588 289 1589 /* Name of package */ … … 291 1591 292 1592 /* Define to the address where bug reports for this package should be sent. */ 293 #define PACKAGE_BUGREPORT "b onzini@gnu.org"1593 #define PACKAGE_BUGREPORT "bug-sed@gnu.org" 294 1594 295 1595 /* Define to the full name of this package. */ 296 #define PACKAGE_NAME "sed" 1596 #define PACKAGE_NAME "GNU sed" 1597 1598 /* String identifying the packager of this software */ 1599 /* #undef PACKAGE_PACKAGER */ 1600 1601 /* Packager info for bug reports (URL/e-mail/...) */ 1602 /* #undef PACKAGE_PACKAGER_BUG_REPORTS */ 1603 1604 /* Packager-specific version information */ 1605 /* #undef PACKAGE_PACKAGER_VERSION */ 297 1606 298 1607 /* Define to the full name and version of this package. */ 299 #define PACKAGE_STRING " sed 4.1.5"1608 #define PACKAGE_STRING "GNU sed 4.9" 300 1609 301 1610 /* Define to the one symbol short name of this package. */ 302 1611 #define PACKAGE_TARNAME "sed" 303 1612 1613 /* Define to the home page for this package. */ 1614 #define PACKAGE_URL "https://www.gnu.org/software/sed/" 1615 304 1616 /* Define to the version of this package. */ 305 #define PACKAGE_VERSION "4.1.5" 306 307 /* Define to the version of GNU sed whose features are supported by this sed. 1617 #define PACKAGE_VERSION "4.9" 1618 1619 /* Define to the type that is the result of default argument promotions of 1620 type mode_t. */ 1621 typedef unsigned mode_t; 1622 #define PROMOTED_MODE_T mode_t 1623 1624 /* Define if pthread_create is an inline function. */ 1625 /* #undef PTHREAD_CREATE_IS_INLINE */ 1626 1627 /* Define if the pthread_in_use() detection is hard. */ 1628 /* #undef PTHREAD_IN_USE_DETECTION_HARD */ 1629 1630 /* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno. 308 1631 */ 309 #define SED_FEATURE_VERSION "4.1" 1632 /* #undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO */ 1633 1634 /* Define to 1 if pthread_sigmask may return 0 and have no effect. */ 1635 /* #undef PTHREAD_SIGMASK_INEFFECTIVE */ 1636 1637 /* Define to 1 if pthread_sigmask() unblocks signals incorrectly. */ 1638 /* #undef PTHREAD_SIGMASK_UNBLOCK_BUG */ 1639 1640 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1641 'ptrdiff_t'. */ 1642 /* #undef PTRDIFF_T_SUFFIX */ 1643 1644 /* Define to 1 if readlink fails to recognize a trailing slash. */ 1645 /* #undef READLINK_TRAILING_SLASH_BUG */ 1646 1647 /* Define to 1 if readlink sets errno instead of truncating a too-long link. 1648 */ 1649 /* #undef READLINK_TRUNCATE_BUG */ 1650 1651 /* Define if rename does not work when the destination file exists, as on 1652 Cygwin 1.5 or Windows. */ 1653 /* #undef RENAME_DEST_EXISTS_BUG */ 1654 1655 /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or 1656 Cygwin 1.5. */ 1657 #define RENAME_HARD_LINK_BUG 1 1658 1659 /* Define if rename does not correctly handle slashes on the destination 1660 argument, such as on Solaris 11 or NetBSD 1.6. */ 1661 #define RENAME_TRAILING_SLASH_DEST_BUG 1 1662 1663 /* Define if rename does not correctly handle slashes on the source argument, 1664 such as on Solaris 9 or cygwin 1.5. */ 1665 /* #undef RENAME_TRAILING_SLASH_SOURCE_BUG */ 1666 1667 /* Define to 1 if gnulib's dirfd() replacement is used. */ 1668 /* #undef REPLACE_DIRFD */ 1669 1670 /* Define to 1 if stat needs help when passed a file name with a trailing 1671 slash */ 1672 /* #undef REPLACE_FUNC_STAT_FILE */ 1673 1674 /* Define if nl_langinfo exists but is overridden by gnulib. */ 1675 /* #undef REPLACE_NL_LANGINFO */ 1676 1677 /* Define to 1 if strerror(0) does not return a message implying success. */ 1678 /* #undef REPLACE_STRERROR_0 */ 1679 1680 /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */ 1681 #define SETLOCALE_NULL_ALL_MTSAFE 1 1682 1683 /* Define to 1 if setlocale (category, NULL) is multithread-safe. */ 1684 #define SETLOCALE_NULL_ONE_MTSAFE 1 1685 1686 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1687 'sig_atomic_t'. */ 1688 /* #undef SIG_ATOMIC_T_SUFFIX */ 1689 1690 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1691 'size_t'. */ 1692 /* #undef SIZE_T_SUFFIX */ 310 1693 311 1694 /* If using the C implementation of alloca, define if you know the 312 1695 direction of stack growth for your system; otherwise it will be 313 automatically deduced at run -time.1696 automatically deduced at runtime. 314 1697 STACK_DIRECTION > 0 => grows toward higher addresses 315 1698 STACK_DIRECTION < 0 => grows toward lower addresses … … 317 1700 /* #undef STACK_DIRECTION */ 318 1701 319 /* Define to 1 if you have the ANSI C header files. */ 1702 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 1703 /* #undef STAT_MACROS_BROKEN */ 1704 1705 /* Define to 1 if all of the C90 standard headers exist (not just the ones 1706 required in a freestanding environment). This macro is provided for 1707 backward compatibility; new code need not use it. */ 320 1708 #define STDC_HEADERS 1 321 1709 322 /* Version number of package */ 323 #define VERSION "4.1.5" 324 325 /* Define to 1 if on AIX 3. 326 System headers sometimes define this. 327 We just want to avoid a redefinition error message. */ 1710 /* Define to 1 if strerror_r returns char *. */ 1711 /*#define STRERROR_R_CHAR_P 1*/ 1712 1713 /* Define to 1 if the type of the st_atim member of a struct stat is struct 1714 timespec. */ 1715 /*#define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1*/ 1716 1717 /* Define to nonzero if you want access control list support. */ 1718 #define USE_ACL 0 1719 1720 /* Define if the combination of the ISO C and POSIX multithreading APIs can be 1721 used. */ 1722 /* #undef USE_ISOC_AND_POSIX_THREADS */ 1723 1724 /* Define if the ISO C multithreading library can be used. */ 1725 /* #undef USE_ISOC_THREADS */ 1726 1727 /* Define if the POSIX multithreading library can be used. */ 1728 /* #undef USE_POSIX_THREADS */ 1729 1730 /* Define if references to the POSIX multithreading library are satisfied by 1731 libc. */ 1732 /* #undef USE_POSIX_THREADS_FROM_LIBC */ 1733 1734 /* Define if references to the POSIX multithreading library should be made 1735 weak. */ 1736 /* #undef USE_POSIX_THREADS_WEAK */ 1737 1738 /* Enable extensions on AIX 3, Interix. */ 328 1739 #ifndef _ALL_SOURCE 329 /* # undef _ALL_SOURCE */ 330 #endif 331 332 /* Number of bits in a file offset, on hosts where this is settable. */ 333 #define _FILE_OFFSET_BITS 64 334 1740 # define _ALL_SOURCE 1 1741 #endif 1742 /* Enable general extensions on macOS. */ 1743 #ifndef _DARWIN_C_SOURCE 1744 # define _DARWIN_C_SOURCE 1 1745 #endif 1746 /* Enable general extensions on Solaris. */ 1747 #ifndef __EXTENSIONS__ 1748 # define __EXTENSIONS__ 1 1749 #endif 335 1750 /* Enable GNU extensions on systems that have them. */ 336 1751 #ifndef _GNU_SOURCE 337 1752 # define _GNU_SOURCE 1 338 1753 #endif 1754 /* Enable X/Open compliant socket functions that do not require linking 1755 with -lxnet on HP-UX 11.11. */ 1756 #ifndef _HPUX_ALT_XOPEN_SOCKET_API 1757 # define _HPUX_ALT_XOPEN_SOCKET_API 1 1758 #endif 1759 /* Identify the host operating system as Minix. 1760 This macro does not affect the system headers' behavior. 1761 A future release of Autoconf may stop defining this macro. */ 1762 #ifndef _MINIX 1763 /* # undef _MINIX */ 1764 #endif 1765 /* Enable general extensions on NetBSD. 1766 Enable NetBSD compatibility extensions on Minix. */ 1767 #ifndef _NETBSD_SOURCE 1768 # define _NETBSD_SOURCE 1 1769 #endif 1770 /* Enable OpenBSD compatibility extensions on NetBSD. 1771 Oddly enough, this does nothing on OpenBSD. */ 1772 #ifndef _OPENBSD_SOURCE 1773 # define _OPENBSD_SOURCE 1 1774 #endif 1775 /* Define to 1 if needed for POSIX-compatible behavior. */ 1776 #ifndef _POSIX_SOURCE 1777 /* # undef _POSIX_SOURCE */ 1778 #endif 1779 /* Define to 2 if needed for POSIX-compatible behavior. */ 1780 #ifndef _POSIX_1_SOURCE 1781 /* # undef _POSIX_1_SOURCE */ 1782 #endif 1783 /* Enable POSIX-compatible threading on Solaris. */ 1784 #ifndef _POSIX_PTHREAD_SEMANTICS 1785 # define _POSIX_PTHREAD_SEMANTICS 1 1786 #endif 1787 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 1788 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1789 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 1790 #endif 1791 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 1792 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 1793 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 1794 #endif 1795 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 1796 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 1797 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 1798 #endif 1799 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 1800 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 1801 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 1802 #endif 1803 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ 1804 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 1805 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 1806 #endif 1807 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 1808 #ifndef __STDC_WANT_LIB_EXT2__ 1809 # define __STDC_WANT_LIB_EXT2__ 1 1810 #endif 1811 /* Enable extensions specified by ISO/IEC 24747:2009. */ 1812 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 1813 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 1814 #endif 1815 /* Enable extensions on HP NonStop. */ 1816 #ifndef _TANDEM_SOURCE 1817 # define _TANDEM_SOURCE 1 1818 #endif 1819 /* Enable X/Open extensions. Define to 500 only if necessary 1820 to make mbstate_t available. */ 1821 #ifndef _XOPEN_SOURCE 1822 /* # undef _XOPEN_SOURCE */ 1823 #endif 1824 1825 1826 /* An alias of GNULIB_STDIO_SINGLE_THREAD. */ 1827 #define USE_UNLOCKED_IO GNULIB_STDIO_SINGLE_THREAD 1828 1829 /* Define if the native Windows multithreading API can be used. */ 1830 /* #undef USE_WINDOWS_THREADS */ 1831 1832 /* Version number of package */ 1833 #define VERSION "4.9" 1834 1835 /* Define to 1 if unsetenv returns void instead of int. */ 1836 /* #undef VOID_UNSETENV */ 1837 1838 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1839 'wchar_t'. */ 1840 /* #undef WCHAR_T_SUFFIX */ 1841 1842 /* Define if the wcrtomb function does not work in the C locale. */ 1843 /* #undef WCRTOMB_C_LOCALE_BUG */ 1844 1845 /* Define if the wcrtomb function has an incorrect return value. */ 1846 /* #undef WCRTOMB_RETVAL_BUG */ 1847 1848 /* Define if WSAStartup is needed. */ 1849 /* #undef WINDOWS_SOCKETS */ 1850 1851 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type 1852 'wint_t'. */ 1853 /* #undef WINT_T_SUFFIX */ 1854 1855 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 1856 significant byte first (like Motorola and SPARC, unlike Intel). */ 1857 #if defined AC_APPLE_UNIVERSAL_BUILD 1858 # if defined __BIG_ENDIAN__ 1859 # define WORDS_BIGENDIAN 1 1860 # endif 1861 #else 1862 # ifndef WORDS_BIGENDIAN 1863 /* # undef WORDS_BIGENDIAN */ 1864 # endif 1865 #endif 1866 1867 /* Number of bits in a file offset, on hosts where this is settable. */ 1868 /* #undef _FILE_OFFSET_BITS */ 1869 1870 /* True if the compiler says it groks GNU C version MAJOR.MINOR. */ 1871 #if defined __GNUC__ && defined __GNUC_MINOR__ 1872 # define _GL_GNUC_PREREQ(major, minor) \ 1873 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__)) 1874 #else 1875 # define _GL_GNUC_PREREQ(major, minor) 0 1876 #endif 1877 1878 1879 /* Define to enable the declarations of ISO C 11 types and functions. */ 1880 /* #undef _ISOC11_SOURCE */ 1881 1882 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 1883 /* #undef _LARGEFILE_SOURCE */ 339 1884 340 1885 /* Define for large files, on AIX-style hosts. */ 341 1886 /* #undef _LARGE_FILES */ 342 1887 343 /* Define to 1 if on MINIX. */ 344 /* #undef _MINIX */ 345 346 /* Define to 2 if the system does not provide POSIX.1 features except with 347 this defined. */ 348 /* #undef _POSIX_1_SOURCE */ 349 350 /* Define to 1 if you need to in order for `stat' and other things to work. */ 351 /* #undef _POSIX_SOURCE */ 352 353 /* Include BSD functions in regex, used by the testsuite */ 354 #define _REGEX_RE_COMP 1 1888 /* Define to 1 on Solaris. */ 1889 /* #undef _LCONV_C99 */ 1890 1891 /* The _Noreturn keyword of C11. */ 1892 #ifndef _Noreturn 1893 # if (defined __cplusplus \ 1894 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \ 1895 || (defined _MSC_VER && 1900 <= _MSC_VER)) \ 1896 && 0) 1897 /* [[noreturn]] is not practically usable, because with it the syntax 1898 extern _Noreturn void func (...); 1899 would not be valid; such a declaration would only be valid with 'extern' 1900 and '_Noreturn' swapped, or without the 'extern' keyword. However, some 1901 AIX system header files and several gnulib header files use precisely 1902 this syntax with 'extern'. */ 1903 # define _Noreturn [[noreturn]] 1904 # elif ((!defined __cplusplus || defined __clang__) \ 1905 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ 1906 || (!defined __STRICT_ANSI__ \ 1907 && (_GL_GNUC_PREREQ (4, 7) \ 1908 || (defined __apple_build_version__ \ 1909 ? 6000000 <= __apple_build_version__ \ 1910 : 3 < __clang_major__ + (5 <= __clang_minor__)))))) 1911 /* _Noreturn works as-is. */ 1912 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C 1913 # define _Noreturn __attribute__ ((__noreturn__)) 1914 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0) 1915 # define _Noreturn __declspec (noreturn) 1916 # else 1917 # define _Noreturn 1918 # endif 1919 #endif 1920 1921 1922 /* Define to 1 in order to get the POSIX compatible declarations of socket 1923 functions. */ 1924 /* #undef _POSIX_PII_SOCKET */ 1925 1926 /* Define if you want <regex.h> to include <limits.h>, so that it consistently 1927 overrides <limits.h>'s RE_DUP_MAX. */ 1928 /* #undef _REGEX_INCLUDE_LIMITS_H */ 1929 1930 /* Define if you want regoff_t to be at least as wide POSIX requires. */ 1931 #define _REGEX_LARGE_OFFSETS 1 /* shuts up a whole bunch of warnings w/o creating too many new ones */ 1932 1933 /* Number of bits in a timestamp, on hosts where this is settable. */ 1934 /* #undef _TIME_BITS */ 1935 1936 /* For standard stat data types on VMS. */ 1937 #define _USE_STD_STAT 1 1938 1939 /* For 64-bit time_t on 32-bit mingw. */ 1940 /* #undef __MINGW_USE_VC2005_COMPAT */ 1941 1942 /* Define to 1 if the system <stdint.h> predates C++11. */ 1943 /* #undef __STDC_CONSTANT_MACROS */ 1944 1945 /* Define to 1 if the system <stdint.h> predates C++11. */ 1946 /* #undef __STDC_LIMIT_MACROS */ 1947 1948 /* Define to 1 if C does not support variable-length arrays, and if the 1949 compiler does not already define this. */ 1950 /* #undef __STDC_NO_VLA__ */ 1951 1952 /* The _GL_ASYNC_SAFE marker should be attached to functions that are 1953 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be 1954 invoked from such signal handlers. Such functions have some restrictions: 1955 * All functions that it calls should be marked _GL_ASYNC_SAFE as well, 1956 or should be listed as async-signal-safe in POSIX 1957 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04> 1958 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in 1959 particular, are NOT async-signal-safe. 1960 * All memory locations (variables and struct fields) that these functions 1961 access must be marked 'volatile'. This holds for both read and write 1962 accesses. Otherwise the compiler might optimize away stores to and 1963 reads from such locations that occur in the program, depending on its 1964 data flow analysis. For example, when the program contains a loop 1965 that is intended to inspect a variable set from within a signal handler 1966 while (!signal_occurred) 1967 ; 1968 the compiler is allowed to transform this into an endless loop if the 1969 variable 'signal_occurred' is not declared 'volatile'. 1970 Additionally, recall that: 1971 * A signal handler should not modify errno (except if it is a handler 1972 for a fatal signal and ends by raising the same signal again, thus 1973 provoking the termination of the process). If it invokes a function 1974 that may clobber errno, it needs to save and restore the value of 1975 errno. */ 1976 #define _GL_ASYNC_SAFE 1977 1978 1979 /* Attributes. */ 1980 #if (defined __has_attribute \ 1981 && (!defined __clang_minor__ \ 1982 || (defined __apple_build_version__ \ 1983 ? 6000000 <= __apple_build_version__ \ 1984 : 3 < __clang_major__ + (5 <= __clang_minor__)))) 1985 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__) 1986 #else 1987 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr 1988 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3) 1989 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2) 1990 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3) 1991 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3) 1992 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95) 1993 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1) 1994 # define _GL_ATTR_diagnose_if 0 1995 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3) 1996 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1) 1997 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) 1998 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) 1999 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) 2000 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) 2001 # ifdef _ICC 2002 # define _GL_ATTR_may_alias 0 2003 # else 2004 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) 2005 # endif 2006 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) 2007 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) 2008 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) 2009 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3) 2010 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7) 2011 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96) 2012 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9) 2013 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0) 2014 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7) 2015 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) 2016 #endif 2017 2018 #ifdef __has_c_attribute 2019 # if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \ 2020 && _GL_GNUC_PREREQ (4, 6)) 2021 # pragma GCC diagnostic ignored "-Wpedantic" 2022 # endif 2023 # define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) 2024 #else 2025 # define _GL_HAS_C_ATTRIBUTE(attr) 0 2026 #endif 2027 2028 2029 /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function 2030 is the size of the returned memory block. 2031 _GL_ATTRIBUTE_ALLOC_SIZE ((M, N)) declares that the Mth argument multiplied 2032 by the Nth argument of the function is the size of the returned memory block. 2033 */ 2034 /* Applies to: function, pointer to function, function types. */ 2035 #if _GL_HAS_ATTRIBUTE (alloc_size) 2036 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args)) 2037 #else 2038 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) 2039 #endif 2040 2041 /* _GL_ATTRIBUTE_ALWAYS_INLINE tells that the compiler should always inline the 2042 function and report an error if it cannot do so. */ 2043 /* Applies to: function. */ 2044 #if _GL_HAS_ATTRIBUTE (always_inline) 2045 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__)) 2046 #else 2047 # define _GL_ATTRIBUTE_ALWAYS_INLINE 2048 #endif 2049 2050 /* _GL_ATTRIBUTE_ARTIFICIAL declares that the function is not important to show 2051 in stack traces when debugging. The compiler should omit the function from 2052 stack traces. */ 2053 /* Applies to: function. */ 2054 #if _GL_HAS_ATTRIBUTE (artificial) 2055 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__)) 2056 #else 2057 # define _GL_ATTRIBUTE_ARTIFICIAL 2058 #endif 2059 2060 /* _GL_ATTRIBUTE_COLD declares that the function is rarely executed. */ 2061 /* Applies to: functions. */ 2062 /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at 2063 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. 2064 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */ 2065 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__ 2066 # ifndef __SUNPRO_C 2067 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__)) 2068 # else 2069 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold)) 2070 # endif 2071 #else 2072 # define _GL_ATTRIBUTE_COLD 2073 #endif 2074 2075 /* _GL_ATTRIBUTE_CONST declares that it is OK for a compiler to omit duplicate 2076 calls to the function with the same arguments. 2077 This attribute is safe for a function that neither depends on nor affects 2078 observable state, and always returns exactly once - e.g., does not loop 2079 forever, and does not call longjmp. 2080 (This attribute is stricter than _GL_ATTRIBUTE_PURE.) */ 2081 /* Applies to: functions. */ 2082 #if _GL_HAS_ATTRIBUTE (const) 2083 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) 2084 #else 2085 # define _GL_ATTRIBUTE_CONST 2086 #endif 2087 2088 /* _GL_ATTRIBUTE_DEALLOC (F, I) declares that the function returns pointers 2089 that can be freed by passing them as the Ith argument to the 2090 function F. 2091 _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that 2092 can be freed via 'free'; it can be used only after declaring 'free'. */ 2093 /* Applies to: functions. Cannot be used on inline functions. */ 2094 #if _GL_GNUC_PREREQ (11, 0) 2095 # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) 2096 #else 2097 # define _GL_ATTRIBUTE_DEALLOC(f, i) 2098 #endif 2099 /* If gnulib's <string.h> or <wchar.h> has already defined this macro, continue 2100 to use this earlier definition, since <stdlib.h> may not have been included 2101 yet. */ 2102 #ifndef _GL_ATTRIBUTE_DEALLOC_FREE 2103 # define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) 2104 #endif 2105 2106 /* _GL_ATTRIBUTE_DEPRECATED: Declares that an entity is deprecated. 2107 The compiler may warn if the entity is used. */ 2108 /* Applies to: 2109 - function, variable, 2110 - struct, union, struct/union member, 2111 - enumeration, enumeration item, 2112 - typedef, 2113 in C++ also: namespace, class, template specialization. */ 2114 #if _GL_HAS_C_ATTRIBUTE (deprecated) 2115 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] 2116 #elif _GL_HAS_ATTRIBUTE (deprecated) 2117 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) 2118 #else 2119 # define _GL_ATTRIBUTE_DEPRECATED 2120 #endif 2121 2122 /* _GL_ATTRIBUTE_ERROR(msg) requests an error if a function is called and 2123 the function call is not optimized away. 2124 _GL_ATTRIBUTE_WARNING(msg) requests a warning if a function is called and 2125 the function call is not optimized away. */ 2126 /* Applies to: functions. */ 2127 #if _GL_HAS_ATTRIBUTE (error) 2128 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg))) 2129 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg))) 2130 #elif _GL_HAS_ATTRIBUTE (diagnose_if) 2131 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error"))) 2132 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning"))) 2133 #else 2134 # define _GL_ATTRIBUTE_ERROR(msg) 2135 # define _GL_ATTRIBUTE_WARNING(msg) 2136 #endif 2137 2138 /* _GL_ATTRIBUTE_EXTERNALLY_VISIBLE declares that the entity should remain 2139 visible to debuggers etc., even with '-fwhole-program'. */ 2140 /* Applies to: functions, variables. */ 2141 #if _GL_HAS_ATTRIBUTE (externally_visible) 2142 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) 2143 #else 2144 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE 2145 #endif 2146 2147 /* _GL_ATTRIBUTE_FALLTHROUGH declares that it is not a programming mistake if 2148 the control flow falls through to the immediately following 'case' or 2149 'default' label. The compiler should not warn in this case. */ 2150 /* Applies to: Empty statement (;), inside a 'switch' statement. */ 2151 /* Always expands to something. */ 2152 #if _GL_HAS_C_ATTRIBUTE (fallthrough) 2153 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] 2154 #elif _GL_HAS_ATTRIBUTE (fallthrough) 2155 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) 2156 #else 2157 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0) 2158 #endif 2159 2160 /* _GL_ATTRIBUTE_FORMAT ((ARCHETYPE, STRING-INDEX, FIRST-TO-CHECK)) 2161 declares that the STRING-INDEXth function argument is a format string of 2162 style ARCHETYPE, which is one of: 2163 printf, gnu_printf 2164 scanf, gnu_scanf, 2165 strftime, gnu_strftime, 2166 strfmon, 2167 or the same thing prefixed and suffixed with '__'. 2168 If FIRST-TO-CHECK is not 0, arguments starting at FIRST-TO_CHECK 2169 are suitable for the format string. */ 2170 /* Applies to: functions. */ 2171 #if _GL_HAS_ATTRIBUTE (format) 2172 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) 2173 #else 2174 # define _GL_ATTRIBUTE_FORMAT(spec) 2175 #endif 2176 2177 /* _GL_ATTRIBUTE_LEAF declares that if the function is called from some other 2178 compilation unit, it executes code from that unit only by return or by 2179 exception handling. This declaration lets the compiler optimize that unit 2180 more aggressively. */ 2181 /* Applies to: functions. */ 2182 #if _GL_HAS_ATTRIBUTE (leaf) 2183 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__)) 2184 #else 2185 # define _GL_ATTRIBUTE_LEAF 2186 #endif 2187 2188 /* _GL_ATTRIBUTE_MALLOC declares that the function returns a pointer to freshly 2189 allocated memory. */ 2190 /* Applies to: functions. */ 2191 #if _GL_HAS_ATTRIBUTE (malloc) 2192 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) 2193 #else 2194 # define _GL_ATTRIBUTE_MALLOC 2195 #endif 2196 2197 /* _GL_ATTRIBUTE_MAY_ALIAS declares that pointers to the type may point to the 2198 same storage as pointers to other types. Thus this declaration disables 2199 strict aliasing optimization. */ 2200 /* Applies to: types. */ 2201 /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ 2202 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C 2203 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) 2204 #else 2205 # define _GL_ATTRIBUTE_MAY_ALIAS 2206 #endif 2207 2208 /* _GL_ATTRIBUTE_MAYBE_UNUSED declares that it is not a programming mistake if 2209 the entity is not used. The compiler should not warn if the entity is not 2210 used. */ 2211 /* Applies to: 2212 - function, variable, 2213 - struct, union, struct/union member, 2214 - enumeration, enumeration item, 2215 - typedef, 2216 in C++ also: class. */ 2217 /* In C++ and C2x, this is spelled [[__maybe_unused__]]. 2218 GCC's syntax is __attribute__ ((__unused__)). 2219 clang supports both syntaxes. */ 2220 #if _GL_HAS_C_ATTRIBUTE (maybe_unused) 2221 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] 2222 #else 2223 # define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED 2224 #endif 2225 /* Alternative spelling of this macro, for convenience and for 2226 compatibility with glibc/include/libc-symbols.h. */ 2227 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED 2228 /* Earlier spellings of this macro. */ 2229 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED 2230 2231 /* _GL_ATTRIBUTE_NODISCARD declares that the caller of the function should not 2232 discard the return value. The compiler may warn if the caller does not use 2233 the return value, unless the caller uses something like ignore_value. */ 2234 /* Applies to: function, enumeration, class. */ 2235 #if _GL_HAS_C_ATTRIBUTE (nodiscard) 2236 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] 2237 #elif _GL_HAS_ATTRIBUTE (warn_unused_result) 2238 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) 2239 #else 2240 # define _GL_ATTRIBUTE_NODISCARD 2241 #endif 2242 2243 /* _GL_ATTRIBUTE_NOINLINE tells that the compiler should not inline the 2244 function. */ 2245 /* Applies to: functions. */ 2246 #if _GL_HAS_ATTRIBUTE (noinline) 2247 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__)) 2248 #else 2249 # define _GL_ATTRIBUTE_NOINLINE 2250 #endif 2251 2252 /* _GL_ATTRIBUTE_NONNULL ((N1, N2,...)) declares that the arguments N1, N2,... 2253 must not be NULL. 2254 _GL_ATTRIBUTE_NONNULL () declares that all pointer arguments must not be 2255 null. */ 2256 /* Applies to: functions. */ 2257 #if _GL_HAS_ATTRIBUTE (nonnull) 2258 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args)) 2259 #else 2260 # define _GL_ATTRIBUTE_NONNULL(args) 2261 #endif 2262 2263 /* _GL_ATTRIBUTE_NONSTRING declares that the contents of a character array is 2264 not meant to be NUL-terminated. */ 2265 /* Applies to: struct/union members and variables that are arrays of element 2266 type '[[un]signed] char'. */ 2267 #if _GL_HAS_ATTRIBUTE (nonstring) 2268 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__)) 2269 #else 2270 # define _GL_ATTRIBUTE_NONSTRING 2271 #endif 2272 2273 /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */ 2274 2275 /* _GL_ATTRIBUTE_NOTHROW declares that the function does not throw exceptions. 2276 */ 2277 /* Applies to: functions. */ 2278 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus 2279 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__)) 2280 #else 2281 # define _GL_ATTRIBUTE_NOTHROW 2282 #endif 2283 2284 /* _GL_ATTRIBUTE_PACKED declares: 2285 For struct members: The member has the smallest possible alignment. 2286 For struct, union, class: All members have the smallest possible alignment, 2287 minimizing the memory required. */ 2288 /* Applies to: struct members, struct, union, 2289 in C++ also: class. */ 2290 #if _GL_HAS_ATTRIBUTE (packed) 2291 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__)) 2292 #else 2293 # define _GL_ATTRIBUTE_PACKED 2294 #endif 2295 2296 /* _GL_ATTRIBUTE_PURE declares that It is OK for a compiler to omit duplicate 2297 calls to the function with the same arguments if observable state is not 2298 changed between calls. 2299 This attribute is safe for a function that does not affect 2300 observable state, and always returns exactly once. 2301 (This attribute is looser than _GL_ATTRIBUTE_CONST.) */ 2302 /* Applies to: functions. */ 2303 #if _GL_HAS_ATTRIBUTE (pure) 2304 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) 2305 #else 2306 # define _GL_ATTRIBUTE_PURE 2307 #endif 2308 2309 /* _GL_ATTRIBUTE_RETURNS_NONNULL declares that the function's return value is 2310 a non-NULL pointer. */ 2311 /* Applies to: functions. */ 2312 #if _GL_HAS_ATTRIBUTE (returns_nonnull) 2313 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__)) 2314 #else 2315 # define _GL_ATTRIBUTE_RETURNS_NONNULL 2316 #endif 2317 2318 /* _GL_ATTRIBUTE_SENTINEL(pos) declares that the variadic function expects a 2319 trailing NULL argument. 2320 _GL_ATTRIBUTE_SENTINEL () - The last argument is NULL (requires C99). 2321 _GL_ATTRIBUTE_SENTINEL ((N)) - The (N+1)st argument from the end is NULL. */ 2322 /* Applies to: functions. */ 2323 #if _GL_HAS_ATTRIBUTE (sentinel) 2324 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos)) 2325 #else 2326 # define _GL_ATTRIBUTE_SENTINEL(pos) 2327 #endif 2328 2329 /* A helper macro. Don't use it directly. */ 2330 #if _GL_HAS_ATTRIBUTE (unused) 2331 # define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) 2332 #else 2333 # define _GL_ATTRIBUTE_UNUSED 2334 #endif 2335 2336 2337 /* _GL_UNUSED_LABEL; declares that it is not a programming mistake if the 2338 immediately preceding label is not used. The compiler should not warn 2339 if the label is not used. */ 2340 /* Applies to: label (both in C and C++). */ 2341 /* Note that g++ < 4.5 does not support the '__attribute__ ((__unused__)) ;' 2342 syntax. But clang does. */ 2343 #if !(defined __cplusplus && !_GL_GNUC_PREREQ (4, 5)) || defined __clang__ 2344 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED 2345 #else 2346 # define _GL_UNUSED_LABEL 2347 #endif 2348 355 2349 356 2350 /* Define to empty if `const' does not conform to ANSI C. */ 357 2351 /* #undef const */ 2352 2353 /* Always use our fgetfilecon wrapper. */ 2354 /* #undef fgetfilecon */ 2355 2356 /* Always use our getfilecon wrapper. */ 2357 /* #undef getfilecon */ 2358 2359 /* Define to `int' if <sys/types.h> doesn't define. */ 2360 /* #undef gid_t */ 2361 2362 /* A replacement for va_copy, if needed. */ 2363 #define gl_va_copy(a,b) ((a) = (b)) 358 2364 359 2365 /* Define to `__inline__' or `__inline' if that's what the C compiler … … 363 2369 #endif 364 2370 2371 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports 2372 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of 2373 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. 2374 __APPLE__ && __MACH__ test for Mac OS X. 2375 __APPLE_CC__ tests for the Apple compiler and its version. 2376 __STDC_VERSION__ tests for the C99 mode. */ 2377 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ 2378 # define __GNUC_STDC_INLINE__ 1 2379 #endif 2380 2381 /* Always use our lgetfilecon wrapper. */ 2382 /* #undef lgetfilecon */ 2383 2384 /* Define to 1 if the compiler is checking for lint. */ 2385 /* #undef lint */ 2386 365 2387 /* Define to a type if <wchar.h> does not define. */ 366 2388 /* #undef mbstate_t */ 367 2389 368 /* Define to `long' if <sys/types.h> does not define. */ 369 /* #undef off_t */ 370 371 /* Define to `unsigned' if <sys/types.h> does not define. */ 2390 /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where 2391 n1 and n2 are expressions without side effects, that evaluate to real 2392 numbers (excluding NaN). 2393 It returns 2394 1 if n1 > n2 2395 0 if n1 == n2 2396 -1 if n1 < n2 2397 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional 2398 jump with nearly all GCC versions up to GCC 10. 2399 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many 2400 GCC versions up to GCC 9. 2401 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 2402 avoids conditional jumps in all GCC versions >= 3.4. */ 2403 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) 2404 2405 2406 /* Define to `int' if <sys/types.h> does not define. */ 2407 /* #undef mode_t */ 2408 2409 /* Define to the type of st_nlink in struct stat, or a supertype. */ 2410 /* #undef nlink_t */ 2411 2412 /* Define as a signed integer type capable of holding a process identifier. */ 2413 /* #undef pid_t */ 2414 2415 /* Define to rpl_re_comp if the replacement should be used. */ 2416 /* #undef re_comp */ 2417 2418 /* Define to rpl_re_compile_fastmap if the replacement should be used. */ 2419 /* #undef re_compile_fastmap */ 2420 2421 /* Define to rpl_re_compile_pattern if the replacement should be used. */ 2422 /* #undef re_compile_pattern */ 2423 2424 /* Define to rpl_re_exec if the replacement should be used. */ 2425 /* #undef re_exec */ 2426 2427 /* Define to rpl_re_match if the replacement should be used. */ 2428 /* #undef re_match */ 2429 2430 /* Define to rpl_re_match_2 if the replacement should be used. */ 2431 /* #undef re_match_2 */ 2432 2433 /* Define to rpl_re_search if the replacement should be used. */ 2434 /* #undef re_search */ 2435 2436 /* Define to rpl_re_search_2 if the replacement should be used. */ 2437 /* #undef re_search_2 */ 2438 2439 /* Define to rpl_re_set_registers if the replacement should be used. */ 2440 /* #undef re_set_registers */ 2441 2442 /* Define to rpl_re_set_syntax if the replacement should be used. */ 2443 /* #undef re_set_syntax */ 2444 2445 /* Define to rpl_re_syntax_options if the replacement should be used. */ 2446 /* #undef re_syntax_options */ 2447 2448 /* Define to rpl_regcomp if the replacement should be used. */ 2449 /* #undef regcomp */ 2450 2451 /* Define to rpl_regerror if the replacement should be used. */ 2452 /* #undef regerror */ 2453 2454 /* Define to rpl_regexec if the replacement should be used. */ 2455 /* #undef regexec */ 2456 2457 /* Define to rpl_regfree if the replacement should be used. */ 2458 /* #undef regfree */ 2459 2460 /* Define to the equivalent of the C99 'restrict' keyword, or to 2461 nothing if this is not supported. Do not define if restrict is 2462 supported only directly. */ 2463 /*#define restrict __restrict__*/ 2464 #define restrict /* A bit problematic as this messes up __declspec(restrict). */ 2465 2466 /* Work around a bug in older versions of Sun C++, which did not 2467 #define __restrict__ or support _Restrict or __restrict__ 2468 even though the corresponding Sun C compiler ended up with 2469 "#define restrict _Restrict" or "#define restrict __restrict__" 2470 in the previous line. This workaround can be removed once 2471 we assume Oracle Developer Studio 12.5 (2016) or later. */ 2472 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__ 2473 # define _Restrict 2474 # define __restrict__ 2475 #endif 2476 2477 /* Define to `unsigned int' if <sys/types.h> does not define. */ 372 2478 /* #undef size_t */ 373 2479 374 /* Define to `int' if <sys/types.h> does not define. */ 375 #define ssize_t intptr_t /* does 14.0 have this? */ 376 377 /* Additional defines and includes to make it work with the microsoft compiler */ 378 #ifndef __config_h_included_already 379 #define __config_h_included_already 380 381 #define HAVE_FCNTL_H 1 /* no idea why this isn't in config.h.in... */ 382 383 #define VOID void 2480 /* type to use in place of socklen_t if not defined */ 2481 /* #undef socklen_t */ 2482 2483 /* Define as a signed type of the same size as size_t. */ 2484 #if defined(KBUILD_ARCH_AMD64) || defined(KBUILD_ARCH_ARM64) 2485 typedef signed __int64 ssize_t; 2486 #else 2487 typedef signed __int32 ssize_t; 2488 #endif 2489 2490 /* Define to `int' if <sys/types.h> doesn't define. */ 2491 /* #undef uid_t */ 2492 2493 /* Define as a macro for copying va_list variables. */ 2494 /* #undef va_copy */ 2495 2496 #if !defined HAVE_C_ALIGNASOF && __cplusplus < 201103 && !defined alignof 2497 # if HAVE_STDALIGN_H 2498 # include <stdalign.h> 2499 # else 2500 /* Substitute. Keep consistent with gnulib/lib/stdalign.in.h. */ 2501 # ifndef _GL_STDALIGN_H 2502 # define _GL_STDALIGN_H 2503 /* # undef _Alignas */ 2504 /* # undef _Alignof */ 2505 # if (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 \ 2506 || (defined __GNUC__ && __GNUC__ < 4 + (__GNUC_MINOR__ < 9) \ 2507 && !defined __clang__) \ 2508 || (defined __clang__ && __clang_major__ < 8)) 2509 # ifdef __cplusplus 2510 # if (201103 <= __cplusplus || defined _MSC_VER) 2511 # define _Alignof(type) alignof (type) 2512 # else 2513 template <class __t> struct __alignof_helper { char __a; __t __b; }; 2514 # define _Alignof(type) offsetof (__alignof_helper<type>, __b) 2515 # define _GL_STDALIGN_NEEDS_STDDEF 1 2516 # endif 2517 # else 2518 # define _Alignof(type) offsetof (struct { char __a; type __b; }, __b) 2519 # define _GL_STDALIGN_NEEDS_STDDEF 1 2520 # endif 2521 # endif 2522 # if ! (defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER)) 2523 # define alignof _Alignof 2524 # endif 2525 # define __alignof_is_defined 1 2526 # if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 2527 # if defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER) 2528 # define _Alignas(a) alignas (a) 2529 # elif (!defined __attribute__ \ 2530 && ((defined __APPLE__ && defined __MACH__ \ 2531 ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \ 2532 : __GNUC__ && !defined __ibmxl__) \ 2533 || (4 <= __clang_major__) \ 2534 || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \ 2535 || __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__)) 2536 # define _Alignas(a) __attribute__ ((__aligned__ (a))) 2537 # elif 1300 <= _MSC_VER 2538 # define _Alignas(a) __declspec (align (a)) 2539 # endif 2540 # endif 2541 # if ((defined _Alignas \ 2542 && !(defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER))) \ 2543 || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) 2544 # define alignas _Alignas 2545 # endif 2546 # if (defined alignas \ 2547 || (defined __cplusplus && (201103 <= __cplusplus || defined _MSC_VER))) 2548 # define __alignas_is_defined 1 2549 # endif 2550 # if _GL_STDALIGN_NEEDS_STDDEF 2551 # include <stddef.h> 2552 # endif 2553 # endif /* _GL_STDALIGN_H */ 2554 # endif 2555 #endif 2556 2557 #ifndef HAVE_C_BOOL 2558 # if !defined __cplusplus && !defined __bool_true_false_are_defined 2559 # if HAVE_STDBOOL_H 2560 # include <stdbool.h> 2561 # else 2562 # if defined __SUNPRO_C 2563 # error "<stdbool.h> is not usable with this configuration. To make it usable, add -D_STDC_C99= to $CC." 2564 # else 2565 # error "<stdbool.h> does not exist on this platform. Use gnulib module 'stdbool-c99' instead of gnulib module 'stdbool'." 2566 # endif 2567 # endif 2568 # endif 2569 # if !true 2570 # define true (!false) 2571 # endif 2572 #endif 2573 2574 #if (!defined HAVE_C_STATIC_ASSERT && !defined assert \ 2575 && (!defined __cplusplus \ 2576 || (__cpp_static_assert < 201411 \ 2577 && __GNUG__ < 6 && __clang_major__ < 6))) 2578 #include <assert.h> 2579 #undef/**/assert 2580 /* Solaris 11.4 <assert.h> defines static_assert as a macro with 2 arguments. 2581 We need it also to be invocable with a single argument. */ 2582 #if defined __sun && (__STDC_VERSION__ - 0 >= 201112L) && !defined __cplusplus 2583 /* #undef static_assert */ 2584 #define static_assert _Static_assert 2585 #endif 2586 # ifdef _MSC_VER 2587 # define static_assert(expr) typedef int MY_STATIC_ASSERT_TYPE[(expr) ? 1 : 0] 2588 # endif 2589 #endif 2590 2591 2592 /* 2593 * Customizations. 2594 */ 2595 #include "get_codepage.h" 2596 #include "nt/ntstat.h" 2597 2598 /* Missing open flags.*/ 2599 #include <nt/ntopenat.h> 2600 #ifndef O_ACCMODE 2601 # define O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR) 2602 #endif 2603 2604 2605 /* 2606 * HACKS: 2607 * HACKS: 2608 * HACKS: 2609 */ 2610 #include <stdio.h> /* for FILE */ 384 2611 #define inline _inline 385 #include <io.h> /* isatty ++ */ 386 #include <sys/stat.h> 387 #define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) 388 #define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) 389 #define S_ISLNK(m) 0 390 #include <string.h> /* memory.h != string.h it seem even if the code assumes so. */ 391 392 /* stdbool.h replacement */ 393 typedef char bool; 394 #define false 0 395 #define true 1 396 397 #include <wchar.h> 398 /* mbsinit isn't defined until 2005 / v8.0. */ 399 #if _MSC_VER < 1400 400 int _inline mbsinit(const mbstate_t *_p) 401 { 402 return (_p) == (const mbstate_t *)0 || *(_p) == 0; 403 } 404 #endif 405 406 #if _MSC_VER >= 1400 407 /* crtdefs.h contains a typedef int errcode which collides with regcomp.c, 408 try avoid it. */ 409 #define errcode _errcode 410 #endif 411 412 /* mkstemp, getline */ 413 414 #include "get_codepage.h" 415 416 #endif 2612 2613 #define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(a,b) 2614 #define _GL_ARG_NONNULL(a) 2615 2616 extern void *memrchr(const void *, int, size_t); 2617 extern void *reallocarray(void *, size_t, size_t); 2618 extern int strverscmp(const char *, const char *); 2619 extern int mkostemp(char *, int); 2620 extern ssize_t getdelim(char **, size_t *, int, FILE *); 2621 2622 extern int rpl_mkdir(char const *, mode_t); 2623 #define mkdir(a,b) rpl_mkdir(a,b) 2624 -
trunk/src/sed/sed/execute.c
r3613 r3646 31 31 #include "stat-macros.h" 32 32 33 #ifdef HAVE_SELINUX_SELINUX_H 33 34 #include <selinux/selinux.h> 34 35 #include <selinux/context.h> 36 #endif 35 37 #include "acl.h" 36 38 #include "ignore-value.h" … … 596 598 panic (_("couldn't edit %s: not a regular file"), input->in_file_name); 597 599 600 #ifdef HAVE_SELINUX_SELINUX_H 598 601 if (is_selinux_enabled () > 0) 599 602 { … … 618 621 } 619 622 } 623 #endif 620 624 621 625 output_file.fp = ck_mkstemp (&input->out_file_name, tmpdir, "sed", … … 626 630 if (reset_fscreatecon) 627 631 { 632 #ifdef HAVE_SELINUX_SELINUX_H 628 633 setfscreatecon (old_fscreatecon); 629 634 freecon (old_fscreatecon); 635 #endif 630 636 } 631 637 … … 669 675 ignore_value (fchown (output_fd, -1, input->st.st_gid)); 670 676 #endif 677 #if USE_ACL 671 678 copy_acl (input->in_file_name, input_fd, 672 679 input->out_file_name, output_fd, 673 680 input->st.st_mode); 681 #endif 674 682 675 683 ck_fclose (input->fp); -
trunk/src/sed/sed/sed.c
r3613 r3646 30 30 #include "version.h" 31 31 #include "xalloc.h" 32 #ifdef HAVE_SELINUX_SELINUX_H 32 33 #include <selinux/selinux.h> 34 #endif 33 35 34 36 #include "version-etc.h" … … 393 395 fprintf (stderr, 394 396 _("%s: warning: setlocale (LC_ALL, \"%s\") failed: %d\n"), 395 myname, optarg, errno);397 program_name, optarg, errno); 396 398 else if (getenv ("KMK_SED_CODEPAGE_DEBUG")) 397 399 fprintf (stderr, "kmk_sed: codepage=%u locale=%s ACP=%u\n",
Note:
See TracChangeset
for help on using the changeset viewer.