Use a command that uses $CC $CFLAGS, not $CPP, to test whether inline is
[gnulib.git] / modules / mbchar
index 5f19321..9b4b941 100644 (file)
@@ -8,15 +8,15 @@ m4/mbchar.m4
 
 Depends-on:
 stdbool
+wcwidth
 
 configure.ac:
 gl_MBCHAR
 
 Makefile.am:
-lib_SOURCES += mbchar.h
 
 Include:
-#if HAVE_WCHAR_H && HAVE_WCTYPE_H
+#if HAVE_WCHAR_H
 #include "mbchar.h"
 #endif