about summary refs log tree commit diff
path: root/configure
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
parent2213b37b705843908355a89648017f4e597b2bbb (diff)
downloadglibc-6c0be74305745c8f78bcfb69442c8c379459d99b.tar.gz
glibc-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')
-rwxr-xr-xconfigure25
1 files changed, 21 insertions, 4 deletions
diff --git a/configure b/configure
index 1bae55b45b..1d543548cd 100755
--- a/configure
+++ b/configure
@@ -699,6 +699,7 @@ force_install
 bindnow
 hardcoded_path_in_tests
 enable_timezone_tools
+man_pages_version
 rtld_early_cflags
 extra_nonshared_cflags
 sysheaders
@@ -782,6 +783,7 @@ with_headers
 with_nonshared_cflags
 with_rtld_early_cflags
 with_timeoutfactor
+with_man_pages
 enable_sanity_checks
 enable_shared
 enable_profile
@@ -1508,6 +1510,8 @@ Optional Packages:
                           build early initialization with additional CFLAGS
   --with-timeoutfactor=NUM
                           specify an integer to scale the timeout
+  --with-man-pages=VERSION
+                          tie manual to a specific man-pages version
   --with-cpu=CPU          select code for CPU variant
 
 Some influential environment variables:
@@ -3868,8 +3872,9 @@ config_vars=
 if test ${enable_static_c___tests+y}
 then :
   enableval=$enable_static_c___tests; static_cxx_tests=$enableval
-else $as_nop
-  static_cxx_tests=yes
+else case e in #(
+  e) static_cxx_tests=yes ;;
+esac
 fi
 
 config_vars="$config_vars
@@ -3879,8 +3884,9 @@ static-cxx-tests = $static_cxx_tests"
 if test ${enable_static_c___link_check+y}
 then :
   enableval=$enable_static_c___link_check; static_cxx_link_check=$enableval
-else $as_nop
-  static_cxx_link_check=yes
+else case e in #(
+  e) static_cxx_link_check=yes ;;
+esac
 fi
 
 
@@ -4469,6 +4475,17 @@ fi
 printf "%s\n" "#define TIMEOUTFACTOR $timeoutfactor" >>confdefs.h
 
 
+man_pages_version=6.9.1
+
+
+# Check whether --with-man-pages was given.
+if test ${with_man_pages+y}
+then :
+  withval=$with_man_pages; man_pages_version=$withval
+fi
+
+
+
 # Check whether --enable-sanity-checks was given.
 if test ${enable_sanity_checks+y}
 then :