3 [linux-usb@vger.kernel.org])
5 AM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2])
6 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
7 AC_PREFIX_DEFAULT([/usr])
9 AC_USE_SYSTEM_EXTENSIONS
14 AS_HELP_STRING(--disable-zlib,disable support for zlib),
16 if eval "test x$enable_zlib = xno"; then
20 if test "$USE_ZLIB" = "yes" ; then
21 AC_CHECK_LIB(z, inflateEnd)
22 if test "${ac_cv_lib_z_inflateEnd}" = "yes" ; then
26 AM_CONDITIONAL(HAVE_ZLIB, test x$HAVE_ZLIB = xyes)
28 PKG_CHECK_MODULES(LIBUSB, libusb >= 0.1.12)
29 AC_SUBST(LIBUSB_CFLAGS)
32 AC_CONFIG_HEADERS([config.h])
43 datarootdir: ${datarootdir}
47 usb.ids: ${datadir}/usb.ids