Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | # codeset.m4 serial AM1 (gettext-0.10.40) |
michael@0 | 2 | dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. |
michael@0 | 3 | dnl This file is free software, distributed under the terms of the GNU |
michael@0 | 4 | dnl General Public License. As a special exception to the GNU General |
michael@0 | 5 | dnl Public License, this file may be distributed as part of a program |
michael@0 | 6 | dnl that contains a configuration script generated by Autoconf, under |
michael@0 | 7 | dnl the same distribution terms as the rest of that program. |
michael@0 | 8 | |
michael@0 | 9 | dnl From Bruno Haible. |
michael@0 | 10 | |
michael@0 | 11 | AC_DEFUN([AM_LANGINFO_CODESET], |
michael@0 | 12 | [ |
michael@0 | 13 | AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, |
michael@0 | 14 | [AC_TRY_LINK([#include <langinfo.h>], |
michael@0 | 15 | [char* cs = nl_langinfo(CODESET);], |
michael@0 | 16 | am_cv_langinfo_codeset=yes, |
michael@0 | 17 | am_cv_langinfo_codeset=no) |
michael@0 | 18 | ]) |
michael@0 | 19 | if test $am_cv_langinfo_codeset = yes; then |
michael@0 | 20 | AC_DEFINE(HAVE_LANGINFO_CODESET, 1, |
michael@0 | 21 | [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) |
michael@0 | 22 | HAVE_LANGINFO_CODESET=1 |
michael@0 | 23 | fi |
michael@0 | 24 | ]) |