From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manolis Ragkousis Subject: [PATCH] build: Correctly determine the system type for GNU/Hurd systems. Date: Fri, 17 Jun 2016 22:04:10 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------D54D6F506878ECBB7CD7B70B" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDz3z-0007uf-2Q for guix-devel@gnu.org; Fri, 17 Jun 2016 15:04:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDz3y-00041Z-3N for guix-devel@gnu.org; Fri, 17 Jun 2016 15:04:19 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------D54D6F506878ECBB7CD7B70B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hello everyone, With this patch, anyone wanting to use Guix on his Hurd system will no longer need to pass the system type to configure. If it's okay I will push it to core-updates. Thank you, Manolis --------------D54D6F506878ECBB7CD7B70B Content-Type: text/x-patch; name="0001-build-Correctly-determine-the-system-type-for-GNU-Hu.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename*0="0001-build-Correctly-determine-the-system-type-for-GNU-Hu.pa"; filename*1="tch" =46rom b4aae91b25930b8f5cdb8af802e480eca8caf12e Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Sat, 26 Mar 2016 16:53:40 +0200 Subject: [PATCH] build: Correctly determine the system type for GNU/Hurd systems. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add case for gnu. --- m4/guix.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/guix.m4 b/m4/guix.m4 index 2d3dfd2..3396e05 100644 --- a/m4/guix.m4 +++ b/m4/guix.m4 @@ -74,6 +74,9 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [ linux-gnu*) # For backward compatibility, strip the `-gnu' part. guix_system=3D"$machine_name-linux";; + gnu*) + # When on Hurd, use i586 always. + guix_system=3D"i586-gnu";; *) # Strip the version number from names such as `gnu0.3', # `darwin10.2.0', etc. --=20 2.8.3 --------------D54D6F506878ECBB7CD7B70B--