Revision 179cf400 configure

b/configure
319 319
mixemu="no"
320 320
kerneldir=""
321 321
aix="no"
322
haiku="no"
322 323
blobs="yes"
323 324
pkgversion=""
324 325
check_utests="no"
......
336 337
  targetos='OpenBSD'
337 338
elif check_define __sun__ ; then
338 339
  targetos='SunOS'
340
elif check_define __HAIKU__ ; then
341
  targetos='Haiku'
339 342
else
340 343
  targetos=`uname -s`
341 344
fi
......
451 454
  aix="yes"
452 455
  make="gmake"
453 456
;;
457
Haiku)
458
  haiku="yes"
459
  QEMU_CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS $QEMU_CFLAGS"
460
  LIBS="-lposix_error_mapper -lnetwork $LIBS"
461
;;
454 462
*)
455 463
  audio_drv_list="oss"
456 464
  audio_possible_drivers="oss alsa sdl esd pa"
......
2030 2038
fi
2031 2039

  
2032 2040
if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \
2033
        "$aix" != "yes" ; then
2041
        "$aix" != "yes" -a "$haiku" != "yes" ; then
2034 2042
    libs_softmmu="-lutil $libs_softmmu"
2035 2043
fi
2036 2044

  
......
2353 2361
    echo "CONFIG_NEEDS_LIBSUNMATH=y" >> $config_host_mak
2354 2362
  fi
2355 2363
fi
2364
if test "$haiku" = "yes" ; then
2365
  echo "CONFIG_HAIKU=y" >> $config_host_mak
2366
fi
2356 2367
if test "$static" = "yes" ; then
2357 2368
  echo "CONFIG_STATIC=y" >> $config_host_mak
2358 2369
fi

Also available in: Unified diff