Skip to contentSkip to conversation

[7104] Probe via #define check for OpenBSD and *Solaris

Qemu-devel Blue Swirl 1 participant 1 message Apr 13, 2009

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 7104

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7104
Author:   blueswir1
Date:     2009-04-13 17:19:26 +0000 (Mon, 13 Apr 2009)

Log Message:
-----------
Probe via #define check for OpenBSD and *Solaris

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +4 -0
@@ -197,6 +197,10 @@
   targetos="Linux"
 elif check_define _WIN32 ; then
   targetos='MINGW32'
+elif check_define __OpenBSD__ ; then
+  targetos='OpenBSD'
+elif check_define __sun__ ; then
+  targetos='SunOS'
 else
   targetos=`uname -s`
 fi