diff options
author | Bruno Haible <bruno@clisp.org> | 2005-09-26 13:58:51 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2005-09-26 13:58:51 +0000 |
commit | be4b03ff802ce76ee841d09d7546039d5e991127 (patch) | |
tree | b855fd546c6cad1e001d2e97ccfe7f3645f8f998 /modules | |
parent | fbf26a89d86387bcf6f801dcd4455e2751c3867e (diff) | |
download | gnulib-be4b03ff802ce76ee841d09d7546039d5e991127.tar.gz |
Deal with the fact that mbchar.h, mbfile.h, mbiter.h, mbuiter.h can
only be #included conditionally.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mbchar | 6 | ||||
-rw-r--r-- | modules/mbfile | 5 | ||||
-rw-r--r-- | modules/mbiter | 5 | ||||
-rw-r--r-- | modules/mbuiter | 5 |
4 files changed, 16 insertions, 5 deletions
diff --git a/modules/mbchar b/modules/mbchar index 150fe47569..5f19321699 100644 --- a/modules/mbchar +++ b/modules/mbchar @@ -13,10 +13,12 @@ configure.ac: gl_MBCHAR Makefile.am: -lib_SOURCES += mbchar.h mbchar.c +lib_SOURCES += mbchar.h Include: -"mbchar.h" +#if HAVE_WCHAR_H && HAVE_WCTYPE_H +#include "mbchar.h" +#endif License: LGPL diff --git a/modules/mbfile b/modules/mbfile index 525d1cc9f2..585364f446 100644 --- a/modules/mbfile +++ b/modules/mbfile @@ -4,6 +4,7 @@ Multibyte character I/O. Files: lib/mbfile.h m4/mbfile.m4 +m4/mbrtowc.m4 Depends-on: mbchar @@ -16,7 +17,9 @@ Makefile.am: lib_SOURCES += mbfile.h Include: -"mbfile.h" +#if HAVE_MBRTOWC +#include "mbfile.h" +#endif License: LGPL diff --git a/modules/mbiter b/modules/mbiter index 49ce8a2323..e0daf82c82 100644 --- a/modules/mbiter +++ b/modules/mbiter @@ -4,6 +4,7 @@ Iterating through multibyte strings. Files: lib/mbiter.h m4/mbiter.m4 +m4/mbrtowc.m4 Depends-on: mbchar @@ -16,7 +17,9 @@ Makefile.am: lib_SOURCES += mbiter.h Include: -"mbiter.h" +#if HAVE_MBRTOWC +#include "mbiter.h" +#endif License: LGPL diff --git a/modules/mbuiter b/modules/mbuiter index fe3c4793f8..9c58466b13 100644 --- a/modules/mbuiter +++ b/modules/mbuiter @@ -4,6 +4,7 @@ Iterating through multibyte strings. Files: lib/mbuiter.h m4/mbiter.m4 +m4/mbrtowc.m4 Depends-on: mbchar @@ -17,7 +18,9 @@ Makefile.am: lib_SOURCES += mbuiter.h Include: -"mbuiter.h" +#if HAVE_MBRTOWC +#include "mbuiter.h" +#endif License: LGPL |