Don't use AC_LIBOBJ with file names in subdirectories.
[gnulib.git] / modules / unictype / ctype-space
index e7d02db..f6b2847 100644 (file)
@@ -12,9 +12,12 @@ unictype/base
 
 configure.ac:
 AC_REQUIRE([AC_C_INLINE])
-gl_LIBUNISTRING_LIBSOURCE([0.9], [unictype/ctype_space.c])
+gl_LIBUNISTRING_MODULE([0.9], [unictype/ctype-space])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNICTYPE_CTYPE_SPACE
+lib_SOURCES += unictype/ctype_space.c
+endif
 
 Include:
 "unictype.h"