Don't use AC_LIBOBJ with file names in subdirectories.
[gnulib.git] / modules / unistr / u32-to-u8
index 07a4a62..4c8deb4 100644 (file)
@@ -9,9 +9,12 @@ unistr/base
 unistr/u8-uctomb
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u32-to-u8.c])
+gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-to-u8])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNISTR_U32_TO_U8
+lib_SOURCES += unistr/u32-to-u8.c
+endif
 
 Include:
 "unistr.h"