|
Packit |
33f14e |
# localeconv.m4 serial 1
|
|
Packit |
33f14e |
dnl Copyright (C) 2012-2017 Free Software Foundation, Inc.
|
|
Packit |
33f14e |
dnl This file is free software; the Free Software Foundation
|
|
Packit |
33f14e |
dnl gives unlimited permission to copy and/or distribute it,
|
|
Packit |
33f14e |
dnl with or without modifications, as long as this notice is preserved.
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
AC_DEFUN([gl_FUNC_LOCALECONV],
|
|
Packit |
33f14e |
[
|
|
Packit |
33f14e |
AC_REQUIRE([gl_LOCALE_H_DEFAULTS])
|
|
Packit |
33f14e |
AC_REQUIRE([gl_LOCALE_H])
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
if test $REPLACE_STRUCT_LCONV = 1; then
|
|
Packit |
33f14e |
REPLACE_LOCALECONV=1
|
|
Packit |
33f14e |
fi
|
|
Packit |
33f14e |
])
|
|
Packit |
33f14e |
|
|
Packit |
33f14e |
# Prerequisites of lib/localeconv.c.
|
|
Packit |
33f14e |
AC_DEFUN([gl_PREREQ_LOCALECONV],
|
|
Packit |
33f14e |
[
|
|
Packit |
33f14e |
AC_CHECK_MEMBERS([struct lconv.decimal_point], [], [],
|
|
Packit |
33f14e |
[[#include <locale.h>]])
|
|
Packit |
33f14e |
])
|