Clarify that <iconv.h> does not need to exist.
authorBruno Haible <bruno@clisp.org>
Sun, 14 Jan 2007 22:21:36 +0000 (22:21 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 14 Jan 2007 22:21:36 +0000 (22:21 +0000)
ChangeLog
modules/iconv

index d756190d07852762e04bbb278972079e9dd6c404..633ad49aedc2bf1388ebccc2551404ed734e7d91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/iconv (Include): Clarify that <iconv.h> can only be included
+       if iconv is found to exist.
+
 2007-01-14  Bruno Haible  <bruno@clisp.org>
 
        * modules/c-ctype-tests: New file.
index a7cbf154655bebed1407f73f8f276ab2cb8b2af9..757bd5b6cc49293249a71fcaab5c55c2d9164f3a 100644 (file)
@@ -13,7 +13,9 @@ AM_ICONV
 Makefile.am:
 
 Include:
-<iconv.h>
+#if HAVE_ICONV
+# include <iconv.h>
+#endif
 
 License:
 LGPL