summaryrefslogtreecommitdiff
path: root/m4/human.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-06 07:06:35 +0000
committerJim Meyering <jim@meyering.net>2003-06-06 07:06:35 +0000
commit53a32e5fe4f202426a39f680b9d66fb72611fd40 (patch)
treef98934d4b7bbb9fe303603fa8abed1c52b12df5e /m4/human.m4
parent71bf6b1420138119849603a7419b6bc5b19a2218 (diff)
downloadcoreutils-53a32e5fe4f202426a39f680b9d66fb72611fd40.tar.xz
New file, from gnulib.
Diffstat (limited to 'm4/human.m4')
-rw-r--r--m4/human.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/m4/human.m4 b/m4/human.m4
new file mode 100644
index 000000000..1a23f166f
--- /dev/null
+++ b/m4/human.m4
@@ -0,0 +1,19 @@
+# human.m4 serial 3
+dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gl_HUMAN],
+[
+ dnl Prerequisites of lib/human.h.
+ AC_REQUIRE([AM_STDBOOL_H])
+ AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])
+
+ dnl Prerequisites of lib/human.c.
+ AC_CHECK_HEADERS_ONCE(locale.h stdlib.h string.h)
+ AC_CHECK_DECLS_ONCE(getenv)
+ AC_CHECK_FUNCS_ONCE(localeconv)
+])