Blame m4/localeconv.m4

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