inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
[pspp] / modules / unistr / u32-strnlen
index 8d5c0e44615adeb5e5dce54590006ea41134f86d..83bb7ce4845986480f317c14613124d993cf1720 100644 (file)
@@ -9,9 +9,12 @@ Depends-on:
 unistr/base
 
 configure.ac:
-gl_LIBUNISTRING_LIBSOURCE([0.9], [unistr/u32-strnlen.c])
+gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strnlen])
 
 Makefile.am:
+if LIBUNISTRING_COMPILE_UNISTR_U32_STRNLEN
+lib_SOURCES += unistr/u32-strnlen.c
+endif
 
 Include:
 "unistr.h"