blob: 5ab298c9700ee8dfae9b6b23b460c054500a447d (
plain)
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
|
AC_PREREQ(2.63)
AC_INIT([usbredir], [0.3.4])
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER([config.h])
dnl libtool versioning
# +1 : 0 : +1 == adds new functions to the interface
# +1 : 0 : 0 == changes or removes functions (changes include both
# changes to the signature and the semantic)
# ? :+1 : ? == just internal changes
# CURRENT : REVISION : AGE
LIBUSBREDIRHOST_SO_VERSION=1:0:0
AC_SUBST(LIBUSBREDIRHOST_SO_VERSION)
LIBUSBREDIRPARSER_SO_VERSION=0:0:0
AC_SUBST(LIBUSBREDIRPARSER_SO_VERSION)
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_PROG_CC
AC_HEADER_STDC
AC_PROG_INSTALL
AC_PROG_LN_S
LT_INIT
dnl AC_DEFINE(_GNU_SOURCE, [1], [Enable GNU extensions])
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES(LIBUSB, [libusb-1.0 >= 1.0.9])
AC_CONFIG_FILES([
Makefile
usbredirhost/Makefile
usbredirhost/libusbredirhost.pc
usbredirparser/Makefile
usbredirparser/libusbredirparser.pc
usbredirserver/Makefile
usbredirtestclient/Makefile
])
AC_OUTPUT
|