install-reloc: Support multi-binary installation.
[gnulib.git] / modules / readutmp
index 854b56f..51f6290 100644 (file)
@@ -7,13 +7,18 @@ lib/readutmp.c
 m4/readutmp.m4
 
 Depends-on:
+extensions
 xalloc
+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:
-lib_SOURCES += readutmp.h
 
 Include:
 "readutmp.h"
@@ -22,5 +27,4 @@ License:
 GPL
 
 Maintainer:
-Jim Meyering
-
+Jim Meyering & Paul Eggert