summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-10-19 07:55:42 +0200
committerJim Meyering <meyering@redhat.com>2009-10-19 07:57:15 +0200
commit6ac6c7e4b77898d6d82d5565b5d8b053ecacbc64 (patch)
tree2edf3aab6dc24539926575225deadcf02b3a3138
parentf26508204bf5a51a83af294114f47e7b6c82c958 (diff)
downloadcoreutils-6ac6c7e4b77898d6d82d5565b5d8b053ecacbc64.tar.xz
build: use gnulib's isblank module
* 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.
-rw-r--r--bootstrap.conf1
m---------gnulib0
-rw-r--r--m4/check-decl.m44
-rw-r--r--src/system.h4
4 files changed, 2 insertions, 7 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index e9b198c53..185748936 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -127,6 +127,7 @@ gnulib_modules="
inttostr
inttypes
isapipe
+ isblank
lchmod
lchown
lib-ignore
diff --git a/gnulib b/gnulib
-Subproject 791cc509ac459a2555f8d633ad67455cf8d3fe4
+Subproject f7f4cd99ff9ce8efee94aafdd5980cb4bb1d139
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4
index 530c59e16..0bd7b549a 100644
--- a/m4/check-decl.m4
+++ b/m4/check-decl.m4
@@ -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])
diff --git a/src/system.h b/src/system.h
index 8de0f3cd2..b4d5e774f 100644
--- a/src/system.h
+++ b/src/system.h
@@ -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.