From 46b44d5f433764fb7976da47f449b35d31b04098 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Sun, 6 Dec 2020 21:07:44 +0000
Subject: Prepare for 0.1.0.0; don't install utmpx.h by default
New --enable-libc-includes configure option to overwrite the
system utmpx.h
---
doc/libutmps/index.html | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
(limited to 'doc/libutmps/index.html')
diff --git a/doc/libutmps/index.html b/doc/libutmps/index.html
index f2fb86f..dc41fda 100644
--- a/doc/libutmps/index.html
+++ b/doc/libutmps/index.html
@@ -35,6 +35,17 @@ interface, which in utmps is implemented as a series of thin wrappers
around the utmps library.
+
+ A suitable utmpx.h header can be found in the utmps/
+subdirectory of
+the header installation directory; if the --enable-libc-includes
+option has been given to configure, it can also be found directly
+in that directory. (Example: /usr/include/utmps/utmpz.h is
+always installed, but if the option has been given at nsss build time,
+/usr/include/utmpx.h is also installed and replaces the
+version provided by the libc.)
+
+
Compiling
@@ -42,9 +53,17 @@ around the utmps library.
are visible in your header search path.
- Use #include <utmps/utmps.h>
- To use the standard utmpx.h interface, you can
-just #include <utmpx.h>, which will work as long
-as the utmps/utmpx.h header is accessible in your header
-search path.
+just #include <utmpx.h>, which will work:
+
+ - either if the --enable-libc-includes option
+has been given at utmps build time
+ - or if you give the -I/usr/include/utmps option
+to your compiler. (Depending on your standard header location,
+specify that the header search path should include the
+utmps subdirectory of that location.) This is useful when
+the administrator did not want to overwrite the libc-provided
+utmpx.h file when they installed utmps.
+
Linking
--
cgit v1.3.1