* modules/fts-lgpl (Depends-on): Remove gettext.
* lib/fts.c: Don't worry about debugging on pre-C99-comopatible hosts;
the configuration hassle isn't worth it.
Include inttypes.h and stdint.h unconditionally if FTS_DEBUG.
(LONGEST_MODIFIER, PRIuMAX): Remove.
* m4/fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
and don't require gt_INTTYPES_PRI.
+2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * modules/fts (Files): Remove m4/inttypes-pri.m4.
+ * modules/fts-lgpl (Depends-on): Remove gettext.
+
2005-05-25 Derek Price <derek@ximbiot.com>
* MODULES.html.sh: Add getlogin_r to POSIX.2001 support section.
+2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * fts.c: Don't worry about debugging on pre-C99-comopatible hosts;
+ the configuration hassle isn't worth it.
+ Include inttypes.h and stdint.h unconditionally if FTS_DEBUG.
+ (LONGEST_MODIFIER, PRIuMAX): Remove.
+
2005-05-27 Bruno Haible <bruno@clisp.org>
* getlogin_r.h: Remove second include of <stddef.h>.
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#if ULONG_MAX < ULLONG_MAX
-# define LONGEST_MODIFIER "ll"
-#else
-# define LONGEST_MODIFIER "l"
-#endif
-#if PRI_MACROS_BROKEN
-# undef PRIuMAX
-#endif
-#ifndef PRIuMAX
-# define PRIuMAX LONGEST_MODIFIER "u"
-#endif
#if defined _LIBC
# include <dirent.h>
#define BREAD 3 /* fts_read */
#if FTS_DEBUG
-bool fts_debug = false;
+# include <inttypes.h>
+# include <stdint.h>
# include <stdio.h>
+bool fts_debug = false;
# define Dprintf(x) do { if (fts_debug) printf x; } while (0)
#else
# define Dprintf(x)
+2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
+
+ * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
+ and don't require gt_INTTYPES_PRI.
+
2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
-#serial 4
+#serial 5
dnl Copyright (C) 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
# Checks for header files.
AC_REQUIRE([AC_HEADER_DIRENT])
- AC_CHECK_HEADERS_ONCE([inttypes.h stdint.h])
AC_CHECK_HEADERS_ONCE([sys/param.h])
- # Checks for typedefs, structures, and compiler characteristics.
- AC_REQUIRE([gt_INTTYPES_PRI])
-
# Checks for library functions.
AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
])
lib/fts.c
lib/fts-cycle.c
m4/fts.m4
-m4/inttypes-pri.m4
Depends-on:
cycle-check
Depends-on:
dirfd
stdbool
-gettext
configure.ac:
gl_FUNC_FTS_LGPL