From 493a35c0e0d1c0ca44250f0fc35ed28bf6a0795e Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 20 Aug 2006 02:14:05 +0000 Subject: Install cups backend only when enabled --- bootstrap-configure | 1 + cups/Makefile.am | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap-configure b/bootstrap-configure index 29b326ee..01db02a1 100755 --- a/bootstrap-configure +++ b/bootstrap-configure @@ -13,5 +13,6 @@ fi --localstatedir=/var \ --libexecdir=/lib \ --enable-all \ + --disable-cups \ --disable-initscripts \ --disable-pcmciarules diff --git a/cups/Makefile.am b/cups/Makefile.am index 0d97b41e..3cb331c7 100644 --- a/cups/Makefile.am +++ b/cups/Makefile.am @@ -1,13 +1,15 @@ -if CUPS cupsdir = $(libdir)/cups/backend +if CUPS cups_PROGRAMS = bluetooth +else +noinst_PROGRAMS = bluetooth +endif bluetooth_SOURCES = main.c sdp.c spp.c hcrp.c bluetooth_LDADD = @BLUEZ_LIBS@ AM_CFLAGS = @BLUEZ_CFLAGS@ -endif MAINTAINERCLEANFILES = Makefile.in -- cgit