File: codeset.m4

package info (click to toggle)
amule 2.2.6%2Bdebian0-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 24,344 kB
  • ctags: 16,311
  • sloc: cpp: 105,427; ansic: 8,449; sh: 4,906; php: 3,852; cs: 3,325; makefile: 2,451; perl: 913; yacc: 822; ruby: 687; lex: 466; java: 339; python: 26; awk: 21; sed: 16
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
])