diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 4342 . +# From configure.ac Revision: 4361 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # @@ -4722,14 +4722,14 @@ if test "x${PBX_USB}" != "x1" -a "${USE_USB}" != "no"; then if test "x${pbxfuncname}" = "x" ; then # empty lib, assume only headers AST_USB_FOUND=yes else - as_ac_Lib=`echo "ac_cv_lib_libusb_${pbxfuncname}" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for ${pbxfuncname} in -llibusb" >&5 -echo $ECHO_N "checking for ${pbxfuncname} in -llibusb... $ECHO_C" >&6; } + as_ac_Lib=`echo "ac_cv_lib_usb_${pbxfuncname}" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for ${pbxfuncname} in -lusb" >&5 +echo $ECHO_N "checking for ${pbxfuncname} in -lusb... $ECHO_C" >&6; } if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-llibusb ${pbxlibdir} $LIBS" +LIBS="-lusb ${pbxlibdir} $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -4795,7 +4795,7 @@ fi # now check for the header. if test "${AST_USB_FOUND}" = "yes"; then - USB_LIB="${pbxlibdir} -llibusb " + USB_LIB="${pbxlibdir} -lusb " # if --with-USB=DIR has been specified, use it. if test "x${USB_DIR}" != "x"; then USB_INCLUDE="-I${USB_DIR}/include" |