[zaptel-commits] tzafrir: trunk r2171 - /trunk/xpp/utils/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Sat Feb 17 10:20:42 MST 2007


Author: tzafrir
Date: Sat Feb 17 11:20:41 2007
New Revision: 2171

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2171
Log:
xpp/utils: Do use autoconf's detection of libusb.
(from changeset 2170)

Modified:
    trunk/xpp/utils/Makefile

Modified: trunk/xpp/utils/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/xpp/utils/Makefile?view=diff&rev=2171&r1=2170&r2=2171
==============================================================================
--- trunk/xpp/utils/Makefile (original)
+++ trunk/xpp/utils/Makefile Sat Feb 17 11:20:41 2007
@@ -35,7 +35,6 @@
 # Variables that should be defined above, but need sane defaults:
 # FIXME: Are those values really sane?
 HOSTCC		?= $(CC)
-CONFIG_USB	?= y
 ZAPTEL_DIR	?= ../..
 
 WCTDM=$(ZAPTEL_DIR)/wctdm.c
@@ -45,7 +44,7 @@
 TARGETS	= init_fxo_modes print_modes adj_clock
 PROG_INSTALL	= genzaptelconf adj_clock
 MAN_INSTALL	= genzaptelconf.8 adj_clock.8
-ifneq	(,$(filter y m,$(CONFIG_USB)))
+ifeq	(1,$(PBX_LIBUSB))
 TARGETS	+= libhexfile.a fpga_load test_parse
 PROG_INSTALL	+= fpga_load
 MAN_INSTALL	+= fpga_load.8



More information about the zaptel-commits mailing list