summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* * m4/arpa_inet_h.m4: Remove trailing blanks.Jim Meyering2008-04-291-2/+1
|
* Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton ↵Bruno Haible2008-04-293-6/+18
| | | | need to be declared.
* Make arpa/inet module build under MinGW.Simon Josefsson2008-04-291-0/+3
|
* Test getndelim2.Eric Blake2008-04-281-2/+4
| | | | | | | | | | * modules/getndelim2-tests: New file. * tests/test-getndelim2.c: Likewise. * lib/getndelim2.c (getndelim2): Never return 0. Lock the stream. * m4/getndelim2.m4 (gl_GETNDELIM2): Check for lock functions. Signed-off-by: Eric Blake <ebb9@byu.net>
* Declare rpmatch.Bruno Haible2008-04-292-2/+9
|
* Change rpmatch to use nl_langinfo when appropriate.Bruno Haible2008-04-291-3/+14
|
* Add rawmemchr module, matching glibc.Eric Blake2008-04-282-0/+23
| | | | | | | | | | | | | | | | | * modules/string (Makefile.am): New indicator. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it. * lib/string.in.h (rawmemchr): Declare when appropriate. * modules/rawmemchr: New file. * m4/rawmemchr.m4: Likewise. * lib/rawmemchr.c: Likewise. * modules/rawmemchr-tests: Likewise. * tests/test-rawmemchr.c: Likewise. * doc/glibc-functions/rawmemchr.texi (rawmemchr): Document module. * modules/strchrnul (Depends-on): Add rawmemchr. * lib/strchrnul.c (strchrnul): Optimize a corner case. Signed-off-by: Eric Blake <ebb9@byu.net>
* Move AC_REQUIRE([AC_C_INLINE]) to top.Simon Josefsson2008-04-281-1/+2
| | | | Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
* Move inet_ntop and inet_pton declarations to arpa/inet.h.Simon Josefsson2008-04-282-8/+6
|
* Fix proper win32 checks and use of inline for setsockopt.Simon Josefsson2008-04-281-0/+1
| | | | Reported by Bruno Haible <bruno@clisp.org>.
* Stricter test whether isnanl works.Bruno Haible2008-04-271-1/+5
|
* Fix 'isfinite' on x86, x86_64, ia64 platforms.Bruno Haible2008-04-271-2/+127
|
* Put system dependent routines into inline functions.Bruno Haible2008-04-261-1/+9
|
* Use native fstatat on cygwin 1.7.0.Eric Blake2008-04-251-3/+4
| | | | | | | * m4/openat.m4 (gl_FUNC_OPENAT): Make sure lstat check is made first. Signed-off-by: Eric Blake <ebb9@byu.net>
* Add inet_ntop and inet_pton declarations to arpa/inet.h, for MinGW.Simon Josefsson2008-04-231-2/+19
|
* Replace the isw* functions on Linux libc5.Bruno Haible2008-04-221-2/+31
|
* Fix typo in last commit.Bruno Haible2008-04-221-1/+1
|
* Fix compilation errors related to rpl_mkdir on mingw.Bruno Haible2008-04-212-23/+21
|
* Work around roundf() bug on mingw.Bruno Haible2008-04-201-2/+37
|
* <sys/stat.h> must provide the nlink_t type.Bruno Haible2008-04-201-2/+11
|
* Work around snprintf bug on Linux libc5.Bruno Haible2008-04-195-42/+97
|
* Adjust strtod detection to catch glibc 2.7 bug.Eric Blake2008-04-161-1/+17
| | | | | | | * m4/strtod.m4 (gl_FUNC_STRTOD): Test "nan()" behavior. Reported by BuraphaLinux Server. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix underquoting of AC_LANG_PROGRAM arguments.Bruno Haible2008-04-1520-75/+75
|
* Make truncl work on OSF/1 4.0.Bruno Haible2008-04-132-6/+30
|
* Check for libintl.h. Needed for HAVE_LIBINTL_H.Bruno Haible2008-04-131-1/+2
|
* Override <sys/socket.h> when it exists but is incomplete.Bruno Haible2008-04-131-3/+22
|
* Override the system isnanf also on IRIX 6.5 with gcc.Bruno Haible2008-04-121-5/+29
|
* * m4/math_h.m4 (gl_MATH_H): Fix typos.Jim Meyering2008-04-121-3/+3
|
* Work around Solaris 10 math.h bug.Eric Blake2008-04-122-2/+30
| | | | | | | | | | | | | * m4/math_h.m4 (gl_MATH_H): Check for bug. (gl_MATH_H_DEFAULTS): Set up default. * modules/math (Makefile.am): Replace new indicators. * lib/math.in.h (NAN, HUGE_VAL): Provide replacements. * tests/test-math.c (main): Test this. * m4/strtod.m4 (gl_FUNC_STRTOD): Don't rely on HUGE_VAL. * doc/posix-headers/math.texi (math.h): Mention bug. Reported by Nelson H. F. Beebe and Jim Meyering. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix two compilation errors.Bruno Haible2008-04-121-2/+2
|
* Fix __GNUC_STDC_INLINE__ predefine with Apple GCC on MacOS X 10.5.Bruno Haible2008-04-111-2/+21
|
* Port the extended stdio functions to emx+gcc.Bruno Haible2008-04-101-2/+5
|
* Avoid some more autoconf warnings.Eric Blake2008-04-097-126/+62
| | | | | | | | | | | | | | | | | * m4/acl.m4 (gl_FUNC_ACL): s/AC_HELP_STRING/AS_HELP_STRING/. * m4/afs.m4 (gl_AFS): Likewise. * m4/gc-random.m4 (gl_GC_RANDOM): Likewise. * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): s/AC_FOREACH/m4_foreach_w/. * m4/stdint.m4 (gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED) (gl_INTEGER_TYPE_SUFFIX): Likewise. * m4/onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE) (AC_CHECK_DECLS_ONCE): Likewise. Rename file... * m4/onceonly.m4: ...to this, and delete 2.54 variant, now that gnulib-tool requires autoconf 2.59 or better. * gnulib-tool (func_get_filelist): s/\(onceonly\)_2_57.m4/\1.m4/. Signed-off-by: Eric Blake <ebb9@byu.net>
* Avoid some autoconf warnings.Eric Blake2008-04-092-4/+4
| | | | | | | * m4/regex.m4 (gl_REGEX): s/AC_HELP_STRING/AS_HELP_STRING/. * m4/include_next.m4 (gl_INCLUDE_NEXT): s/AC_FOREACH/m4_foreach_w/. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix quoting in double-slash-root.m4.Ralf Wildenhues2008-04-061-4/+4
| | | | | | | | * m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT): Fix quoting, hide error from 'ls', needed on OS/2. Report by Elbert Pol <elbert.pol@gmail.com>. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Improve strtod bug detection check.Eric Blake2008-04-041-3/+11
| | | | | | | | * m4/strtod.m4 (gl_FUNC_STRTOD): Also check for hex-float parsing, required for Solaris 10. Reported by Bob Friesenhahn and Nelson H. F. Beebe. Signed-off-by: Eric Blake <ebb9@byu.net>
* Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the CBruno Haible2008-03-309-18/+9
| | | | code.
* Document various strtod bugs, with some fixes.Eric Blake2008-03-292-6/+43
| | | | | | | | | | | | | | | | | | | * doc/posix-functions/strtod.texi (strtod): Document bugs with "-0x", "inf", "nan", and hex constants. * doc/posix-functions/atof.texi (atof): Likewise. * modules/stdlib (Makefile.am): Support strtod. * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Likewise. * m4/strtod.m4 (gl_FUNC_STRTOD): Fit in stdlib framework, and detect additional strtod bugs. * lib/stdlib.in.h (rpl_strtod): Add declarations. * lib/strtod.c (strtod): Return -0.0 on negative underflow. Use bool where appropriate. Parse 'inf' and 'nan'. * tests/test-strtod.c: New file. * modules/strtod (Depends-on): Add stdbool, stdlib. (configure.ac): Turn on module indicator. * modules/strtod-tests: New module. Signed-off-by: Eric Blake <ebb9@byu.net>
* Disable the fflush-after-ungetc tests, since gnulib currently does notBruno Haible2008-03-291-5/+12
| | | | guarantee consistent results.
* Fix regex compilation error on HP-UX 11.Bruno Haible2008-03-231-2/+3
|
* Extend AC_LIB_LINKFLAGS to the situation of several libraries provided by a ↵Bruno Haible2008-03-121-6/+34
| | | | single package.
* Avoid conflicts between local macro definitions.Bruno Haible2008-03-121-15/+17
|
* Correct the va_copy definition for AIX 5.Bruno Haible2008-03-111-13/+40
|
* Document a pitfall.Bruno Haible2008-03-112-4/+10
|
* Likewise for ftello.Eric Blake2008-03-061-2/+6
| | | | | | | * modules/ftello (Dependencies): Add extensions. * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS. Signed-off-by: Eric Blake <ebb9@byu.net>
* Ensure that fseeko is declared when possible.Bruno Haible2008-03-061-2/+6
|
* Rename __func__ module to func.Simon Josefsson2008-03-061-6/+6
| | | | Suggested by Eric Blake <ebb9@byu.net>.
* Add module __func__ to provide C99 __func__ variable.Simon Josefsson2008-03-061-0/+20
|
* Remove the last dependency on the "free" module.Jim Meyering2008-03-021-3/+2
| | | | | * m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE. Reported by Bob Proulx.
* autoupdateKarl Berry2008-03-021-2/+2
|