1. 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
  2. 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
  3. 01 Jan, 2014 1 commit
  4. 09 Oct, 2013 1 commit
    • Paul Eggert's avatar
      strtoimax, strtoumax: port to HP-UX 11.11 · 0fd639d1
      Paul Eggert authored
      Problem reported by Daniel Richard G. in
      <http://lists.gnu.org/archive/html/bug-gnulib/2013-10/msg00023.html>.
      * lib/inttypes.in.h (strtoumax): Replace strtoumax if
      REPLACE_STRTOUMAX, thus treating it consistently with strtoimax.
      * m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Add default for
      REPLACE_STRTOUMAX.
      * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX):
      * m4/strtoumax.m4 (gl_FUNC_STRTOUMAX):
      Replace the function if defined as a macro but not as a function.
      * modules/inttypes-incomplete (inttypes.h): Substitute
      REPLACE_STRTOUMAX.
      * modules/strtoumax (configure.ac): Replace strtoumax if
      REPLACE_STRTOUMAX.
      0fd639d1
  5. 01 Jan, 2013 1 commit
  6. 28 Jan, 2012 1 commit
    • Paul Eggert's avatar
      strtoimax: eliminate need for stdint.h, inttypes.h checks · 82f7e927
      Paul Eggert authored
      * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Don't use
      gl_AC_HEADER_STDINT_H or gl_AC_HEADER_INTTYPES_H.  This reduces
      the prerequisites for a recently-introduced strtoimax test.
      I guess this might cause strtoimax to be replaced when not
      strictly necessary on older hosts, but this shouldn't introduce
      any bugs and it should make Emacs 'configure' faster on typical
      modern hosts.  Problem discovered when importing the latest gnulib
      to an Emacs test version.
      * modules/strtoimax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4.
      82f7e927
  7. 05 Jan, 2012 2 commits
    • Bruno Haible's avatar
      strtoimax: Don't force a replacement on systems where intmax_t is int. · 9bbbd8bf
      Bruno Haible authored
      * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Use a different test if
      'intmax_t' is not larger than 'int'.
      Reported by Pádraig Brady <P@draigBrady.com>.
      9bbbd8bf
    • Bruno Haible's avatar
      strtoimax: Work around AIX 5.1 bug. · 0b030ddb
      Bruno Haible authored
      * lib/inttypes.in.h (strtoimax): Allow overriding the system's
      definition.
      * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Check against the AIX 5.1 bug.
      Set HAVE_STRTOIMAX.
      * m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Initialize
      REPLACE_STRTOIMAX.
      * modules/inttypes-incomplete (Makefile.am): Substitute
      REPLACE_STRTOIMAX.
      * modules/strtoimax (Files): Add m4/stdint_h.m4, m4/inttypes_h.m4.
      (configure.ac): Test HAVE_STRTOIMAX, REPLACE_STRTOIMAX.
      (Depends-on): Update conditions.
      * tests/test-strtoimax.c (main): Add tests for large values.
      * doc/posix-functions/strtoimax.texi: Mention the AIX 5.1 bug.
      0b030ddb
  8. 01 Jan, 2012 1 commit
  9. 01 Sep, 2011 1 commit
    • Bruno Haible's avatar
      strtoimax: Avoid link error on OSF/1 with DTK cc. · ae006b4d
      Bruno Haible authored
      * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Always test whether strtoimax is
      defined as a function.
      * modules/strtoimax (Depends-on, configure.ac): Test only whether
      strtoimax is defined, not whether it is declared.
      ae006b4d
  10. 15 Jun, 2011 1 commit
  11. 26 Apr, 2011 1 commit
  12. 01 Jan, 2011 1 commit
  13. 14 Nov, 2010 1 commit
    • Jim Meyering's avatar
      remove autoconf-2.57 work-around requiring AC_PROG_EGREP and AC_PROG_CPP · 1e6979e8
      Jim Meyering authored
      Now we require at least autoconf-2.59, which means that
      the work-around is no longer needed.
      * m4/alloca.m4 (gl_FUNC_ALLOCA): Remove work-around.
      * m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
      * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Likewise.
      * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
      * m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
      1e6979e8
  14. 01 Jan, 2010 1 commit
  15. 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
  16. 08 Nov, 2007 1 commit
  17. 21 Aug, 2006 1 commit
    • Paul Eggert's avatar
      Add and change modules to make it easier for coreutils to use · 82ff49b5
      Paul Eggert authored
      gnulib-tool.
      
      * lib/cycle-check.h: Include <stdint.h> unconditionally, since we
      now assume the stdint module.  Do not include inttypes.h.
      * lib/fsusage.h: Likewise.
      * lib/getndelim2.c: Likewise.
      * lib/human.h: Likewise.
      * lib/inttostr.h: Likewise.
      * lib/obstack.c: Likewise.
      * lib/regex_internal.h: Likewise.
      * lib/tempname.c: Likewise.
      * lib/utimecmp.c: Likewise.
      * lib/xstrtol.h: Likewise.
      
      * lib/stat_.h: Fix typo: HAVE_FUNC_LSTAT -> HAVE_LSTAT.
      
      * lib/strtoimax.c: Adjust to macro name changes in Autoconf,
      e.g., HAVE_LONG_LONG -> HAVE_LONG_LONG_INT.
      * lib/xtime.h: Likewise.
      
      Remove files that are no longer needed by their respective modules.
      * m4/obstack.m4: Remove.
      * m4/strerror_r.m4: Remove.
      * m4/uint32_t.m4: Remove.
      * m4/uintptr_t.m4: Remove.
      * m4/ullong_max.m4: Remove.
      * m4/xstrtoimax.m4: Remove.
      * m4/xstrtoumax.m4: Remove.
      
      * cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T,
      gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now
      capture this.
      
      * cycle-check.m4 (gl_CYCLE_CHECK):
      Do not use AC_LIBSOURCES, since gnulib modules now do this.
      * fsusage.m4 (gl_FSUSAGE): Likewise.
      * human.m4 (gl_HUMAN): Likewise.
      * inttostr.m4 (gl_INTTOSTR): Likewise.
      * xstrtol.m4 (gl_XSTRTOL): Likewise.
      
      * filemode.m4 (gl_FILEMODE): Require AC_STRUCT_ST_DM_MODE.
      
      * filemode.m4 (gl_PREREQ_FSUSAGE_EXTRA): Do not require
      gl_AC_TYPE_INTMAX_T or gl_AC_TYPE_UINTMAX_T, since we now require
      stdint.
      * human.m4 (gl_HUMAN): Likewise.
      * inttostr.m4 (gl_PREREQ_INTTOSTR): Likewise.
      * mkstemp.m4 (gl_PREREQ_TEMPNAME): Likewise.
      * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
      * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
      * xstrtol (gl_XSTRTOL): Likewise.
      
      * gethrxtime.m4 (gl_XTIME): gl_AC_TYPE_LONG_LONG ->
      AC_TYPE_LONG_LONG_INT.
      * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
      * strtoll.m4 (gl_FUNC_STRTOLL): Likewise.
      * strtoull.m4 (gl_FUNC_STRTOULL): Likewise, for unsigned long.
      * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
      
      * human.m4 (gl_HUMAN): Do not require AM_STDBOOL_H since we depend
      on stdbool.
      
      * xstrtol.m4 (gl_PREREQ_XSTRTOL_H, gl_PREREQ_XSTRTOL): Remove.
      (gl_PREREQ_XSTRTOUL): Remove.
      
      * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt.
      
      * posixver.m4: Fix comment since head -1 now works even in POSIX mode.
      
      * modules/backupfile (Files): Remove m4/d-ino.m4.
      (Depends-on): Add d-ino.
      * modules/cycle-check (Depends-on): Add stdint.
      (lib_SOURCES): Add cycle-check.h.
      * modules/d-ino: New module.
      * modules/d-type: New module.
      * modules/error (Files): Remove m4/strerror_r.m4.
      * modules/filemode (Files): Add m4/st_dm_mode.m4.
      * modules/fsuage (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4,
      m4/inttypes_h.m4, m4/uintmax_t.m4.
      (Depends-on): Add stdint.
      (lib_SOURCES): Add fsusage.h.
      * modules/getcwd (Files): Remove d-ino.m4.
      (Depends-on): Add d-ino.
      * modules/getndelim2 (Depends-on): Add stdint.
      * modules/glob (Files): Remove m4/d-type.m4.
      (Depends-on): Add d-type.
      * modules/host-os: New module.
      * modules/human (Files):  Remove m4/ulonglong.m4, m4/stdint_h.m4,
      m4/inttypes_h.m4, m4/uintmax_t.m4.
      * Depends-on: Add stdint.
      (lib_SOURCES): Add human.h.
      * modules/inttostr (Files): Remove m4/intmax_t.m4,
      m4/inttostr.m4, m4/inttypes_h.m4, m4/longlong.m4, m4/stdint_h.m4,
      m4/uintmax_t.m4, m4/ulonglong.m4.
      (Depends-on): Add stdint.
      (EXTRA_DIST): Add inttostr.h.
      * modules/lchmod: New module.
      * modules/link-follow: New module.
      * modules/mkdir-p (Files): Remove lib/lchmod.h, m4/lchmod.m4.
      (Depends-on): Add lchmod.
      * modules/mkstemp (Files): Remove m4/ulonglong.m4,
      m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4.
      (Depends-on): Add stdint.
      * modules/obstack (Files): Remove m4/inttypes_h.m4, m4/obstack.m4,
      m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4.
      (Depends-on): Add stdint.
      (configure.ac): Change gl_OBSTACK to AC_FUNC_OBSTACK.
      * modules/perl: New module.
      * modules/regex (Depends-on): Add stdint.
      * modules/rmdir-errno: New module.
      * modules/strtoimax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4,
      m4/intmax_t.m4.
      (Depends-on): Add stdint.
      * modules/strtoumax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4,
      m4/uintmax_t.m4.
      (Depends-on): Add stdint.
      * modules/unlink-busy: New module.
      * modules/utimecmp (Depends-on): Add stdint.
      * modules/uptime: New module.
      * modules/winsz-ioctl: New module.
      * modules/winsz-termios: New module.
      * modules/xnanosleep (Depends-on): Add nanosleep.
      * modules/ullong_max: Remove.
      * modules/xstrtoimax (Files): Remove m4/xstrtoimax.m4.
      (configure.ac): Remove gl_XSTRTOIMAX; no action needed now.
      * modules/xstrtol (Files): Remove m4/ulonglong.m4, m4/longlong.m4,
      m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4, m4/intmax_t.m4.
      (Depends-on): Add inttypes.
      (lib_SOURCES): Add xstrtol.h.
      * modules/xstrtoumax (Files): Remove m4/xstrtoumax.m4.
      (configure.ac): Remove gl_XSTRTOUMAX; no action needed now.
      * MODULES.html.sh: Move 'assert' into the assert section.
      Move 'dummy' into the linking section.
      Remove ullong_max.
      Add section for compatibility checks for POSIX:2001 functions,
      and put d-ino, d-type, link-follow, rmdir-errno, unlink-busy,
      winsz-ioctl, and winsz-termios into it.
      Add lchmod.
      Add top-level Misc section and put host-os, perl, and uptime
      into it.
      82ff49b5
  18. 23 Jan, 2005 1 commit
  19. 01 Jun, 2004 1 commit
  20. 18 Apr, 2004 1 commit
  21. 12 Sep, 2003 1 commit
  22. 17 May, 2003 1 commit
  23. 31 Dec, 2002 1 commit