aboutsummaryrefslogtreecommitdiff
path: root/m4/np_coreutils.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/np_coreutils.m4')
-rw-r--r--m4/np_coreutils.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/np_coreutils.m4 b/m4/np_coreutils.m4
new file mode 100644
index 00000000..3f87686f
--- /dev/null
+++ b/m4/np_coreutils.m4
@@ -0,0 +1,17 @@
+dnl These are for the libs and macros from coreutils
+dnl Currently utilising v5.2.1
+
+dnl We use jm_ for non Autoconf macros.
+m4_pattern_forbid([^np_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
+m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
+m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
+
+AC_DEFUN([np_COREUTILS],
+[
+ AC_REQUIRE([jm_AFS])
+ AC_REQUIRE([gl_EXITFAIL])
+ AC_REQUIRE([gl_XALLOC])
+ AC_REQUIRE([gl_MOUNTLIST])
+ AC_REQUIRE([gl_FSUSAGE])
+ AC_REQUIRE([jm_FUNC_GLIBC_UNLOCKED_IO])
+])