usb-utils: Support for 'usb.ids.gz' currently broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If a distribution wants to save a little bit of space for the usb-utils the option exists to use a 'usb.ids.gz' file instead of 'usb.ids'. Provided the respective library is available at compile time a few lines of code in 'lsusb.c' and 'names.c' achieve this depending on the "HAVE_LIBZ" flag.

This flag was properly set in usbutils-0.91, but I've now found that this is not the case anymore with usbutils-002. I'm myself a bit confused as the 'configure' script in usbutils-002 seems to use "HAVE_ZLIB" and "USE_ZLIB" (but not "HAVE_LIBZ").

I guess someone else will quickly identify what is going on here. I just used the following "fudge" (after './configure' and before 'make') to overcome this problem:
 Â Âecho '#define HAVE_LIBZ 1' >> config.h && sed -i '/LIBS = $/s#$#-lz #' Makefile

Cheers,
Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux