1. 01 Jan, 2018 1 commit
  2. 13 Jul, 2017 1 commit
    • Bruno Haible's avatar
      Improve cross-compilation guesses for native Windows. · a9b04535
      Bruno Haible authored
      * m4/btowc.m4 (gl_FUNC_BTOWC): Add cross-compilation guess for native
      Windows.
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Likewise.
      * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Likewise.
      * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Likewise.
      * m4/cbrtf.m4 (gl_FUNC_CBRTF_WORKS): Likewise.
      * m4/cbrtl.m4 (gl_FUNC_CBRTL, gl_FUNC_CBRTL_WORKS): Likewise.
      * m4/ceil.m4 (gl_FUNC_CEIL): Likewise.
      * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
      * m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
      * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
      * m4/dup.m4 (gl_FUNC_DUP): Likewise.
      * m4/expl.m4 (gl_FUNC_EXPL): Likewise.
      * m4/exp2.m4 (gl_FUNC_EXP2_WORKS): Likewise.
      * m4/exp2l.m4 (gl_FUNC_EXP2L): Likewise.
      * m4/expm1.m4 (gl_FUNC_EXPM1): Likewise.
      * m4/expm1f.m4 (gl_FUNC_EXPM1F_WORKS): Likewise.
      * m4/exponentl.m4 (gl_LONG_DOUBLE_EXPONENT_LOCATION): Likewise.
      * m4/fabsl.m4 (gl_FUNC_FABSL_WORKS): Likewise.
      * m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
      * m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): Likewise.
      * m4/float_h.m4 (gl_FLOAT_H): Likewise.
      * m4/floor.m4 (gl_FUNC_FLOOR): Likewise.
      * m4/floorf.m4 (gl_FUNC_FLOORF): Likewise.
      * m4/fma.m4 (gl_FUNC_FMA_WORKS): Likewise.
      * m4/fmaf.m4 (gl_FUNC_FMAF_WORKS): Likewise.
      * m4/fmal.m4 (gl_FUNC_FMAL_WORKS): Likewise.
      * m4/fmod.m4 (gl_FUNC_FMOD): Likewise.
      * m4/fmodf.m4 (gl_FUNC_FMODF): Likewise.
      * m4/fmodl.m4 (gl_FUNC_FMODL): Likewise.
      * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Likewise.
      * m4/frexpf.m4 (gl_FUNC_FREXPF_WORKS): Likewise.
      * m4/ftello.m4 (gl_FUNC_FTELLO): Likewise.
      * m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY_CLOBBER): Likewise.
      * m4/hypot.m4 (gl_FUNC_HYPOT): Likewise.
      * m4/hypotf.m4 (gl_FUNC_HYPOTF, gl_FUNC_HYPOTF_WORKS): Likewise.
      * m4/hypotl.m4 (gl_FUNC_HYPOTL, gl_FUNC_HYPOTL_WORKS): Likewise.
      * m4/ilogb.m4 (gl_FUNC_ILOGB_WORKS): Likewise.
      * m4/ilogbf.m4 (gl_FUNC_ILOGBF_WORKS): Likewise.
      * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Likewise.
      * m4/isinf.m4 (gl_ISINFL_WORKS): Likewise.
      * m4/isnanf.m4 (gl_ISNANF_WORKS): Likewise.
      * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Likewise.
      * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): Likewise.
      * m4/log.m4 (gl_FUNC_LOG, gl_FUNC_LOG_WORKS): Likewise.
      * m4/logf.m4 (gl_FUNC_LOGF, gl_FUNC_LOGF_WORKS): Likewise.
      * m4/logl.m4 (gl_FUNC_LOGL_WORKS): Likewise.
      * m4/log10.m4 (gl_FUNC_LOG10, gl_FUNC_LOG10_WORKS): Likewise.
      * m4/log10f.m4 (gl_FUNC_LOG10F, gl_FUNC_LOG10F_WORKS): Likewise.
      * m4/log10l.m4 (gl_FUNC_LOG10L_WORKS): Likewise.
      * m4/log1p.m4 (gl_FUNC_LOG1P): Likewise.
      * m4/log1pf.m4 (gl_FUNC_LOG1PF, gl_FUNC_LOG1PF_WORKS): Likewise.
      * m4/log1pl.m4 (gl_FUNC_LOG1PL): Likewise.
      * m4/log2.m4 (gl_FUNC_LOG2, gl_FUNC_LOG2_WORKS): Likewise.
      * m4/log2f.m4 (gl_FUNC_LOG2F, gl_FUNC_LOG2F_WORKS): Likewise.
      * m4/log2l.m4 (gl_FUNC_LOG2L_WORKS): Likewise.
      * m4/logb.m4 (gl_FUNC_LOGB_WORKS): Likewise.
      * m4/logbf.m4 (gl_FUNC_LOGBF_WORKS): Likewise.
      * m4/logbl.m4 (gl_FUNC_LOGBL_WORKS): Likewise.
      * m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
      * m4/mbrtowc.m4 (gl_MBRTOWC_EMPTY_INPUT, gl_MBRTOWC_C_LOCALE): Likewise.
      * m4/mkdir.m4 (gl_FUNC_MKDIR): Likewise.
      * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Likewise.
      * m4/mktime.m4 (gl_FUNC_MKTIME_WORKS): Likewise.
      * m4/modf.m4 (gl_FUNC_MODF): Likewise.
      * m4/modff.m4 (gl_FUNC_MODFF): Likewise.
      * m4/modfl.m4 (gl_FUNC_MODFL): Likewise.
      * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
      * m4/perror.m4 (gl_FUNC_PERROR): Likewise.
      * m4/popen.m4 (gl_FUNC_POPEN): Likewise.
      * m4/posix_spawn.m4 (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE,
      gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2,
      gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN): Likewise.
      * m4/ptsname_r.m4 (gl_PREREQ_PTSNAME_R): Likewise.
      * m4/putenv.m4 (gl_FUNC_PUTENV): Likewise.
      * m4/regex.m4 (gl_REGEX): Likewise.
      * m4/remainder.m4 (gl_FUNC_REMAINDER): Likewise.
      * m4/remainderf.m4 (gl_FUNC_REMAINDERF,
      gl_FUNC_REMAINDERF_WORKS): Likewise.
      * m4/remainderl.m4 (gl_FUNC_REMAINDERL,
      gl_FUNC_REMAINDERL_WORKS): Likewise.
      * m4/rename.m4 (gl_FUNC_RENAME): Likewise.
      * m4/rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
      * m4/rmdir.m4 (gl_FUNC_RMDIR): Likewise.
      * m4/round.m4 (gl_FUNC_ROUND): Likewise.
      * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
      * m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise.
      * m4/signbit.m4 (gl_SIGNBIT): Likewise.
      * m4/sleep.m4 (gl_FUNC_SLEEP): Likewise.
      * m4/sqrtl.m4 (gl_FUNC_SQRTL_WORKS): Likewise.
      * m4/stdint.m4 (gl_STDINT_H): Likewise.
      * m4/strerror.m4 (gl_FUNC_STRERROR_0): Likewise.
      * m4/strncat.m4 (gl_FUNC_STRNCAT): Likewise.
      * m4/strtod.m4 (gl_FUNC_STRTOD): Likewise.
      * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
      * m4/strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise.
      * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
      * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
      * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
      * m4/tsearch.m4 (gl_FUNC_TSEARCH): Likewise.
      * m4/tzset.m4 (gl_FUNC_TZSET_CLOBBER): Likewise.
      * m4/ungetc.m4 (gl_FUNC_UNGETC_WORKS): Likewise.
      * m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise.
      * m4/unlink.m4 (gl_FUNC_UNLINK): Likewise.
      * m4/usleep.m4 (gl_FUNC_USLEEP): Likewise.
      * m4/utimes.m4 (gl_FUNC_UTIMES): Likewise.
      * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise.
      * m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION, gl_WCSRTOMBS_NULL):
      Likewise.
      * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
      * m4/chown.m4 (AC_FUNC_CHOWN): Add cross-compilation guess for native
      Windows. Enable also on Autoconf 2.70.
      * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_LONG_DOUBLE,
      gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE,
      gl_PRINTF_DIRECTIVE_A, gl_PRINTF_DIRECTIVE_F, gl_PRINTF_DIRECTIVE_N,
      gl_PRINTF_DIRECTIVE_LS, gl_PRINTF_FLAG_LEFTADJUST, gl_PRINTF_FLAG_ZERO,
      gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_RETVAL_C99,
      gl_SNPRINTF_DIRECTIVE_N, gl_SNPRINTF_SIZE1): Add cross-compilation guess
      for native Windows.
      (gl_PRINTF_POSITIONS, gl_PRINTF_FLAG_GROUPING,
      gl_VSNPRINTF_ZEROSIZE_C99): Add comment.
      a9b04535
  3. 01 Jan, 2017 1 commit
    • Paul Eggert's avatar
      version-etc: new year · a3fd683d
      Paul Eggert authored
      * build-aux/gendocs.sh (version):
      * doc/gendocs_template:
      * doc/gendocs_template_min:
      * doc/gnulib.texi:
      * lib/version-etc.c (COPYRIGHT_YEAR):
      Update copyright dates by hand in templates and the like.
      * all files: Run 'make update-copyright'.
      a3fd683d
  4. 01 Jan, 2016 1 commit
    • Paul Eggert's avatar
      version-etc: new year · 71090a2a
      Paul Eggert authored
      * build-aux/gendocs.sh (version):
      * doc/gendocs_template:
      * doc/gendocs_template_min:
      * doc/gnulib.texi:
      * lib/version-etc.c (COPYRIGHT_YEAR):
      Update copyright dates by hand in templates and the like.
      * all files: Run 'make update-copyright'.
      71090a2a
  5. 01 Jan, 2015 1 commit
    • Paul Eggert's avatar
      version-etc: new year · b9bfe784
      Paul Eggert authored
      * doc/gnulib.texi:
      * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date.
      * all files: Run 'make update-copyright'.
      b9bfe784
  6. 01 Jan, 2014 1 commit
  7. 01 Jan, 2013 1 commit
  8. 22 Jun, 2012 1 commit
    • Bruno Haible's avatar
      Write "Mac OS X" instead of "MacOS X". · 06b335ad
      Bruno Haible authored
      * README: Write "Mac OS X" instead of "MacOS X".
      * build-aux/bootstrap: Likewise.
      * build-aux/install-reloc: Likewise.
      * lib/acl-internal.h: Likewise.
      * lib/acl_entries.c: Likewise.
      * lib/argp-ba.c: Likewise.
      * lib/argp-pv.c: Likewise.
      * lib/config.charset: Likewise.
      * lib/copy-acl.c: Likewise.
      * lib/csharpexec.c: Likewise.
      * lib/euidaccess.c: Likewise.
      * lib/fbufmode.c: Likewise.
      * lib/fflush.c: Likewise.
      * lib/file-has-acl.c: Likewise.
      * lib/filemode.h: Likewise.
      * lib/fpurge.c: Likewise.
      * lib/freadable.c: Likewise.
      * lib/freadahead.c: Likewise.
      * lib/freading.c: Likewise.
      * lib/freadptr.c: Likewise.
      * lib/freadseek.c: Likewise.
      * lib/fseeko.c: Likewise.
      * lib/fseterr.c: Likewise.
      * lib/fsusage.c: Likewise.
      * lib/fwritable.c: Likewise.
      * lib/fwriting.c: Likewise.
      * lib/get-rusage-as.c: Likewise.
      * lib/get-rusage-data.c: Likewise.
      * lib/getdomainname.c: Likewise.
      * lib/idpriv-drop.c: Likewise.
      * lib/idpriv-droptemp.c: Likewise.
      * lib/localcharset.c: Likewise.
      * lib/locale.in.h: Likewise.
      * lib/localename.c: Likewise.
      * lib/mbsrtowcs-state.c: Likewise.
      * lib/nproc.c: Likewise.
      * lib/passfd.c: Likewise.
      * lib/posix_openpt.c: Likewise.
      * lib/printf-parse.c: Likewise.
      * lib/progreloc.c: Likewise.
      * lib/safe-read.h: Likewise.
      * lib/safe-write.h: Likewise.
      * lib/sched.in.h: Likewise.
      * lib/set-mode-acl.c: Likewise.
      * lib/signal.in.h: Likewise.
      * lib/stdint.in.h: Likewise.
      * lib/stdio-impl.h: Likewise.
      * lib/stdlib.in.h: Likewise.
      * lib/strtod.c: Likewise.
      * lib/sys_select.in.h: Likewise.
      * lib/tcgetsid.c: Likewise.
      * lib/unistd.in.h: Likewise.
      * lib/unlockpt.c: Likewise.
      * lib/vasnprintf.c: Likewise.
      * lib/vma-iter.c: Likewise.
      * lib/wcsrtombs-state.c: Likewise.
      * m4/acl.m4: Likewise.
      * m4/acosl.m4: Likewise.
      * m4/asinl.m4: Likewise.
      * m4/atanl.m4: Likewise.
      * m4/c-stack.m4: Likewise.
      * m4/cosl.m4: Likewise.
      * m4/expl.m4: Likewise.
      * m4/extensions.m4: Likewise.
      * m4/fdatasync.m4: Likewise.
      * m4/fmal.m4: Likewise.
      * m4/frexp.m4: Likewise.
      * m4/frexpf.m4: Likewise.
      * m4/frexpl.m4: Likewise.
      * m4/fsusage.m4: Likewise.
      * m4/getdomainname.m4: Likewise.
      * m4/getloadavg.m4: Likewise.
      * m4/getopt.m4: Likewise.
      * m4/gettext.m4: Likewise.
      * m4/gnulib-common.m4: Likewise.
      * m4/intdiv0.m4: Likewise.
      * m4/intlmacosx.m4: Likewise.
      * m4/largefile.m4: Likewise.
      * m4/ldexpl.m4: Likewise.
      * m4/link-follow.m4: Likewise.
      * m4/locale-ar.m4: Likewise.
      * m4/locale-fr.m4: Likewise.
      * m4/locale-ja.m4: Likewise.
      * m4/locale-tr.m4: Likewise.
      * m4/locale-zh.m4: Likewise.
      * m4/locale_h.m4: Likewise.
      * m4/lock.m4: Likewise.
      * m4/logl.m4: Likewise.
      * m4/mathfunc.m4: Likewise.
      * m4/minus-zero.m4: Likewise.
      * m4/mktime.m4: Likewise.
      * m4/mmap-anon.m4: Likewise.
      * m4/multiarch.m4: Likewise.
      * m4/nanosleep.m4: Likewise.
      * m4/nocrash.m4: Likewise.
      * m4/poll.m4: Likewise.
      * m4/printf-frexpl.m4: Likewise.
      * m4/printf.m4: Likewise.
      * m4/signbit.m4: Likewise.
      * m4/sinl.m4: Likewise.
      * m4/sqrtl.m4: Likewise.
      * m4/strerror_r.m4: Likewise.
      * m4/tanl.m4: Likewise.
      * m4/threadlib.m4: Likewise.
      * m4/ttyname_r.m4: Likewise.
      * m4/unlink.m4: Likewise.
      * m4/visibility.m4: Likewise.
      * m4/wcwidth.m4: Likewise.
      * tests/minus-zero.h: Likewise.
      * tests/test-alloca-opt.c: Likewise.
      * tests/test-copy-acl.sh: Likewise.
      * tests/test-copy-file.sh: Likewise.
      * tests/test-fdatasync.c: Likewise.
      * tests/test-file-has-acl.sh: Likewise.
      * tests/test-flock.c: Likewise.
      * tests/test-fsync.c: Likewise.
      * tests/test-localename.c: Likewise.
      * tests/test-malloca.c: Likewise.
      * tests/test-nonblocking-pipe.h: Likewise.
      * tests/test-nonblocking-socket.h: Likewise.
      * tests/test-openpty.c: Likewise.
      * tests/test-posix_openpt.c: Likewise.
      * tests/test-ptsname.c: Likewise.
      * tests/test-ptsname_r.c: Likewise.
      * tests/test-sameacls.c: Likewise.
      * tests/test-select.h: Likewise.
      * tests/test-set-mode-acl.sh: Likewise.
      * tests/test-snprintf-posix.h: Likewise.
      * tests/test-sprintf-posix.h: Likewise.
      * tests/test-strtod.c: Likewise.
      * tests/test-time.c: Likewise.
      * tests/test-vasnprintf-posix.c: Likewise.
      * tests/test-vasprintf-posix.c: Likewise.
      * doc/acl-resources.txt: Likewise.
      * doc/**/*.texi: Likewise.
      Reported by Max Horn <max@quendi.de>.
      06b335ad
  9. 01 Jan, 2012 1 commit
  10. 14 Sep, 2011 1 commit
    • Bruno Haible's avatar
      Properly quote AC_CHECK_DECLS' 4th argument. · f76a70dc
      Bruno Haible authored
      * m4/c-stack.m4 (gl_PREREQ_C_STACK): Double-quote AC_CHECK_DECLS' 4th
      argument.
      * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
      * m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
      * m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
      * m4/floorf.m4 (gl_FUNC_FLOORF): Likewise.
      * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
      * m4/fnmatch.m4 (gl_PREREQ_FNMATCH): Likewise.
      * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Likewise.
      * m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Likewise.
      * m4/gethrxtime.m4 (gl_GETHRXTIME): Likewise.
      * m4/getpass.m4 (gl_PREREQ_GETPASS): Likewise.
      * m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Likewise.
      * m4/inet_pton.m4 (gl_FUNC_INET_PTON): Likewise.
      * m4/isfinite.m4 (gl_ISFINITE): Likewise.
      * m4/isinf.m4 (gl_ISINF): Likewise.
      * m4/logb.m4 (gl_FUNC_LOGB): Likewise.
      * m4/readutmp.m4 (gl_READUTMP): Likewise.
      * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
      * m4/round.m4 (gl_FUNC_ROUND): Likewise.
      * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
      * m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise.
      * m4/signbit.m4 (gl_SIGNBIT): Likewise.
      * m4/sleep.m4 (gl_FUNC_SLEEP): Likewise.
      * m4/strsignal.m4 (gl_PREREQ_STRSIGNAL): Likewise.
      * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
      * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
      * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
      * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Likewise.
      * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
      * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
      Reported by Eric Blake.
      f76a70dc
  11. 20 Jun, 2011 1 commit
    • Paul Eggert's avatar
      c-stack: stop worrying about stack direction · 3c4ad612
      Paul Eggert authored
      * lib/c-stack.c (find_stack_direction): Remove.
      (segv_handler): Don't worry about stack direction growth, as it's
      too much of a pain to configure this correctly, given how compilers
      are optimizing-away our stack-growth detection code.  Instead, assume
      that any access to just before or just after the stack is OK.
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
      Don't require AC_FUNC_ALLOCA; no longer needed.
      3c4ad612
  12. 01 Jan, 2011 1 commit
  13. 06 Dec, 2010 1 commit
    • Bruno Haible's avatar
      Put more information about failed tests into the test return codes. · 1f8c872f
      Bruno Haible authored
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Change test
      program so that it returns an enumerated value (0, 1, 2, 3, 4, ...).
      * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
      * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
      * m4/getcwd.m4 (gl_FUNC_GETCWD_NULL): Likewise.
      * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise.
      * m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
      * m4/intdiv0.m4 (gt_INTDIV0): Likewise.
      * m4/isapipe.m4 (gl_PREREQ_ISAPIPE): Likewise.
      * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
      * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Likewise.
      * m4/putenv.m4 (gl_FUNC_PUTENV): Likewise.
      * m4/sleep.m4 (gl_FUNC_SLEEP): Likewise.
      * m4/stdint.m4 (gl_STDINT_H): Likewise.
      * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Change test program so that it
      returns a bit mask.
      * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Likewise.
      * m4/chown.m4 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): Likewise.
      * m4/dup2.m4 (gl_FUNC_DUP2): Likewise.
      * m4/fcntl-o.m4 (gl_FCNTL_O_FLAGS): Likewise.
      * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise.
      * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Likewise.
      * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Likewise.
      * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Likewise.
      * m4/iconv.m4 (AM_ICONV_LINK): Likewise.
      * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN_UTF): Likewise.
      * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Likewise.
      * m4/isnanf.m4 (gl_ISNANF_WORKS): Likewise.
      * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Likewise.
      * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): Likewise.
      * m4/link.m4 (gl_FUNC_LINK): Likewise.
      * m4/linkat.m4 (gl_FUNC_LINKAT): Likewise.
      * m4/mbrlen.m4 (gl_MBRLEN_RETVAL): Likewise.
      * m4/mbrtowc.m4 (gl_MBRTOWC_RETVAL): Likewise.
      * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
      * m4/memchr.m4 (gl_FUNC_MEMCHR): Likewise.
      * m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise.
      * m4/mkfifo.m4 (gl_FUNC_MKFIFO): Likewise.
      * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Likewise.
      * m4/mktime.m4 (AC_FUNC_MKTIME): Likewise.
      * m4/open.m4 (gl_FUNC_OPEN): Likewise.
      * m4/poll.m4 (gl_FUNC_POLL): Likewise.
      * m4/popen.m4 (gl_FUNC_POPEN): Likewise.
      * m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_LONG_DOUBLE,
      gl_PRINTF_INFINITE, gl_PRINTF_INFINITE_LONG_DOUBLE,
      gl_PRINTF_DIRECTIVE_A, gl_PRINTF_DIRECTIVE_F, gl_PRINTF_DIRECTIVE_LS,
      gl_PRINTF_PRECISION): Likewise.
      * m4/regex.m4 (gl_REGEX): Likewise.
      * m4/rename.m4 (gl_FUNC_RENAME): Likewise.
      * m4/rmdir.m4 (gl_FUNC_RMDIR): Likewise.
      * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Likewise.
      * m4/stat.m4 (gl_FUNC_STAT): Likewise.
      * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise.
      * m4/strcasestr.m4 (gl_FUNC_STRCASESTR): Likewise.
      * m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Likewise.
      * m4/strsignal.m4 (gl_FUNC_STRSIGNAL): Likewise.
      * m4/strstr.m4 (gl_FUNC_STRSTR): Likewise.
      * m4/strtod.m4 (gl_FUNC_STRTOD): Likewise.
      * m4/symlink.m4 (gl_FUNC_SYMLINK): Likewise.
      * m4/tsearch.m4 (gl_FUNC_TSEARCH): Likewise.
      * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Likewise.
      * m4/unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Likewise.
      * m4/unlink.m4 (gl_FUNC_UNLINK): Likewise.
      * m4/utimensat.m4 (gl_FUNC_UTIMENSAT): Likewise.
      * m4/utimes.m4 (gl_FUNC_UTIMES): Likewise.
      * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise.
      * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
      * m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Likewise.
      (gl_FLOATTYPE_SIGN_LOCATION): Change test program so that it returns an
      enumerated value.
      * m4/acl.m4 (gl_ACL_GET_FILE): Use "if ... return 1; return 0;" style.
      1f8c872f
  14. 17 Sep, 2010 1 commit
    • Eric Blake's avatar
      mirbsd: add some more support · 6c2dd014
      Eric Blake authored
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): MirBSD is
      in BSD family.
      * m4/gc-random.m4 (gl_GC_RANDOM): MirBSD supports same random
      devices as OpenBSD.
      * m4/host-os.m4 (mirbsd): Add MirBSD.
      Signed-off-by: 's avatarEric Blake <eblake@redhat.com>
      6c2dd014
  15. 01 Jan, 2010 1 commit
  16. 10 Dec, 2009 1 commit
  17. 10 Sep, 2009 1 commit
    • Ralf Wildenhues's avatar
      Remove obsolete macros from several modules. · 30dccb61
      Ralf Wildenhues authored
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Replace
      obsolete Autoconf macros with their modern counterparts.
      * m4/check-math-lib.m4 (gl_CHECK_MATH_LIB): Likewise.
      * m4/gc-camellia.m4 (gl_GC_CAMELLIA): Likewise.
      * m4/getaddrinfo.m4 (gl_GETADDRINFO): Likewise.
      * m4/getdate.m4 (gl_C_COMPOUND_LITERALS): Likewise.
      * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Likewise.
      * m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
      * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Likewise.
      * m4/isfinite.m4 (gl_ISFINITEL_WORKS): Likewise.
      * m4/poll.m4 (gl_FUNC_POLL): Likewise.
      * m4/readline.m4 (gl_FUNC_READLINE): Likewise.
      * m4/round.m4 (gl_FUNC_ROUND): Likewise.
      * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
      * m4/select.m4 (gl_FUNC_SELECT): Likewise.
      * m4/sockets.m4 (gl_SOCKETS): Likewise.
      * m4/socklen.m4 (gl_TYPE_SOCKLEN_T): Likewise.
      * m4/sockpfaf.m4 (gl_SOCKET_FAMILIES): Likewise.
      * m4/sysexits.m4 (gl_SYSEXITS): Likewise.
      * m4/time_r.m4 (gl_TIME_R): Likewise.
      * m4/tsearch.m4 (gl_FUNC_TSEARCH): Likewise.
      * m4/vararrays.m4 (AC_C_VARARRAYS): Likewise.
      * m4/wctype.m4 (gl_WCTYPE_H): Likewise.
      Signed-off-by: 's avatarRalf Wildenhues <Ralf.Wildenhues@gmx.de>
      30dccb61
  18. 14 Jan, 2009 1 commit
    • Jim Meyering's avatar
      many *.m4 files: improve m4 quoting · 42d1eda5
      Jim Meyering authored
      99% of this change was performed by running the following commands:
      git ls-files | grep '\.m4$' | xargs perl -pi \
        -e 's/(AC_\w+\()([^[()]+?)([,)])/$1\[$2]$3/g;' \
        -e 's/(AC_\w+\((?:\[[^,]+?\], ){1})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
        -e 's/(AC_\w+\((?:\[[^,]+?\], ){2})([^,[()]+?)([,)])/$1\[$2]$3/g;' \
        -e 's/(AC_\w+\((?:\[[^,]+?\], ){3})([^,[()]+?)([,)])/$1\[$2]$3/g'
      perl -pi -e 's/\[\.\.\.\]/.../' m4/onceonly.m4
      
      The remainder were to add Copyright dates, increment serial numbers,
      undo some changes in comments, exclude m4/intl.m4, and add quotes
      around the "1" in ",1" where the unusual spacing prohibited the
      above regexps from doing the job.  For more details, see
      <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/16175>.
      42d1eda5
  19. 06 Dec, 2008 1 commit
  20. 23 Sep, 2008 2 commits
  21. 02 Sep, 2008 1 commit
  22. 25 Aug, 2008 1 commit
    • Eric Blake's avatar
      c-stack: test that stack overflow can be caught · e3ea8107
      Eric Blake authored
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Also check
      that platform allows handling stack overflow; at least OS/2 EMX
      has sigaltstack, but crashes before transferring control to
      handler on stack overflow.
      * lib/c-stack.c [HAVE_SIGALTSTACK]: Adjust conditions to also
      check for HAVE_STACK_OVERFLOW_HANDLING.
      Reported by Elbert Pol.
      Signed-off-by: 's avatarEric Blake <ebb9@byu.net>
      e3ea8107
  23. 17 Aug, 2008 1 commit
    • Eric Blake's avatar
      c-stack: fix regression on Irix 5.3 from 2008-06-21 · a3f953e8
      Eric Blake authored
      * m4/c-stack.m4 (gl_PREREQ_C_STACK): Move check for
      sa_sigaction...
      * m4/sigaction.m4 (gl_PREREQ_SIG_HANDLER_H): ...here.
      (gl_PREREQ_SIGACTION): Depend on sig-handler.h prereq's.
      * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Set the default.
      * modules/signal (Makefile.am): Use the value.
      * lib/signal.in.h (sa_sigaction) [HAVE_SIGACTION
      && !HAVE_STRUCT_SIGACTION_SA_SIGACTION]: Define.
      * doc/posix-headers/signal.texi (signal.h): Document this
      portability issue.
      * doc/posix-functions/sigaction.texi (sigaction): Likewise.
      Reported by Tom G. Christensen.
      Signed-off-by: 's avatarEric Blake <ebb9@byu.net>
      a3f953e8
  24. 17 Jul, 2008 1 commit
    • Eric Blake's avatar
      Make c-stack use libsigsegv, when available. · f6a65c23
      Eric Blake authored
      * modules/c-stack (Depends-on): Add libsigsegv.
      * modules/c-stack-tests (Makefile.am): Link with libsigsegv, if
      needed.
      * lib/c-stack.c (SIGSTKSZ): Define fallback.
      (segv_handler, overflow_handler, c_stack_action)
      [HAVE_LIBSIGSEGV && !HAVE_XSI_STACK_OVERFLOW_HEURISTIC]: Add new
      implementation when libsigsegv is available, but only when using
      the library is necessary.
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Add
      comment, explaining why XSI check fails on Linux.
      (gl_PREREQ_C_STACK): Supply LIBCSTACK, LTLIBCSTACK.
      * tests/test-c-stack2.sh: Tweak skip message.
      * NEWS: Document new link-time requirements.
      Signed-off-by: 's avatarEric Blake <ebb9@byu.net>
      f6a65c23
  25. 17 Jun, 2008 1 commit
    • Eric Blake's avatar
      Simplify c-stack prerequisites. · 46206da4
      Eric Blake authored
      * lib/c-stack.c (includes): Remove unused <sys/resource.h>.
      * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Posix 200x
      no longer requires <ucontext.h> to exist.  Optimize setrlimit
      check.
      (gl_PREREQ_C_STACK): Remove check for unused getcontext and
      <sys/resource.h>.
      Signed-off-by: 's avatarEric Blake <ebb9@byu.net>
      46206da4
  26. 24 Apr, 2006 1 commit
    • Paul Eggert's avatar
      * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype · bde2cf6e
      Paul Eggert authored
      to define main with arguments, for C++.  Reported by Eric Blake.
      * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
      Prefer 'int main ()' to 'int main (void)', for C++.
      * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
      * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
      for 'main', for C99 and C++.
      bde2cf6e
  27. 23 Jan, 2005 1 commit
  28. 07 Mar, 2004 1 commit
  29. 17 Aug, 2003 1 commit
    • Paul Eggert's avatar
      (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size · 60121218
      Paul Eggert authored
      to 1MB, so as not to render systems with no stack size limit (e.g.,
      linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
      Include <unistd.h>.  On some systems,
      it is required for the definition of _SC_PAGESIZE.
      60121218
  30. 31 Dec, 2002 1 commit
  31. 22 Jun, 2002 1 commit