projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1668701
)
(jm_PREREQ_READUTMP): Include utmp.h (if available), even
author
Jim Meyering
<jim@meyering.net>
Mon, 1 Jan 2001 18:16:52 +0000
(18:16 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 1 Jan 2001 18:16:52 +0000
(18:16 +0000)
on systems with utmpx.h. It's necessary for the declaration of utmp's
ut_user member. Reported by Andreas Jaeger.
m4/prereq.m4
patch
|
blob
|
history
diff --git
a/m4/prereq.m4
b/m4/prereq.m4
index 533b618f0a0657935956a14a846b0c61a40458af..bd18e376b442d3cd94166770b8a083357daf389e 100644
(file)
--- a/
m4/prereq.m4
+++ b/
m4/prereq.m4
@@
-1,4
+1,4
@@
-#serial 1
3
+#serial 1
4
dnl These are the prerequisite macros for files in the lib/
dnl directories of the fileutils, sh-utils, and textutils packages.
@@
-91,7
+91,8
@@
AC_DEFUN(jm_PREREQ_READUTMP,
$ac_includes_default
#ifdef HAVE_UTMPX_H
# include <utmpx.h>
-#else
+#endif
+#ifdef HAVE_UTMP_H
# include <utmp.h>
#endif
"