codeset.m4 revision 2
481N/A# codeset.m4 serial 5 (gettext-0.18.2)
481N/Adnl Copyright (C) 2000-2002, 2006, 2008-2010 Free Software Foundation, Inc.
481N/Adnl This file is free software; the Free Software Foundation
481N/Adnl gives unlimited permission to copy and/or distribute it,
481N/Adnl with or without modifications, as long as this notice is preserved.
481N/A
481N/Adnl From Bruno Haible.
481N/A
481N/AAC_DEFUN([AM_LANGINFO_CODESET],
481N/A[
481N/A AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset],
481N/A [AC_LINK_IFELSE(
481N/A [AC_LANG_PROGRAM(
481N/A [[#include <langinfo.h>]],
481N/A [[char* cs = nl_langinfo(CODESET); return !cs;]])],
481N/A [am_cv_langinfo_codeset=yes],
481N/A [am_cv_langinfo_codeset=no])
481N/A ])
481N/A if test $am_cv_langinfo_codeset = yes; then
873N/A AC_DEFINE([HAVE_LANGINFO_CODESET], [1],
481N/A [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
481N/A fi
481N/A])
481N/A