mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
* Use a system name that does not include the OS manufacturer (i.e.,
"i686-linux" instead of "i686-suse-linux").
This commit is contained in:
parent
dc05f29cf6
commit
5d2b424804
7 changed files with 15 additions and 7 deletions
|
@ -14,6 +14,14 @@ AC_PREFIX_DEFAULT(/nix)
|
|||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
# Construct a Nix system name (like "i686-linux").
|
||||
AC_MSG_CHECKING([for the canonical Nix system name])
|
||||
machine_name=`uname -m`
|
||||
sys_name=`uname -s | tr [A-Z] [a-z]`
|
||||
system="${machine_name}-${sys_name}"
|
||||
AC_MSG_RESULT($system)
|
||||
AC_SUBST(system)
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_PROG_RANLIB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue