Deal with the fact that mbchar.h, mbfile.h, mbiter.h, mbuiter.h can
[pspp] / modules / mbchar
index 150fe47569b9a355f409c88a263bf27aaff67bf2..5f193216998559f157ee70e426a44a2872a5eaea 100644 (file)
@@ -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