Revision 36707144 configure

b/configure
175 175
trace_file="trace"
176 176
spice=""
177 177
rbd=""
178
smartcard=""
178 179

  
179 180
# parse CC options first
180 181
for opt do
......
724 725
  ;;
725 726
  --enable-rbd) rbd="yes"
726 727
  ;;
728
  --disable-smartcard) smartcard="no"
729
  ;;
730
  --enable-smartcard) smartcard="yes"
731
  ;;
727 732
  *) echo "ERROR: unknown option $opt"; show_help="yes"
728 733
  ;;
729 734
  esac
......
921 926
echo "  --disable-spice          disable spice"
922 927
echo "  --enable-spice           enable spice"
923 928
echo "  --enable-rbd             enable building the rados block device (rbd)"
929
echo "  --disable-smartcard      disable smartcard support"
930
echo "  --enable-smartcard       enable smartcard support"
924 931
echo ""
925 932
echo "NOTE: The object files are built at the place where configure is launched"
926 933
exit 1
......
2824 2831
  echo "CONFIG_SPICE=y" >> $config_host_mak
2825 2832
fi
2826 2833

  
2834
if test "$smartcard" = "yes" ; then
2835
  echo "CONFIG_SMARTCARD=y" >> $config_host_mak
2836
fi
2837

  
2827 2838
# XXX: suppress that
2828 2839
if [ "$bsd" = "yes" ] ; then
2829 2840
  echo "CONFIG_BSD=y" >> $config_host_mak

Also available in: Unified diff