roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
[pspp] / modules / readutmp
index 5e1edb90585a6ef57f9fb8f67ce7a3966f418792..51f629002b86d3a337e417b89a7cfab354949a24 100644 (file)
@@ -7,15 +7,18 @@ 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:
-EXTRA_DIST += readutmp.h
 
 Include:
 "readutmp.h"