File: codeset.m4

package info (click to toggle)
abiword 2.2.7-3sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 115,384 kB
  • ctags: 56,063
  • sloc: cpp: 369,185; ansic: 233,915; sh: 48,093; xml: 16,636; makefile: 9,165; asm: 2,210; perl: 2,068; pascal: 903; sed: 284; awk: 273; python: 8
file content (23 lines) | stat: -rw-r--r-- 894 bytes parent folder | download | duplicates (947)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# codeset.m4 serial AM1 (gettext-0.10.40)
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License.  As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.

dnl From Bruno Haible.

AC_DEFUN([AM_LANGINFO_CODESET],
[
  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
    [AC_TRY_LINK([#include <langinfo.h>],
      [char* cs = nl_langinfo(CODESET);],
      am_cv_langinfo_codeset=yes,
      am_cv_langinfo_codeset=no)
    ])
  if test $am_cv_langinfo_codeset = yes; then
    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
  fi
])