aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-05-11 15:51:48 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2023-07-19 10:37:40 +0200
commit68b7bb1a062c6471b678d5488a71324e0486d405 (patch)
treece5bf7fc73063ab9b76b7e51a4cfb9b32b9951c7
parenta8d5bb5e7e4400d89ff49ff00e7b5634b24834c3 (diff)
add information on the system type string
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index bb3f92e4d..26df39d54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,7 +5,12 @@ AC_CONFIG_AUX_DIR(config)
AC_PROG_SED
-# Construct a Nix system name (like "i686-linux").
+# Construct a Nix system name (like "i686-linux"):
+# https://www.gnu.org/software/autoconf/manual/html_node/Canonicalizing.html#index-AC_005fCANONICAL_005fHOST-1
+# The inital value is produced by the `config.guess` script:
+# https://git.savannah.gnu.org/cgit/config.git/tree/config.guess
+# It has the following form, which is not documented anywhere:
+# <cpu>-<vendor>-<os>[<version>][-<abi>]
AC_CANONICAL_HOST
AC_MSG_CHECKING([for the canonical Nix system name])