Commit Graph

13 Commits

Author SHA1 Message Date
Jim Meyering 1df8b738db (UTILS_FUNC_DIRFD): Merge in change from gnulib, fixing an M4 quoting bug. 2003-05-26 19:37:26 +00:00
Jim Meyering 70c7e4f3e8 (UTILS_FUNC_DIRFD): Test the cache variable, not one
that is guaranteed to be `no'.  Use `no_such_member' to indicate
that condition, rather than `-1' which is slightly misleading.
Change the name of the cache variable to have the gl_ prefix.
Prompted by a patch from Richard Dawe for DJGPP.
2003-03-17 19:28:31 +00:00
Jim Meyering a8f272fc4e (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements. 2003-01-23 17:55:17 +00:00
Jim Meyering 4f045ded1c Correct typo: s/-1/no/ that kept this from working
on at least Irix and OSF1/Tru64.
2003-01-23 17:50:42 +00:00
Jim Meyering 50bc2a4286 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
This is necessary at least on Darwin 5.3.
2002-04-12 20:48:29 +00:00
Jim Meyering c2a328bb30 it's CFLAGS, not DEFS 2001-11-03 20:07:10 +00:00
Jim Meyering af1d1e7d3d fix indentation of cpp `#'s 2001-11-03 20:00:36 +00:00
Jim Meyering ef991b4aa3 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
know the name of the variable in the macro definition.
2001-11-03 18:49:27 +00:00
Jim Meyering a427fa83f6 Use the replacement only if we have neither the function
nor a declaration.
2001-11-02 07:36:35 +00:00
Jim Meyering 7c102d03c7 use AC_HEADER_DIRECT and all the associated cruft 2001-11-01 16:55:16 +00:00
Jim Meyering 0c0ad8da77 don't indent the #include directive 2001-11-01 16:47:00 +00:00
Jim Meyering 8d503b5362 check for decl, too 2001-11-01 16:46:06 +00:00
Jim Meyering afd8381b51 (UTILS_FUNC_DIRFD): New macro. 2001-11-01 16:41:57 +00:00