mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-29 10:36:37 +12:00
* config.guess: Don't use semicolons to separate sed commands, as
POSIX says it's not portable. Noted by Paul Eggert <eggert@cs.ucla.edu>.
This commit is contained in:
parent
61a207f1c6
commit
862e704b14
@ -1,3 +1,9 @@
|
||||
2006-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* config.guess: Don't use semicolons to separate sed commands, as
|
||||
POSIX says it's not portable.
|
||||
Noted by Paul Eggert <eggert@cs.ucla.edu>.
|
||||
|
||||
2006-01-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* config.guess (set_cc_for_build): Do not pass `-q' to mktemp.
|
||||
|
18
config.guess
vendored
18
config.guess
vendored
@ -859,7 +859,11 @@ EOF
|
||||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^CPU/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||
;;
|
||||
mips64:Linux:*:*)
|
||||
@ -878,7 +882,11 @@ EOF
|
||||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`"
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^CPU/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||
;;
|
||||
or32:Linux:*:*)
|
||||
@ -985,7 +993,11 @@ EOF
|
||||
LIBC=dietlibc
|
||||
#endif
|
||||
EOF
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`"
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^LIBC/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${LIBC}" != x && {
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||
exit
|
||||
|
Loading…
x
Reference in New Issue
Block a user