Skip to content
This repository
Browse code

Recognize OpenBSD systems correctly (from Niklas Hallqvist

<niklas@appli.se>)
  • Loading branch information...
commit e320a6d2969f3866cee47f220f5b7904c6ae9878 1 parent 0626a5d
Ian Lance Taylor authored

Showing 1 changed file with 25 additions and 7 deletions. Show diff stats Hide diff stats

  1. +25 7 config.guess
32 config.guess
@@ -68,8 +68,20 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
68 68 echo m68k-cbm-netbsd${UNAME_RELEASE}
69 69 exit 0 ;;
70 70 amiga:OpenBSD:*:*)
71   - echo m68k-cbm-openbsd${UNAME_RELEASE}
72   - exit 0 ;;
  71 + echo m68k-unknown-openbsd${UNAME_RELEASE}
  72 + exit 0 ;;
  73 + arc:OpenBSD:*:*)
  74 + echo mips64el-unknown-openbsd${UNAME_RELEASE}
  75 + exit 0 ;;
  76 + laguna:OpenBSD:*:*)
  77 + echo mips64-unknown-openbsd${UNAME_RELEASE}
  78 + exit 0 ;;
  79 + pmax:OpenBSD:*:*)
  80 + echo mips64el-unknown-openbsd${UNAME_RELEASE}
  81 + exit 0 ;;
  82 + wgrisc:OpenBSD:*:*)
  83 + echo mips64el-unknown-openbsd${UNAME_RELEASE}
  84 + exit 0 ;;
73 85 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
74 86 echo arm-acorn-riscix${UNAME_RELEASE}
75 87 exit 0;;
@@ -118,19 +130,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
118 130 echo m68k-atari-netbsd${UNAME_RELEASE}
119 131 exit 0 ;;
120 132 atari*:OpenBSD:*:*)
121   - echo m68k-atari-openbsd${UNAME_RELEASE}
  133 + echo m68k-unknown-openbsd${UNAME_RELEASE}
122 134 exit 0 ;;
123 135 sun3*:NetBSD:*:*)
124 136 echo m68k-sun-netbsd${UNAME_RELEASE}
125 137 exit 0 ;;
126 138 sun3*:OpenBSD:*:*)
127   - echo m68k-sun-openbsd${UNAME_RELEASE}
  139 + echo m68k-unknown-openbsd${UNAME_RELEASE}
128 140 exit 0 ;;
129 141 mac68k:NetBSD:*:*)
130 142 echo m68k-apple-netbsd${UNAME_RELEASE}
131 143 exit 0 ;;
132 144 mac68k:OpenBSD:*:*)
133   - echo m68k-apple-openbsd${UNAME_RELEASE}
  145 + echo m68k-unknown-openbsd${UNAME_RELEASE}
  146 + exit 0 ;;
  147 + mvme68k:OpenBSD:*:*)
  148 + echo m68k-unknown-openbsd${UNAME_RELEASE}
  149 + exit 0 ;;
  150 + mvme88k:OpenBSD:*:*)
  151 + echo m88k-unknown-openbsd${UNAME_RELEASE}
134 152 exit 0 ;;
135 153 powerpc:machten:*:*)
136 154 echo powerpc-apple-machten${UNAME_RELEASE}
@@ -378,8 +396,8 @@ EOF
378 396 hp3[0-9][05]:NetBSD:*:*)
379 397 echo m68k-hp-netbsd${UNAME_RELEASE}
380 398 exit 0 ;;
381   - hp3[0-9][05]:OpenBSD:*:*)
382   - echo m68k-hp-openbsd${UNAME_RELEASE}
  399 + hp300:OpenBSD:*:*)
  400 + echo m68k-unknown-openbsd${UNAME_RELEASE}
383 401 exit 0 ;;
384 402 i?86:BSD/386:*:* | *:BSD/OS:*:*)
385 403 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}

0 comments on commit e320a6d

Please sign in to comment.
Something went wrong with that request. Please try again.