diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-10 17:57:59 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-10-10 17:57:59 +0000 |
commit | 971ae637f195e2d5ffe30a801b5725b83cc6391b (patch) | |
tree | 79dd50c10a1aa61c0337a93b99e33a3118dea721 /package/libs/gettext/src/m4/codeset.m4 | |
parent | a8587b5d422bf0d5488895bf564151a37223fdb1 (diff) | |
download | upstream-971ae637f195e2d5ffe30a801b5725b83cc6391b.tar.gz upstream-971ae637f195e2d5ffe30a801b5725b83cc6391b.tar.bz2 upstream-971ae637f195e2d5ffe30a801b5725b83cc6391b.zip |
gettext: move to trunk and add myself as maintainer
SVN-Revision: 33712
Diffstat (limited to 'package/libs/gettext/src/m4/codeset.m4')
-rw-r--r-- | package/libs/gettext/src/m4/codeset.m4 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/libs/gettext/src/m4/codeset.m4 b/package/libs/gettext/src/m4/codeset.m4 new file mode 100644 index 0000000000..a53c04260c --- /dev/null +++ b/package/libs/gettext/src/m4/codeset.m4 @@ -0,0 +1,21 @@ +# codeset.m4 serial 4 (gettext-0.18) +dnl Copyright (C) 2000-2002, 2006, 2008-2010 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +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); return !cs;], + [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 +]) |