aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-10 22:18:16 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-10 22:18:16 +0100
commit5fedc65b0fa807bafde46b4071e9e324ef8c0ac6 (patch)
treebfb0f3336b9b0c5843c0071dd48c6eee19649528 /m4
parent704197f4bf70609ef273bdb73331869142b58aec (diff)
downloadguix-5fedc65b0fa807bafde46b4071e9e324ef8c0ac6.tar.gz
guix-5fedc65b0fa807bafde46b4071e9e324ef8c0ac6.zip
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.m46
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])
])