| 1 |
# DO NOT EDIT! GENERATED AUTOMATICALLY! |
| 2 |
# Copyright (C) 2002-2022 Free Software Foundation, Inc. |
| 3 |
# |
| 4 |
# This file is free software; you can redistribute it and/or modify |
| 5 |
# it under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation, either version 3 of the License, or |
| 7 |
# (at your option) any later version. |
| 8 |
# |
| 9 |
# This file is distributed in the hope that it will be useful, |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
# GNU General Public License for more details. |
| 13 |
# |
| 14 |
# You should have received a copy of the GNU General Public License |
| 15 |
# along with this file. If not, see <https://www.gnu.org/licenses/>. |
| 16 |
# |
| 17 |
# As a special exception to the GNU General Public License, |
| 18 |
# this file may be distributed as part of a program that |
| 19 |
# contains a configuration script generated by Autoconf, under |
| 20 |
# the same distribution terms as the rest of that program. |
| 21 |
# |
| 22 |
# Generated by gnulib-tool. |
| 23 |
# |
| 24 |
# This file represents the compiled summary of the specification in |
| 25 |
# gnulib-cache.m4. It lists the computed macro invocations that need |
| 26 |
# to be invoked from configure.ac. |
| 27 |
# In projects that use version control, this file can be treated like |
| 28 |
# other built files. |
| 29 |
|
| 30 |
|
| 31 |
# This macro should be invoked from ./configure.ac, in the section |
| 32 |
# "Checks for programs", right after AC_PROG_CC, and certainly before |
| 33 |
# any checks for libraries, header files, types and library functions. |
| 34 |
AC_DEFUN([gl_EARLY], |
| 35 |
[ |
| 36 |
m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace |
| 37 |
m4_pattern_allow([^gl_ES$])dnl a valid locale name |
| 38 |
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable |
| 39 |
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable |
| 40 |
|
| 41 |
# Pre-early section. |
| 42 |
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) |
| 43 |
AC_REQUIRE([gl_PROG_AR_RANLIB]) |
| 44 |
|
| 45 |
# Code from module absolute-header: |
| 46 |
# Code from module accept: |
| 47 |
# Code from module accept-tests: |
| 48 |
# Code from module alloca: |
| 49 |
# Code from module alloca-opt: |
| 50 |
# Code from module alloca-opt-tests: |
| 51 |
# Code from module argz: |
| 52 |
# Code from module arpa_inet: |
| 53 |
# Code from module arpa_inet-tests: |
| 54 |
# Code from module assert-h: |
| 55 |
# Code from module assert-h-tests: |
| 56 |
# Code from module attribute: |
| 57 |
# Code from module basename-lgpl: |
| 58 |
# Code from module binary-io: |
| 59 |
# Code from module binary-io-tests: |
| 60 |
# Code from module bind: |
| 61 |
# Code from module bind-tests: |
| 62 |
# Code from module btowc: |
| 63 |
# Code from module btowc-tests: |
| 64 |
# Code from module builtin-expect: |
| 65 |
# Code from module c-ctype: |
| 66 |
# Code from module c-ctype-tests: |
| 67 |
# Code from module c-strcase: |
| 68 |
# Code from module c-strcase-tests: |
| 69 |
# Code from module c99: |
| 70 |
# Code from module calloc-gnu: |
| 71 |
# Code from module calloc-gnu-tests: |
| 72 |
# Code from module calloc-posix: |
| 73 |
# Code from module canonicalize-lgpl: |
| 74 |
# Code from module canonicalize-lgpl-tests: |
| 75 |
# Code from module clock-time: |
| 76 |
# Code from module cloexec: |
| 77 |
# Code from module cloexec-tests: |
| 78 |
# Code from module close: |
| 79 |
# Code from module close-tests: |
| 80 |
# Code from module connect: |
| 81 |
# Code from module connect-tests: |
| 82 |
# Code from module ctype: |
| 83 |
# Code from module ctype-tests: |
| 84 |
# Code from module dirname-lgpl: |
| 85 |
# Code from module double-slash-root: |
| 86 |
# Code from module dup2: |
| 87 |
# Code from module dup2-tests: |
| 88 |
# Code from module eloop-threshold: |
| 89 |
# Code from module environ: |
| 90 |
# Code from module environ-tests: |
| 91 |
# Code from module errno: |
| 92 |
# Code from module errno-tests: |
| 93 |
# Code from module extensions: |
| 94 |
# Code from module extern-inline: |
| 95 |
# Code from module fcntl: |
| 96 |
# Code from module fcntl-h: |
| 97 |
# Code from module fcntl-h-tests: |
| 98 |
# Code from module fcntl-tests: |
| 99 |
# Code from module fd-hook: |
| 100 |
# Code from module fdopen: |
| 101 |
# Code from module fdopen-tests: |
| 102 |
# Code from module fgetc-tests: |
| 103 |
# Code from module filename: |
| 104 |
# Code from module flexmember: |
| 105 |
# Code from module float: |
| 106 |
# Code from module float-tests: |
| 107 |
# Code from module fnmatch: |
| 108 |
# Code from module fnmatch-h: |
| 109 |
# Code from module fnmatch-h-tests: |
| 110 |
# Code from module fnmatch-tests: |
| 111 |
# Code from module fpieee: |
| 112 |
AC_REQUIRE([gl_FP_IEEE]) |
| 113 |
# Code from module fpucw: |
| 114 |
# Code from module fputc-tests: |
| 115 |
# Code from module fread-tests: |
| 116 |
# Code from module free-posix: |
| 117 |
# Code from module free-posix-tests: |
| 118 |
# Code from module fstat: |
| 119 |
# Code from module fstat-tests: |
| 120 |
# Code from module ftruncate: |
| 121 |
# Code from module ftruncate-tests: |
| 122 |
# Code from module fwrite-tests: |
| 123 |
# Code from module gen-header: |
| 124 |
# Code from module getcwd-lgpl: |
| 125 |
# Code from module getcwd-lgpl-tests: |
| 126 |
# Code from module getdelim: |
| 127 |
# Code from module getdelim-tests: |
| 128 |
# Code from module getdtablesize: |
| 129 |
# Code from module getdtablesize-tests: |
| 130 |
# Code from module getline: |
| 131 |
# Code from module getline-tests: |
| 132 |
# Code from module getopt-gnu: |
| 133 |
# Code from module getopt-gnu-tests: |
| 134 |
# Code from module getopt-posix: |
| 135 |
# Code from module getopt-posix-tests: |
| 136 |
# Code from module getpagesize: |
| 137 |
# Code from module getrandom: |
| 138 |
# Code from module getrandom-tests: |
| 139 |
# Code from module gettext-h: |
| 140 |
# Code from module gettimeofday: |
| 141 |
# Code from module gettimeofday-tests: |
| 142 |
# Code from module gitlog-to-changelog: |
| 143 |
# Code from module glibc-internal/dynarray: |
| 144 |
# Code from module glibc-internal/dynarray-tests: |
| 145 |
# Code from module glibc-internal/scratch_buffer: |
| 146 |
# Code from module glibc-internal/scratch_buffer-tests: |
| 147 |
# Code from module hard-locale: |
| 148 |
# Code from module hard-locale-tests: |
| 149 |
# Code from module idx: |
| 150 |
# Code from module ignore-value: |
| 151 |
# Code from module ignore-value-tests: |
| 152 |
# Code from module include_next: |
| 153 |
# Code from module inet_pton: |
| 154 |
# Code from module inet_pton-tests: |
| 155 |
# Code from module intprops: |
| 156 |
# Code from module intprops-tests: |
| 157 |
# Code from module inttypes: |
| 158 |
# Code from module inttypes-incomplete: |
| 159 |
# Code from module inttypes-tests: |
| 160 |
# Code from module ioctl: |
| 161 |
# Code from module ioctl-tests: |
| 162 |
# Code from module isblank: |
| 163 |
# Code from module isblank-tests: |
| 164 |
# Code from module langinfo: |
| 165 |
# Code from module langinfo-tests: |
| 166 |
# Code from module largefile: |
| 167 |
AC_REQUIRE([gl_YEAR2038_EARLY]) |
| 168 |
AC_REQUIRE([AC_SYS_LARGEFILE]) |
| 169 |
# Code from module libc-config: |
| 170 |
# Code from module limits-h: |
| 171 |
# Code from module limits-h-tests: |
| 172 |
# Code from module listen: |
| 173 |
# Code from module listen-tests: |
| 174 |
# Code from module localcharset: |
| 175 |
# Code from module localcharset-tests: |
| 176 |
# Code from module locale: |
| 177 |
# Code from module locale-tests: |
| 178 |
# Code from module localeconv: |
| 179 |
# Code from module localeconv-tests: |
| 180 |
# Code from module localename: |
| 181 |
# Code from module localename-tests: |
| 182 |
# Code from module lock: |
| 183 |
# Code from module lock-tests: |
| 184 |
# Code from module lstat: |
| 185 |
# Code from module lstat-tests: |
| 186 |
# Code from module malloc-gnu: |
| 187 |
# Code from module malloc-gnu-tests: |
| 188 |
# Code from module malloc-posix: |
| 189 |
# Code from module malloca: |
| 190 |
# Code from module malloca-tests: |
| 191 |
# Code from module mbrtowc: |
| 192 |
# Code from module mbrtowc-tests: |
| 193 |
# Code from module mbsinit: |
| 194 |
# Code from module mbsinit-tests: |
| 195 |
# Code from module mbsrtowcs: |
| 196 |
# Code from module mbsrtowcs-tests: |
| 197 |
# Code from module mbtowc: |
| 198 |
# Code from module memchr: |
| 199 |
# Code from module memchr-tests: |
| 200 |
# Code from module mempcpy: |
| 201 |
# Code from module minmax: |
| 202 |
# Code from module mkdir: |
| 203 |
# Code from module mkdir-tests: |
| 204 |
# Code from module mkstemp: |
| 205 |
# Code from module msvc-inval: |
| 206 |
# Code from module msvc-nothrow: |
| 207 |
# Code from module multiarch: |
| 208 |
# Code from module nanosleep: |
| 209 |
# Code from module nanosleep-tests: |
| 210 |
# Code from module netinet_in: |
| 211 |
# Code from module netinet_in-tests: |
| 212 |
# Code from module nl_langinfo: |
| 213 |
# Code from module nl_langinfo-tests: |
| 214 |
# Code from module nocrash: |
| 215 |
# Code from module open: |
| 216 |
# Code from module open-tests: |
| 217 |
# Code from module pathmax: |
| 218 |
# Code from module pathmax-tests: |
| 219 |
# Code from module perror: |
| 220 |
# Code from module perror-tests: |
| 221 |
# Code from module pipe-posix: |
| 222 |
# Code from module pipe-posix-tests: |
| 223 |
# Code from module pselect: |
| 224 |
# Code from module pselect-tests: |
| 225 |
# Code from module pthread-h: |
| 226 |
gl_ANYTHREADLIB_EARLY |
| 227 |
# Code from module pthread-h-tests: |
| 228 |
# Code from module pthread-thread: |
| 229 |
# Code from module pthread-thread-tests: |
| 230 |
# Code from module pthread_sigmask: |
| 231 |
# Code from module pthread_sigmask-tests: |
| 232 |
# Code from module putenv: |
| 233 |
# Code from module raise: |
| 234 |
# Code from module raise-tests: |
| 235 |
# Code from module rawmemchr: |
| 236 |
# Code from module rawmemchr-tests: |
| 237 |
# Code from module readlink: |
| 238 |
# Code from module readlink-tests: |
| 239 |
# Code from module realloc-gnu: |
| 240 |
# Code from module realloc-gnu-tests: |
| 241 |
# Code from module realloc-posix: |
| 242 |
# Code from module reallocarray: |
| 243 |
# Code from module reallocarray-tests: |
| 244 |
# Code from module regex: |
| 245 |
# Code from module regex-tests: |
| 246 |
# Code from module safe-alloc: |
| 247 |
# Code from module safe-alloc-tests: |
| 248 |
# Code from module same-inode: |
| 249 |
# Code from module sched: |
| 250 |
# Code from module sched-tests: |
| 251 |
# Code from module sched_yield: |
| 252 |
# Code from module select: |
| 253 |
# Code from module select-tests: |
| 254 |
# Code from module selinux-h: |
| 255 |
# Code from module setenv: |
| 256 |
# Code from module setenv-tests: |
| 257 |
# Code from module setlocale: |
| 258 |
# Code from module setlocale-null: |
| 259 |
# Code from module setlocale-null-tests: |
| 260 |
# Code from module setlocale-tests: |
| 261 |
# Code from module setsockopt: |
| 262 |
# Code from module setsockopt-tests: |
| 263 |
# Code from module signal-h: |
| 264 |
# Code from module signal-h-tests: |
| 265 |
# Code from module sigprocmask: |
| 266 |
# Code from module sigprocmask-tests: |
| 267 |
# Code from module size_max: |
| 268 |
# Code from module sleep: |
| 269 |
# Code from module sleep-tests: |
| 270 |
# Code from module snippet/_Noreturn: |
| 271 |
# Code from module snippet/arg-nonnull: |
| 272 |
# Code from module snippet/c++defs: |
| 273 |
# Code from module snippet/warn-on-use: |
| 274 |
# Code from module socket: |
| 275 |
# Code from module socketlib: |
| 276 |
# Code from module sockets: |
| 277 |
# Code from module sockets-tests: |
| 278 |
# Code from module socklen: |
| 279 |
# Code from module ssize_t: |
| 280 |
# Code from module stat: |
| 281 |
# Code from module stat-tests: |
| 282 |
# Code from module stat-time: |
| 283 |
# Code from module stat-time-tests: |
| 284 |
# Code from module std-gnu11: |
| 285 |
# Code from module stdalign: |
| 286 |
# Code from module stdalign-tests: |
| 287 |
# Code from module stdbool: |
| 288 |
# Code from module stdbool-tests: |
| 289 |
# Code from module stdckdint: |
| 290 |
# Code from module stdckdint-tests: |
| 291 |
# Code from module stddef: |
| 292 |
# Code from module stddef-tests: |
| 293 |
# Code from module stdint: |
| 294 |
# Code from module stdint-tests: |
| 295 |
# Code from module stdio: |
| 296 |
# Code from module stdio-tests: |
| 297 |
# Code from module stdlib: |
| 298 |
# Code from module stdlib-tests: |
| 299 |
# Code from module stpcpy: |
| 300 |
# Code from module stpncpy: |
| 301 |
# Code from module strchrnul: |
| 302 |
# Code from module strchrnul-tests: |
| 303 |
# Code from module streq: |
| 304 |
# Code from module strerror: |
| 305 |
# Code from module strerror-override: |
| 306 |
# Code from module strerror-tests: |
| 307 |
# Code from module strerror_r-posix: |
| 308 |
# Code from module strerror_r-posix-tests: |
| 309 |
# Code from module string: |
| 310 |
# Code from module string-tests: |
| 311 |
# Code from module strndup: |
| 312 |
# Code from module strnlen: |
| 313 |
# Code from module strnlen-tests: |
| 314 |
# Code from module strnlen1: |
| 315 |
# Code from module strstr: |
| 316 |
# Code from module strstr-simple: |
| 317 |
# Code from module strstr-tests: |
| 318 |
# Code from module symlink: |
| 319 |
# Code from module symlink-tests: |
| 320 |
# Code from module sys_ioctl: |
| 321 |
# Code from module sys_ioctl-tests: |
| 322 |
# Code from module sys_random: |
| 323 |
# Code from module sys_random-tests: |
| 324 |
# Code from module sys_select: |
| 325 |
# Code from module sys_select-tests: |
| 326 |
# Code from module sys_socket: |
| 327 |
# Code from module sys_socket-tests: |
| 328 |
# Code from module sys_stat: |
| 329 |
# Code from module sys_stat-tests: |
| 330 |
# Code from module sys_time: |
| 331 |
# Code from module sys_time-tests: |
| 332 |
# Code from module sys_types: |
| 333 |
# Code from module sys_types-tests: |
| 334 |
# Code from module sys_uio: |
| 335 |
# Code from module sys_uio-tests: |
| 336 |
# Code from module sys_wait: |
| 337 |
# Code from module sys_wait-tests: |
| 338 |
# Code from module tempname: |
| 339 |
# Code from module test-framework-sh: |
| 340 |
# Code from module test-framework-sh-tests: |
| 341 |
# Code from module thread: |
| 342 |
# Code from module thread-optim: |
| 343 |
# Code from module thread-tests: |
| 344 |
# Code from module threadlib: |
| 345 |
gl_THREADLIB_EARLY |
| 346 |
# Code from module time: |
| 347 |
# Code from module time-tests: |
| 348 |
# Code from module unistd: |
| 349 |
# Code from module unistd-tests: |
| 350 |
# Code from module unsetenv: |
| 351 |
# Code from module unsetenv-tests: |
| 352 |
# Code from module usleep: |
| 353 |
# Code from module usleep-tests: |
| 354 |
# Code from module vararrays: |
| 355 |
# Code from module vasnprintf: |
| 356 |
# Code from module vasnprintf-tests: |
| 357 |
# Code from module vasprintf: |
| 358 |
# Code from module vasprintf-tests: |
| 359 |
# Code from module verify: |
| 360 |
# Code from module verify-tests: |
| 361 |
# Code from module wchar: |
| 362 |
# Code from module wchar-tests: |
| 363 |
# Code from module wcrtomb: |
| 364 |
# Code from module wcrtomb-tests: |
| 365 |
# Code from module wctob: |
| 366 |
# Code from module wctomb: |
| 367 |
# Code from module wctype-h: |
| 368 |
# Code from module wctype-h-tests: |
| 369 |
# Code from module windows-mutex: |
| 370 |
# Code from module windows-once: |
| 371 |
# Code from module windows-recmutex: |
| 372 |
# Code from module windows-rwlock: |
| 373 |
# Code from module windows-thread: |
| 374 |
# Code from module windows-tls: |
| 375 |
# Code from module wmemchr: |
| 376 |
# Code from module wmempcpy: |
| 377 |
# Code from module xalloc-oversized: |
| 378 |
# Code from module xsize: |
| 379 |
# Code from module yield: |
| 380 |
]) |
| 381 |
|
| 382 |
# This macro should be invoked from ./configure.ac, in the section |
| 383 |
# "Check for header files, types and library functions". |
| 384 |
AC_DEFUN([gl_INIT], |
| 385 |
[ |
| 386 |
AC_CONFIG_LIBOBJ_DIR([gnulib/tests]) |
| 387 |
AM_CONDITIONAL([GL_COND_LIBTOOL], [true]) |
| 388 |
gl_cond_libtool=true |
| 389 |
gl_m4_base='gnulib/m4' |
| 390 |
m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) |
| 391 |
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) |
| 392 |
m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) |
| 393 |
m4_pushdef([gl_LIBSOURCES_LIST], []) |
| 394 |
m4_pushdef([gl_LIBSOURCES_DIR], []) |
| 395 |
m4_pushdef([GL_MACRO_PREFIX], [gl]) |
| 396 |
m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL]) |
| 397 |
gl_COMMON |
| 398 |
gl_source_base='gnulib/lib' |
| 399 |
gl_source_base_prefix= |
| 400 |
gl_FUNC_ALLOCA |
| 401 |
gl_CONDITIONAL_HEADER([alloca.h]) |
| 402 |
AC_PROG_MKDIR_P |
| 403 |
gl_FUNC_ARGZ |
| 404 |
gl_CONDITIONAL_HEADER([argz.h]) |
| 405 |
AC_PROG_MKDIR_P |
| 406 |
gl_CONDITIONAL([GL_COND_OBJ_ARGZ], [test -n "$ARGZ_H"]) |
| 407 |
gl_ASSERT_H |
| 408 |
gl_CONDITIONAL_HEADER([assert.h]) |
| 409 |
AC_PROG_MKDIR_P |
| 410 |
gl_FUNC_BTOWC |
| 411 |
gl_CONDITIONAL([GL_COND_OBJ_BTOWC], |
| 412 |
[test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1]) |
| 413 |
AM_COND_IF([GL_COND_OBJ_BTOWC], [ |
| 414 |
gl_PREREQ_BTOWC |
| 415 |
]) |
| 416 |
gl_WCHAR_MODULE_INDICATOR([btowc]) |
| 417 |
gl___BUILTIN_EXPECT |
| 418 |
gl_FUNC_CALLOC_GNU |
| 419 |
if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then |
| 420 |
AC_LIBOBJ([calloc]) |
| 421 |
fi |
| 422 |
gl_STDLIB_MODULE_INDICATOR([calloc-gnu]) |
| 423 |
gl_FUNC_CALLOC_POSIX |
| 424 |
if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then |
| 425 |
AC_LIBOBJ([calloc]) |
| 426 |
fi |
| 427 |
gl_STDLIB_MODULE_INDICATOR([calloc-posix]) |
| 428 |
gl_CANONICALIZE_LGPL |
| 429 |
gl_CONDITIONAL([GL_COND_OBJ_CANONICALIZE_LGPL], |
| 430 |
[test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]) |
| 431 |
gl_MODULE_INDICATOR([canonicalize-lgpl]) |
| 432 |
gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) |
| 433 |
gl_STDLIB_MODULE_INDICATOR([realpath]) |
| 434 |
gl_CLOCK_TIME |
| 435 |
gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) |
| 436 |
gl_FUNC_CLOSE |
| 437 |
gl_CONDITIONAL([GL_COND_OBJ_CLOSE], [test $REPLACE_CLOSE = 1]) |
| 438 |
gl_UNISTD_MODULE_INDICATOR([close]) |
| 439 |
gl_CTYPE_H |
| 440 |
gl_CTYPE_H_REQUIRE_DEFAULTS |
| 441 |
AC_PROG_MKDIR_P |
| 442 |
gl_DOUBLE_SLASH_ROOT |
| 443 |
gl_FUNC_DUP2 |
| 444 |
gl_CONDITIONAL([GL_COND_OBJ_DUP2], [test $REPLACE_DUP2 = 1]) |
| 445 |
AM_COND_IF([GL_COND_OBJ_DUP2], [ |
| 446 |
gl_PREREQ_DUP2 |
| 447 |
]) |
| 448 |
gl_UNISTD_MODULE_INDICATOR([dup2]) |
| 449 |
gl_HEADER_ERRNO_H |
| 450 |
gl_CONDITIONAL_HEADER([errno.h]) |
| 451 |
AC_PROG_MKDIR_P |
| 452 |
AC_REQUIRE([gl_EXTERN_INLINE]) |
| 453 |
gl_FUNC_FCNTL |
| 454 |
gl_CONDITIONAL([GL_COND_OBJ_FCNTL], |
| 455 |
[test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]) |
| 456 |
gl_FCNTL_MODULE_INDICATOR([fcntl]) |
| 457 |
gl_FCNTL_H |
| 458 |
gl_FCNTL_H_REQUIRE_DEFAULTS |
| 459 |
AC_PROG_MKDIR_P |
| 460 |
AC_C_FLEXIBLE_ARRAY_MEMBER |
| 461 |
gl_FLOAT_H |
| 462 |
gl_CONDITIONAL_HEADER([float.h]) |
| 463 |
AC_PROG_MKDIR_P |
| 464 |
gl_CONDITIONAL([GL_COND_OBJ_FLOAT], [test $REPLACE_FLOAT_LDBL = 1]) |
| 465 |
gl_CONDITIONAL([GL_COND_OBJ_ITOLD], [test $REPLACE_ITOLD = 1]) |
| 466 |
gl_FUNC_FNMATCH_POSIX |
| 467 |
dnl Because of gl_REPLACE_FNMATCH_H: |
| 468 |
gl_CONDITIONAL_HEADER([fnmatch.h]) |
| 469 |
if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then |
| 470 |
AC_LIBOBJ([fnmatch]) |
| 471 |
gl_PREREQ_FNMATCH |
| 472 |
fi |
| 473 |
gl_FNMATCH_MODULE_INDICATOR([fnmatch]) |
| 474 |
gl_FNMATCH_H |
| 475 |
gl_FNMATCH_H_REQUIRE_DEFAULTS |
| 476 |
gl_CONDITIONAL_HEADER([fnmatch.h]) |
| 477 |
AC_PROG_MKDIR_P |
| 478 |
gl_FUNC_FREE |
| 479 |
gl_CONDITIONAL([GL_COND_OBJ_FREE], [test $REPLACE_FREE = 1]) |
| 480 |
AM_COND_IF([GL_COND_OBJ_FREE], [ |
| 481 |
gl_PREREQ_FREE |
| 482 |
]) |
| 483 |
gl_STDLIB_MODULE_INDICATOR([free-posix]) |
| 484 |
gl_FUNC_FSTAT |
| 485 |
gl_CONDITIONAL([GL_COND_OBJ_FSTAT], [test $REPLACE_FSTAT = 1]) |
| 486 |
AM_COND_IF([GL_COND_OBJ_FSTAT], [ |
| 487 |
case "$host_os" in |
| 488 |
mingw*) |
| 489 |
AC_LIBOBJ([stat-w32]) |
| 490 |
;; |
| 491 |
esac |
| 492 |
gl_PREREQ_FSTAT |
| 493 |
]) |
| 494 |
gl_SYS_STAT_MODULE_INDICATOR([fstat]) |
| 495 |
gl_FUNC_GETDELIM |
| 496 |
gl_CONDITIONAL([GL_COND_OBJ_GETDELIM], |
| 497 |
[test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1]) |
| 498 |
AM_COND_IF([GL_COND_OBJ_GETDELIM], [ |
| 499 |
gl_PREREQ_GETDELIM |
| 500 |
]) |
| 501 |
gl_STDIO_MODULE_INDICATOR([getdelim]) |
| 502 |
gl_FUNC_GETDTABLESIZE |
| 503 |
gl_CONDITIONAL([GL_COND_OBJ_GETDTABLESIZE], |
| 504 |
[test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1]) |
| 505 |
AM_COND_IF([GL_COND_OBJ_GETDTABLESIZE], [ |
| 506 |
gl_PREREQ_GETDTABLESIZE |
| 507 |
]) |
| 508 |
gl_UNISTD_MODULE_INDICATOR([getdtablesize]) |
| 509 |
gl_FUNC_GETLINE |
| 510 |
gl_CONDITIONAL([GL_COND_OBJ_GETLINE], [test $REPLACE_GETLINE = 1]) |
| 511 |
AM_COND_IF([GL_COND_OBJ_GETLINE], [ |
| 512 |
gl_PREREQ_GETLINE |
| 513 |
]) |
| 514 |
gl_STDIO_MODULE_INDICATOR([getline]) |
| 515 |
gl_FUNC_GETOPT_GNU |
| 516 |
dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required |
| 517 |
dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are |
| 518 |
dnl done in the getopt-posix module. |
| 519 |
gl_FUNC_GETOPT_POSIX |
| 520 |
gl_CONDITIONAL_HEADER([getopt.h]) |
| 521 |
gl_CONDITIONAL_HEADER([getopt-cdefs.h]) |
| 522 |
AC_PROG_MKDIR_P |
| 523 |
gl_CONDITIONAL([GL_COND_OBJ_GETOPT], [test $REPLACE_GETOPT = 1]) |
| 524 |
AM_COND_IF([GL_COND_OBJ_GETOPT], [ |
| 525 |
dnl Define the substituted variable GNULIB_UNISTD_H_GETOPT to 1. |
| 526 |
gl_UNISTD_H_REQUIRE_DEFAULTS |
| 527 |
gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_GETOPT], [1]) |
| 528 |
]) |
| 529 |
gl_UNISTD_MODULE_INDICATOR([getopt-posix]) |
| 530 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 531 |
gl_FUNC_GETRANDOM |
| 532 |
gl_CONDITIONAL([GL_COND_OBJ_GETRANDOM], |
| 533 |
[test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]) |
| 534 |
gl_SYS_RANDOM_MODULE_INDICATOR([getrandom]) |
| 535 |
AC_SUBST([LIBINTL]) |
| 536 |
AC_SUBST([LTLIBINTL]) |
| 537 |
AC_PROG_MKDIR_P |
| 538 |
AC_PROG_MKDIR_P |
| 539 |
AC_REQUIRE([gl_FUNC_SETLOCALE_NULL]) |
| 540 |
LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL" |
| 541 |
AC_SUBST([LIB_HARD_LOCALE]) |
| 542 |
gl_INTTYPES_INCOMPLETE |
| 543 |
gl_INTTYPES_H_REQUIRE_DEFAULTS |
| 544 |
AC_PROG_MKDIR_P |
| 545 |
gl_FUNC_ISBLANK |
| 546 |
gl_CONDITIONAL([GL_COND_OBJ_ISBLANK], [test $HAVE_ISBLANK = 0]) |
| 547 |
gl_MODULE_INDICATOR([isblank]) |
| 548 |
gl_CTYPE_MODULE_INDICATOR([isblank]) |
| 549 |
gl_LANGINFO_H |
| 550 |
gl_LANGINFO_H_REQUIRE_DEFAULTS |
| 551 |
AC_PROG_MKDIR_P |
| 552 |
AC_REQUIRE([gl_LARGEFILE]) |
| 553 |
gl___INLINE |
| 554 |
gl_LIMITS_H |
| 555 |
gl_CONDITIONAL_HEADER([limits.h]) |
| 556 |
AC_PROG_MKDIR_P |
| 557 |
gl_LOCALCHARSET |
| 558 |
dnl For backward compatibility. Some packages still use this. |
| 559 |
LOCALCHARSET_TESTS_ENVIRONMENT= |
| 560 |
AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) |
| 561 |
gl_LOCALE_H |
| 562 |
gl_LOCALE_H_REQUIRE_DEFAULTS |
| 563 |
AC_PROG_MKDIR_P |
| 564 |
gl_FUNC_LOCALECONV |
| 565 |
gl_CONDITIONAL([GL_COND_OBJ_LOCALECONV], [test $REPLACE_LOCALECONV = 1]) |
| 566 |
AM_COND_IF([GL_COND_OBJ_LOCALECONV], [ |
| 567 |
gl_PREREQ_LOCALECONV |
| 568 |
]) |
| 569 |
gl_LOCALE_MODULE_INDICATOR([localeconv]) |
| 570 |
gl_LOCK |
| 571 |
gl_MODULE_INDICATOR([lock]) |
| 572 |
gl_FUNC_LSTAT |
| 573 |
gl_CONDITIONAL([GL_COND_OBJ_LSTAT], [test $REPLACE_LSTAT = 1]) |
| 574 |
AM_COND_IF([GL_COND_OBJ_LSTAT], [ |
| 575 |
gl_PREREQ_LSTAT |
| 576 |
]) |
| 577 |
gl_SYS_STAT_MODULE_INDICATOR([lstat]) |
| 578 |
gl_FUNC_MALLOC_GNU |
| 579 |
if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1; then |
| 580 |
AC_LIBOBJ([malloc]) |
| 581 |
fi |
| 582 |
gl_STDLIB_MODULE_INDICATOR([malloc-gnu]) |
| 583 |
AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) |
| 584 |
if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then |
| 585 |
AC_LIBOBJ([malloc]) |
| 586 |
fi |
| 587 |
gl_STDLIB_MODULE_INDICATOR([malloc-posix]) |
| 588 |
gl_MALLOCA |
| 589 |
gl_FUNC_MBRTOWC |
| 590 |
gl_CONDITIONAL([GL_COND_OBJ_MBRTOWC], |
| 591 |
[test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1]) |
| 592 |
AM_COND_IF([GL_COND_OBJ_MBRTOWC], [ |
| 593 |
if test $REPLACE_MBSTATE_T = 1; then |
| 594 |
AC_LIBOBJ([lc-charset-dispatch]) |
| 595 |
AC_LIBOBJ([mbtowc-lock]) |
| 596 |
gl_PREREQ_MBTOWC_LOCK |
| 597 |
fi |
| 598 |
gl_PREREQ_MBRTOWC |
| 599 |
]) |
| 600 |
gl_WCHAR_MODULE_INDICATOR([mbrtowc]) |
| 601 |
gl_FUNC_MBSINIT |
| 602 |
gl_CONDITIONAL([GL_COND_OBJ_MBSINIT], |
| 603 |
[test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1]) |
| 604 |
AM_COND_IF([GL_COND_OBJ_MBSINIT], [ |
| 605 |
gl_PREREQ_MBSINIT |
| 606 |
]) |
| 607 |
gl_WCHAR_MODULE_INDICATOR([mbsinit]) |
| 608 |
gl_FUNC_MBSRTOWCS |
| 609 |
gl_CONDITIONAL([GL_COND_OBJ_MBSRTOWCS], |
| 610 |
[test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1]) |
| 611 |
AM_COND_IF([GL_COND_OBJ_MBSRTOWCS], [ |
| 612 |
AC_LIBOBJ([mbsrtowcs-state]) |
| 613 |
gl_PREREQ_MBSRTOWCS |
| 614 |
]) |
| 615 |
gl_WCHAR_MODULE_INDICATOR([mbsrtowcs]) |
| 616 |
gl_FUNC_MBTOWC |
| 617 |
gl_CONDITIONAL([GL_COND_OBJ_MBTOWC], |
| 618 |
[test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]) |
| 619 |
AM_COND_IF([GL_COND_OBJ_MBTOWC], [ |
| 620 |
gl_PREREQ_MBTOWC |
| 621 |
]) |
| 622 |
gl_STDLIB_MODULE_INDICATOR([mbtowc]) |
| 623 |
gl_FUNC_MEMCHR |
| 624 |
gl_CONDITIONAL([GL_COND_OBJ_MEMCHR], [test $REPLACE_MEMCHR = 1]) |
| 625 |
AM_COND_IF([GL_COND_OBJ_MEMCHR], [ |
| 626 |
gl_PREREQ_MEMCHR |
| 627 |
]) |
| 628 |
gl_STRING_MODULE_INDICATOR([memchr]) |
| 629 |
gl_FUNC_MEMPCPY |
| 630 |
gl_CONDITIONAL([GL_COND_OBJ_MEMPCPY], [test $HAVE_MEMPCPY = 0]) |
| 631 |
AM_COND_IF([GL_COND_OBJ_MEMPCPY], [ |
| 632 |
gl_PREREQ_MEMPCPY |
| 633 |
]) |
| 634 |
gl_STRING_MODULE_INDICATOR([mempcpy]) |
| 635 |
gl_MINMAX |
| 636 |
gl_FUNC_MKDIR |
| 637 |
gl_CONDITIONAL([GL_COND_OBJ_MKDIR], [test $REPLACE_MKDIR = 1]) |
| 638 |
gl_SYS_STAT_MODULE_INDICATOR([mkdir]) |
| 639 |
gl_FUNC_MKSTEMP |
| 640 |
gl_CONDITIONAL([GL_COND_OBJ_MKSTEMP], |
| 641 |
[test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1]) |
| 642 |
AM_COND_IF([GL_COND_OBJ_MKSTEMP], [ |
| 643 |
gl_PREREQ_MKSTEMP |
| 644 |
]) |
| 645 |
gl_STDLIB_MODULE_INDICATOR([mkstemp]) |
| 646 |
AC_REQUIRE([gl_MSVC_INVAL]) |
| 647 |
gl_CONDITIONAL([GL_COND_OBJ_MSVC_INVAL], |
| 648 |
[test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1]) |
| 649 |
AC_REQUIRE([gl_MSVC_NOTHROW]) |
| 650 |
gl_CONDITIONAL([GL_COND_OBJ_MSVC_NOTHROW], |
| 651 |
[test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1]) |
| 652 |
gl_MODULE_INDICATOR([msvc-nothrow]) |
| 653 |
gl_MULTIARCH |
| 654 |
gl_FUNC_NL_LANGINFO |
| 655 |
gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO], |
| 656 |
[test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1]) |
| 657 |
gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO_LOCK], |
| 658 |
[test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0]) |
| 659 |
if test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0; then |
| 660 |
gl_PREREQ_NL_LANGINFO_LOCK |
| 661 |
fi |
| 662 |
gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) |
| 663 |
gl_FUNC_OPEN |
| 664 |
gl_CONDITIONAL([GL_COND_OBJ_OPEN], [test $REPLACE_OPEN = 1]) |
| 665 |
AM_COND_IF([GL_COND_OBJ_OPEN], [ |
| 666 |
gl_PREREQ_OPEN |
| 667 |
]) |
| 668 |
gl_FCNTL_MODULE_INDICATOR([open]) |
| 669 |
gl_PATHMAX |
| 670 |
gl_FUNC_RAWMEMCHR |
| 671 |
gl_CONDITIONAL([GL_COND_OBJ_RAWMEMCHR], [test $HAVE_RAWMEMCHR = 0]) |
| 672 |
AM_COND_IF([GL_COND_OBJ_RAWMEMCHR], [ |
| 673 |
gl_PREREQ_RAWMEMCHR |
| 674 |
]) |
| 675 |
gl_STRING_MODULE_INDICATOR([rawmemchr]) |
| 676 |
gl_FUNC_READLINK |
| 677 |
gl_CONDITIONAL([GL_COND_OBJ_READLINK], |
| 678 |
[test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1]) |
| 679 |
AM_COND_IF([GL_COND_OBJ_READLINK], [ |
| 680 |
gl_PREREQ_READLINK |
| 681 |
]) |
| 682 |
gl_UNISTD_MODULE_INDICATOR([readlink]) |
| 683 |
gl_FUNC_REALLOC_GNU |
| 684 |
if test $REPLACE_REALLOC_FOR_REALLOC_GNU = 1; then |
| 685 |
AC_LIBOBJ([realloc]) |
| 686 |
fi |
| 687 |
gl_STDLIB_MODULE_INDICATOR([realloc-gnu]) |
| 688 |
gl_FUNC_REALLOC_POSIX |
| 689 |
if test $REPLACE_REALLOC_FOR_REALLOC_POSIX = 1; then |
| 690 |
AC_LIBOBJ([realloc]) |
| 691 |
fi |
| 692 |
gl_STDLIB_MODULE_INDICATOR([realloc-posix]) |
| 693 |
gl_FUNC_REALLOCARRAY |
| 694 |
gl_CONDITIONAL([GL_COND_OBJ_REALLOCARRAY], |
| 695 |
[test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]) |
| 696 |
AM_COND_IF([GL_COND_OBJ_REALLOCARRAY], [ |
| 697 |
gl_PREREQ_REALLOCARRAY |
| 698 |
]) |
| 699 |
gl_MODULE_INDICATOR([reallocarray]) |
| 700 |
gl_STDLIB_MODULE_INDICATOR([reallocarray]) |
| 701 |
gl_REGEX |
| 702 |
gl_CONDITIONAL([GL_COND_OBJ_REGEX], [test $ac_use_included_regex = yes]) |
| 703 |
AM_COND_IF([GL_COND_OBJ_REGEX], [ |
| 704 |
gl_PREREQ_REGEX |
| 705 |
]) |
| 706 |
gl_SAFE_ALLOC |
| 707 |
gl_HEADERS_SELINUX_SELINUX_H |
| 708 |
gl_HEADERS_SELINUX_CONTEXT_H |
| 709 |
gl_HEADERS_SELINUX_LABEL_H |
| 710 |
gl_CONDITIONAL_HEADER([selinux/context.h]) |
| 711 |
gl_CONDITIONAL_HEADER([selinux/label.h]) |
| 712 |
AC_PROG_MKDIR_P |
| 713 |
gl_CONDITIONAL([GL_COND_OBJ_GETFILECON], |
| 714 |
[test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes]) |
| 715 |
gl_FUNC_SETLOCALE_NULL |
| 716 |
gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE_LOCK], |
| 717 |
[test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0]) |
| 718 |
AM_COND_IF([GL_COND_OBJ_SETLOCALE_LOCK], [ |
| 719 |
gl_PREREQ_SETLOCALE_LOCK |
| 720 |
]) |
| 721 |
gl_LOCALE_MODULE_INDICATOR([setlocale_null]) |
| 722 |
gl_SIZE_MAX |
| 723 |
gt_TYPE_SSIZE_T |
| 724 |
gl_FUNC_STAT |
| 725 |
gl_CONDITIONAL([GL_COND_OBJ_STAT], [test $REPLACE_STAT = 1]) |
| 726 |
AM_COND_IF([GL_COND_OBJ_STAT], [ |
| 727 |
case "$host_os" in |
| 728 |
mingw*) |
| 729 |
AC_LIBOBJ([stat-w32]) |
| 730 |
;; |
| 731 |
esac |
| 732 |
gl_PREREQ_STAT |
| 733 |
]) |
| 734 |
gl_SYS_STAT_MODULE_INDICATOR([stat]) |
| 735 |
gl_STAT_TIME |
| 736 |
gl_STAT_BIRTHTIME |
| 737 |
gl_STDALIGN_H |
| 738 |
gl_CONDITIONAL_HEADER([stdalign.h]) |
| 739 |
AC_PROG_MKDIR_P |
| 740 |
gl_C_BOOL |
| 741 |
AC_CHECK_HEADERS_ONCE([stdckdint.h]) |
| 742 |
if test $ac_cv_header_stdckdint_h = yes; then |
| 743 |
GL_GENERATE_STDCKDINT_H=false |
| 744 |
else |
| 745 |
GL_GENERATE_STDCKDINT_H=true |
| 746 |
fi |
| 747 |
gl_CONDITIONAL_HEADER([stdckdint.h]) |
| 748 |
AC_PROG_MKDIR_P |
| 749 |
gl_STDDEF_H |
| 750 |
gl_STDDEF_H_REQUIRE_DEFAULTS |
| 751 |
gl_CONDITIONAL_HEADER([stddef.h]) |
| 752 |
AC_PROG_MKDIR_P |
| 753 |
gl_STDINT_H |
| 754 |
gl_CONDITIONAL_HEADER([stdint.h]) |
| 755 |
dnl Because of gl_REPLACE_LIMITS_H: |
| 756 |
gl_CONDITIONAL_HEADER([limits.h]) |
| 757 |
AC_PROG_MKDIR_P |
| 758 |
gl_STDIO_H |
| 759 |
gl_STDIO_H_REQUIRE_DEFAULTS |
| 760 |
AC_PROG_MKDIR_P |
| 761 |
gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1]) |
| 762 |
gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1]) |
| 763 |
dnl No need to create extra modules for these functions. Everyone who uses |
| 764 |
dnl <stdio.h> likely needs them. |
| 765 |
gl_STDIO_MODULE_INDICATOR([fscanf]) |
| 766 |
gl_MODULE_INDICATOR([fscanf]) |
| 767 |
gl_STDIO_MODULE_INDICATOR([scanf]) |
| 768 |
gl_MODULE_INDICATOR([scanf]) |
| 769 |
gl_STDIO_MODULE_INDICATOR([fgetc]) |
| 770 |
gl_STDIO_MODULE_INDICATOR([getc]) |
| 771 |
gl_STDIO_MODULE_INDICATOR([getchar]) |
| 772 |
gl_STDIO_MODULE_INDICATOR([fgets]) |
| 773 |
gl_STDIO_MODULE_INDICATOR([fread]) |
| 774 |
dnl No need to create extra modules for these functions. Everyone who uses |
| 775 |
dnl <stdio.h> likely needs them. |
| 776 |
gl_STDIO_MODULE_INDICATOR([fprintf]) |
| 777 |
gl_STDIO_MODULE_INDICATOR([printf]) |
| 778 |
gl_STDIO_MODULE_INDICATOR([vfprintf]) |
| 779 |
gl_STDIO_MODULE_INDICATOR([vprintf]) |
| 780 |
gl_STDIO_MODULE_INDICATOR([fputc]) |
| 781 |
gl_STDIO_MODULE_INDICATOR([putc]) |
| 782 |
gl_STDIO_MODULE_INDICATOR([putchar]) |
| 783 |
gl_STDIO_MODULE_INDICATOR([fputs]) |
| 784 |
gl_STDIO_MODULE_INDICATOR([puts]) |
| 785 |
gl_STDIO_MODULE_INDICATOR([fwrite]) |
| 786 |
gl_STDLIB_H |
| 787 |
gl_STDLIB_H_REQUIRE_DEFAULTS |
| 788 |
AC_PROG_MKDIR_P |
| 789 |
gl_FUNC_STPCPY |
| 790 |
gl_CONDITIONAL([GL_COND_OBJ_STPCPY], [test $HAVE_STPCPY = 0]) |
| 791 |
AM_COND_IF([GL_COND_OBJ_STPCPY], [ |
| 792 |
gl_PREREQ_STPCPY |
| 793 |
]) |
| 794 |
gl_STRING_MODULE_INDICATOR([stpcpy]) |
| 795 |
gl_FUNC_STPNCPY |
| 796 |
gl_CONDITIONAL([GL_COND_OBJ_STPNCPY], |
| 797 |
[test $HAVE_STPNCPY = 0 || test $REPLACE_STPNCPY = 1]) |
| 798 |
AM_COND_IF([GL_COND_OBJ_STPNCPY], [ |
| 799 |
gl_PREREQ_STPNCPY |
| 800 |
]) |
| 801 |
gl_STRING_MODULE_INDICATOR([stpncpy]) |
| 802 |
gl_FUNC_STRCHRNUL |
| 803 |
gl_CONDITIONAL([GL_COND_OBJ_STRCHRNUL], |
| 804 |
[test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1]) |
| 805 |
AM_COND_IF([GL_COND_OBJ_STRCHRNUL], [ |
| 806 |
gl_PREREQ_STRCHRNUL |
| 807 |
]) |
| 808 |
gl_STRING_MODULE_INDICATOR([strchrnul]) |
| 809 |
gl_STRING_H |
| 810 |
gl_STRING_H_REQUIRE_DEFAULTS |
| 811 |
AC_PROG_MKDIR_P |
| 812 |
gl_FUNC_STRNDUP |
| 813 |
gl_CONDITIONAL([GL_COND_OBJ_STRNDUP], |
| 814 |
[test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1]) |
| 815 |
gl_STRING_MODULE_INDICATOR([strndup]) |
| 816 |
gl_FUNC_STRNLEN |
| 817 |
gl_CONDITIONAL([GL_COND_OBJ_STRNLEN], |
| 818 |
[test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1]) |
| 819 |
AM_COND_IF([GL_COND_OBJ_STRNLEN], [ |
| 820 |
gl_PREREQ_STRNLEN |
| 821 |
]) |
| 822 |
gl_STRING_MODULE_INDICATOR([strnlen]) |
| 823 |
gl_FUNC_STRSTR |
| 824 |
if test $REPLACE_STRSTR = 1; then |
| 825 |
AC_LIBOBJ([strstr]) |
| 826 |
fi |
| 827 |
gl_FUNC_STRSTR_SIMPLE |
| 828 |
if test $REPLACE_STRSTR = 1; then |
| 829 |
AC_LIBOBJ([strstr]) |
| 830 |
fi |
| 831 |
gl_STRING_MODULE_INDICATOR([strstr]) |
| 832 |
gl_SYS_RANDOM_H |
| 833 |
gl_SYS_RANDOM_H_REQUIRE_DEFAULTS |
| 834 |
AC_PROG_MKDIR_P |
| 835 |
gl_SYS_STAT_H |
| 836 |
gl_SYS_STAT_H_REQUIRE_DEFAULTS |
| 837 |
AC_PROG_MKDIR_P |
| 838 |
gl_SYS_TYPES_H |
| 839 |
gl_SYS_TYPES_H_REQUIRE_DEFAULTS |
| 840 |
AC_PROG_MKDIR_P |
| 841 |
gl_SYS_WAIT_H |
| 842 |
gl_SYS_WAIT_H_REQUIRE_DEFAULTS |
| 843 |
AC_PROG_MKDIR_P |
| 844 |
gl_FUNC_GEN_TEMPNAME |
| 845 |
gl_MODULE_INDICATOR([tempname]) |
| 846 |
AC_REQUIRE([gl_THREADLIB]) |
| 847 |
gl_TIME_H |
| 848 |
gl_TIME_H_REQUIRE_DEFAULTS |
| 849 |
AC_PROG_MKDIR_P |
| 850 |
gl_UNISTD_H |
| 851 |
gl_UNISTD_H_REQUIRE_DEFAULTS |
| 852 |
AC_PROG_MKDIR_P |
| 853 |
AC_C_VARARRAYS |
| 854 |
AC_REQUIRE([AC_C_RESTRICT]) |
| 855 |
gl_FUNC_VASNPRINTF |
| 856 |
gl_FUNC_VASPRINTF |
| 857 |
gl_STDIO_MODULE_INDICATOR([vasprintf]) |
| 858 |
m4_ifdef([AM_XGETTEXT_OPTION], |
| 859 |
[AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format]) |
| 860 |
AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) |
| 861 |
gl_WCHAR_H |
| 862 |
gl_WCHAR_H_REQUIRE_DEFAULTS |
| 863 |
AC_PROG_MKDIR_P |
| 864 |
gl_FUNC_WCRTOMB |
| 865 |
gl_CONDITIONAL([GL_COND_OBJ_WCRTOMB], |
| 866 |
[test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1]) |
| 867 |
AM_COND_IF([GL_COND_OBJ_WCRTOMB], [ |
| 868 |
gl_PREREQ_WCRTOMB |
| 869 |
]) |
| 870 |
gl_WCHAR_MODULE_INDICATOR([wcrtomb]) |
| 871 |
gl_WCTYPE_H |
| 872 |
gl_WCTYPE_H_REQUIRE_DEFAULTS |
| 873 |
AC_PROG_MKDIR_P |
| 874 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 875 |
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_MUTEX], |
| 876 |
[case "$host_os" in mingw*) true;; *) false;; esac]) |
| 877 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 878 |
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_ONCE], |
| 879 |
[case "$host_os" in mingw*) true;; *) false;; esac]) |
| 880 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 881 |
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RECMUTEX], |
| 882 |
[case "$host_os" in mingw*) true;; *) false;; esac]) |
| 883 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 884 |
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RWLOCK], |
| 885 |
[case "$host_os" in mingw*) true;; *) false;; esac]) |
| 886 |
gl_FUNC_WMEMCHR |
| 887 |
gl_CONDITIONAL([GL_COND_OBJ_WMEMCHR], [test $HAVE_WMEMCHR = 0]) |
| 888 |
gl_WCHAR_MODULE_INDICATOR([wmemchr]) |
| 889 |
gl_FUNC_WMEMPCPY |
| 890 |
gl_CONDITIONAL([GL_COND_OBJ_WMEMPCPY], [test $HAVE_WMEMPCPY = 0]) |
| 891 |
gl_WCHAR_MODULE_INDICATOR([wmempcpy]) |
| 892 |
gl_XSIZE |
| 893 |
# End of code from modules |
| 894 |
m4_ifval(gl_LIBSOURCES_LIST, [ |
| 895 |
m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || |
| 896 |
for gl_file in ]gl_LIBSOURCES_LIST[ ; do |
| 897 |
if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then |
| 898 |
echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 |
| 899 |
exit 1 |
| 900 |
fi |
| 901 |
done])dnl |
| 902 |
m4_if(m4_sysval, [0], [], |
| 903 |
[AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) |
| 904 |
]) |
| 905 |
m4_popdef([GL_MODULE_INDICATOR_PREFIX]) |
| 906 |
m4_popdef([GL_MACRO_PREFIX]) |
| 907 |
m4_popdef([gl_LIBSOURCES_DIR]) |
| 908 |
m4_popdef([gl_LIBSOURCES_LIST]) |
| 909 |
m4_popdef([AC_LIBSOURCES]) |
| 910 |
m4_popdef([AC_REPLACE_FUNCS]) |
| 911 |
m4_popdef([AC_LIBOBJ]) |
| 912 |
AC_CONFIG_COMMANDS_PRE([ |
| 913 |
gl_libobjs= |
| 914 |
gl_ltlibobjs= |
| 915 |
gl_libobjdeps= |
| 916 |
if test -n "$gl_LIBOBJS"; then |
| 917 |
# Remove the extension. |
| 918 |
changequote(,)dnl |
| 919 |
sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 920 |
sed_dirname1='s,//*,/,g' |
| 921 |
sed_dirname2='s,\(.\)/$,\1,' |
| 922 |
sed_dirname3='s,^[^/]*$,.,' |
| 923 |
sed_dirname4='s,\(.\)/[^/]*$,\1,' |
| 924 |
sed_basename1='s,.*/,,' |
| 925 |
changequote([, ])dnl |
| 926 |
for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
| 927 |
gl_libobjs="$gl_libobjs $i.$ac_objext" |
| 928 |
gl_ltlibobjs="$gl_ltlibobjs $i.lo" |
| 929 |
i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"` |
| 930 |
i_base=`echo "$i" | sed -e "$sed_basename1"` |
| 931 |
gl_libobjdeps="$gl_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Plo" |
| 932 |
done |
| 933 |
fi |
| 934 |
AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) |
| 935 |
AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) |
| 936 |
AC_SUBST([gl_LIBOBJDEPS], [$gl_libobjdeps]) |
| 937 |
]) |
| 938 |
gltests_libdeps= |
| 939 |
gltests_ltlibdeps= |
| 940 |
m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) |
| 941 |
m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) |
| 942 |
m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) |
| 943 |
m4_pushdef([gltests_LIBSOURCES_LIST], []) |
| 944 |
m4_pushdef([gltests_LIBSOURCES_DIR], []) |
| 945 |
m4_pushdef([GL_MACRO_PREFIX], [gltests]) |
| 946 |
m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL]) |
| 947 |
gl_COMMON |
| 948 |
AC_REQUIRE([gl_CC_ALLOW_WARNINGS]) |
| 949 |
AC_REQUIRE([gl_CXX_ALLOW_WARNINGS]) |
| 950 |
gl_source_base='gnulib/tests' |
| 951 |
gl_source_base_prefix= |
| 952 |
changequote(,)dnl |
| 953 |
gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS |
| 954 |
changequote([, ])dnl |
| 955 |
AC_SUBST([gltests_WITNESS]) |
| 956 |
gl_module_indicator_condition=$gltests_WITNESS |
| 957 |
m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) |
| 958 |
AC_REQUIRE([gl_SYS_SOCKET_H]) |
| 959 |
gl_CONDITIONAL([GL_COND_OBJ_ACCEPT], [test "$ac_cv_header_winsock2_h" = yes]) |
| 960 |
gl_SYS_SOCKET_MODULE_INDICATOR([accept]) |
| 961 |
gl_ARPA_INET_H |
| 962 |
gl_ARPA_INET_H_REQUIRE_DEFAULTS |
| 963 |
AC_PROG_MKDIR_P |
| 964 |
AC_REQUIRE([gl_SYS_SOCKET_H]) |
| 965 |
gl_CONDITIONAL([GL_COND_OBJ_BIND], [test "$ac_cv_header_winsock2_h" = yes]) |
| 966 |
gl_SYS_SOCKET_MODULE_INDICATOR([bind]) |
| 967 |
gt_LOCALE_FR |
| 968 |
gt_LOCALE_FR_UTF8 |
| 969 |
gt_LOCALE_FR |
| 970 |
gt_LOCALE_TR_UTF8 |
| 971 |
AC_REQUIRE([gl_SYS_SOCKET_H]) |
| 972 |
gl_CONDITIONAL([GL_COND_OBJ_CONNECT], [test "$ac_cv_header_winsock2_h" = yes]) |
| 973 |
gl_SYS_SOCKET_MODULE_INDICATOR([connect]) |
| 974 |
gl_ENVIRON |
| 975 |
gl_UNISTD_MODULE_INDICATOR([environ]) |
| 976 |
gl_FUNC_FDOPEN |
| 977 |
gl_CONDITIONAL([GL_COND_OBJ_FDOPEN], [test $REPLACE_FDOPEN = 1]) |
| 978 |
AM_COND_IF([GL_COND_OBJ_FDOPEN], [ |
| 979 |
gl_PREREQ_FDOPEN |
| 980 |
]) |
| 981 |
gl_STDIO_MODULE_INDICATOR([fdopen]) |
| 982 |
gl_FUNC_FTRUNCATE |
| 983 |
gl_CONDITIONAL([GL_COND_OBJ_FTRUNCATE], |
| 984 |
[test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1]) |
| 985 |
AM_COND_IF([GL_COND_OBJ_FTRUNCATE], [ |
| 986 |
gl_PREREQ_FTRUNCATE |
| 987 |
]) |
| 988 |
gl_UNISTD_MODULE_INDICATOR([ftruncate]) |
| 989 |
gl_FUNC_GETCWD_LGPL |
| 990 |
gl_CONDITIONAL([GL_COND_OBJ_GETCWD_LGPL], [test $REPLACE_GETCWD = 1]) |
| 991 |
gl_UNISTD_MODULE_INDICATOR([getcwd]) |
| 992 |
gl_FUNC_GETPAGESIZE |
| 993 |
gl_CONDITIONAL([GL_COND_OBJ_GETPAGESIZE], [test $REPLACE_GETPAGESIZE = 1]) |
| 994 |
gl_UNISTD_MODULE_INDICATOR([getpagesize]) |
| 995 |
gl_FUNC_GETTIMEOFDAY |
| 996 |
gl_CONDITIONAL([GL_COND_OBJ_GETTIMEOFDAY], |
| 997 |
[test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1]) |
| 998 |
AM_COND_IF([GL_COND_OBJ_GETTIMEOFDAY], [ |
| 999 |
gl_PREREQ_GETTIMEOFDAY |
| 1000 |
]) |
| 1001 |
gl_SYS_TIME_MODULE_INDICATOR([gettimeofday]) |
| 1002 |
gl_MUSL_LIBC |
| 1003 |
dnl Distinguish OpenBSD >= 6.2 from OpenBSD < 6.2. |
| 1004 |
AC_CHECK_FUNCS_ONCE([duplocale]) |
| 1005 |
gl_FUNC_INET_PTON |
| 1006 |
gl_CONDITIONAL([GL_COND_OBJ_INET_PTON], |
| 1007 |
[test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1]) |
| 1008 |
AM_COND_IF([GL_COND_OBJ_INET_PTON], [ |
| 1009 |
gl_PREREQ_INET_PTON |
| 1010 |
]) |
| 1011 |
gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) |
| 1012 |
AC_C_BIGENDIAN |
| 1013 |
gl_INTTYPES_H |
| 1014 |
gl_FUNC_IOCTL |
| 1015 |
gl_CONDITIONAL([GL_COND_OBJ_IOCTL], |
| 1016 |
[test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1]) |
| 1017 |
gl_SYS_IOCTL_MODULE_INDICATOR([ioctl]) |
| 1018 |
AC_REQUIRE([gl_SYS_SOCKET_H]) |
| 1019 |
gl_CONDITIONAL([GL_COND_OBJ_LISTEN], [test "$ac_cv_header_winsock2_h" = yes]) |
| 1020 |
gl_SYS_SOCKET_MODULE_INDICATOR([listen]) |
| 1021 |
AC_CHECK_FUNCS_ONCE([newlocale]) |
| 1022 |
gl_LOCALENAME |
| 1023 |
gl_LOCALE_MODULE_INDICATOR([localename]) |
| 1024 |
AC_CHECK_FUNCS_ONCE([newlocale]) |
| 1025 |
AC_CHECK_HEADERS_ONCE([semaphore.h]) |
| 1026 |
AC_CHECK_DECLS_ONCE([alarm]) |
| 1027 |
AC_REQUIRE([gl_SEMAPHORE]) |
| 1028 |
gt_LOCALE_FR |
| 1029 |
gt_LOCALE_FR_UTF8 |
| 1030 |
gt_LOCALE_JA |
| 1031 |
gt_LOCALE_ZH_CN |
| 1032 |
gt_LOCALE_FR_UTF8 |
| 1033 |
gt_LOCALE_FR |
| 1034 |
gt_LOCALE_FR_UTF8 |
| 1035 |
gt_LOCALE_JA |
| 1036 |
gt_LOCALE_ZH_CN |
| 1037 |
dnl Check for prerequisites for memory fence checks. |
| 1038 |
gl_FUNC_MMAP_ANON |
| 1039 |
AC_CHECK_HEADERS_ONCE([sys/mman.h]) |
| 1040 |
AC_CHECK_FUNCS_ONCE([mprotect]) |
| 1041 |
gl_FUNC_NANOSLEEP |
| 1042 |
gl_CONDITIONAL([GL_COND_OBJ_NANOSLEEP], |
| 1043 |
[test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1]) |
| 1044 |
gl_TIME_MODULE_INDICATOR([nanosleep]) |
| 1045 |
AC_CHECK_DECLS_ONCE([alarm]) |
| 1046 |
gl_HEADER_NETINET_IN |
| 1047 |
gl_CONDITIONAL_HEADER([netinet/in.h]) |
| 1048 |
AC_PROG_MKDIR_P |
| 1049 |
gt_LOCALE_FR |
| 1050 |
gt_LOCALE_FR_UTF8 |
| 1051 |
gl_FUNC_PERROR |
| 1052 |
gl_CONDITIONAL([GL_COND_OBJ_PERROR], [test $REPLACE_PERROR = 1]) |
| 1053 |
gl_STRING_MODULE_INDICATOR([perror]) |
| 1054 |
gl_FUNC_PIPE |
| 1055 |
gl_CONDITIONAL([GL_COND_OBJ_PIPE], [test $HAVE_PIPE = 0]) |
| 1056 |
gl_UNISTD_MODULE_INDICATOR([pipe]) |
| 1057 |
gl_FUNC_PSELECT |
| 1058 |
gl_CONDITIONAL([GL_COND_OBJ_PSELECT], |
| 1059 |
[test $HAVE_PSELECT = 0 || test $REPLACE_PSELECT = 1]) |
| 1060 |
gl_SYS_SELECT_MODULE_INDICATOR([pselect]) |
| 1061 |
AC_CHECK_HEADERS_ONCE([sys/wait.h]) |
| 1062 |
gl_PTHREAD_H |
| 1063 |
gl_PTHREAD_H_REQUIRE_DEFAULTS |
| 1064 |
AC_PROG_MKDIR_P |
| 1065 |
gl_PTHREAD_THREAD |
| 1066 |
gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_THREAD], |
| 1067 |
[test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1]) |
| 1068 |
gl_PTHREAD_MODULE_INDICATOR([pthread-thread]) |
| 1069 |
gl_FUNC_PTHREAD_SIGMASK |
| 1070 |
gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_SIGMASK], |
| 1071 |
[test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1]) |
| 1072 |
AM_COND_IF([GL_COND_OBJ_PTHREAD_SIGMASK], [ |
| 1073 |
gl_PREREQ_PTHREAD_SIGMASK |
| 1074 |
]) |
| 1075 |
gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask]) |
| 1076 |
gl_FUNC_PUTENV |
| 1077 |
gl_CONDITIONAL([GL_COND_OBJ_PUTENV], [test $REPLACE_PUTENV = 1]) |
| 1078 |
AM_COND_IF([GL_COND_OBJ_PUTENV], [ |
| 1079 |
gl_PREREQ_PUTENV |
| 1080 |
]) |
| 1081 |
gl_STDLIB_MODULE_INDICATOR([putenv]) |
| 1082 |
gl_FUNC_RAISE |
| 1083 |
gl_CONDITIONAL([GL_COND_OBJ_RAISE], |
| 1084 |
[test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1]) |
| 1085 |
AM_COND_IF([GL_COND_OBJ_RAISE], [ |
| 1086 |
gl_PREREQ_RAISE |
| 1087 |
]) |
| 1088 |
gl_SIGNAL_MODULE_INDICATOR([raise]) |
| 1089 |
dnl Check for prerequisites for memory fence checks. |
| 1090 |
gl_FUNC_MMAP_ANON |
| 1091 |
AC_CHECK_HEADERS_ONCE([sys/mman.h]) |
| 1092 |
AC_CHECK_FUNCS_ONCE([mprotect]) |
| 1093 |
gl_SCHED_H |
| 1094 |
gl_SCHED_H_REQUIRE_DEFAULTS |
| 1095 |
AC_PROG_MKDIR_P |
| 1096 |
gl_FUNC_SCHED_YIELD |
| 1097 |
gl_CONDITIONAL([GL_COND_OBJ_SCHED_YIELD], |
| 1098 |
[test $HAVE_SCHED_YIELD = 0 || test $REPLACE_SCHED_YIELD = 1]) |
| 1099 |
gl_SCHED_MODULE_INDICATOR([sched_yield]) |
| 1100 |
gl_FUNC_SELECT |
| 1101 |
gl_CONDITIONAL([GL_COND_OBJ_SELECT], [test $REPLACE_SELECT = 1]) |
| 1102 |
gl_SYS_SELECT_MODULE_INDICATOR([select]) |
| 1103 |
AC_CHECK_HEADERS_ONCE([sys/wait.h]) |
| 1104 |
gl_FUNC_SETENV |
| 1105 |
gl_CONDITIONAL([GL_COND_OBJ_SETENV], |
| 1106 |
[test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]) |
| 1107 |
gl_STDLIB_MODULE_INDICATOR([setenv]) |
| 1108 |
gl_FUNC_SETLOCALE |
| 1109 |
gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE], [test $REPLACE_SETLOCALE = 1]) |
| 1110 |
AM_COND_IF([GL_COND_OBJ_SETLOCALE], [ |
| 1111 |
gl_PREREQ_SETLOCALE |
| 1112 |
]) |
| 1113 |
gl_LOCALE_MODULE_INDICATOR([setlocale]) |
| 1114 |
gt_LOCALE_FR |
| 1115 |
gt_LOCALE_FR_UTF8 |
| 1116 |
gt_LOCALE_JA |
| 1117 |
gt_LOCALE_ZH_CN |
| 1118 |
AC_REQUIRE([gl_SYS_SOCKET_H]) |
| 1119 |
gl_CONDITIONAL([GL_COND_OBJ_SETSOCKOPT], |
| 1120 |
[test "$ac_cv_header_winsock2_h" = yes]) |
| 1121 |
gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) |
| 1122 |
gl_SIGNAL_H |
| 1123 |
gl_SIGNAL_H_REQUIRE_DEFAULTS |
| 1124 |
AC_PROG_MKDIR_P |
| 1125 |
gl_SIGNALBLOCKING |
| 1126 |
gl_CONDITIONAL([GL_COND_OBJ_SIGPROCMASK], [test $HAVE_POSIX_SIGNALBLOCKING = 0]) |
| 1127 |
AM_COND_IF([GL_COND_OBJ_SIGPROCMASK], [ |
| 1128 |
gl_PREREQ_SIGPROCMASK |
| 1129 |
]) |
| 1130 |
gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) |
| 1131 |
gl_FUNC_SLEEP |
| 1132 |
gl_CONDITIONAL([GL_COND_OBJ_SLEEP], |
| 1133 |
[test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1]) |
| 1134 |
gl_UNISTD_MODULE_INDICATOR([sleep]) |
| 1135 |
AC_CHECK_DECLS_ONCE([alarm]) |
| 1136 |
AC_REQUIRE([gl_SYS_SOCKET_H]) |
| 1137 |
gl_CONDITIONAL([GL_COND_OBJ_SOCKET], [test "$ac_cv_header_winsock2_h" = yes]) |
| 1138 |
# When this module is used, sockets may actually occur as file descriptors, |
| 1139 |
# hence it is worth warning if the modules 'close' and 'ioctl' are not used. |
| 1140 |
m4_ifdef([gl_UNISTD_H_DEFAULTS], [gl_UNISTD_H_REQUIRE_DEFAULTS]) |
| 1141 |
m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [gl_SYS_IOCTL_H_REQUIRE_DEFAULTS]) |
| 1142 |
AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2]) |
| 1143 |
if test "$ac_cv_header_winsock2_h" = yes; then |
| 1144 |
UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 |
| 1145 |
SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 |
| 1146 |
fi |
| 1147 |
gl_SYS_SOCKET_MODULE_INDICATOR([socket]) |
| 1148 |
AC_REQUIRE([gl_SOCKETLIB]) |
| 1149 |
AC_REQUIRE([gl_SOCKETS]) |
| 1150 |
gl_TYPE_SOCKLEN_T |
| 1151 |
AC_REQUIRE([gt_TYPE_WCHAR_T]) |
| 1152 |
AC_REQUIRE([gt_TYPE_WINT_T]) |
| 1153 |
gl_FUNC_STRERROR |
| 1154 |
gl_CONDITIONAL([GL_COND_OBJ_STRERROR], [test $REPLACE_STRERROR = 1]) |
| 1155 |
gl_MODULE_INDICATOR([strerror]) |
| 1156 |
gl_STRING_MODULE_INDICATOR([strerror]) |
| 1157 |
AC_REQUIRE([gl_HEADER_ERRNO_H]) |
| 1158 |
AC_REQUIRE([gl_FUNC_STRERROR_0]) |
| 1159 |
gl_CONDITIONAL([GL_COND_OBJ_STRERROR_OVERRIDE], |
| 1160 |
[test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1]) |
| 1161 |
AM_COND_IF([GL_COND_OBJ_STRERROR_OVERRIDE], [ |
| 1162 |
gl_PREREQ_SYS_H_WINSOCK2 |
| 1163 |
]) |
| 1164 |
gl_FUNC_STRERROR_R |
| 1165 |
AS_IF([test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1], [ |
| 1166 |
AC_LIBOBJ([strerror_r]) |
| 1167 |
gl_PREREQ_STRERROR_R |
| 1168 |
]) |
| 1169 |
gl_STRING_MODULE_INDICATOR([strerror_r]) |
| 1170 |
dnl For the modules argp, error. |
| 1171 |
gl_MODULE_INDICATOR([strerror_r-posix]) |
| 1172 |
dnl Check for prerequisites for memory fence checks. |
| 1173 |
gl_FUNC_MMAP_ANON |
| 1174 |
AC_CHECK_HEADERS_ONCE([sys/mman.h]) |
| 1175 |
AC_CHECK_FUNCS_ONCE([mprotect]) |
| 1176 |
AC_CHECK_DECLS_ONCE([alarm]) |
| 1177 |
gl_FUNC_MMAP_ANON |
| 1178 |
AC_CHECK_HEADERS_ONCE([sys/mman.h]) |
| 1179 |
AC_CHECK_FUNCS_ONCE([mprotect]) |
| 1180 |
gl_FUNC_SYMLINK |
| 1181 |
gl_CONDITIONAL([GL_COND_OBJ_SYMLINK], |
| 1182 |
[test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1]) |
| 1183 |
gl_UNISTD_MODULE_INDICATOR([symlink]) |
| 1184 |
gl_SYS_IOCTL_H |
| 1185 |
gl_SYS_IOCTL_H_REQUIRE_DEFAULTS |
| 1186 |
AC_PROG_MKDIR_P |
| 1187 |
gl_SYS_SELECT_H |
| 1188 |
gl_SYS_SELECT_H_REQUIRE_DEFAULTS |
| 1189 |
AC_PROG_MKDIR_P |
| 1190 |
gl_SYS_SOCKET_H |
| 1191 |
gl_SYS_SOCKET_H_REQUIRE_DEFAULTS |
| 1192 |
AC_PROG_MKDIR_P |
| 1193 |
AC_CHECK_FUNCS_ONCE([shutdown]) |
| 1194 |
gl_SYS_TIME_H |
| 1195 |
gl_SYS_TIME_H_REQUIRE_DEFAULTS |
| 1196 |
AC_PROG_MKDIR_P |
| 1197 |
gl_SYS_UIO_H |
| 1198 |
gl_SYS_UIO_H_REQUIRE_DEFAULTS |
| 1199 |
AC_PROG_MKDIR_P |
| 1200 |
gl_THREAD |
| 1201 |
AC_CHECK_HEADERS([sys/single_threaded.h]) |
| 1202 |
gl_FUNC_UNSETENV |
| 1203 |
gl_CONDITIONAL([GL_COND_OBJ_UNSETENV], |
| 1204 |
[test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]) |
| 1205 |
AM_COND_IF([GL_COND_OBJ_UNSETENV], [ |
| 1206 |
gl_PREREQ_UNSETENV |
| 1207 |
]) |
| 1208 |
gl_STDLIB_MODULE_INDICATOR([unsetenv]) |
| 1209 |
gl_FUNC_USLEEP |
| 1210 |
gl_CONDITIONAL([GL_COND_OBJ_USLEEP], |
| 1211 |
[test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1]) |
| 1212 |
gl_UNISTD_MODULE_INDICATOR([usleep]) |
| 1213 |
gt_LOCALE_FR |
| 1214 |
gt_LOCALE_FR_UTF8 |
| 1215 |
gt_LOCALE_JA |
| 1216 |
gt_LOCALE_ZH_CN |
| 1217 |
gl_FUNC_WCTOB |
| 1218 |
gl_CONDITIONAL([GL_COND_OBJ_WCTOB], |
| 1219 |
[test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1]) |
| 1220 |
AM_COND_IF([GL_COND_OBJ_WCTOB], [ |
| 1221 |
gl_PREREQ_WCTOB |
| 1222 |
]) |
| 1223 |
gl_WCHAR_MODULE_INDICATOR([wctob]) |
| 1224 |
gl_FUNC_WCTOMB |
| 1225 |
gl_CONDITIONAL([GL_COND_OBJ_WCTOMB], [test $REPLACE_WCTOMB = 1]) |
| 1226 |
AM_COND_IF([GL_COND_OBJ_WCTOMB], [ |
| 1227 |
gl_PREREQ_WCTOMB |
| 1228 |
]) |
| 1229 |
gl_STDLIB_MODULE_INDICATOR([wctomb]) |
| 1230 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 1231 |
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_THREAD], |
| 1232 |
[case "$host_os" in mingw*) true;; *) false;; esac]) |
| 1233 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 1234 |
gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TLS], |
| 1235 |
[case "$host_os" in mingw*) true;; *) false;; esac]) |
| 1236 |
AC_REQUIRE([gl_YIELD]) |
| 1237 |
m4_popdef([gl_MODULE_INDICATOR_CONDITION]) |
| 1238 |
m4_ifval(gltests_LIBSOURCES_LIST, [ |
| 1239 |
m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || |
| 1240 |
for gl_file in ]gltests_LIBSOURCES_LIST[ ; do |
| 1241 |
if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then |
| 1242 |
echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 |
| 1243 |
exit 1 |
| 1244 |
fi |
| 1245 |
done])dnl |
| 1246 |
m4_if(m4_sysval, [0], [], |
| 1247 |
[AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) |
| 1248 |
]) |
| 1249 |
m4_popdef([GL_MODULE_INDICATOR_PREFIX]) |
| 1250 |
m4_popdef([GL_MACRO_PREFIX]) |
| 1251 |
m4_popdef([gltests_LIBSOURCES_DIR]) |
| 1252 |
m4_popdef([gltests_LIBSOURCES_LIST]) |
| 1253 |
m4_popdef([AC_LIBSOURCES]) |
| 1254 |
m4_popdef([AC_REPLACE_FUNCS]) |
| 1255 |
m4_popdef([AC_LIBOBJ]) |
| 1256 |
AC_CONFIG_COMMANDS_PRE([ |
| 1257 |
gltests_libobjs= |
| 1258 |
gltests_ltlibobjs= |
| 1259 |
gltests_libobjdeps= |
| 1260 |
if test -n "$gltests_LIBOBJS"; then |
| 1261 |
# Remove the extension. |
| 1262 |
changequote(,)dnl |
| 1263 |
sed_drop_objext='s/\.o$//;s/\.obj$//' |
| 1264 |
sed_dirname1='s,//*,/,g' |
| 1265 |
sed_dirname2='s,\(.\)/$,\1,' |
| 1266 |
sed_dirname3='s,^[^/]*$,.,' |
| 1267 |
sed_dirname4='s,\(.\)/[^/]*$,\1,' |
| 1268 |
sed_basename1='s,.*/,,' |
| 1269 |
changequote([, ])dnl |
| 1270 |
for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do |
| 1271 |
gltests_libobjs="$gltests_libobjs $i.$ac_objext" |
| 1272 |
gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" |
| 1273 |
i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"` |
| 1274 |
i_base=`echo "$i" | sed -e "$sed_basename1"` |
| 1275 |
gltests_libobjdeps="$gltests_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Plo" |
| 1276 |
done |
| 1277 |
fi |
| 1278 |
AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) |
| 1279 |
AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) |
| 1280 |
AC_SUBST([gltests_LIBOBJDEPS], [$gltests_libobjdeps]) |
| 1281 |
]) |
| 1282 |
AC_REQUIRE([gl_CC_GNULIB_WARNINGS]) |
| 1283 |
LIBTESTS_LIBDEPS="$gltests_libdeps" |
| 1284 |
AC_SUBST([LIBTESTS_LIBDEPS]) |
| 1285 |
]) |
| 1286 |
|
| 1287 |
# Like AC_LIBOBJ, except that the module name goes |
| 1288 |
# into gl_LIBOBJS instead of into LIBOBJS. |
| 1289 |
AC_DEFUN([gl_LIBOBJ], [ |
| 1290 |
AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl |
| 1291 |
gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" |
| 1292 |
]) |
| 1293 |
|
| 1294 |
# Like AC_REPLACE_FUNCS, except that the module name goes |
| 1295 |
# into gl_LIBOBJS instead of into LIBOBJS. |
| 1296 |
AC_DEFUN([gl_REPLACE_FUNCS], [ |
| 1297 |
m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl |
| 1298 |
AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) |
| 1299 |
]) |
| 1300 |
|
| 1301 |
# Like AC_LIBSOURCES, except the directory where the source file is |
| 1302 |
# expected is derived from the gnulib-tool parameterization, |
| 1303 |
# and alloca is special cased (for the alloca-opt module). |
| 1304 |
# We could also entirely rely on EXTRA_lib..._SOURCES. |
| 1305 |
AC_DEFUN([gl_LIBSOURCES], [ |
| 1306 |
m4_foreach([_gl_NAME], [$1], [ |
| 1307 |
m4_if(_gl_NAME, [alloca.c], [], [ |
| 1308 |
m4_define([gl_LIBSOURCES_DIR], [gnulib/lib]) |
| 1309 |
m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) |
| 1310 |
]) |
| 1311 |
]) |
| 1312 |
]) |
| 1313 |
|
| 1314 |
# Like AC_LIBOBJ, except that the module name goes |
| 1315 |
# into gltests_LIBOBJS instead of into LIBOBJS. |
| 1316 |
AC_DEFUN([gltests_LIBOBJ], [ |
| 1317 |
AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl |
| 1318 |
gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" |
| 1319 |
]) |
| 1320 |
|
| 1321 |
# Like AC_REPLACE_FUNCS, except that the module name goes |
| 1322 |
# into gltests_LIBOBJS instead of into LIBOBJS. |
| 1323 |
AC_DEFUN([gltests_REPLACE_FUNCS], [ |
| 1324 |
m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl |
| 1325 |
AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) |
| 1326 |
]) |
| 1327 |
|
| 1328 |
# Like AC_LIBSOURCES, except the directory where the source file is |
| 1329 |
# expected is derived from the gnulib-tool parameterization, |
| 1330 |
# and alloca is special cased (for the alloca-opt module). |
| 1331 |
# We could also entirely rely on EXTRA_lib..._SOURCES. |
| 1332 |
AC_DEFUN([gltests_LIBSOURCES], [ |
| 1333 |
m4_foreach([_gl_NAME], [$1], [ |
| 1334 |
m4_if(_gl_NAME, [alloca.c], [], [ |
| 1335 |
m4_define([gltests_LIBSOURCES_DIR], [gnulib/tests]) |
| 1336 |
m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) |
| 1337 |
]) |
| 1338 |
]) |
| 1339 |
]) |
| 1340 |
|
| 1341 |
# This macro records the list of files which have been installed by |
| 1342 |
# gnulib-tool and may be removed by future gnulib-tool invocations. |
| 1343 |
AC_DEFUN([gl_FILE_LIST], [ |
| 1344 |
build-aux/gitlog-to-changelog |
| 1345 |
lib/_Noreturn.h |
| 1346 |
lib/alloca.in.h |
| 1347 |
lib/arg-nonnull.h |
| 1348 |
lib/argz.c |
| 1349 |
lib/argz.in.h |
| 1350 |
lib/asnprintf.c |
| 1351 |
lib/asprintf.c |
| 1352 |
lib/assert.in.h |
| 1353 |
lib/attribute.h |
| 1354 |
lib/basename-lgpl.c |
| 1355 |
lib/basename-lgpl.h |
| 1356 |
lib/btowc.c |
| 1357 |
lib/c++defs.h |
| 1358 |
lib/calloc.c |
| 1359 |
lib/canonicalize-lgpl.c |
| 1360 |
lib/cdefs.h |
| 1361 |
lib/cloexec.c |
| 1362 |
lib/cloexec.h |
| 1363 |
lib/close.c |
| 1364 |
lib/ctype.in.h |
| 1365 |
lib/dirname-lgpl.c |
| 1366 |
lib/dirname.h |
| 1367 |
lib/dup2.c |
| 1368 |
lib/dynarray.h |
| 1369 |
lib/eloop-threshold.h |
| 1370 |
lib/errno.in.h |
| 1371 |
lib/fcntl.c |
| 1372 |
lib/fcntl.in.h |
| 1373 |
lib/fd-hook.c |
| 1374 |
lib/fd-hook.h |
| 1375 |
lib/filename.h |
| 1376 |
lib/flexmember.h |
| 1377 |
lib/float+.h |
| 1378 |
lib/float.c |
| 1379 |
lib/float.in.h |
| 1380 |
lib/fnmatch.c |
| 1381 |
lib/fnmatch.in.h |
| 1382 |
lib/fnmatch_loop.c |
| 1383 |
lib/free.c |
| 1384 |
lib/fstat.c |
| 1385 |
lib/getdelim.c |
| 1386 |
lib/getdtablesize.c |
| 1387 |
lib/getfilecon.c |
| 1388 |
lib/getline.c |
| 1389 |
lib/getopt-cdefs.in.h |
| 1390 |
lib/getopt-core.h |
| 1391 |
lib/getopt-ext.h |
| 1392 |
lib/getopt-pfx-core.h |
| 1393 |
lib/getopt-pfx-ext.h |
| 1394 |
lib/getopt.c |
| 1395 |
lib/getopt.in.h |
| 1396 |
lib/getopt1.c |
| 1397 |
lib/getopt_int.h |
| 1398 |
lib/getrandom.c |
| 1399 |
lib/gettext.h |
| 1400 |
lib/glthread/lock.c |
| 1401 |
lib/glthread/lock.h |
| 1402 |
lib/glthread/threadlib.c |
| 1403 |
lib/hard-locale.c |
| 1404 |
lib/hard-locale.h |
| 1405 |
lib/idx.h |
| 1406 |
lib/intprops-internal.h |
| 1407 |
lib/intprops.h |
| 1408 |
lib/inttypes.in.h |
| 1409 |
lib/isblank.c |
| 1410 |
lib/itold.c |
| 1411 |
lib/langinfo.in.h |
| 1412 |
lib/lc-charset-dispatch.c |
| 1413 |
lib/lc-charset-dispatch.h |
| 1414 |
lib/libc-config.h |
| 1415 |
lib/limits.in.h |
| 1416 |
lib/localcharset.c |
| 1417 |
lib/localcharset.h |
| 1418 |
lib/locale.in.h |
| 1419 |
lib/localeconv.c |
| 1420 |
lib/lstat.c |
| 1421 |
lib/malloc.c |
| 1422 |
lib/malloc/dynarray-skeleton.c |
| 1423 |
lib/malloc/dynarray.h |
| 1424 |
lib/malloc/dynarray_at_failure.c |
| 1425 |
lib/malloc/dynarray_emplace_enlarge.c |
| 1426 |
lib/malloc/dynarray_finalize.c |
| 1427 |
lib/malloc/dynarray_resize.c |
| 1428 |
lib/malloc/dynarray_resize_clear.c |
| 1429 |
lib/malloc/scratch_buffer.h |
| 1430 |
lib/malloc/scratch_buffer_grow.c |
| 1431 |
lib/malloc/scratch_buffer_grow_preserve.c |
| 1432 |
lib/malloc/scratch_buffer_set_array_size.c |
| 1433 |
lib/malloca.c |
| 1434 |
lib/malloca.h |
| 1435 |
lib/mbrtowc-impl-utf8.h |
| 1436 |
lib/mbrtowc-impl.h |
| 1437 |
lib/mbrtowc.c |
| 1438 |
lib/mbsinit.c |
| 1439 |
lib/mbsrtowcs-impl.h |
| 1440 |
lib/mbsrtowcs-state.c |
| 1441 |
lib/mbsrtowcs.c |
| 1442 |
lib/mbtowc-impl.h |
| 1443 |
lib/mbtowc-lock.c |
| 1444 |
lib/mbtowc-lock.h |
| 1445 |
lib/mbtowc.c |
| 1446 |
lib/memchr.c |
| 1447 |
lib/memchr.valgrind |
| 1448 |
lib/mempcpy.c |
| 1449 |
lib/minmax.h |
| 1450 |
lib/mkdir.c |
| 1451 |
lib/mkstemp.c |
| 1452 |
lib/msvc-inval.c |
| 1453 |
lib/msvc-inval.h |
| 1454 |
lib/msvc-nothrow.c |
| 1455 |
lib/msvc-nothrow.h |
| 1456 |
lib/nl_langinfo-lock.c |
| 1457 |
lib/nl_langinfo.c |
| 1458 |
lib/open.c |
| 1459 |
lib/pathmax.h |
| 1460 |
lib/printf-args.c |
| 1461 |
lib/printf-args.h |
| 1462 |
lib/printf-parse.c |
| 1463 |
lib/printf-parse.h |
| 1464 |
lib/rawmemchr.c |
| 1465 |
lib/rawmemchr.valgrind |
| 1466 |
lib/readlink.c |
| 1467 |
lib/realloc.c |
| 1468 |
lib/reallocarray.c |
| 1469 |
lib/regcomp.c |
| 1470 |
lib/regex.c |
| 1471 |
lib/regex.h |
| 1472 |
lib/regex_internal.c |
| 1473 |
lib/regex_internal.h |
| 1474 |
lib/regexec.c |
| 1475 |
lib/safe-alloc.c |
| 1476 |
lib/safe-alloc.h |
| 1477 |
lib/scratch_buffer.h |
| 1478 |
lib/se-context.c |
| 1479 |
lib/se-context.in.h |
| 1480 |
lib/se-label.c |
| 1481 |
lib/se-label.in.h |
| 1482 |
lib/se-selinux.c |
| 1483 |
lib/se-selinux.in.h |
| 1484 |
lib/setlocale-lock.c |
| 1485 |
lib/setlocale_null.c |
| 1486 |
lib/setlocale_null.h |
| 1487 |
lib/size_max.h |
| 1488 |
lib/stat-time.c |
| 1489 |
lib/stat-time.h |
| 1490 |
lib/stat-w32.c |
| 1491 |
lib/stat-w32.h |
| 1492 |
lib/stat.c |
| 1493 |
lib/stdalign.in.h |
| 1494 |
lib/stdckdint.in.h |
| 1495 |
lib/stddef.in.h |
| 1496 |
lib/stdint.in.h |
| 1497 |
lib/stdio-read.c |
| 1498 |
lib/stdio-write.c |
| 1499 |
lib/stdio.in.h |
| 1500 |
lib/stdlib.in.h |
| 1501 |
lib/stpcpy.c |
| 1502 |
lib/stpncpy.c |
| 1503 |
lib/str-two-way.h |
| 1504 |
lib/strchrnul.c |
| 1505 |
lib/strchrnul.valgrind |
| 1506 |
lib/streq.h |
| 1507 |
lib/string.in.h |
| 1508 |
lib/stripslash.c |
| 1509 |
lib/strndup.c |
| 1510 |
lib/strnlen.c |
| 1511 |
lib/strnlen1.c |
| 1512 |
lib/strnlen1.h |
| 1513 |
lib/strstr.c |
| 1514 |
lib/sys_random.in.h |
| 1515 |
lib/sys_stat.in.h |
| 1516 |
lib/sys_types.in.h |
| 1517 |
lib/sys_wait.in.h |
| 1518 |
lib/tempname.c |
| 1519 |
lib/tempname.h |
| 1520 |
lib/time.in.h |
| 1521 |
lib/unistd.c |
| 1522 |
lib/unistd.in.h |
| 1523 |
lib/vasnprintf.c |
| 1524 |
lib/vasnprintf.h |
| 1525 |
lib/vasprintf.c |
| 1526 |
lib/verify.h |
| 1527 |
lib/warn-on-use.h |
| 1528 |
lib/wchar.in.h |
| 1529 |
lib/wcrtomb.c |
| 1530 |
lib/wctype-h.c |
| 1531 |
lib/wctype.in.h |
| 1532 |
lib/windows-initguard.h |
| 1533 |
lib/windows-mutex.c |
| 1534 |
lib/windows-mutex.h |
| 1535 |
lib/windows-once.c |
| 1536 |
lib/windows-once.h |
| 1537 |
lib/windows-recmutex.c |
| 1538 |
lib/windows-recmutex.h |
| 1539 |
lib/windows-rwlock.c |
| 1540 |
lib/windows-rwlock.h |
| 1541 |
lib/wmemchr-impl.h |
| 1542 |
lib/wmemchr.c |
| 1543 |
lib/wmempcpy.c |
| 1544 |
lib/xalloc-oversized.h |
| 1545 |
lib/xsize.c |
| 1546 |
lib/xsize.h |
| 1547 |
m4/00gnulib.m4 |
| 1548 |
m4/__inline.m4 |
| 1549 |
m4/absolute-header.m4 |
| 1550 |
m4/alloca.m4 |
| 1551 |
m4/argz.m4 |
| 1552 |
m4/arpa_inet_h.m4 |
| 1553 |
m4/assert_h.m4 |
| 1554 |
m4/btowc.m4 |
| 1555 |
m4/builtin-expect.m4 |
| 1556 |
m4/c-bool.m4 |
| 1557 |
m4/calloc.m4 |
| 1558 |
m4/canonicalize.m4 |
| 1559 |
m4/clock_time.m4 |
| 1560 |
m4/close.m4 |
| 1561 |
m4/codeset.m4 |
| 1562 |
m4/ctype_h.m4 |
| 1563 |
m4/double-slash-root.m4 |
| 1564 |
m4/dup2.m4 |
| 1565 |
m4/eealloc.m4 |
| 1566 |
m4/environ.m4 |
| 1567 |
m4/errno_h.m4 |
| 1568 |
m4/exponentd.m4 |
| 1569 |
m4/extensions.m4 |
| 1570 |
m4/extern-inline.m4 |
| 1571 |
m4/fcntl-o.m4 |
| 1572 |
m4/fcntl.m4 |
| 1573 |
m4/fcntl_h.m4 |
| 1574 |
m4/fdopen.m4 |
| 1575 |
m4/flexmember.m4 |
| 1576 |
m4/float_h.m4 |
| 1577 |
m4/fnmatch.m4 |
| 1578 |
m4/fnmatch_h.m4 |
| 1579 |
m4/fpieee.m4 |
| 1580 |
m4/free.m4 |
| 1581 |
m4/fstat.m4 |
| 1582 |
m4/ftruncate.m4 |
| 1583 |
m4/getcwd.m4 |
| 1584 |
m4/getdelim.m4 |
| 1585 |
m4/getdtablesize.m4 |
| 1586 |
m4/getline.m4 |
| 1587 |
m4/getopt.m4 |
| 1588 |
m4/getpagesize.m4 |
| 1589 |
m4/getrandom.m4 |
| 1590 |
m4/gettimeofday.m4 |
| 1591 |
m4/gnulib-common.m4 |
| 1592 |
m4/include_next.m4 |
| 1593 |
m4/inet_pton.m4 |
| 1594 |
m4/intl-thread-locale.m4 |
| 1595 |
m4/intlmacosx.m4 |
| 1596 |
m4/intmax_t.m4 |
| 1597 |
m4/inttypes.m4 |
| 1598 |
m4/inttypes_h.m4 |
| 1599 |
m4/ioctl.m4 |
| 1600 |
m4/isblank.m4 |
| 1601 |
m4/langinfo_h.m4 |
| 1602 |
m4/largefile.m4 |
| 1603 |
m4/lcmessage.m4 |
| 1604 |
m4/limits-h.m4 |
| 1605 |
m4/localcharset.m4 |
| 1606 |
m4/locale-fr.m4 |
| 1607 |
m4/locale-ja.m4 |
| 1608 |
m4/locale-tr.m4 |
| 1609 |
m4/locale-zh.m4 |
| 1610 |
m4/locale_h.m4 |
| 1611 |
m4/localeconv.m4 |
| 1612 |
m4/localename.m4 |
| 1613 |
m4/lock.m4 |
| 1614 |
m4/lstat.m4 |
| 1615 |
m4/malloc.m4 |
| 1616 |
m4/malloca.m4 |
| 1617 |
m4/math_h.m4 |
| 1618 |
m4/mbrtowc.m4 |
| 1619 |
m4/mbsinit.m4 |
| 1620 |
m4/mbsrtowcs.m4 |
| 1621 |
m4/mbstate_t.m4 |
| 1622 |
m4/mbtowc.m4 |
| 1623 |
m4/memchr.m4 |
| 1624 |
m4/mempcpy.m4 |
| 1625 |
m4/minmax.m4 |
| 1626 |
m4/mkdir.m4 |
| 1627 |
m4/mkstemp.m4 |
| 1628 |
m4/mmap-anon.m4 |
| 1629 |
m4/mode_t.m4 |
| 1630 |
m4/msvc-inval.m4 |
| 1631 |
m4/msvc-nothrow.m4 |
| 1632 |
m4/multiarch.m4 |
| 1633 |
m4/musl.m4 |
| 1634 |
m4/nanosleep.m4 |
| 1635 |
m4/netinet_in_h.m4 |
| 1636 |
m4/nl_langinfo.m4 |
| 1637 |
m4/nocrash.m4 |
| 1638 |
m4/off_t.m4 |
| 1639 |
m4/open-cloexec.m4 |
| 1640 |
m4/open-slash.m4 |
| 1641 |
m4/open.m4 |
| 1642 |
m4/pathmax.m4 |
| 1643 |
m4/perror.m4 |
| 1644 |
m4/pid_t.m4 |
| 1645 |
m4/pipe.m4 |
| 1646 |
m4/printf.m4 |
| 1647 |
m4/pselect.m4 |
| 1648 |
m4/pthread-thread.m4 |
| 1649 |
m4/pthread_h.m4 |
| 1650 |
m4/pthread_rwlock_rdlock.m4 |
| 1651 |
m4/pthread_sigmask.m4 |
| 1652 |
m4/putenv.m4 |
| 1653 |
m4/raise.m4 |
| 1654 |
m4/rawmemchr.m4 |
| 1655 |
m4/readlink.m4 |
| 1656 |
m4/realloc.m4 |
| 1657 |
m4/reallocarray.m4 |
| 1658 |
m4/regex.m4 |
| 1659 |
m4/safe-alloc.m4 |
| 1660 |
m4/sched_h.m4 |
| 1661 |
m4/sched_yield.m4 |
| 1662 |
m4/select.m4 |
| 1663 |
m4/selinux-context-h.m4 |
| 1664 |
m4/selinux-label-h.m4 |
| 1665 |
m4/selinux-selinux-h.m4 |
| 1666 |
m4/semaphore.m4 |
| 1667 |
m4/setenv.m4 |
| 1668 |
m4/setlocale.m4 |
| 1669 |
m4/setlocale_null.m4 |
| 1670 |
m4/signal_h.m4 |
| 1671 |
m4/signalblocking.m4 |
| 1672 |
m4/size_max.m4 |
| 1673 |
m4/sleep.m4 |
| 1674 |
m4/socketlib.m4 |
| 1675 |
m4/sockets.m4 |
| 1676 |
m4/socklen.m4 |
| 1677 |
m4/sockpfaf.m4 |
| 1678 |
m4/ssize_t.m4 |
| 1679 |
m4/stat-time.m4 |
| 1680 |
m4/stat.m4 |
| 1681 |
m4/std-gnu11.m4 |
| 1682 |
m4/stdalign.m4 |
| 1683 |
m4/stddef_h.m4 |
| 1684 |
m4/stdint.m4 |
| 1685 |
m4/stdint_h.m4 |
| 1686 |
m4/stdio_h.m4 |
| 1687 |
m4/stdlib_h.m4 |
| 1688 |
m4/stpcpy.m4 |
| 1689 |
m4/stpncpy.m4 |
| 1690 |
m4/strchrnul.m4 |
| 1691 |
m4/strerror.m4 |
| 1692 |
m4/strerror_r.m4 |
| 1693 |
m4/string_h.m4 |
| 1694 |
m4/strndup.m4 |
| 1695 |
m4/strnlen.m4 |
| 1696 |
m4/strstr.m4 |
| 1697 |
m4/symlink.m4 |
| 1698 |
m4/sys_ioctl_h.m4 |
| 1699 |
m4/sys_random_h.m4 |
| 1700 |
m4/sys_select_h.m4 |
| 1701 |
m4/sys_socket_h.m4 |
| 1702 |
m4/sys_stat_h.m4 |
| 1703 |
m4/sys_time_h.m4 |
| 1704 |
m4/sys_types_h.m4 |
| 1705 |
m4/sys_uio_h.m4 |
| 1706 |
m4/sys_wait_h.m4 |
| 1707 |
m4/tempname.m4 |
| 1708 |
m4/thread.m4 |
| 1709 |
m4/threadlib.m4 |
| 1710 |
m4/time_h.m4 |
| 1711 |
m4/unistd_h.m4 |
| 1712 |
m4/usleep.m4 |
| 1713 |
m4/vararrays.m4 |
| 1714 |
m4/vasnprintf.m4 |
| 1715 |
m4/vasprintf.m4 |
| 1716 |
m4/visibility.m4 |
| 1717 |
m4/warn-on-use.m4 |
| 1718 |
m4/wchar_h.m4 |
| 1719 |
m4/wchar_t.m4 |
| 1720 |
m4/wcrtomb.m4 |
| 1721 |
m4/wctob.m4 |
| 1722 |
m4/wctomb.m4 |
| 1723 |
m4/wctype_h.m4 |
| 1724 |
m4/wint_t.m4 |
| 1725 |
m4/wmemchr.m4 |
| 1726 |
m4/wmempcpy.m4 |
| 1727 |
m4/xsize.m4 |
| 1728 |
m4/year2038.m4 |
| 1729 |
m4/yield.m4 |
| 1730 |
m4/zzgnulib.m4 |
| 1731 |
tests/atomic-int-gnulib.h |
| 1732 |
tests/init.sh |
| 1733 |
tests/locale.c |
| 1734 |
tests/macros.h |
| 1735 |
tests/nap.h |
| 1736 |
tests/null-ptr.h |
| 1737 |
tests/signature.h |
| 1738 |
tests/test-accept.c |
| 1739 |
tests/test-alloca-opt.c |
| 1740 |
tests/test-arpa_inet.c |
| 1741 |
tests/test-assert.c |
| 1742 |
tests/test-binary-io.c |
| 1743 |
tests/test-binary-io.sh |
| 1744 |
tests/test-bind.c |
| 1745 |
tests/test-btowc.c |
| 1746 |
tests/test-btowc1.sh |
| 1747 |
tests/test-btowc2.sh |
| 1748 |
tests/test-c-ctype.c |
| 1749 |
tests/test-c-strcase.sh |
| 1750 |
tests/test-c-strcasecmp.c |
| 1751 |
tests/test-c-strncasecmp.c |
| 1752 |
tests/test-calloc-gnu.c |
| 1753 |
tests/test-canonicalize-lgpl.c |
| 1754 |
tests/test-cloexec.c |
| 1755 |
tests/test-close.c |
| 1756 |
tests/test-connect.c |
| 1757 |
tests/test-ctype.c |
| 1758 |
tests/test-dup2.c |
| 1759 |
tests/test-dynarray.c |
| 1760 |
tests/test-environ.c |
| 1761 |
tests/test-errno.c |
| 1762 |
tests/test-fcntl-h.c |
| 1763 |
tests/test-fcntl.c |
| 1764 |
tests/test-fdopen.c |
| 1765 |
tests/test-fgetc.c |
| 1766 |
tests/test-float.c |
| 1767 |
tests/test-fnmatch-h.c |
| 1768 |
tests/test-fnmatch.c |
| 1769 |
tests/test-fputc.c |
| 1770 |
tests/test-fread.c |
| 1771 |
tests/test-free.c |
| 1772 |
tests/test-fstat.c |
| 1773 |
tests/test-ftruncate.c |
| 1774 |
tests/test-ftruncate.sh |
| 1775 |
tests/test-fwrite.c |
| 1776 |
tests/test-getcwd-lgpl.c |
| 1777 |
tests/test-getdelim.c |
| 1778 |
tests/test-getdtablesize.c |
| 1779 |
tests/test-getline.c |
| 1780 |
tests/test-getopt-gnu.c |
| 1781 |
tests/test-getopt-main.h |
| 1782 |
tests/test-getopt-posix.c |
| 1783 |
tests/test-getopt.h |
| 1784 |
tests/test-getopt_long.h |
| 1785 |
tests/test-getrandom.c |
| 1786 |
tests/test-gettimeofday.c |
| 1787 |
tests/test-hard-locale.c |
| 1788 |
tests/test-ignore-value.c |
| 1789 |
tests/test-inet_pton.c |
| 1790 |
tests/test-init.sh |
| 1791 |
tests/test-intprops.c |
| 1792 |
tests/test-inttypes.c |
| 1793 |
tests/test-ioctl.c |
| 1794 |
tests/test-isblank.c |
| 1795 |
tests/test-langinfo.c |
| 1796 |
tests/test-limits-h.c |
| 1797 |
tests/test-listen.c |
| 1798 |
tests/test-localcharset.c |
| 1799 |
tests/test-locale.c |
| 1800 |
tests/test-localeconv.c |
| 1801 |
tests/test-localename.c |
| 1802 |
tests/test-lock.c |
| 1803 |
tests/test-lstat.c |
| 1804 |
tests/test-lstat.h |
| 1805 |
tests/test-malloc-gnu.c |
| 1806 |
tests/test-malloca.c |
| 1807 |
tests/test-mbrtowc-w32-1.sh |
| 1808 |
tests/test-mbrtowc-w32-2.sh |
| 1809 |
tests/test-mbrtowc-w32-3.sh |
| 1810 |
tests/test-mbrtowc-w32-4.sh |
| 1811 |
tests/test-mbrtowc-w32-5.sh |
| 1812 |
tests/test-mbrtowc-w32-6.sh |
| 1813 |
tests/test-mbrtowc-w32-7.sh |
| 1814 |
tests/test-mbrtowc-w32.c |
| 1815 |
tests/test-mbrtowc.c |
| 1816 |
tests/test-mbrtowc1.sh |
| 1817 |
tests/test-mbrtowc2.sh |
| 1818 |
tests/test-mbrtowc3.sh |
| 1819 |
tests/test-mbrtowc4.sh |
| 1820 |
tests/test-mbrtowc5.sh |
| 1821 |
tests/test-mbsinit.c |
| 1822 |
tests/test-mbsinit.sh |
| 1823 |
tests/test-mbsrtowcs.c |
| 1824 |
tests/test-mbsrtowcs1.sh |
| 1825 |
tests/test-mbsrtowcs2.sh |
| 1826 |
tests/test-mbsrtowcs3.sh |
| 1827 |
tests/test-mbsrtowcs4.sh |
| 1828 |
tests/test-memchr.c |
| 1829 |
tests/test-mkdir.c |
| 1830 |
tests/test-mkdir.h |
| 1831 |
tests/test-nanosleep.c |
| 1832 |
tests/test-netinet_in.c |
| 1833 |
tests/test-nl_langinfo-mt.c |
| 1834 |
tests/test-nl_langinfo.c |
| 1835 |
tests/test-nl_langinfo.sh |
| 1836 |
tests/test-once.c |
| 1837 |
tests/test-open.c |
| 1838 |
tests/test-open.h |
| 1839 |
tests/test-pathmax.c |
| 1840 |
tests/test-perror.c |
| 1841 |
tests/test-perror.sh |
| 1842 |
tests/test-perror2.c |
| 1843 |
tests/test-pipe.c |
| 1844 |
tests/test-pselect.c |
| 1845 |
tests/test-pthread-thread.c |
| 1846 |
tests/test-pthread.c |
| 1847 |
tests/test-pthread_sigmask1.c |
| 1848 |
tests/test-pthread_sigmask2.c |
| 1849 |
tests/test-raise.c |
| 1850 |
tests/test-rawmemchr.c |
| 1851 |
tests/test-readlink.c |
| 1852 |
tests/test-readlink.h |
| 1853 |
tests/test-realloc-gnu.c |
| 1854 |
tests/test-reallocarray.c |
| 1855 |
tests/test-regex.c |
| 1856 |
tests/test-rwlock1.c |
| 1857 |
tests/test-safe-alloc.c |
| 1858 |
tests/test-sched.c |
| 1859 |
tests/test-scratch-buffer.c |
| 1860 |
tests/test-select-fd.c |
| 1861 |
tests/test-select-in.sh |
| 1862 |
tests/test-select-out.sh |
| 1863 |
tests/test-select-stdin.c |
| 1864 |
tests/test-select.c |
| 1865 |
tests/test-select.h |
| 1866 |
tests/test-setenv.c |
| 1867 |
tests/test-setlocale1.c |
| 1868 |
tests/test-setlocale1.sh |
| 1869 |
tests/test-setlocale2.c |
| 1870 |
tests/test-setlocale2.sh |
| 1871 |
tests/test-setlocale_null-mt-all.c |
| 1872 |
tests/test-setlocale_null-mt-one.c |
| 1873 |
tests/test-setlocale_null.c |
| 1874 |
tests/test-setsockopt.c |
| 1875 |
tests/test-signal-h.c |
| 1876 |
tests/test-sigprocmask.c |
| 1877 |
tests/test-sleep.c |
| 1878 |
tests/test-sockets.c |
| 1879 |
tests/test-stat-time.c |
| 1880 |
tests/test-stat.c |
| 1881 |
tests/test-stat.h |
| 1882 |
tests/test-stdalign.c |
| 1883 |
tests/test-stdbool.c |
| 1884 |
tests/test-stdckdint.c |
| 1885 |
tests/test-stddef.c |
| 1886 |
tests/test-stdint.c |
| 1887 |
tests/test-stdio.c |
| 1888 |
tests/test-stdlib.c |
| 1889 |
tests/test-strchrnul.c |
| 1890 |
tests/test-strerror.c |
| 1891 |
tests/test-strerror_r.c |
| 1892 |
tests/test-string.c |
| 1893 |
tests/test-strnlen.c |
| 1894 |
tests/test-strstr.c |
| 1895 |
tests/test-symlink.c |
| 1896 |
tests/test-symlink.h |
| 1897 |
tests/test-sys_ioctl.c |
| 1898 |
tests/test-sys_random.c |
| 1899 |
tests/test-sys_select.c |
| 1900 |
tests/test-sys_socket.c |
| 1901 |
tests/test-sys_stat.c |
| 1902 |
tests/test-sys_time.c |
| 1903 |
tests/test-sys_types.c |
| 1904 |
tests/test-sys_uio.c |
| 1905 |
tests/test-sys_wait.c |
| 1906 |
tests/test-sys_wait.h |
| 1907 |
tests/test-thread_create.c |
| 1908 |
tests/test-thread_self.c |
| 1909 |
tests/test-time.c |
| 1910 |
tests/test-unistd.c |
| 1911 |
tests/test-unsetenv.c |
| 1912 |
tests/test-usleep.c |
| 1913 |
tests/test-vasnprintf.c |
| 1914 |
tests/test-vasprintf.c |
| 1915 |
tests/test-verify-try.c |
| 1916 |
tests/test-verify.c |
| 1917 |
tests/test-verify.sh |
| 1918 |
tests/test-wchar.c |
| 1919 |
tests/test-wcrtomb-w32-1.sh |
| 1920 |
tests/test-wcrtomb-w32-2.sh |
| 1921 |
tests/test-wcrtomb-w32-3.sh |
| 1922 |
tests/test-wcrtomb-w32-4.sh |
| 1923 |
tests/test-wcrtomb-w32-5.sh |
| 1924 |
tests/test-wcrtomb-w32-6.sh |
| 1925 |
tests/test-wcrtomb-w32-7.sh |
| 1926 |
tests/test-wcrtomb-w32.c |
| 1927 |
tests/test-wcrtomb.c |
| 1928 |
tests/test-wcrtomb.sh |
| 1929 |
tests/test-wctype-h.c |
| 1930 |
tests/zerosize-ptr.h |
| 1931 |
tests=lib/_Noreturn.h |
| 1932 |
tests=lib/accept.c |
| 1933 |
tests=lib/alloca.c |
| 1934 |
tests=lib/arg-nonnull.h |
| 1935 |
tests=lib/arpa_inet.in.h |
| 1936 |
tests=lib/binary-io.c |
| 1937 |
tests=lib/binary-io.h |
| 1938 |
tests=lib/bind.c |
| 1939 |
tests=lib/c++defs.h |
| 1940 |
tests=lib/c-ctype.c |
| 1941 |
tests=lib/c-ctype.h |
| 1942 |
tests=lib/c-strcase.h |
| 1943 |
tests=lib/c-strcasecmp.c |
| 1944 |
tests=lib/c-strncasecmp.c |
| 1945 |
tests=lib/connect.c |
| 1946 |
tests=lib/fdopen.c |
| 1947 |
tests=lib/fpucw.h |
| 1948 |
tests=lib/ftruncate.c |
| 1949 |
tests=lib/getcwd-lgpl.c |
| 1950 |
tests=lib/getpagesize.c |
| 1951 |
tests=lib/gettimeofday.c |
| 1952 |
tests=lib/glthread/thread.c |
| 1953 |
tests=lib/glthread/thread.h |
| 1954 |
tests=lib/glthread/yield.h |
| 1955 |
tests=lib/ignore-value.h |
| 1956 |
tests=lib/inet_pton.c |
| 1957 |
tests=lib/ioctl.c |
| 1958 |
tests=lib/listen.c |
| 1959 |
tests=lib/localename-table.c |
| 1960 |
tests=lib/localename-table.h |
| 1961 |
tests=lib/localename.c |
| 1962 |
tests=lib/localename.h |
| 1963 |
tests=lib/nanosleep.c |
| 1964 |
tests=lib/netinet_in.in.h |
| 1965 |
tests=lib/perror.c |
| 1966 |
tests=lib/pipe.c |
| 1967 |
tests=lib/pselect.c |
| 1968 |
tests=lib/pthread-thread.c |
| 1969 |
tests=lib/pthread.in.h |
| 1970 |
tests=lib/pthread_sigmask.c |
| 1971 |
tests=lib/putenv.c |
| 1972 |
tests=lib/raise.c |
| 1973 |
tests=lib/same-inode.h |
| 1974 |
tests=lib/sched.in.h |
| 1975 |
tests=lib/sched_yield.c |
| 1976 |
tests=lib/select.c |
| 1977 |
tests=lib/setenv.c |
| 1978 |
tests=lib/setlocale.c |
| 1979 |
tests=lib/setsockopt.c |
| 1980 |
tests=lib/signal.in.h |
| 1981 |
tests=lib/sigprocmask.c |
| 1982 |
tests=lib/sleep.c |
| 1983 |
tests=lib/socket.c |
| 1984 |
tests=lib/sockets.c |
| 1985 |
tests=lib/sockets.h |
| 1986 |
tests=lib/strerror-override.c |
| 1987 |
tests=lib/strerror-override.h |
| 1988 |
tests=lib/strerror.c |
| 1989 |
tests=lib/strerror_r.c |
| 1990 |
tests=lib/symlink.c |
| 1991 |
tests=lib/sys_ioctl.in.h |
| 1992 |
tests=lib/sys_select.in.h |
| 1993 |
tests=lib/sys_socket.c |
| 1994 |
tests=lib/sys_socket.in.h |
| 1995 |
tests=lib/sys_time.in.h |
| 1996 |
tests=lib/sys_uio.in.h |
| 1997 |
tests=lib/thread-optim.h |
| 1998 |
tests=lib/unsetenv.c |
| 1999 |
tests=lib/usleep.c |
| 2000 |
tests=lib/w32sock.h |
| 2001 |
tests=lib/warn-on-use.h |
| 2002 |
tests=lib/wctob.c |
| 2003 |
tests=lib/wctomb-impl.h |
| 2004 |
tests=lib/wctomb.c |
| 2005 |
tests=lib/windows-thread.c |
| 2006 |
tests=lib/windows-thread.h |
| 2007 |
tests=lib/windows-tls.c |
| 2008 |
tests=lib/windows-tls.h |
| 2009 |
]) |