forked from Imagelibrary/binutils-gdb
* config.guess: Make BSDI generate i386-unknown-bsd386.
Patch from Paul Eggert <eggert@twinsun.com>.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
Mon Mar 28 14:55:15 1994 Per Bothner (bothner@kalessin.cygnus.com)
|
||||||
|
|
||||||
|
* config.guess: Make BSDI generate i386-unknown-bsd386.
|
||||||
|
Patch from Paul Eggert <eggert@twinsun.com>.
|
||||||
|
|
||||||
Mon Mar 28 12:54:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
Mon Mar 28 12:54:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
* configure.in (powerpc-*-aix*): Treat like rs6000-*-*.
|
* configure.in (powerpc-*-aix*): Treat like rs6000-*-*.
|
||||||
|
|||||||
11
config.guess
vendored
11
config.guess
vendored
@@ -133,6 +133,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
main ()
|
main ()
|
||||||
{
|
{
|
||||||
long cpu = sysconf (_SC_CPU_VERSION);
|
long cpu = sysconf (_SC_CPU_VERSION);
|
||||||
|
/* The order matters, because CPU_IS_HP_MC68K erroneously returns
|
||||||
|
true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
|
||||||
|
results, however. */
|
||||||
if (CPU_IS_PA_RISC (cpu))
|
if (CPU_IS_PA_RISC (cpu))
|
||||||
{
|
{
|
||||||
switch (cpu)
|
switch (cpu)
|
||||||
@@ -143,7 +146,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
default: puts ("hppa-hitachi-hiuxwe2"); break;
|
default: puts ("hppa-hitachi-hiuxwe2"); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (CPU_IS_HP_MC68K (cpu))
|
else if (CPU_IS_HP_MC68K (cpu))
|
||||||
puts ("m68k-hitachi-hiuxwe2");
|
puts ("m68k-hitachi-hiuxwe2");
|
||||||
else puts ("unknown-hitachi-hiuxwe2");
|
else puts ("unknown-hitachi-hiuxwe2");
|
||||||
exit (0);
|
exit (0);
|
||||||
@@ -279,9 +282,13 @@ main()
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__386BSD__) || (defined(__bsdi__) && defined(__i386__))
|
#if defined(__bsdi__) && defined(__i386__)
|
||||||
|
printf("i386-unknown-bsd386\n"); exit(0);
|
||||||
|
#else
|
||||||
|
#if defined(__386BSD__)
|
||||||
printf("i386-unknown-bsd\n"); exit(0);
|
printf("i386-unknown-bsd\n"); exit(0);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(sequent)
|
#if defined(sequent)
|
||||||
#if defined(i386)
|
#if defined(i386)
|
||||||
|
|||||||
Reference in New Issue
Block a user