Revision 69354a83 configure
b/configure | ||
---|---|---|
177 | 177 |
rbd="" |
178 | 178 |
smartcard="" |
179 | 179 |
smartcard_nss="" |
180 |
usb_redir="" |
|
180 | 181 |
opengl="" |
181 | 182 |
|
182 | 183 |
# parse CC options first |
... | ... | |
743 | 744 |
;; |
744 | 745 |
--enable-smartcard-nss) smartcard_nss="yes" |
745 | 746 |
;; |
747 |
--disable-usb-redir) usb_redir="no" |
|
748 |
;; |
|
749 |
--enable-usb-redir) usb_redir="yes" |
|
750 |
;; |
|
746 | 751 |
*) echo "ERROR: unknown option $opt"; show_help="yes" |
747 | 752 |
;; |
748 | 753 |
esac |
... | ... | |
1018 | 1023 |
echo " --enable-smartcard enable smartcard support" |
1019 | 1024 |
echo " --disable-smartcard-nss disable smartcard nss support" |
1020 | 1025 |
echo " --enable-smartcard-nss enable smartcard nss support" |
1026 |
echo " --disable-usb-redir disable usb network redirection support" |
|
1027 |
echo " --enable-usb-redir enable usb network redirection support" |
|
1021 | 1028 |
echo "" |
1022 | 1029 |
echo "NOTE: The object files are built at the place where configure is launched" |
1023 | 1030 |
exit 1 |
... | ... | |
2371 | 2378 |
smartcard_nss="no" |
2372 | 2379 |
fi |
2373 | 2380 |
|
2381 |
# check for usbredirparser for usb network redirection support |
|
2382 |
if test "$usb_redir" != "no" ; then |
|
2383 |
if $pkg_config libusbredirparser >/dev/null 2>&1 ; then |
|
2384 |
usb_redir="yes" |
|
2385 |
usb_redir_cflags=$($pkg_config --cflags libusbredirparser 2>/dev/null) |
|
2386 |
usb_redir_libs=$($pkg_config --libs libusbredirparser 2>/dev/null) |
|
2387 |
QEMU_CFLAGS="$QEMU_CFLAGS $usb_redir_cflags" |
|
2388 |
LIBS="$LIBS $usb_redir_libs" |
|
2389 |
else |
|
2390 |
if test "$usb_redir" = "yes"; then |
|
2391 |
feature_not_found "usb-redir" |
|
2392 |
fi |
|
2393 |
usb_redir="no" |
|
2394 |
fi |
|
2395 |
fi |
|
2396 |
|
|
2374 | 2397 |
########################################## |
2375 | 2398 |
|
2376 | 2399 |
########################################## |
... | ... | |
2617 | 2640 |
echo "rbd support $rbd" |
2618 | 2641 |
echo "xfsctl support $xfs" |
2619 | 2642 |
echo "nss used $smartcard_nss" |
2643 |
echo "usb net redir $usb_redir" |
|
2620 | 2644 |
echo "OpenGL support $opengl" |
2621 | 2645 |
|
2622 | 2646 |
if test $sdl_too_old = "yes"; then |
... | ... | |
2910 | 2934 |
echo "CONFIG_SMARTCARD_NSS=y" >> $config_host_mak |
2911 | 2935 |
fi |
2912 | 2936 |
|
2937 |
if test "$usb_redir" = "yes" ; then |
|
2938 |
echo "CONFIG_USB_REDIR=y" >> $config_host_mak |
|
2939 |
fi |
|
2940 |
|
|
2913 | 2941 |
if test "$opengl" = "yes" ; then |
2914 | 2942 |
echo "CONFIG_OPENGL=y" >> $config_host_mak |
2915 | 2943 |
fi |
Also available in: Unified diff