Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ed8a2c3a
Commit
ed8a2c3a
authored
Jun 05, 1996
by
Per Bothner
Browse files
* config.guess: Combine mips-mips-riscos cases, and use cpp to
distinguish sysv/svr4/bsd variants.
parent
7e797bdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
config.guess
config.guess
+21
-5
No files found.
config.guess
View file @
ed8a2c3a
...
...
@@ -116,11 +116,27 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
VAX
*
:ULTRIX
*
:
*
:
*
)
echo
vax-dec-ultrix
${
UNAME_RELEASE
}
exit
0
;;
mips:
*
:4
*
:UMIPS
)
echo
mips-mips-riscos4sysv
exit
0
;;
mips:
*
:5
*
:RISCos
)
echo
mips-mips-riscos
${
UNAME_RELEASE
}
mips:
*
:
*
:UMIPS
|
mips:
*
:
*
:RISCos
)
sed
's/^ //'
<<
EOF
>dummy.c
int main (argc, argv) int argc; char **argv; {
#if defined (host_mips) && defined (MIPSEB)
#if defined (SYSTYPE_SYSV)
printf ("mips-mips-riscos%ssysv
\n
", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_SVR4)
printf ("mips-mips-riscos%ssvr4
\n
", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
printf ("mips-mips-riscos%sbsd
\n
", argv[1]); exit (0);
#endif
#endif
exit (-1);
}
EOF
${
CC
-cc
}
dummy.c
-o
dummy
&&
./dummy
"
${
UNAME_RELEASE
}
"
\
&&
rm
dummy.c dummy
&&
exit
0
rm
-f
dummy.c dummy
echo
mips-mips-riscos
{
UNAME_RELEASE
}
exit
0
;;
Night_Hawk:Power_UNIX:
*
:
*
)
echo
powerpc-harris-powerunix
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment