From 365ea7edee20f17a8812b157ad53ec2219b68071 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Thu, 22 Feb 2018 13:50:09 +1100 Subject: [PATCH] Reported by Nelson H. F. Beebe: * config.sub (os): Recognise midnightbsd*. * testsuite/config-sub.data: Add a test case. --- ChangeLog | 6 ++++++ config.sub | 5 +++-- testsuite/config-sub.data | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4ee237c..842aed6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-02-22 Ben Elliston + + Reported by Nelson H. F. Beebe: + * config.sub (os): Recognise midnightbsd*. + * testsuite/config-sub.data: Add a test case. + 2018-01-26 Henri Menke * config.guess: Try to detect musl libc on GNU/Linux systems using diff --git a/config.sub b/config.sub index 818892c..1d8e98b 100755 --- a/config.sub +++ b/config.sub @@ -2,7 +2,7 @@ # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-01-15' +timestamp='2018-02-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1389,7 +1389,8 @@ case $os in | -morphos* | -superux* | -rtmk* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ - | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme*) + | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ + | -midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 72f8255..39f85fe 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -33,6 +33,7 @@ altos m68k-altos-sysv am33_2.0 am33_2.0-unknown-none amd64-cygwin x86_64-pc-cygwin amd64-kfreebsd5.4-gnu x86_64-pc-kfreebsd5.4-gnu +amd64-midnightbsd0.7 x86_64-pc-midnightbsd0.7 amd64-onefs x86_64-pc-onefs amd64-unknown-freebsd5.2 x86_64-unknown-freebsd5.2 amd64 x86_64-pc-none