blob: b99bc01c999629842678e0b66a5970b80c458918 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
AC_INIT(src/Xr.h)
dnl ===========================================================================
# Package version number, (as distinct from shared library version)
XR_VERSION=0.1.0
# libtool shared library version
# Increment if the interface has additions, changes, removals.
LT_CURRENT=1
# Increment any time the source changes; set to
# 0 if you increment CURRENT
LT_REVISION=0
# Increment if any interfaces have been added; set to 0
# if any interfaces have been removed. removal has
# precedence over adding, so set to 0 if both happened.
LT_AGE=0
VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE"
AC_SUBST(VERSION_INFO)
dnl ===========================================================================
XC_REQUIRED=0.1.0
XFT_REQUIRED=2.1.1
dnl ===========================================================================
AM_INIT_AUTOMAKE(Xr, $XR_VERSION)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_CPP
AM_PROG_LIBTOOL
AC_STDC_HEADERS
dnl ===========================================================================
AC_PATH_XTRA
dnl ===========================================================================
PKG_CHECK_MODULES(XR, Xc >= $XC_REQUIRED xft >= $XFT_REQUIRED)
AC_SUBST(XR_CFLAGS)
AC_SUBST(XR_LIBS)
dnl ===========================================================================
AC_OUTPUT([
Xr.pc
Makefile
src/Makefile
])
|