2N/A# nl_langinfo.m4 serial 3
2N/Adnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
2N/Adnl This file is free software; the Free Software Foundation
2N/Adnl gives unlimited permission to copy and/or distribute it,
2N/Adnl with or without modifications, as long as this notice is preserved.
2N/A
2N/AAC_DEFUN([gl_FUNC_NL_LANGINFO],
2N/A[
2N/A AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
2N/A AC_REQUIRE([gl_LANGINFO_H])
2N/A AC_CHECK_FUNCS_ONCE([nl_langinfo])
2N/A if test $ac_cv_func_nl_langinfo = yes; then
2N/A if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1; then
2N/A :
2N/A else
2N/A REPLACE_NL_LANGINFO=1
2N/A AC_DEFINE([REPLACE_NL_LANGINFO], [1],
2N/A [Define if nl_langinfo exists but is overridden by gnulib.])
2N/A AC_LIBOBJ([nl_langinfo])
2N/A fi
2N/A else
2N/A HAVE_NL_LANGINFO=0
2N/A AC_LIBOBJ([nl_langinfo])
2N/A fi
2N/A])