diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2015-04-19 12:44:05 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2015-04-19 12:44:05 (GMT) |
commit | 5cc9c4fdf718eff310b2a4ad0dbb17f61990bfed (patch) | |
tree | a681f720fc69375b2c9412e4092dc2d7a9af2011 | |
parent | 662738980ae1c328d5a623d8632af6eedda0c5ba (diff) | |
download | cpython-5cc9c4fdf718eff310b2a4ad0dbb17f61990bfed.zip cpython-5cc9c4fdf718eff310b2a4ad0dbb17f61990bfed.tar.gz cpython-5cc9c4fdf718eff310b2a4ad0dbb17f61990bfed.tar.bz2 |
- #22980: fix triplet configure test for more targets
-rwxr-xr-x | configure | 7 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 14 insertions, 0 deletions
@@ -5069,9 +5069,16 @@ MULTIARCH=$($CC --print-multiarch 2>/dev/null) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5 $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; } cat >> conftest.c <<EOF +#undef bfin +#undef cris +#undef fr30 #undef linux +#undef hppa +#undef hpux #undef i386 +#undef mips #undef powerpc +#undef sparc #undef unix #if defined(__linux__) # if defined(__x86_64__) && defined(__LP64__) diff --git a/configure.ac b/configure.ac index 73a0a2f..9b12dbf 100644 --- a/configure.ac +++ b/configure.ac @@ -728,9 +728,16 @@ AC_SUBST(MULTIARCH) AC_MSG_CHECKING([for the platform triplet based on compiler characteristics]) cat >> conftest.c <<EOF +#undef bfin +#undef cris +#undef fr30 #undef linux +#undef hppa +#undef hpux #undef i386 +#undef mips #undef powerpc +#undef sparc #undef unix #if defined(__linux__) # if defined(__x86_64__) && defined(__LP64__) |