Don't use AC_LIBOBJ with file names in subdirectories.
[gnulib.git] / modules / uniconv / u16-strconv-to-locale
index 22845de..12fd3c4 100644 (file)
@@ -10,9 +10,12 @@ uniconv/u16-strconv-to-enc
 localcharset
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [uniconv/u16-strconv-to-locale.c])
+gl_LIBUNISTRING_MODULE([0.9], [uniconv/u16-strconv-to-locale])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNICONV_U16_STRCONV_TO_LOCALE
+lib_SOURCES += uniconv/u16-strconv-to-locale.c
+endif
 
 Include:
 "uniconv.h"