summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-06-17 16:37:45 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-06-17 16:37:45 +0000
commit91d0a6d645e95755c4ae0f0a13919eeb213f6606 (patch)
tree0e641c7a510b38ef98488034a58c4bb844f8f90d /configure
parentf7f65478b89f314b854566f8daa8f5d54db73f57 (diff)
* Fix names of libraries: dahdi_tool builds.
* Honor --with-dahdi=custom/path git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4369 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 8735ecc..d22bc3e 100755
--- a/configure
+++ b/configure
@@ -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"