havelib: Fix for Solaris 11 OpenIndiana and Solaris 11 OmniOS.
[gnulib.git] / m4 / localeconv.m4
bloba926224f855cfcee33651fb8ec0a70fe6b9ac41a
1 # localeconv.m4 serial 1
2 dnl Copyright (C) 2012-2020 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 AC_DEFUN([gl_FUNC_LOCALECONV],
9   AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
10   AC_REQUIRE([gl_LOCALE_H])
12   if test $REPLACE_STRUCT_LCONV = 1; then
13     REPLACE_LOCALECONV=1
14   fi
17 # Prerequisites of lib/localeconv.c.
18 AC_DEFUN([gl_PREREQ_LOCALECONV],
20   AC_CHECK_MEMBERS([struct lconv.decimal_point], [], [],
21     [[#include <locale.h>]])