Revision 7d3505c5 configure

b/configure
79 79
MINGW32*)
80 80
mingw32="yes"
81 81
;;
82
FreeBSD)
83
bsd="yes"
84
;;
85
NetBSD)
86
bsd="yes"
87
;;
88
OpenBSD)
89
bsd="yes"
90
;;
82 91
*) ;;
83 92
esac
84 93

  
94
if [ "$bsd" = "yes" ] ; then
95
  make="gmake"
96
  target_list="i386-softmmu"
97
fi
98

  
85 99
# find source path
86 100
# XXX: we assume an absolute path is given when launching configure, 
87 101
# except in './configure' case.
......
373 387
if test "$mingw32" = "yes" ; then
374 388
  echo "CONFIG_WIN32=yes" >> $config_mak
375 389
  echo "#define CONFIG_WIN32 1" >> $config_h
376
else
390
elif test -f "/usr/include/byteswap.h" ; then
377 391
  echo "#define HAVE_BYTESWAP_H 1" >> $config_h
378 392
fi
379 393
if test "$gdbstub" = "yes" ; then
......
402 416
echo "SRC_PATH=$source_path" >> $config_mak
403 417
echo "TARGET_DIRS=$target_list" >> $config_mak
404 418

  
419
if [ "$bsd" = "yes" ] ; then
420
  echo "#define _BSD 1" >> $config_h
421
fi
422

  
405 423
for target in $target_list; do 
406 424

  
407 425
target_dir="$target"

Also available in: Unified diff