[zaptel-commits] tzafrir: branch 1.4 r2170 - /branches/1.4/xpp/utils/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Sat Feb 17 10:15:23 MST 2007


Author: tzafrir
Date: Sat Feb 17 11:15:23 2007
New Revision: 2170

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2170
Log:
xpp/utils: Use autoconf's test for libusb.

Modified:
    branches/1.4/xpp/utils/Makefile

Modified: branches/1.4/xpp/utils/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/xpp/utils/Makefile?view=diff&rev=2170&r1=2169&r2=2170
==============================================================================
--- branches/1.4/xpp/utils/Makefile (original)
+++ branches/1.4/xpp/utils/Makefile Sat Feb 17 11:15:23 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