From 78f102900a04669b1ffb5fb752c207ea7c46d02a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 23 Jun 2008 06:10:58 +0000 Subject: [PATCH] put udev stuff into HAVE_UDEV conditional git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11187 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/usb/Makefile-files | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libgphoto2_port/usb/Makefile-files b/libgphoto2_port/usb/Makefile-files index e0a965198..3f5abfb4b 100644 --- a/libgphoto2_port/usb/Makefile-files +++ b/libgphoto2_port/usb/Makefile-files @@ -4,10 +4,14 @@ EXTRA_DIST += usb/usb-os2.c EXTRA_LTLIBRARIES += usb.la +if HAVE_UDEV udevscript_PROGRAMS += check-mtp-device check_mtp_device_SOURCES = usb/check-mtp-device.c check_mtp_device_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS) $(LIBUSB_CFLAGS) check_mtp_device_LDADD = $(LIBUSB_LIBS) +else +EXTRA_DIST = usb/check-mtp-device.c +endif usb_la_LDFLAGS = $(iolib_ldflags) usb_la_CPPFLAGS = \