From: <mar...@us...> - 2008-06-23 06:16:38
|
Revision: 11189 http://gphoto.svn.sourceforge.net/gphoto/?rev=11189&view=rev Author: marcusmeissner Date: 2008-06-22 23:16:46 -0700 (Sun, 22 Jun 2008) Log Message: ----------- put udev stuff into automake conditional Modified Paths: -------------- branches/libgphoto2-2_4/libgphoto2/libgphoto2_port/usb/Makefile.am Modified: branches/libgphoto2-2_4/libgphoto2/libgphoto2_port/usb/Makefile.am =================================================================== --- branches/libgphoto2-2_4/libgphoto2/libgphoto2_port/usb/Makefile.am 2008-06-23 06:12:18 UTC (rev 11188) +++ branches/libgphoto2-2_4/libgphoto2/libgphoto2_port/usb/Makefile.am 2008-06-23 06:16:46 UTC (rev 11189) @@ -2,10 +2,14 @@ iolib_LTLIBRARIES = usb.la +if HAVE_UDEV udevscript_PROGRAMS = check-mtp-device check_mtp_device_SOURCE = check-mtp-device.c check_mtp_device_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS) $(LIBUSB_CFLAGS) check_mtp_device_LDADD = $(LIBUSB_LIBS) +else +EXTRA_DIST = check-mtp-device.c +endif usb_la_LDFLAGS = -module -no-undefined -avoid-version \ -export-dynamic \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |