]> Savannah Git Hosting - gnulib.git/commitdiff
iconv-h: Generate header file when module 'posixcheck' is in use.
authorBruno Haible <bruno@clisp.org>
Sun, 5 Aug 2018 22:15:14 +0000 (00:15 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 5 Aug 2018 22:15:14 +0000 (00:15 +0200)
* m4/iconv_h.m4 (gl_ICONV_H_DEFAULTS): If module 'posixcheck' is in use,
set ICONV_H to non-empty.

ChangeLog
m4/iconv_h.m4

index d1c7c254c6f4a8a708975ff555ea09a4e27457b8..c36294fa3aa7601bf5d278f05e4692af7b51ac5c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index f910faf48246e0df5ec7ab7f4c367d632b36bb97..918969e9119fd9b133e5d7d55294dfaaf52b8460 100644 (file)
@@ -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 @@ AC_DEFUN([gl_ICONV_H_DEFAULTS],
   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"])
 ])