summaryrefslogtreecommitdiffstats
path: root/m4/np_coreutils.m4
blob: 44aa3b80120c2e4ae5152ece80be1969efe141bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

dnl These are all m4 things that need to be called
dnl Usually in coreutils' prereq.m4, but this is a subset that we need
AC_DEFUN([np_COREUTILS],
[
  AC_REQUIRE([AM_STDBOOL_H])
  AC_REQUIRE([gl_GETOPT])
  AC_REQUIRE([gl_AFS])
  AC_REQUIRE([gl_EXITFAIL])
  AC_REQUIRE([gl_XALLOC])
  AC_REQUIRE([gl_MOUNTLIST])
  AC_REQUIRE([gl_FSUSAGE])
  AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO])
  AC_REQUIRE([gl_REGEX])
])