Don't use AC_LIBOBJ with file names in subdirectories.
[gnulib.git] / modules / uniconv / u16-strconv-from-enc
index 5dcba74..b6c1520 100644 (file)
@@ -11,9 +11,12 @@ uniconv/u16-conv-from-enc
 unistr/u16-strlen
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [uniconv/u16-strconv-from-enc.c])
+gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-from-enc])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_FROM_ENC
+lib_SOURCES += uniconv/u16-strconv-from-enc.c
+endif
 
 Include:
 "uniconv.h"