#
# Conditional build:
-%bcond_without gphoto # gphoto backend (which requires libgphoto2)
-%bcond_without lpt # parallel port backends (which require libieee1284)
-%bcond_with avahi # Avahi support for saned and net backend
+%bcond_without gphoto # gphoto backend (which requires libgphoto2)
+%bcond_without lpt # parallel port backends (which require libieee1284)
+%bcond_with avahi # Avahi support for saned and net backend
+%bcond_without libusb10 # libusb-1.0 support
#
Summary: SANE - easy local and networked scanner access
Summary(es.UTF-8): SANE - acceso a scanners en red y locales
%{__automake}
%configure \
%{?with_avahi:--enable-avahi} \
- --enable-libusb_1_0 \
+ %{?with_libusb10:--enable-libusb_1_0} \
--enable-pnm-backend \
--enable-pthread \
--enable-static \