[vbox-dev] NetBSD patch 0003: Start to recognize NetBSD in configure

Kamil Rytarowski n54 at gmx.com
Sun Jul 10 23:03:56 GMT 2016


Start to recognize NetBSD in configure

Open Watcom compiler name is unknown on NetBSD.
NetBSD is a supported target in PulseAudio.
Other options/features for NetBSD will be enabled later.

This patch is MIT-licensed.

Author: Kamil Rytarowski
-------------- next part --------------
Start to recognize NetBSD in configure

Open Watcom compiler name is unknown on NetBSD.
NetBSD is a supported target in PulseAudio.
Other options/features for NetBSD will be enabled later.

This patch is MIT-licensed.

Author: Kamil Rytarowski

Index: configure
===================================================================
--- configure	(wersja 62125)
+++ configure	(kopia robocza)
@@ -51,6 +51,8 @@
     ;;
   freebsd)
     ;;
+  netbsd)
+    ;;
   sunos)
     OS='solaris'
     ;;
@@ -539,6 +541,7 @@
     "dos")      wc_bin="binw";;
     "freebsd")  wc_bin="binfbsd";; # ??
     "linux")    wc_bin="binl";;
+    "netbsd")   wc_bin="binnbsd";; # ??
     "solaris")  wc_bin="binsol";;  # ??
     "os2")      wc_bin="binp";;
     "win")      wc_bin="binnt";;
@@ -2939,7 +2942,7 @@
   [ $WITH_JAVA   -eq 1 ] && check_java
 
   # PulseAudio
-  if [ "$OS" = "linux" -o "$OS" = "freebsd" ]; then
+  if [ "$OS" = "linux" -o "$OS" = "freebsd" -o "$OS" = "netbsd" ]; then
     if [ $WITH_PULSE -eq 1 ]; then
       check_pulse
     elif [ $WITH_PULSE -eq 0 ]; then
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160711/9cbb9195/attachment.sig>


More information about the vbox-dev mailing list