aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2024-07-08 17:52:15 -0400
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-07-09 11:54:29 +0200
commit6c0be74305745c8f78bcfb69442c8c379459d99b (patch)
treefac67d679685e56d7c379911f5803332592d9317 /configure.ac
parent2213b37b705843908355a89648017f4e597b2bbb (diff)
downloadglibc-6c0be74305745c8f78bcfb69442c8c379459d99b.tar.xz
glibc-6c0be74305745c8f78bcfb69442c8c379459d99b.zip
manual: add syscalls
The purpose of this patch is to add some system calls that (1) aren't otherwise documented, and (2) are merely redirected to the kernel, so can refer to their documentation; and define a standard way of doing so in the future. A more detailed explaination of how system calls are wrapped is added along with reference to the Linux Man-Pages project. Default version of man-pages is in configure.ac but can be overridden by --with-man-pages=X.Y Reviewed-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e48957f318..9cbc0bf68f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,6 +183,15 @@ AC_ARG_WITH([timeoutfactor],
[timeoutfactor=1])
AC_DEFINE_UNQUOTED(TIMEOUTFACTOR, $timeoutfactor)
+man_pages_version=6.9.1
+
+AC_ARG_WITH([man-pages],
+ AS_HELP_STRING([--with-man-pages=VERSION],
+ [tie manual to a specific man-pages version]),
+ [man_pages_version=$withval],
+ [])
+AC_SUBST(man_pages_version)
+
AC_ARG_ENABLE([sanity-checks],
AS_HELP_STRING([--disable-sanity-checks],
[really do not use threads (should not be used except in special situations) @<:@default=yes@:>@]),