summaryrefslogtreecommitdiff
path: root/m4/check-decl.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-20 12:45:31 +0000
committerJim Meyering <jim@meyering.net>2000-08-20 12:45:31 +0000
commit5bf6f179da1ed2f8494f3bf9f87ff930993d2955 (patch)
tree67c50f488a2af77650c01fa1390409b11d939e95 /m4/check-decl.m4
parentf9850882f14461aa215ae1f5caa54d3d37e01ce0 (diff)
downloadcoreutils-5bf6f179da1ed2f8494f3bf9f87ff930993d2955.tar.xz
Include utmp.h `#if HAVE_UTMP_H', rather than
`#if !HAVE_UTMPX_H'. The latter would lose on systems with neither utmp.h nor utmpx.h. Reported by Eli Zaretskii.
Diffstat (limited to 'm4/check-decl.m4')
-rw-r--r--m4/check-decl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4
index f49a9c590..94d9a8f93 100644
--- a/m4/check-decl.m4
+++ b/m4/check-decl.m4
@@ -38,7 +38,7 @@ AC_DEFUN(jm_CHECK_DECLS,
# endif
#endif
-#if !HAVE_UTMPX_H
+#if HAVE_UTMP_H
# include <utmp.h>
#endif
'