summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-19 02:25:50 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-19 02:25:50 +0000
commita724e48f793a8ec4f7a60386ae5b2b69bf230034 (patch)
tree9153dad375b98ec5c6fc42b5dbaa40073c6590a3
parent50d67e791be569f67b39362d5862f158212b3663 (diff)
downloadbcm5719-llvm-a724e48f793a8ec4f7a60386ae5b2b69bf230034.tar.gz
bcm5719-llvm-a724e48f793a8ec4f7a60386ae5b2b69bf230034.zip
autoconf config.* claims to not know about auroraux triple.
llvm-svn: 89301
-rwxr-xr-xllvm/autoconf/config.guess4
-rwxr-xr-xllvm/autoconf/config.sub5
2 files changed, 8 insertions, 1 deletions
diff --git a/llvm/autoconf/config.guess b/llvm/autoconf/config.guess
index e792aac6080..865fe53d6b1 100755
--- a/llvm/autoconf/config.guess
+++ b/llvm/autoconf/config.guess
@@ -333,6 +333,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ AUX_ARCH="i386"
+ echo ${AUX_ARCH}-pc-auroraux`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
eval $set_cc_for_build
SUN_ARCH="i386"
diff --git a/llvm/autoconf/config.sub b/llvm/autoconf/config.sub
index 8ca084bf334..183976a066a 100755
--- a/llvm/autoconf/config.sub
+++ b/llvm/autoconf/config.sub
@@ -1256,6 +1256,9 @@ case $os in
-solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
+ -auroraux)
+ os=-auroraux
+ ;;
-solaris)
os=-solaris2
;;
@@ -1274,7 +1277,7 @@ case $os in
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* | -sym* \
| -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
OpenPOWER on IntegriCloud