--- configure.orig Sat Dec 18 09:56:14 2004 +++ configure Sat Dec 18 18:43:28 2004 @@ -2922,51 +2922,8 @@ echo "$ac_t""no" 1>&6 fi - echo $ac_n "checking for hid_init in -lusb""... $ac_c" 1>&6 -echo "configure:2927: checking for hid_init in -lusb" >&5 -ac_lib_var=`echo usb'_'hid_init | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lusb $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - have_libusb=yes -else - echo "$ac_t""no" 1>&6 -fi - if test x$have_libusbhid = xyes; then SYSTEM_LIBS="$SYSTEM_LIBS -lusbhid" - fi - if test x$have_libusb = xyes; then - SYSTEM_LIBS="$SYSTEM_LIBS -lusb" fi ac_safe=`echo "usb.h" | sed 'y%./+-%__p_%'`