Added warning message that's printed when libusb or its header file is not

available.
merge-requests/1/head
Henning Geinitz 2005-09-23 10:54:16 +00:00
rodzic c3a9d77397
commit f59a22e563
3 zmienionych plików z 186 dodań i 260 usunięć

Wyświetl plik

@ -3,6 +3,8 @@
* README: Mention in addition to the listed libraries, their
header files are also neccessary. A missing usb.h is a common
problem when building SANE (--> no USB support).
* configure configure.in: Added warning message that's printed
when libusb or its header file is not available.
2005-09-22 Mattias Ellert <mattias.ellert@tsl.uu.se>

432
configure vendored

Plik diff jest za duży Load Diff

Wyświetl plik

@ -566,6 +566,18 @@ if test "$SELECTED_BACKENDS" != "" ; then
echo "*** connected to your local computer won't be supported. Only a network"
echo "*** connection to a remote host is possible."
fi
if test "$HAVE_LIBUSB" != "yes" && test "$USE_LIBUSB" = "yes" ; then
echo "*** Warning: sane-backends will be built without libusb support. There may"
echo "*** be valid reasons to do so, e.g. if you don't use USB scanners or on"
echo "*** platforms without libusb support but generally this means that you"
echo "*** can't use USB devices with SANE. The most probable cause is that"
if test "${ac_cv_header_usb_h}" != "yes"; then
echo "*** the libusb header file usb.h is not installed. If you use Linux"
echo "*** you may need a package called 'libusb-dev', 'libusb-devel' or similar."
else
echo "*** libusb is not installed at all or is too old. See README."
fi
fi
echo "****************************************************************"
echo "* Please be sure to read file PROBLEMS in this directory *"