Don't use AC_LIBOBJ with file names in subdirectories.
[gnulib.git] / modules / uniconv / u32-conv-from-enc
index a3fb5ec..d72e7c2 100644 (file)
@@ -14,9 +14,12 @@ unistr/u8-mblen
 unistr/u32-mblen
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [uniconv/u32-conv-from-enc.c])
+gl_LIBUNISTRING_MODULE([0.9], [uniconv/u32-conv-from-enc])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNICONV_U32_CONV_FROM_ENC
+lib_SOURCES += uniconv/u32-conv-from-enc.c
+endif
 
 Include:
 "uniconv.h"