1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 22:33:57 +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:
Eelco Dolstra 2003-12-01 14:36:50 +00:00
parent dc05f29cf6
commit 5d2b424804
7 changed files with 15 additions and 7 deletions

View file

@ -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