install-reloc: Support multi-binary installation.
[gnulib.git] / modules / readutmp
index 8c4f847..51f6290 100644 (file)
@@ -7,12 +7,16 @@ lib/readutmp.c
 m4/readutmp.m4
 
 Depends-on:
+extensions
 xalloc
-free
 stdbool
+stdint
 
 configure.ac:
 gl_READUTMP
+if test $ac_cv_header_utmp_h = yes || test $ac_cv_header_utmpx_h = yes; then
+  AC_LIBOBJ([readutmp])
+fi
 
 Makefile.am: