Blame m4/nls.m4

Packit Service 9f2c4a
# nls.m4 serial 1 (gettext-0.12)
Packit Service 9f2c4a
dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
Packit Service 9f2c4a
dnl This file is free software, distributed under the terms of the GNU
Packit Service 9f2c4a
dnl General Public License.  As a special exception to the GNU General
Packit Service 9f2c4a
dnl Public License, this file may be distributed as part of a program
Packit Service 9f2c4a
dnl that contains a configuration script generated by Autoconf, under
Packit Service 9f2c4a
dnl the same distribution terms as the rest of that program.
Packit Service 9f2c4a
dnl
Packit Service 9f2c4a
dnl This file can can be used in projects which are not available under
Packit Service 9f2c4a
dnl the GNU General Public License or the GNU Library General Public
Packit Service 9f2c4a
dnl License but which still want to provide support for the GNU gettext
Packit Service 9f2c4a
dnl functionality.
Packit Service 9f2c4a
dnl Please note that the actual code of the GNU gettext library is covered
Packit Service 9f2c4a
dnl by the GNU Library General Public License, and the rest of the GNU
Packit Service 9f2c4a
dnl gettext package package is covered by the GNU General Public License.
Packit Service 9f2c4a
dnl They are *not* in the public domain.
Packit Service 9f2c4a
Packit Service 9f2c4a
dnl Authors:
Packit Service 9f2c4a
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
Packit Service 9f2c4a
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
Packit Service 9f2c4a
Packit Service 9f2c4a
AC_DEFUN([AM_NLS],
Packit Service 9f2c4a
[
Packit Service 9f2c4a
  AC_MSG_CHECKING([whether NLS is requested])
Packit Service 9f2c4a
  dnl Default is enabled NLS
Packit Service 9f2c4a
  AC_ARG_ENABLE(nls,
Packit Service 9f2c4a
    [  --disable-nls           do not use Native Language Support],
Packit Service 9f2c4a
    USE_NLS=$enableval, USE_NLS=yes)
Packit Service 9f2c4a
  AC_MSG_RESULT($USE_NLS)
Packit Service 9f2c4a
  AC_SUBST(USE_NLS)
Packit Service 9f2c4a
])
Packit Service 9f2c4a
Packit Service 9f2c4a
AC_DEFUN([AM_MKINSTALLDIRS],
Packit Service 9f2c4a
[
Packit Service 9f2c4a
  dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
Packit Service 9f2c4a
  dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
Packit Service 9f2c4a
  dnl Try to locate it.
Packit Service 9f2c4a
  MKINSTALLDIRS=
Packit Service 9f2c4a
  if test -n "$ac_aux_dir"; then
Packit Service 9f2c4a
    case "$ac_aux_dir" in
Packit Service 9f2c4a
      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
Packit Service 9f2c4a
      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
Packit Service 9f2c4a
    esac
Packit Service 9f2c4a
  fi
Packit Service 9f2c4a
  if test -z "$MKINSTALLDIRS"; then
Packit Service 9f2c4a
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
Packit Service 9f2c4a
  fi
Packit Service 9f2c4a
  AC_SUBST(MKINSTALLDIRS)
Packit Service 9f2c4a
])