]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: use gnulib's isblank module
authorJim Meyering <meyering@redhat.com>
Mon, 19 Oct 2009 05:55:42 +0000 (07:55 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 19 Oct 2009 05:57:15 +0000 (07:57 +0200)
* bootstrap.conf (gnulib_modules): Add isblank.
* src/system.h (isblank): Don't define.
* m4/check-decl.m4: Don't check for isblank declaration.
* gnulib: Update submodule to latest.

bootstrap.conf
gnulib
m4/check-decl.m4
src/system.h

index e9b198c536d4624ce8365a4a0c748bac0d4adad1..185748936697d02a82ab3fb961d88cf26d0ee039 100644 (file)
@@ -127,6 +127,7 @@ gnulib_modules="
   inttostr
   inttypes
   isapipe
+  isblank
   lchmod
   lchown
   lib-ignore
diff --git a/gnulib b/gnulib
index 791cc509ac459a2555f8d633ad67455cf8d3fe4d..f7f4cd99ff9ce8efee94aafdd5980cb4bb1d1395 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 791cc509ac459a2555f8d633ad67455cf8d3fe4d
+Subproject commit f7f4cd99ff9ce8efee94aafdd5980cb4bb1d1395
index 530c59e167908e35fac0b9c13ad544778114c40c..0bd7b549a5547187ccc61c2e1f6a0efa5d3d6c4f 100644 (file)
@@ -1,4 +1,4 @@
-#serial 25
+#serial 26
 # Check declarations for this package.
 
 dnl Copyright (C) 1997-2001, 2003-2006, 2008-2009 Free Software
@@ -35,8 +35,6 @@ AC_DEFUN([gl_CHECK_DECLS],
     getpwuid,
     ttyname], , , $headers)
 
-  AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
-
   AC_CHECK_DECLS_ONCE([geteuid])
   AC_CHECK_DECLS_ONCE([getlogin])
   AC_CHECK_DECLS_ONCE([getuid])
index 8de0f3cd23a5bf08044f00a859976901111f2faa..b4d5e774f36ee581b3358e64f691cc6fb017d34b 100644 (file)
@@ -212,10 +212,6 @@ enum
 
 #include <ctype.h>
 
-#if ! (defined isblank || HAVE_DECL_ISBLANK)
-# define isblank(c) ((c) == ' ' || (c) == '\t')
-#endif
-
 /* ISDIGIT differs from isdigit, as follows:
    - Its arg may be any int or unsigned int; it need not be an unsigned char
      or EOF.