diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-01-10 22:18:16 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-01-10 22:18:16 +0100 |
commit | 5fedc65b0fa807bafde46b4071e9e324ef8c0ac6 (patch) | |
tree | bfb0f3336b9b0c5843c0071dd48c6eee19649528 /m4 | |
parent | 704197f4bf70609ef273bdb73331869142b58aec (diff) | |
download | patches-5fedc65b0fa807bafde46b4071e9e324ef8c0ac6.tar patches-5fedc65b0fa807bafde46b4071e9e324ef8c0ac6.tar.gz |
build: Print the Guix system type.
* m4/guix.m4 (GUIX_SYSTEM_TYPE): Print the system type.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/guix.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/guix.m4 b/m4/guix.m4 index 6c7d5e0127..6cf1b01c90 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 @@ -1,5 +1,5 @@ dnl GNU Guix --- Functional package management for GNU -dnl Copyright © 2012 Ludovic Courtès <ludo@gnu.org> +dnl Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> dnl dnl This file is part of GNU Guix. dnl @@ -61,5 +61,9 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [ # `darwin10.2.0', etc. guix_system="$machine_name-`echo $host_os | "$SED" -e's/@<:@0-9.@:>@*$//g'`";; esac]) + + AC_MSG_CHECKING([for the Guix system type]) + AC_MSG_RESULT([$guix_system]) + AC_SUBST([guix_system]) ]) |