From 6947a35648e577c2e3a12d5c88d488c6ea94e1c0 Mon Sep 17 00:00:00 2001 From: Urs Janssen Date: Wed, 12 Feb 2014 22:13:37 +1100 Subject: [PATCH] * config.guess (Linux|GNU|GNU/*): Strip extraneous whitespace inserted by the preprocessor (eg, pgcc -E). Signed-off-by: Ben Elliston --- ChangeLog | 5 +++++ config.guess | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e2501f..bac2206 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-12 Urs Janssen + + * config.guess (Linux|GNU|GNU/*): Strip extraneous whitespace + inserted by the preprocessor (eg, pgcc -E). + 2014-01-25 Ben Elliston * config.guess: Remove check for /usr/apollo directory. diff --git a/config.guess b/config.guess index 92fe65f..72625d4 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2014 Free Software Foundation, Inc. -timestamp='2014-01-25' +timestamp='2014-02-12' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -149,7 +149,7 @@ Linux|GNU|GNU/*) LIBC=gnu #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` ;; esac