* config.guess (Linux|GNU|GNU/*): Strip extraneous whitespace

inserted by the preprocessor (eg, pgcc -E).

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Urs Janssen 2014-02-12 22:13:37 +11:00 committed by Ben Elliston
parent 26c2790a61
commit 6947a35648
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-02-12 Urs Janssen <urs@akk.org>
* config.guess (Linux|GNU|GNU/*): Strip extraneous whitespace
inserted by the preprocessor (eg, pgcc -E).
2014-01-25 Ben Elliston <bje@gnu.org>
* config.guess: Remove check for /usr/apollo directory.

4
config.guess vendored
View File

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