Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f166703a9c
Fetching contributors…

Cannot retrieve contributors at this time

file 53 lines (45 sloc) 1.153 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
AC_INIT([usbutils],
[0.90],
[linux-usb@vger.kernel.org])
AC_PREREQ(2.60)
AM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_PREFIX_DEFAULT([/usr])

AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE

USE_ZLIB=yes
AC_ARG_ENABLE(zlib,
AS_HELP_STRING(--disable-zlib,disable support for zlib),
[
if eval "test x$enable_zlib = xno"; then
USE_ZLIB=
fi
])
if test "$USE_ZLIB" = "yes" ; then
AC_CHECK_LIB(z, inflateEnd)
if test "${ac_cv_lib_z_inflateEnd}" = "yes" ; then
HAVE_ZLIB="yes"
fi
fi
AM_CONDITIONAL(HAVE_ZLIB, test x$HAVE_ZLIB = xyes)

PKG_CHECK_MODULES(LIBUSB, libusb >= 0.1.12)
AC_SUBST(LIBUSB_CFLAGS)
AC_SUBST(LIBUSB_LIBS)

AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
])

AC_OUTPUT
AC_MSG_RESULT([
usbutils $VERSION
=============

prefix: ${prefix}
datarootdir: ${datarootdir}
datadir: ${datadir}
mandir: ${mandir}

usb.ids: ${datadir}/usb.ids
zlib: ${USE_ZLIB}

compiler: ${CC}
cflags: ${CFLAGS}
ldflags: ${LDFLAGS}
])
Something went wrong with that request. Please try again.