move USL C detection to after GCC detection, apparently the latter

masquerades as the former on SCO systems
This commit is contained in:
tg 2012-03-28 11:15:04 +00:00
parent df8881b9c8
commit 25745883a9
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.523 2012/03/28 11:14:20 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.524 2012/03/28 11:15:04 tg Exp $'
#- #-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 # 2011, 2012
@ -703,8 +703,6 @@ ct=pgi
ct=dmc ct=dmc
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
ct=msc ct=msc
#elif defined(__USLC__)
ct=uslc
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) #elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
ct=adsp ct=adsp
#elif defined(__IAR_SYSTEMS_ICC__) #elif defined(__IAR_SYSTEMS_ICC__)
@ -731,6 +729,8 @@ ct=mipspro
ct=hpcc ct=hpcc
#elif defined(__ultrix) #elif defined(__ultrix)
ct=ucode ct=ucode
#elif defined(__USLC__)
ct=uslc
#else #else
ct=unknown ct=unknown
#endif #endif
@ -1339,7 +1339,7 @@ else
#define EXTERN #define EXTERN
#define MKSH_INCLUDES_ONLY #define MKSH_INCLUDES_ONLY
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.523 2012/03/28 11:14:20 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.524 2012/03/28 11:15:04 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); } int main(void) { printf("Hello, World!\n"); return (0); }
EOF EOF
case $cm in case $cm in