Patch to only install kcmusbview on Linux

Alex Zepeda zipzippy at sonic.net
Sat Oct 19 07:28:20 BST 2002


Ugh.  The usbview thingy depends on a Linux procfs, so it seems fitting 
that it's only installed on Linux.  Attached is the patch to 
kcontrol/Makefile.am, and the requisite configure.in.in.

I would like to see this committed for the 3.1 release.

Urg.  cvs.kde.org is dead :(

Attached are the files, not diffs.

- alex
-------------- next part --------------
if include_kcontrol_access
ACCESS_SUBDIR=access
endif

if include_kcontrol_kfontinst
FONTINST_SUBDIR=kfontinst
endif

if include_kcontrol_smartcard
KSMCARD_SUBDIR=smartcard
endif

if include_kcontrol_usbview
USBVIEW_SUBDIR=usbview
endif

# 'colors' and 'fonts' should come after 'krdb'
SUBDIRS = bell background filetypes samba krdb input info ioslaveinfo kdm\
	kicker locale launch keys kio konq thememgr style kded \
	konqhtml email ebrowsing arts kcontrol passwords knotify\
	clock pics $(ACCESS_SUBDIR) colors energy fonts css \
	icons screensaver taskbar crypto smserver \
	konsole spellchecking fileshare $(USBVIEW_SUBDIR) \
	$(KSMCARD_SUBDIR) nics $(FONTINST_SUBDIR) \
	componentchooser
-------------- next part --------------
case `uname -s` in
    Linux)
        FOUND_USBVIEW=yes
        ;;
esac

AM_CONDITIONAL(include_kcontrol_usbview, test "$FOUND_USBVIEW" = "yes")


More information about the kde-core-devel mailing list