Mercurial > hg > octave-kai > gnulib-hg
changeset 2387:d1a26ea3336e
(AC_CHECK_HEADERS): Add langinfo.h (moved here from
textutils/configure.in). Suggestion from Paul Eggert.
(AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 03 Apr 2000 07:48:06 +0000 |
parents | 943d3da9c871 |
children | 9f808fad8347 |
files | m4/codeset.m4 |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/codeset.m4 +++ b/m4/codeset.m4 @@ -1,9 +1,12 @@ -#serial 1 +#serial 2 dnl From Bruno Haible. AC_DEFUN(jm_LANGINFO_CODESET, [ + AC_CHECK_HEADERS(langinfo.h) + AC_CHECK_FUNCS(nl_langinfo) + AC_CACHE_CHECK([for nl_langinfo and CODESET], jm_cv_langinfo_codeset, [AC_TRY_LINK([#include <langinfo.h>], [char* cs = nl_langinfo(CODESET);],