configure.ac: remove unused PKG_CONFIG_LIBUSB
authorOron Peled <oron.peled@xorcom.com>
Sun, 13 Dec 2015 13:41:11 +0000 (15:41 +0200)
committerRuss Meyerriecks <rmeyerriecks@digium.com>
Tue, 22 Dec 2015 17:24:52 +0000 (11:24 -0600)
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>

configure.ac

index 9dc008a..ee06287 100644 (file)
@@ -199,7 +199,6 @@ AS_IF([test "$with_libusbx" != "no"],
                [AC_CHECK_LIB([usb-1.0], [libusb_error_name],
                        [
                                have_libusbx="yes"
-                               AC_SUBST([PKG_CONFIG_LIBUSB], [libusb-1.0])
                                AC_DEFINE([HAVE_LIBUSBX], [1], [Define to 1 if you have <libusb.h>.])
                                AC_SUBST([PBX_USB], [1])
                        ], [
@@ -225,7 +224,6 @@ AS_IF([test "$with_libusb" != "no"],
                        PKG_CHECK_MODULES([LIBUSB], [libusb],
                                [
                                        have_libusb="yes"
-                                       AC_SUBST([PKG_CONFIG_LIBUSB], [libusb])
                                        AC_SUBST([PBX_USB], [1])
                                ]
                                [AC_DEFINE([HAVE_LIBUSB], [1], [Define to 1 if you have <usb.h>.])],