source: trunk/libs/newlib/src/config/nls.m4 @ 532

Last change on this file since 532 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.8 KB
Line 
1# nls.m4 serial 1 (gettext-0.12)
2dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
3dnl This file is free software, distributed under the terms of the GNU
4dnl General Public License.  As a special exception to the GNU General
5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
8dnl
9dnl This file can can be used in projects which are not available under
10dnl the GNU General Public License or the GNU Library General Public
11dnl License but which still want to provide support for the GNU gettext
12dnl functionality.
13dnl Please note that the actual code of the GNU gettext library is covered
14dnl by the GNU Library General Public License, and the rest of the GNU
15dnl gettext package package is covered by the GNU General Public License.
16dnl They are *not* in the public domain.
17
18dnl Authors:
19dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
20dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
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 If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
36  dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
37  dnl Try to locate it.
38  MKINSTALLDIRS=
39  if test -n "$ac_aux_dir"; then
40    case "$ac_aux_dir" in
41      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
42      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
43    esac
44  fi
45  if test -z "$MKINSTALLDIRS"; then
46    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
47  fi
48  AC_SUBST(MKINSTALLDIRS)
49])
Note: See TracBrowser for help on using the repository browser.