From: Jim Meyering Date: Mon, 3 Apr 2000 07:48:06 +0000 (+0000) Subject: (AC_CHECK_HEADERS): Add langinfo.h (moved here from X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfeec0749797616c7356b28f1a385fae73f86742;p=pspp (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) --- diff --git a/m4/codeset.m4 b/m4/codeset.m4 index 6f0b58e09d..fbe6a80d3a 100644 --- 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 ], [char* cs = nl_langinfo(CODESET);],