summaryrefslogtreecommitdiffstats
path: root/m4/nls.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/nls.m4')
-rw-r--r--m4/nls.m451
1 files changed, 0 insertions, 51 deletions
diff --git a/m4/nls.m4 b/m4/nls.m4
deleted file mode 100644
index 2082c3b..0000000
--- a/m4/nls.m4
+++ /dev/null
@@ -1,51 +0,0 @@
1# nls.m4 serial 2 (gettext-0.14.3)
2dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6dnl
7dnl This file can can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public
9dnl License but which still want to provide support for the GNU gettext
10dnl functionality.
11dnl Please note that the actual code of the GNU gettext library is covered
12dnl by the GNU Library General Public License, and the rest of the GNU
13dnl gettext package package is covered by the GNU General Public License.
14dnl They are *not* in the public domain.
15
16dnl Authors:
17dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
18dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
19
20AC_PREREQ(2.50)
21
22AC_DEFUN([AM_NLS],
23[
24 AC_MSG_CHECKING([whether NLS is requested])
25 dnl Default is enabled NLS
26 AC_ARG_ENABLE(nls,
27 [ --disable-nls do not use Native Language Support],
28 USE_NLS=$enableval, USE_NLS=yes)
29 AC_MSG_RESULT($USE_NLS)
30 AC_SUBST(USE_NLS)
31])
32
33AC_DEFUN([AM_MKINSTALLDIRS],
34[
35 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
36 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
37 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
38 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
39 dnl Try to locate it.
40 MKINSTALLDIRS=
41 if test -n "$ac_aux_dir"; then
42 case "$ac_aux_dir" in
43 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
44 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
45 esac
46 fi
47 if test -z "$MKINSTALLDIRS"; then
48 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
49 fi
50 AC_SUBST(MKINSTALLDIRS)
51])
diff --git a/m4/np_coreutils.m4 b/m4/np_coreutils.m4
deleted file mode 100644
index 77cb9f6..0000000
--- a/m4/np_coreutils.m4
+++ /dev/null
@@ -1,29 +0,0 @@
1dnl These are for the libs and macros from coreutils
2dnl Currently utilising v5.2.1
3
4dnl We use jm_ for non Autoconf macros.
5m4_pattern_forbid([^np_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
6m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
7m4_pattern_forbid([^gl_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl
8
9dnl These are all m4 things that need to be called
10dnl Usually in coreutils' prereq.m4, but this is a subset that we need
11AC_DEFUN([np_COREUTILS],
12[
13 AC_REQUIRE([AM_STDBOOL_H])
14 AC_REQUIRE([gl_BASENAME])
15 AC_REQUIRE([gl_C_STRTOLD])
16 AC_REQUIRE([gl_EXITFAIL])
17 AC_REQUIRE([gl_FCNTL_SAFER])
18 AC_REQUIRE([gl_FSUSAGE])
19 AC_REQUIRE([gl_FUNC_ALLOCA])
20 AC_REQUIRE([gl_GETOPT])
21 AC_REQUIRE([gl_MOUNTLIST])
22 AC_REQUIRE([gl_REGEX])
23 AC_REQUIRE([gl_UNISTD_SAFER])
24 AC_REQUIRE([gl_XALLOC])
25 AC_REQUIRE([gl_FUNC_GLIBC_UNLOCKED_IO])
26
27dnl This is in jm-macros.m4, which calls prereq.m4, and then calls this afterwards
28 AC_REQUIRE([gl_AFS])
29])