aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-12-23 15:34:04 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-12-23 15:34:04 +0000
commit2bff4b6fbecf87f91bce64ad99e94540ed9f9f51 (patch)
tree3a980a2e49373949081347cf0dc4a4af350211a6 /configure
parent59d1c1c2d774cccb0a88ff73501f97bea190c154 (diff)
downloadqemu-2bff4b6fbecf87f91bce64ad99e94540ed9f9f51.zip
qemu-2bff4b6fbecf87f91bce64ad99e94540ed9f9f51.tar.gz
qemu-2bff4b6fbecf87f91bce64ad99e94540ed9f9f51.tar.bz2
Compile qemu-nbd also on OpenBSD and Solaris
basename() needs #include <libgen.h>. No prototype for daemon() is available on Solaris, but link succeeds. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d815c7a..18aed43 100755
--- a/configure
+++ b/configure
@@ -2141,7 +2141,7 @@ esac
tools=
if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
- if [ "$linux" = "yes" ] ; then
+ if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
tools="qemu-nbd\$(EXESUF) $tools"
if [ "$check_utests" = "yes" ]; then
tools="check-qint check-qstring check-qdict check-qlist $tools"