X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=m4%2Flanginfo_h.m4;h=a4c5409dd047f25b6404a9bb0776d4070c4c32c7;hb=cbd5934b1918d73022d1d1d9904112f3d6d7f187;hp=46be299ef39496f62a14ed879657da16764b272c;hpb=b4349b948ba2c352187158e241334abda6e473e9;p=pspp diff --git a/m4/langinfo_h.m4 b/m4/langinfo_h.m4 index 46be299ef3..a4c5409dd0 100644 --- a/m4/langinfo_h.m4 +++ b/m4/langinfo_h.m4 @@ -1,4 +1,4 @@ -# langinfo_h.m4 serial 2 +# langinfo_h.m4 serial 3 dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -51,6 +51,11 @@ int a = ERA; AC_SUBST([HAVE_LANGINFO_H]) AC_SUBST([HAVE_LANGINFO_CODESET]) AC_SUBST([HAVE_LANGINFO_ERA]) + + dnl Check for declarations of anything we want to poison if the + dnl corresponding gnulib module is not in use. + gl_WARN_ON_USE_PREPARE([[#include + ]], [nl_langinfo]) ]) AC_DEFUN([gl_LANGINFO_MODULE_INDICATOR],