1# DO NOT EDIT! GENERATED AUTOMATICALLY! 2# Copyright (C) 2002-2014 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 <http://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. 34AC_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 AC_REQUIRE([gl_PROG_AR_RANLIB]) 41 AC_REQUIRE([AM_PROG_CC_C_O]) 42 # Code from module absolute-header: 43 # Code from module accept: 44 # Code from module alloca: 45 # Code from module alloca-opt: 46 # Code from module announce-gen: 47 # Code from module arpa_inet: 48 # Code from module base32: 49 # Code from module binary-io: 50 # Code from module bind: 51 # Code from module btowc: 52 # Code from module c-ctype: 53 # Code from module c-strcase: 54 # Code from module c-strcaseeq: 55 # Code from module clock-time: 56 # Code from module cloexec: 57 # Code from module close: 58 # Code from module configmake: 59 # Code from module connect: 60 # Code from module crypto/md5: 61 # Code from module crypto/sha1: 62 # Code from module dirname-lgpl: 63 # Code from module dosname: 64 # Code from module double-slash-root: 65 # Code from module dup2: 66 # Code from module environ: 67 # Code from module errno: 68 # Code from module error: 69 # Code from module exitfail: 70 # Code from module extensions: 71 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) 72 # Code from module extern-inline: 73 # Code from module fatal-signal: 74 # Code from module fcntl: 75 # Code from module fcntl-h: 76 # Code from module fd-hook: 77 # Code from module fd-safer-flag: 78 # Code from module float: 79 # Code from module fseek: 80 # Code from module fseeko: 81 AC_REQUIRE([AC_FUNC_FSEEKO]) 82 # Code from module fstat: 83 # Code from module ftell: 84 # Code from module ftello: 85 AC_REQUIRE([AC_FUNC_FSEEKO]) 86 # Code from module futimens: 87 # Code from module getaddrinfo: 88 # Code from module getdelim: 89 # Code from module getdtablesize: 90 # Code from module getline: 91 # Code from module getopt-gnu: 92 # Code from module getopt-posix: 93 # Code from module getpass-gnu: 94 # Code from module getpeername: 95 # Code from module getsockname: 96 # Code from module gettext-h: 97 # Code from module gettime: 98 # Code from module gettimeofday: 99 # Code from module git-version-gen: 100 # Code from module gnumakefile: 101 # Code from module gnupload: 102 # Code from module havelib: 103 # Code from module hostent: 104 # Code from module iconv: 105 # Code from module iconv-h: 106 # Code from module include_next: 107 # Code from module inet_ntop: 108 # Code from module intprops: 109 # Code from module ioctl: 110 # Code from module iswblank: 111 # Code from module langinfo: 112 # Code from module largefile: 113 AC_REQUIRE([AC_SYS_LARGEFILE]) 114 # Code from module listen: 115 # Code from module localcharset: 116 # Code from module locale: 117 # Code from module localeconv: 118 # Code from module lock: 119 # Code from module lseek: 120 # Code from module lstat: 121 # Code from module maintainer-makefile: 122 # Code from module malloc-posix: 123 # Code from module mbchar: 124 # Code from module mbiter: 125 # Code from module mbrtowc: 126 # Code from module mbsinit: 127 # Code from module mbtowc: 128 # Code from module memchr: 129 # Code from module mkdir: 130 # Code from module mkostemp: 131 # Code from module mkstemp: 132 # Code from module msvc-inval: 133 # Code from module msvc-nothrow: 134 # Code from module multiarch: 135 # Code from module netdb: 136 # Code from module netinet_in: 137 # Code from module nl_langinfo: 138 # Code from module nocrash: 139 # Code from module open: 140 # Code from module pathmax: 141 # Code from module pipe: 142 # Code from module pipe2: 143 # Code from module pipe2-safer: 144 # Code from module posix_spawn-internal: 145 # Code from module posix_spawn_file_actions_addclose: 146 # Code from module posix_spawn_file_actions_adddup2: 147 # Code from module posix_spawn_file_actions_addopen: 148 # Code from module posix_spawn_file_actions_destroy: 149 # Code from module posix_spawn_file_actions_init: 150 # Code from module posix_spawnattr_destroy: 151 # Code from module posix_spawnattr_init: 152 # Code from module posix_spawnattr_setflags: 153 # Code from module posix_spawnattr_setsigmask: 154 # Code from module posix_spawnp: 155 # Code from module quote: 156 # Code from module quotearg: 157 # Code from module quotearg-simple: 158 # Code from module raise: 159 # Code from module rawmemchr: 160 # Code from module realloc-posix: 161 # Code from module recv: 162 # Code from module regex: 163 # Code from module sched: 164 # Code from module secure_getenv: 165 # Code from module select: 166 # Code from module send: 167 # Code from module servent: 168 # Code from module setsockopt: 169 # Code from module sigaction: 170 # Code from module signal-h: 171 # Code from module sigpipe: 172 # Code from module sigprocmask: 173 # Code from module size_max: 174 # Code from module snippet/_Noreturn: 175 # Code from module snippet/arg-nonnull: 176 # Code from module snippet/c++defs: 177 # Code from module snippet/warn-on-use: 178 # Code from module snprintf: 179 # Code from module socket: 180 # Code from module socketlib: 181 # Code from module sockets: 182 # Code from module socklen: 183 # Code from module spawn: 184 # Code from module spawn-pipe: 185 # Code from module ssize_t: 186 # Code from module stat: 187 # Code from module stat-time: 188 # Code from module stdalign: 189 # Code from module stdbool: 190 # Code from module stddef: 191 # Code from module stdint: 192 # Code from module stdio: 193 # Code from module stdlib: 194 # Code from module strcase: 195 # Code from module strcasestr: 196 # Code from module strcasestr-simple: 197 # Code from module strchrnul: 198 # Code from module streq: 199 # Code from module strerror: 200 # Code from module strerror-override: 201 # Code from module strerror_r-posix: 202 # Code from module string: 203 # Code from module strings: 204 # Code from module strndup: 205 # Code from module strnlen: 206 # Code from module strtok_r: 207 # Code from module sys_ioctl: 208 # Code from module sys_select: 209 # Code from module sys_socket: 210 # Code from module sys_stat: 211 # Code from module sys_time: 212 # Code from module sys_types: 213 # Code from module sys_uio: 214 # Code from module sys_wait: 215 # Code from module tempname: 216 # Code from module threadlib: 217 gl_THREADLIB_EARLY 218 # Code from module time: 219 # Code from module timespec: 220 # Code from module tmpdir: 221 # Code from module unistd: 222 # Code from module unistd-safer: 223 # Code from module unitypes: 224 # Code from module uniwidth/base: 225 # Code from module uniwidth/width: 226 # Code from module unlocked-io: 227 # Code from module update-copyright: 228 # Code from module useless-if-before-free: 229 # Code from module utimens: 230 # Code from module vasnprintf: 231 # Code from module vasprintf: 232 # Code from module vc-list-files: 233 # Code from module verify: 234 # Code from module vsnprintf: 235 # Code from module wait-process: 236 # Code from module waitpid: 237 # Code from module wchar: 238 # Code from module wcrtomb: 239 # Code from module wctype-h: 240 # Code from module wcwidth: 241 # Code from module write: 242 # Code from module xalloc: 243 # Code from module xalloc-die: 244 # Code from module xalloc-oversized: 245 # Code from module xsize: 246 # Code from module xstrndup: 247]) 248 249# This macro should be invoked from ./configure.ac, in the section 250# "Check for header files, types and library functions". 251AC_DEFUN([gl_INIT], 252[ 253 AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) 254 gl_cond_libtool=false 255 gl_libdeps= 256 gl_ltlibdeps= 257 gl_m4_base='m4' 258 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) 259 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) 260 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) 261 m4_pushdef([gl_LIBSOURCES_LIST], []) 262 m4_pushdef([gl_LIBSOURCES_DIR], []) 263 gl_COMMON 264 gl_source_base='lib' 265 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 266 if test "$ac_cv_header_winsock2_h" = yes; then 267 AC_LIBOBJ([accept]) 268 fi 269 gl_SYS_SOCKET_MODULE_INDICATOR([accept]) 270 gl_FUNC_ALLOCA 271 gl_HEADER_ARPA_INET 272 AC_PROG_MKDIR_P 273 gl_FUNC_BASE32 274 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 275 if test "$ac_cv_header_winsock2_h" = yes; then 276 AC_LIBOBJ([bind]) 277 fi 278 gl_SYS_SOCKET_MODULE_INDICATOR([bind]) 279 gl_FUNC_BTOWC 280 if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then 281 AC_LIBOBJ([btowc]) 282 gl_PREREQ_BTOWC 283 fi 284 gl_WCHAR_MODULE_INDICATOR([btowc]) 285 gl_CLOCK_TIME 286 gl_MODULE_INDICATOR_FOR_TESTS([cloexec]) 287 gl_FUNC_CLOSE 288 if test $REPLACE_CLOSE = 1; then 289 AC_LIBOBJ([close]) 290 fi 291 gl_UNISTD_MODULE_INDICATOR([close]) 292 gl_CONFIGMAKE_PREP 293 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 294 if test "$ac_cv_header_winsock2_h" = yes; then 295 AC_LIBOBJ([connect]) 296 fi 297 gl_SYS_SOCKET_MODULE_INDICATOR([connect]) 298 gl_MD5 299 gl_SHA1 300 gl_DIRNAME_LGPL 301 gl_DOUBLE_SLASH_ROOT 302 gl_FUNC_DUP2 303 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then 304 AC_LIBOBJ([dup2]) 305 gl_PREREQ_DUP2 306 fi 307 gl_UNISTD_MODULE_INDICATOR([dup2]) 308 gl_ENVIRON 309 gl_UNISTD_MODULE_INDICATOR([environ]) 310 gl_HEADER_ERRNO_H 311 gl_ERROR 312 if test $ac_cv_lib_error_at_line = no; then 313 AC_LIBOBJ([error]) 314 gl_PREREQ_ERROR 315 fi 316 m4_ifdef([AM_XGETTEXT_OPTION], 317 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) 318 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) 319 AC_REQUIRE([gl_EXTERN_INLINE]) 320 gl_FATAL_SIGNAL 321 gl_FUNC_FCNTL 322 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then 323 AC_LIBOBJ([fcntl]) 324 fi 325 gl_FCNTL_MODULE_INDICATOR([fcntl]) 326 gl_FCNTL_H 327 gl_MODULE_INDICATOR([fd-safer-flag]) 328 gl_FLOAT_H 329 if test $REPLACE_FLOAT_LDBL = 1; then 330 AC_LIBOBJ([float]) 331 fi 332 if test $REPLACE_ITOLD = 1; then 333 AC_LIBOBJ([itold]) 334 fi 335 gl_FUNC_FSEEK 336 if test $REPLACE_FSEEK = 1; then 337 AC_LIBOBJ([fseek]) 338 fi 339 gl_STDIO_MODULE_INDICATOR([fseek]) 340 gl_FUNC_FSEEKO 341 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then 342 AC_LIBOBJ([fseeko]) 343 gl_PREREQ_FSEEKO 344 fi 345 gl_STDIO_MODULE_INDICATOR([fseeko]) 346 gl_FUNC_FSTAT 347 if test $REPLACE_FSTAT = 1; then 348 AC_LIBOBJ([fstat]) 349 gl_PREREQ_FSTAT 350 fi 351 gl_SYS_STAT_MODULE_INDICATOR([fstat]) 352 gl_FUNC_FTELL 353 if test $REPLACE_FTELL = 1; then 354 AC_LIBOBJ([ftell]) 355 fi 356 gl_STDIO_MODULE_INDICATOR([ftell]) 357 gl_FUNC_FTELLO 358 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then 359 AC_LIBOBJ([ftello]) 360 gl_PREREQ_FTELLO 361 fi 362 gl_STDIO_MODULE_INDICATOR([ftello]) 363 gl_FUNC_FUTIMENS 364 if test $HAVE_FUTIMENS = 0 || test $REPLACE_FUTIMENS = 1; then 365 AC_LIBOBJ([futimens]) 366 fi 367 gl_SYS_STAT_MODULE_INDICATOR([futimens]) 368 gl_GETADDRINFO 369 if test $HAVE_GETADDRINFO = 0; then 370 AC_LIBOBJ([getaddrinfo]) 371 fi 372 if test $HAVE_DECL_GAI_STRERROR = 0 || test $REPLACE_GAI_STRERROR = 1; then 373 AC_LIBOBJ([gai_strerror]) 374 fi 375 gl_NETDB_MODULE_INDICATOR([getaddrinfo]) 376 gl_FUNC_GETDELIM 377 if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then 378 AC_LIBOBJ([getdelim]) 379 gl_PREREQ_GETDELIM 380 fi 381 gl_STDIO_MODULE_INDICATOR([getdelim]) 382 gl_FUNC_GETDTABLESIZE 383 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then 384 AC_LIBOBJ([getdtablesize]) 385 gl_PREREQ_GETDTABLESIZE 386 fi 387 gl_UNISTD_MODULE_INDICATOR([getdtablesize]) 388 gl_FUNC_GETLINE 389 if test $REPLACE_GETLINE = 1; then 390 AC_LIBOBJ([getline]) 391 gl_PREREQ_GETLINE 392 fi 393 gl_STDIO_MODULE_INDICATOR([getline]) 394 gl_FUNC_GETOPT_GNU 395 if test $REPLACE_GETOPT = 1; then 396 AC_LIBOBJ([getopt]) 397 AC_LIBOBJ([getopt1]) 398 gl_PREREQ_GETOPT 399 dnl Arrange for unistd.h to include getopt.h. 400 GNULIB_GL_UNISTD_H_GETOPT=1 401 fi 402 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) 403 gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) 404 gl_FUNC_GETOPT_POSIX 405 if test $REPLACE_GETOPT = 1; then 406 AC_LIBOBJ([getopt]) 407 AC_LIBOBJ([getopt1]) 408 gl_PREREQ_GETOPT 409 dnl Arrange for unistd.h to include getopt.h. 410 GNULIB_GL_UNISTD_H_GETOPT=1 411 fi 412 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT]) 413 gl_FUNC_GETPASS_GNU 414 if test $REPLACE_GETPASS = 1; then 415 AC_LIBOBJ([getpass]) 416 gl_PREREQ_GETPASS 417 fi 418 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 419 if test "$ac_cv_header_winsock2_h" = yes; then 420 AC_LIBOBJ([getpeername]) 421 fi 422 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername]) 423 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 424 if test "$ac_cv_header_winsock2_h" = yes; then 425 AC_LIBOBJ([getsockname]) 426 fi 427 gl_SYS_SOCKET_MODULE_INDICATOR([getsockname]) 428 AC_SUBST([LIBINTL]) 429 AC_SUBST([LTLIBINTL]) 430 gl_GETTIME 431 gl_FUNC_GETTIMEOFDAY 432 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then 433 AC_LIBOBJ([gettimeofday]) 434 gl_PREREQ_GETTIMEOFDAY 435 fi 436 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday]) 437 # Autoconf 2.61a.99 and earlier don't support linking a file only 438 # in VPATH builds. But since GNUmakefile is for maintainer use 439 # only, it does not matter if we skip the link with older autoconf. 440 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH 441 # builds, so use a shell variable to bypass this. 442 GNUmakefile=GNUmakefile 443 m4_if(m4_version_compare([2.61a.100], 444 m4_defn([m4_PACKAGE_VERSION])), [1], [], 445 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [], 446 [GNUmakefile=$GNUmakefile])]) 447 gl_HOSTENT 448 AM_ICONV 449 m4_ifdef([gl_ICONV_MODULE_INDICATOR], 450 [gl_ICONV_MODULE_INDICATOR([iconv])]) 451 gl_ICONV_H 452 gl_FUNC_INET_NTOP 453 if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then 454 AC_LIBOBJ([inet_ntop]) 455 gl_PREREQ_INET_NTOP 456 fi 457 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop]) 458 gl_FUNC_IOCTL 459 if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then 460 AC_LIBOBJ([ioctl]) 461 fi 462 gl_SYS_IOCTL_MODULE_INDICATOR([ioctl]) 463 gl_FUNC_ISWBLANK 464 if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then 465 : 466 else 467 if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then 468 AC_LIBOBJ([iswblank]) 469 fi 470 fi 471 gl_WCTYPE_MODULE_INDICATOR([iswblank]) 472 gl_LANGINFO_H 473 AC_REQUIRE([gl_LARGEFILE]) 474 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 475 if test "$ac_cv_header_winsock2_h" = yes; then 476 AC_LIBOBJ([listen]) 477 fi 478 gl_SYS_SOCKET_MODULE_INDICATOR([listen]) 479 gl_LOCALCHARSET 480 LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\"" 481 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) 482 gl_LOCALE_H 483 gl_FUNC_LOCALECONV 484 if test $REPLACE_LOCALECONV = 1; then 485 AC_LIBOBJ([localeconv]) 486 gl_PREREQ_LOCALECONV 487 fi 488 gl_LOCALE_MODULE_INDICATOR([localeconv]) 489 gl_LOCK 490 gl_MODULE_INDICATOR([lock]) 491 gl_FUNC_LSEEK 492 if test $REPLACE_LSEEK = 1; then 493 AC_LIBOBJ([lseek]) 494 fi 495 gl_UNISTD_MODULE_INDICATOR([lseek]) 496 gl_FUNC_LSTAT 497 if test $REPLACE_LSTAT = 1; then 498 AC_LIBOBJ([lstat]) 499 gl_PREREQ_LSTAT 500 fi 501 gl_SYS_STAT_MODULE_INDICATOR([lstat]) 502 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER], 503 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])]) 504 AC_REQUIRE([AC_PROG_SED]) 505 gl_FUNC_MALLOC_POSIX 506 if test $REPLACE_MALLOC = 1; then 507 AC_LIBOBJ([malloc]) 508 fi 509 gl_STDLIB_MODULE_INDICATOR([malloc-posix]) 510 gl_MBCHAR 511 gl_MBITER 512 gl_FUNC_MBRTOWC 513 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then 514 AC_LIBOBJ([mbrtowc]) 515 gl_PREREQ_MBRTOWC 516 fi 517 gl_WCHAR_MODULE_INDICATOR([mbrtowc]) 518 gl_FUNC_MBSINIT 519 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then 520 AC_LIBOBJ([mbsinit]) 521 gl_PREREQ_MBSINIT 522 fi 523 gl_WCHAR_MODULE_INDICATOR([mbsinit]) 524 gl_FUNC_MBTOWC 525 if test $REPLACE_MBTOWC = 1; then 526 AC_LIBOBJ([mbtowc]) 527 gl_PREREQ_MBTOWC 528 fi 529 gl_STDLIB_MODULE_INDICATOR([mbtowc]) 530 gl_FUNC_MEMCHR 531 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then 532 AC_LIBOBJ([memchr]) 533 gl_PREREQ_MEMCHR 534 fi 535 gl_STRING_MODULE_INDICATOR([memchr]) 536 gl_FUNC_MKDIR 537 if test $REPLACE_MKDIR = 1; then 538 AC_LIBOBJ([mkdir]) 539 fi 540 gl_FUNC_MKOSTEMP 541 if test $HAVE_MKOSTEMP = 0; then 542 AC_LIBOBJ([mkostemp]) 543 gl_PREREQ_MKOSTEMP 544 fi 545 gl_MODULE_INDICATOR([mkostemp]) 546 gl_STDLIB_MODULE_INDICATOR([mkostemp]) 547 gl_FUNC_MKSTEMP 548 if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then 549 AC_LIBOBJ([mkstemp]) 550 gl_PREREQ_MKSTEMP 551 fi 552 gl_STDLIB_MODULE_INDICATOR([mkstemp]) 553 gl_MSVC_INVAL 554 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then 555 AC_LIBOBJ([msvc-inval]) 556 fi 557 gl_MSVC_NOTHROW 558 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then 559 AC_LIBOBJ([msvc-nothrow]) 560 fi 561 gl_MULTIARCH 562 gl_HEADER_NETDB 563 gl_HEADER_NETINET_IN 564 AC_PROG_MKDIR_P 565 gl_FUNC_NL_LANGINFO 566 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then 567 AC_LIBOBJ([nl_langinfo]) 568 fi 569 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) 570 gl_FUNC_OPEN 571 if test $REPLACE_OPEN = 1; then 572 AC_LIBOBJ([open]) 573 gl_PREREQ_OPEN 574 fi 575 gl_FCNTL_MODULE_INDICATOR([open]) 576 gl_PATHMAX 577 gl_FUNC_PIPE2 578 gl_UNISTD_MODULE_INDICATOR([pipe2]) 579 gl_MODULE_INDICATOR([pipe2-safer]) 580 gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 581 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE = 1; then 582 AC_LIBOBJ([spawn_faction_addclose]) 583 fi 584 gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose]) 585 gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 586 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1; then 587 AC_LIBOBJ([spawn_faction_adddup2]) 588 fi 589 gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2]) 590 gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 591 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN = 1; then 592 AC_LIBOBJ([spawn_faction_addopen]) 593 fi 594 gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen]) 595 gl_POSIX_SPAWN 596 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then 597 AC_LIBOBJ([spawn_faction_destroy]) 598 fi 599 gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy]) 600 gl_POSIX_SPAWN 601 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then 602 AC_LIBOBJ([spawn_faction_init]) 603 fi 604 gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init]) 605 gl_POSIX_SPAWN 606 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then 607 AC_LIBOBJ([spawnattr_destroy]) 608 fi 609 gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy]) 610 gl_POSIX_SPAWN 611 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then 612 AC_LIBOBJ([spawnattr_init]) 613 fi 614 gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init]) 615 gl_POSIX_SPAWN 616 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then 617 AC_LIBOBJ([spawnattr_setflags]) 618 fi 619 gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags]) 620 gl_POSIX_SPAWN 621 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then 622 AC_LIBOBJ([spawnattr_setsigmask]) 623 fi 624 gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask]) 625 gl_POSIX_SPAWN 626 if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then 627 AC_LIBOBJ([spawnp]) 628 AC_LIBOBJ([spawni]) 629 gl_PREREQ_POSIX_SPAWN_INTERNAL 630 fi 631 gl_SPAWN_MODULE_INDICATOR([posix_spawnp]) 632 gl_QUOTE 633 gl_QUOTEARG 634 gl_FUNC_RAISE 635 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then 636 AC_LIBOBJ([raise]) 637 gl_PREREQ_RAISE 638 fi 639 gl_SIGNAL_MODULE_INDICATOR([raise]) 640 gl_FUNC_RAWMEMCHR 641 if test $HAVE_RAWMEMCHR = 0; then 642 AC_LIBOBJ([rawmemchr]) 643 gl_PREREQ_RAWMEMCHR 644 fi 645 gl_STRING_MODULE_INDICATOR([rawmemchr]) 646 gl_FUNC_REALLOC_POSIX 647 if test $REPLACE_REALLOC = 1; then 648 AC_LIBOBJ([realloc]) 649 fi 650 gl_STDLIB_MODULE_INDICATOR([realloc-posix]) 651 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 652 if test "$ac_cv_header_winsock2_h" = yes; then 653 AC_LIBOBJ([recv]) 654 fi 655 gl_SYS_SOCKET_MODULE_INDICATOR([recv]) 656 gl_REGEX 657 if test $ac_use_included_regex = yes; then 658 AC_LIBOBJ([regex]) 659 gl_PREREQ_REGEX 660 fi 661 gl_SCHED_H 662 gl_FUNC_SECURE_GETENV 663 if test $HAVE_SECURE_GETENV = 0; then 664 AC_LIBOBJ([secure_getenv]) 665 gl_PREREQ_SECURE_GETENV 666 fi 667 gl_STDLIB_MODULE_INDICATOR([secure_getenv]) 668 gl_FUNC_SELECT 669 if test $REPLACE_SELECT = 1; then 670 AC_LIBOBJ([select]) 671 fi 672 gl_SYS_SELECT_MODULE_INDICATOR([select]) 673 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 674 if test "$ac_cv_header_winsock2_h" = yes; then 675 AC_LIBOBJ([send]) 676 fi 677 gl_SYS_SOCKET_MODULE_INDICATOR([send]) 678 gl_SERVENT 679 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 680 if test "$ac_cv_header_winsock2_h" = yes; then 681 AC_LIBOBJ([setsockopt]) 682 fi 683 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) 684 gl_SIGACTION 685 if test $HAVE_SIGACTION = 0; then 686 AC_LIBOBJ([sigaction]) 687 gl_PREREQ_SIGACTION 688 fi 689 gl_SIGNAL_MODULE_INDICATOR([sigaction]) 690 gl_SIGNAL_H 691 gl_SIGNAL_SIGPIPE 692 dnl Define the C macro GNULIB_SIGPIPE to 1. 693 gl_MODULE_INDICATOR([sigpipe]) 694 dnl Define the substituted variable GNULIB_SIGNAL_H_SIGPIPE to 1. 695 AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) 696 GNULIB_SIGNAL_H_SIGPIPE=1 697 dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1. 698 AC_REQUIRE([gl_STDIO_H_DEFAULTS]) 699 AC_REQUIRE([gl_ASM_SYMBOL_PREFIX]) 700 GNULIB_STDIO_H_SIGPIPE=1 701 dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1. 702 AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) 703 GNULIB_UNISTD_H_SIGPIPE=1 704 gl_SIGNALBLOCKING 705 if test $HAVE_POSIX_SIGNALBLOCKING = 0; then 706 AC_LIBOBJ([sigprocmask]) 707 gl_PREREQ_SIGPROCMASK 708 fi 709 gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) 710 gl_SIZE_MAX 711 gl_FUNC_SNPRINTF 712 gl_STDIO_MODULE_INDICATOR([snprintf]) 713 gl_MODULE_INDICATOR([snprintf]) 714 AC_REQUIRE([gl_HEADER_SYS_SOCKET]) 715 if test "$ac_cv_header_winsock2_h" = yes; then 716 AC_LIBOBJ([socket]) 717 fi 718 # When this module is used, sockets may actually occur as file descriptors, 719 # hence it is worth warning if the modules 'close' and 'ioctl' are not used. 720 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) 721 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) 722 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2]) 723 if test "$ac_cv_header_winsock2_h" = yes; then 724 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 725 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 726 fi 727 gl_SYS_SOCKET_MODULE_INDICATOR([socket]) 728 gl_SOCKETLIB 729 gl_SOCKETS 730 gl_TYPE_SOCKLEN_T 731 gl_SPAWN_H 732 gl_SPAWN_PIPE 733 gt_TYPE_SSIZE_T 734 gl_FUNC_STAT 735 if test $REPLACE_STAT = 1; then 736 AC_LIBOBJ([stat]) 737 gl_PREREQ_STAT 738 fi 739 gl_SYS_STAT_MODULE_INDICATOR([stat]) 740 gl_STAT_TIME 741 gl_STAT_BIRTHTIME 742 gl_STDALIGN_H 743 AM_STDBOOL_H 744 gl_STDDEF_H 745 gl_STDINT_H 746 gl_STDIO_H 747 gl_STDLIB_H 748 gl_STRCASE 749 if test $HAVE_STRCASECMP = 0; then 750 AC_LIBOBJ([strcasecmp]) 751 gl_PREREQ_STRCASECMP 752 fi 753 if test $HAVE_STRNCASECMP = 0; then 754 AC_LIBOBJ([strncasecmp]) 755 gl_PREREQ_STRNCASECMP 756 fi 757 gl_FUNC_STRCASESTR 758 if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then 759 AC_LIBOBJ([strcasestr]) 760 gl_PREREQ_STRCASESTR 761 fi 762 gl_FUNC_STRCASESTR_SIMPLE 763 if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then 764 AC_LIBOBJ([strcasestr]) 765 gl_PREREQ_STRCASESTR 766 fi 767 gl_STRING_MODULE_INDICATOR([strcasestr]) 768 gl_FUNC_STRCHRNUL 769 if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then 770 AC_LIBOBJ([strchrnul]) 771 gl_PREREQ_STRCHRNUL 772 fi 773 gl_STRING_MODULE_INDICATOR([strchrnul]) 774 gl_FUNC_STRERROR 775 if test $REPLACE_STRERROR = 1; then 776 AC_LIBOBJ([strerror]) 777 fi 778 gl_MODULE_INDICATOR([strerror]) 779 gl_STRING_MODULE_INDICATOR([strerror]) 780 AC_REQUIRE([gl_HEADER_ERRNO_H]) 781 AC_REQUIRE([gl_FUNC_STRERROR_0]) 782 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then 783 AC_LIBOBJ([strerror-override]) 784 gl_PREREQ_SYS_H_WINSOCK2 785 fi 786 gl_FUNC_STRERROR_R 787 if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then 788 AC_LIBOBJ([strerror_r]) 789 gl_PREREQ_STRERROR_R 790 fi 791 gl_STRING_MODULE_INDICATOR([strerror_r]) 792 gl_HEADER_STRING_H 793 gl_HEADER_STRINGS_H 794 gl_FUNC_STRNDUP 795 if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then 796 AC_LIBOBJ([strndup]) 797 fi 798 gl_STRING_MODULE_INDICATOR([strndup]) 799 gl_FUNC_STRNLEN 800 if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then 801 AC_LIBOBJ([strnlen]) 802 gl_PREREQ_STRNLEN 803 fi 804 gl_STRING_MODULE_INDICATOR([strnlen]) 805 gl_FUNC_STRTOK_R 806 if test $HAVE_STRTOK_R = 0 || test $REPLACE_STRTOK_R = 1; then 807 AC_LIBOBJ([strtok_r]) 808 gl_PREREQ_STRTOK_R 809 fi 810 gl_STRING_MODULE_INDICATOR([strtok_r]) 811 gl_SYS_IOCTL_H 812 AC_PROG_MKDIR_P 813 gl_HEADER_SYS_SELECT 814 AC_PROG_MKDIR_P 815 gl_HEADER_SYS_SOCKET 816 AC_PROG_MKDIR_P 817 gl_HEADER_SYS_STAT_H 818 AC_PROG_MKDIR_P 819 gl_HEADER_SYS_TIME_H 820 AC_PROG_MKDIR_P 821 gl_SYS_TYPES_H 822 AC_PROG_MKDIR_P 823 gl_HEADER_SYS_UIO 824 AC_PROG_MKDIR_P 825 gl_SYS_WAIT_H 826 AC_PROG_MKDIR_P 827 gl_FUNC_GEN_TEMPNAME 828 gl_THREADLIB 829 gl_HEADER_TIME_H 830 gl_TIMESPEC 831 gt_TMPDIR 832 gl_UNISTD_H 833 gl_UNISTD_SAFER 834 gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h]) 835 gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h]) 836 gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/width]) 837 gl_FUNC_GLIBC_UNLOCKED_IO 838 gl_UTIMENS 839 gl_FUNC_VASNPRINTF 840 gl_FUNC_VASPRINTF 841 gl_STDIO_MODULE_INDICATOR([vasprintf]) 842 m4_ifdef([AM_XGETTEXT_OPTION], 843 [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format]) 844 AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])]) 845 gl_FUNC_VSNPRINTF 846 gl_STDIO_MODULE_INDICATOR([vsnprintf]) 847 gl_WAIT_PROCESS 848 gl_FUNC_WAITPID 849 if test $HAVE_WAITPID = 0; then 850 AC_LIBOBJ([waitpid]) 851 fi 852 gl_SYS_WAIT_MODULE_INDICATOR([waitpid]) 853 gl_WCHAR_H 854 gl_FUNC_WCRTOMB 855 if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then 856 AC_LIBOBJ([wcrtomb]) 857 gl_PREREQ_WCRTOMB 858 fi 859 gl_WCHAR_MODULE_INDICATOR([wcrtomb]) 860 gl_WCTYPE_H 861 gl_FUNC_WCWIDTH 862 if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then 863 AC_LIBOBJ([wcwidth]) 864 fi 865 gl_WCHAR_MODULE_INDICATOR([wcwidth]) 866 gl_FUNC_WRITE 867 if test $REPLACE_WRITE = 1; then 868 AC_LIBOBJ([write]) 869 gl_PREREQ_WRITE 870 fi 871 gl_UNISTD_MODULE_INDICATOR([write]) 872 gl_XALLOC 873 gl_XSIZE 874 gl_XSTRNDUP 875 # End of code from modules 876 m4_ifval(gl_LIBSOURCES_LIST, [ 877 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || 878 for gl_file in ]gl_LIBSOURCES_LIST[ ; do 879 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then 880 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 881 exit 1 882 fi 883 done])dnl 884 m4_if(m4_sysval, [0], [], 885 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) 886 ]) 887 m4_popdef([gl_LIBSOURCES_DIR]) 888 m4_popdef([gl_LIBSOURCES_LIST]) 889 m4_popdef([AC_LIBSOURCES]) 890 m4_popdef([AC_REPLACE_FUNCS]) 891 m4_popdef([AC_LIBOBJ]) 892 AC_CONFIG_COMMANDS_PRE([ 893 gl_libobjs= 894 gl_ltlibobjs= 895 if test -n "$gl_LIBOBJS"; then 896 # Remove the extension. 897 sed_drop_objext='s/\.o$//;s/\.obj$//' 898 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do 899 gl_libobjs="$gl_libobjs $i.$ac_objext" 900 gl_ltlibobjs="$gl_ltlibobjs $i.lo" 901 done 902 fi 903 AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) 904 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) 905 ]) 906 gltests_libdeps= 907 gltests_ltlibdeps= 908 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) 909 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) 910 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) 911 m4_pushdef([gltests_LIBSOURCES_LIST], []) 912 m4_pushdef([gltests_LIBSOURCES_DIR], []) 913 gl_COMMON 914 gl_source_base='tests' 915changequote(,)dnl 916 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 917changequote([, ])dnl 918 AC_SUBST([gltests_WITNESS]) 919 gl_module_indicator_condition=$gltests_WITNESS 920 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) 921 m4_popdef([gl_MODULE_INDICATOR_CONDITION]) 922 m4_ifval(gltests_LIBSOURCES_LIST, [ 923 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || 924 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do 925 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then 926 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 927 exit 1 928 fi 929 done])dnl 930 m4_if(m4_sysval, [0], [], 931 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) 932 ]) 933 m4_popdef([gltests_LIBSOURCES_DIR]) 934 m4_popdef([gltests_LIBSOURCES_LIST]) 935 m4_popdef([AC_LIBSOURCES]) 936 m4_popdef([AC_REPLACE_FUNCS]) 937 m4_popdef([AC_LIBOBJ]) 938 AC_CONFIG_COMMANDS_PRE([ 939 gltests_libobjs= 940 gltests_ltlibobjs= 941 if test -n "$gltests_LIBOBJS"; then 942 # Remove the extension. 943 sed_drop_objext='s/\.o$//;s/\.obj$//' 944 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do 945 gltests_libobjs="$gltests_libobjs $i.$ac_objext" 946 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" 947 done 948 fi 949 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) 950 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) 951 ]) 952 LIBGNU_LIBDEPS="$gl_libdeps" 953 AC_SUBST([LIBGNU_LIBDEPS]) 954 LIBGNU_LTLIBDEPS="$gl_ltlibdeps" 955 AC_SUBST([LIBGNU_LTLIBDEPS]) 956]) 957 958# Like AC_LIBOBJ, except that the module name goes 959# into gl_LIBOBJS instead of into LIBOBJS. 960AC_DEFUN([gl_LIBOBJ], [ 961 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl 962 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" 963]) 964 965# Like AC_REPLACE_FUNCS, except that the module name goes 966# into gl_LIBOBJS instead of into LIBOBJS. 967AC_DEFUN([gl_REPLACE_FUNCS], [ 968 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl 969 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) 970]) 971 972# Like AC_LIBSOURCES, except the directory where the source file is 973# expected is derived from the gnulib-tool parameterization, 974# and alloca is special cased (for the alloca-opt module). 975# We could also entirely rely on EXTRA_lib..._SOURCES. 976AC_DEFUN([gl_LIBSOURCES], [ 977 m4_foreach([_gl_NAME], [$1], [ 978 m4_if(_gl_NAME, [alloca.c], [], [ 979 m4_define([gl_LIBSOURCES_DIR], [lib]) 980 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) 981 ]) 982 ]) 983]) 984 985# Like AC_LIBOBJ, except that the module name goes 986# into gltests_LIBOBJS instead of into LIBOBJS. 987AC_DEFUN([gltests_LIBOBJ], [ 988 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl 989 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" 990]) 991 992# Like AC_REPLACE_FUNCS, except that the module name goes 993# into gltests_LIBOBJS instead of into LIBOBJS. 994AC_DEFUN([gltests_REPLACE_FUNCS], [ 995 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl 996 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) 997]) 998 999# Like AC_LIBSOURCES, except the directory where the source file is 1000# expected is derived from the gnulib-tool parameterization, 1001# and alloca is special cased (for the alloca-opt module). 1002# We could also entirely rely on EXTRA_lib..._SOURCES. 1003AC_DEFUN([gltests_LIBSOURCES], [ 1004 m4_foreach([_gl_NAME], [$1], [ 1005 m4_if(_gl_NAME, [alloca.c], [], [ 1006 m4_define([gltests_LIBSOURCES_DIR], [tests]) 1007 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) 1008 ]) 1009 ]) 1010]) 1011 1012# This macro records the list of files which have been installed by 1013# gnulib-tool and may be removed by future gnulib-tool invocations. 1014AC_DEFUN([gl_FILE_LIST], [ 1015 build-aux/announce-gen 1016 build-aux/config.rpath 1017 build-aux/git-version-gen 1018 build-aux/gnupload 1019 build-aux/snippet/_Noreturn.h 1020 build-aux/snippet/arg-nonnull.h 1021 build-aux/snippet/c++defs.h 1022 build-aux/snippet/warn-on-use.h 1023 build-aux/update-copyright 1024 build-aux/useless-if-before-free 1025 build-aux/vc-list-files 1026 lib/accept.c 1027 lib/alloca.c 1028 lib/alloca.in.h 1029 lib/arpa_inet.in.h 1030 lib/asnprintf.c 1031 lib/asprintf.c 1032 lib/base32.c 1033 lib/base32.h 1034 lib/basename-lgpl.c 1035 lib/binary-io.c 1036 lib/binary-io.h 1037 lib/bind.c 1038 lib/btowc.c 1039 lib/c-ctype.c 1040 lib/c-ctype.h 1041 lib/c-strcase.h 1042 lib/c-strcasecmp.c 1043 lib/c-strcaseeq.h 1044 lib/c-strncasecmp.c 1045 lib/cloexec.c 1046 lib/cloexec.h 1047 lib/close.c 1048 lib/config.charset 1049 lib/connect.c 1050 lib/dirname-lgpl.c 1051 lib/dirname.h 1052 lib/dosname.h 1053 lib/dup-safer-flag.c 1054 lib/dup-safer.c 1055 lib/dup2.c 1056 lib/errno.in.h 1057 lib/error.c 1058 lib/error.h 1059 lib/exitfail.c 1060 lib/exitfail.h 1061 lib/fatal-signal.c 1062 lib/fatal-signal.h 1063 lib/fcntl.c 1064 lib/fcntl.in.h 1065 lib/fd-hook.c 1066 lib/fd-hook.h 1067 lib/fd-safer-flag.c 1068 lib/fd-safer.c 1069 lib/float+.h 1070 lib/float.c 1071 lib/float.in.h 1072 lib/fseek.c 1073 lib/fseeko.c 1074 lib/fstat.c 1075 lib/ftell.c 1076 lib/ftello.c 1077 lib/futimens.c 1078 lib/gai_strerror.c 1079 lib/getaddrinfo.c 1080 lib/getdelim.c 1081 lib/getdtablesize.c 1082 lib/getline.c 1083 lib/getopt.c 1084 lib/getopt.in.h 1085 lib/getopt1.c 1086 lib/getopt_int.h 1087 lib/getpass.c 1088 lib/getpass.h 1089 lib/getpeername.c 1090 lib/getsockname.c 1091 lib/gettext.h 1092 lib/gettime.c 1093 lib/gettimeofday.c 1094 lib/gl_openssl.h 1095 lib/glthread/lock.c 1096 lib/glthread/lock.h 1097 lib/glthread/threadlib.c 1098 lib/iconv.in.h 1099 lib/inet_ntop.c 1100 lib/intprops.h 1101 lib/ioctl.c 1102 lib/iswblank.c 1103 lib/itold.c 1104 lib/langinfo.in.h 1105 lib/listen.c 1106 lib/localcharset.c 1107 lib/localcharset.h 1108 lib/locale.in.h 1109 lib/localeconv.c 1110 lib/lseek.c 1111 lib/lstat.c 1112 lib/malloc.c 1113 lib/mbchar.c 1114 lib/mbchar.h 1115 lib/mbiter.c 1116 lib/mbiter.h 1117 lib/mbrtowc.c 1118 lib/mbsinit.c 1119 lib/mbtowc-impl.h 1120 lib/mbtowc.c 1121 lib/md5.c 1122 lib/md5.h 1123 lib/memchr.c 1124 lib/memchr.valgrind 1125 lib/mkdir.c 1126 lib/mkostemp.c 1127 lib/mkstemp.c 1128 lib/msvc-inval.c 1129 lib/msvc-inval.h 1130 lib/msvc-nothrow.c 1131 lib/msvc-nothrow.h 1132 lib/netdb.in.h 1133 lib/netinet_in.in.h 1134 lib/nl_langinfo.c 1135 lib/open.c 1136 lib/pathmax.h 1137 lib/pipe-safer.c 1138 lib/pipe.h 1139 lib/pipe2-safer.c 1140 lib/pipe2.c 1141 lib/printf-args.c 1142 lib/printf-args.h 1143 lib/printf-parse.c 1144 lib/printf-parse.h 1145 lib/quote.h 1146 lib/quotearg.c 1147 lib/quotearg.h 1148 lib/raise.c 1149 lib/rawmemchr.c 1150 lib/rawmemchr.valgrind 1151 lib/realloc.c 1152 lib/recv.c 1153 lib/ref-add.sin 1154 lib/ref-del.sin 1155 lib/regcomp.c 1156 lib/regex.c 1157 lib/regex.h 1158 lib/regex_internal.c 1159 lib/regex_internal.h 1160 lib/regexec.c 1161 lib/sched.in.h 1162 lib/secure_getenv.c 1163 lib/select.c 1164 lib/send.c 1165 lib/setsockopt.c 1166 lib/sha1.c 1167 lib/sha1.h 1168 lib/sig-handler.c 1169 lib/sig-handler.h 1170 lib/sigaction.c 1171 lib/signal.in.h 1172 lib/sigprocmask.c 1173 lib/size_max.h 1174 lib/snprintf.c 1175 lib/socket.c 1176 lib/sockets.c 1177 lib/sockets.h 1178 lib/spawn-pipe.c 1179 lib/spawn-pipe.h 1180 lib/spawn.in.h 1181 lib/spawn_faction_addclose.c 1182 lib/spawn_faction_adddup2.c 1183 lib/spawn_faction_addopen.c 1184 lib/spawn_faction_destroy.c 1185 lib/spawn_faction_init.c 1186 lib/spawn_int.h 1187 lib/spawnattr_destroy.c 1188 lib/spawnattr_init.c 1189 lib/spawnattr_setflags.c 1190 lib/spawnattr_setsigmask.c 1191 lib/spawni.c 1192 lib/spawnp.c 1193 lib/stat-time.c 1194 lib/stat-time.h 1195 lib/stat.c 1196 lib/stdalign.in.h 1197 lib/stdbool.in.h 1198 lib/stddef.in.h 1199 lib/stdint.in.h 1200 lib/stdio-impl.h 1201 lib/stdio-write.c 1202 lib/stdio.in.h 1203 lib/stdlib.in.h 1204 lib/str-two-way.h 1205 lib/strcasecmp.c 1206 lib/strcasestr.c 1207 lib/strchrnul.c 1208 lib/strchrnul.valgrind 1209 lib/streq.h 1210 lib/strerror-override.c 1211 lib/strerror-override.h 1212 lib/strerror.c 1213 lib/strerror_r.c 1214 lib/string.in.h 1215 lib/strings.in.h 1216 lib/stripslash.c 1217 lib/strncasecmp.c 1218 lib/strndup.c 1219 lib/strnlen.c 1220 lib/strtok_r.c 1221 lib/sys_ioctl.in.h 1222 lib/sys_select.in.h 1223 lib/sys_socket.c 1224 lib/sys_socket.in.h 1225 lib/sys_stat.in.h 1226 lib/sys_time.in.h 1227 lib/sys_types.in.h 1228 lib/sys_uio.in.h 1229 lib/sys_wait.in.h 1230 lib/tempname.c 1231 lib/tempname.h 1232 lib/time.in.h 1233 lib/timespec.c 1234 lib/timespec.h 1235 lib/tmpdir.c 1236 lib/tmpdir.h 1237 lib/unistd--.h 1238 lib/unistd-safer.h 1239 lib/unistd.c 1240 lib/unistd.in.h 1241 lib/unitypes.in.h 1242 lib/uniwidth.in.h 1243 lib/uniwidth/cjk.h 1244 lib/uniwidth/width.c 1245 lib/unlocked-io.h 1246 lib/utimens.c 1247 lib/utimens.h 1248 lib/vasnprintf.c 1249 lib/vasnprintf.h 1250 lib/vasprintf.c 1251 lib/verify.h 1252 lib/vsnprintf.c 1253 lib/w32sock.h 1254 lib/w32spawn.h 1255 lib/wait-process.c 1256 lib/wait-process.h 1257 lib/waitpid.c 1258 lib/wchar.in.h 1259 lib/wcrtomb.c 1260 lib/wctype-h.c 1261 lib/wctype.in.h 1262 lib/wcwidth.c 1263 lib/write.c 1264 lib/xalloc-die.c 1265 lib/xalloc-oversized.h 1266 lib/xalloc.h 1267 lib/xmalloc.c 1268 lib/xsize.c 1269 lib/xsize.h 1270 lib/xstrndup.c 1271 lib/xstrndup.h 1272 m4/00gnulib.m4 1273 m4/absolute-header.m4 1274 m4/alloca.m4 1275 m4/arpa_inet_h.m4 1276 m4/asm-underscore.m4 1277 m4/base32.m4 1278 m4/btowc.m4 1279 m4/clock_time.m4 1280 m4/close.m4 1281 m4/codeset.m4 1282 m4/configmake.m4 1283 m4/dirname.m4 1284 m4/double-slash-root.m4 1285 m4/dup2.m4 1286 m4/eealloc.m4 1287 m4/environ.m4 1288 m4/errno_h.m4 1289 m4/error.m4 1290 m4/exponentd.m4 1291 m4/extensions.m4 1292 m4/extern-inline.m4 1293 m4/fatal-signal.m4 1294 m4/fcntl-o.m4 1295 m4/fcntl.m4 1296 m4/fcntl_h.m4 1297 m4/float_h.m4 1298 m4/fseek.m4 1299 m4/fseeko.m4 1300 m4/fstat.m4 1301 m4/ftell.m4 1302 m4/ftello.m4 1303 m4/futimens.m4 1304 m4/getaddrinfo.m4 1305 m4/getdelim.m4 1306 m4/getdtablesize.m4 1307 m4/getline.m4 1308 m4/getopt.m4 1309 m4/getpass.m4 1310 m4/gettime.m4 1311 m4/gettimeofday.m4 1312 m4/gl-openssl.m4 1313 m4/glibc21.m4 1314 m4/gnulib-common.m4 1315 m4/hostent.m4 1316 m4/iconv.m4 1317 m4/iconv_h.m4 1318 m4/include_next.m4 1319 m4/inet_ntop.m4 1320 m4/intmax_t.m4 1321 m4/inttypes_h.m4 1322 m4/ioctl.m4 1323 m4/iswblank.m4 1324 m4/langinfo_h.m4 1325 m4/largefile.m4 1326 m4/lib-ld.m4 1327 m4/lib-link.m4 1328 m4/lib-prefix.m4 1329 m4/libunistring-base.m4 1330 m4/localcharset.m4 1331 m4/locale-fr.m4 1332 m4/locale-ja.m4 1333 m4/locale-zh.m4 1334 m4/locale_h.m4 1335 m4/localeconv.m4 1336 m4/lock.m4 1337 m4/longlong.m4 1338 m4/lseek.m4 1339 m4/lstat.m4 1340 m4/malloc.m4 1341 m4/math_h.m4 1342 m4/mbchar.m4 1343 m4/mbiter.m4 1344 m4/mbrtowc.m4 1345 m4/mbsinit.m4 1346 m4/mbstate_t.m4 1347 m4/mbtowc.m4 1348 m4/md5.m4 1349 m4/memchr.m4 1350 m4/mkdir.m4 1351 m4/mkostemp.m4 1352 m4/mkstemp.m4 1353 m4/mmap-anon.m4 1354 m4/mode_t.m4 1355 m4/msvc-inval.m4 1356 m4/msvc-nothrow.m4 1357 m4/multiarch.m4 1358 m4/netdb_h.m4 1359 m4/netinet_in_h.m4 1360 m4/nl_langinfo.m4 1361 m4/nocrash.m4 1362 m4/off_t.m4 1363 m4/open.m4 1364 m4/pathmax.m4 1365 m4/pipe2.m4 1366 m4/posix_spawn.m4 1367 m4/printf.m4 1368 m4/quote.m4 1369 m4/quotearg.m4 1370 m4/raise.m4 1371 m4/rawmemchr.m4 1372 m4/realloc.m4 1373 m4/regex.m4 1374 m4/sched_h.m4 1375 m4/secure_getenv.m4 1376 m4/select.m4 1377 m4/servent.m4 1378 m4/sha1.m4 1379 m4/sig_atomic_t.m4 1380 m4/sigaction.m4 1381 m4/signal_h.m4 1382 m4/signalblocking.m4 1383 m4/sigpipe.m4 1384 m4/size_max.m4 1385 m4/snprintf.m4 1386 m4/socketlib.m4 1387 m4/sockets.m4 1388 m4/socklen.m4 1389 m4/sockpfaf.m4 1390 m4/spawn-pipe.m4 1391 m4/spawn_h.m4 1392 m4/ssize_t.m4 1393 m4/stat-time.m4 1394 m4/stat.m4 1395 m4/stdalign.m4 1396 m4/stdbool.m4 1397 m4/stddef_h.m4 1398 m4/stdint.m4 1399 m4/stdint_h.m4 1400 m4/stdio_h.m4 1401 m4/stdlib_h.m4 1402 m4/strcase.m4 1403 m4/strcasestr.m4 1404 m4/strchrnul.m4 1405 m4/strerror.m4 1406 m4/strerror_r.m4 1407 m4/string_h.m4 1408 m4/strings_h.m4 1409 m4/strndup.m4 1410 m4/strnlen.m4 1411 m4/strtok_r.m4 1412 m4/sys_ioctl_h.m4 1413 m4/sys_select_h.m4 1414 m4/sys_socket_h.m4 1415 m4/sys_stat_h.m4 1416 m4/sys_time_h.m4 1417 m4/sys_types_h.m4 1418 m4/sys_uio_h.m4 1419 m4/sys_wait_h.m4 1420 m4/tempname.m4 1421 m4/threadlib.m4 1422 m4/time_h.m4 1423 m4/timespec.m4 1424 m4/tmpdir.m4 1425 m4/unistd-safer.m4 1426 m4/unistd_h.m4 1427 m4/unlocked-io.m4 1428 m4/utimbuf.m4 1429 m4/utimens.m4 1430 m4/utimes.m4 1431 m4/vasnprintf.m4 1432 m4/vasprintf.m4 1433 m4/vsnprintf.m4 1434 m4/wait-process.m4 1435 m4/waitpid.m4 1436 m4/warn-on-use.m4 1437 m4/wchar_h.m4 1438 m4/wchar_t.m4 1439 m4/wcrtomb.m4 1440 m4/wctype_h.m4 1441 m4/wcwidth.m4 1442 m4/wint_t.m4 1443 m4/write.m4 1444 m4/xalloc.m4 1445 m4/xsize.m4 1446 m4/xstrndup.m4 1447 top/GNUmakefile 1448 top/maint.mk 1449]) 1450