Mercurial > gnulib
changeset 39483:1131355a4bd6
iconv-h: Generate header file when module 'posixcheck' is in use.
* m4/iconv_h.m4 (gl_ICONV_H_DEFAULTS): If module 'posixcheck' is in use,
set ICONV_H to non-empty.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 06 Aug 2018 00:15:14 +0200 |
parents | 0a71d3f14ed2 |
children | 4685a895cd9e |
files | ChangeLog m4/iconv_h.m4 |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Aug 05 23:25:56 2018 +0200 +++ b/ChangeLog Mon Aug 06 00:15:14 2018 +0200 @@ -1,3 +1,9 @@ +2018-08-05 Bruno Haible <bruno@clisp.org> + + iconv-h: Generate header file when module 'posixcheck' is in use. + * m4/iconv_h.m4 (gl_ICONV_H_DEFAULTS): If module 'posixcheck' is in use, + set ICONV_H to non-empty. + 2018-08-05 Bruno Haible <bruno@clisp.org> Optimize the "checking whether ... is declared without a macro" checks.
--- a/m4/iconv_h.m4 Sun Aug 05 23:25:56 2018 +0200 +++ b/m4/iconv_h.m4 Mon Aug 06 00:15:14 2018 +0200 @@ -1,4 +1,4 @@ -# iconv_h.m4 serial 9 +# iconv_h.m4 serial 10 dnl Copyright (C) 2007-2018 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -43,5 +43,6 @@ REPLACE_ICONV_OPEN=0; AC_SUBST([REPLACE_ICONV_OPEN]) REPLACE_ICONV_UTF=0; AC_SUBST([REPLACE_ICONV_UTF]) ICONV_H=''; AC_SUBST([ICONV_H]) + m4_ifdef([gl_POSIXCHECK],[ICONV_H='iconv.h']) AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"]) ])