Revision 17bff52b configure
b/configure | ||
---|---|---|
1967 | 1967 |
fi |
1968 | 1968 |
|
1969 | 1969 |
########################################## |
1970 |
# libcap probe |
|
1971 |
|
|
1972 |
if test "$cap" != "no" ; then |
|
1973 |
cat > $TMPC <<EOF |
|
1974 |
#include <stdio.h> |
|
1975 |
#include <sys/capability.h> |
|
1976 |
int main(void) { cap_t caps; caps = cap_init(); } |
|
1977 |
EOF |
|
1978 |
if compile_prog "" "-lcap" ; then |
|
1979 |
cap=yes |
|
1980 |
else |
|
1981 |
cap=no |
|
1982 |
fi |
|
1983 |
fi |
|
1984 |
|
|
1985 |
########################################## |
|
1970 | 1986 |
# pthread probe |
1971 | 1987 |
PTHREADLIBS_LIST="-pthread -lpthread -lpthreadGC2" |
1972 | 1988 |
|
... | ... | |
2767 | 2783 |
tools= |
2768 | 2784 |
if test "$softmmu" = yes ; then |
2769 | 2785 |
tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools" |
2786 |
if [ "$cap" = "yes" -a "$linux" = "yes" ] ; then |
|
2787 |
tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)" |
|
2788 |
fi |
|
2770 | 2789 |
if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then |
2771 | 2790 |
tools="qemu-nbd\$(EXESUF) $tools" |
2772 | 2791 |
if [ "$guest_agent" = "yes" ]; then |
Also available in: Unified diff