diff options
-rw-r--r-- | m4/codeset.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/codeset.m4 b/m4/codeset.m4 index 6f0b58e09..fbe6a80d3 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 <langinfo.h>], [char* cs = nl_langinfo(CODESET);], |