Don't use AC_LIBOBJ with file names in subdirectories.
[gnulib.git] / modules / uninorm / composition
index d3887c1..dde2500 100644 (file)
@@ -10,9 +10,12 @@ uninorm/base
 gperf
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [uninorm/composition.c])
+gl_LIBUNISTRING_MODULE([0.9], [uninorm/composition])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNINORM_COMPOSITION
+lib_SOURCES += uninorm/composition.c
+endif
 
 uninorm/composition-table.h: $(srcdir)/uninorm/composition-table.gperf
        $(GPERF) -m 1 $(srcdir)/uninorm/composition-table.gperf > $(srcdir)/uninorm/composition-table.h-t