-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
86 lines (63 loc) · 2.24 KB
/
configure.ac
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
#
# teoccl: Teonet c container library
#
# SUBROUTINE
#
# AC_DEFINE_SUBST(NAME, VALUE, DESCRIPTION)
# -----------------------------------------
AC_DEFUN([AC_DEFINE_SUBST], [
AC_DEFINE([$1], [$2], [$3])
AC_SUBST([$1], ['$2'])
])
m4_define([pkg_major], [0]) dnl
m4_define([pkg_minor], [1]) dnl
m4_define([pkg_patch], [7]) dnl
m4_define([pkg_version], [pkg_major[.]pkg_minor[.]pkg_patch]) dnl
m4_define([api_version],[0])
AC_PREREQ([2.69])
AC_INIT([libteoccl0], [pkg_version], [Kirill Scherba <[email protected]>, Max Ponka <[email protected]>])
AC_SUBST([DOLLAR_SIGN],[$])
AC_DEFINE([PACKAGE_DESCRIPTION], ["Teonet (CCL) C Containers Library"], [Application description])
AC_DEFINE([PACKAGE_DEPENDENCIES], [""], [Application dependencies])
AC_DEFINE([LICENSES], ["[[\"MIT\",\"LGPL-3.0\"]]"], [Application package licenses])
AC_DEFINE([VCS_URL], ["https://github.com/teonet-co/teoccl.git"], [Git URL])
AC_DEFINE(COPYRIGHT, ["(c) Teonet co., 2014-2019"], [Teoccl library copyright])
PKG_INSTALLDIR
AC_DEFINE_SUBST(API_VERSION, [api_version], [api version])
AC_DEFINE_SUBST(LIBRARY_CURRENT, 1, [teoccl dynamic library version])
AC_DEFINE_SUBST(LIBRARY_REVISION, 2, [teoccl dynamic library version])
AC_DEFINE_SUBST(LIBRARY_AGE, 0, [teoccl dynamic library version])
AC_DEFINE_SUBST(LIBRARY_MAJOR_VERSION, [pkg_major], [pack ver])
AC_DEFINE_SUBST(LIBRARY_MINOR_VERSION, [pkg_minor], [pack ver])
AC_DEFINE_SUBST(LIBRARY_PATCH_VERSION, [pkg_patch], [pack ver])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/teoccl/queue.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
AM_SILENT_RULES([yes])
AC_PROG_CC
AC_PROG_CXX
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_PREREQ([2.4])
LT_INIT
DX_DOXYGEN_FEATURE(ON)
DX_HTML_FEATURE(ON)
DX_CHM_FEATURE(OFF)
DX_CHI_FEATURE(OFF)
DX_MAN_FEATURE(OFF)
DX_RTF_FEATURE(OFF)
DX_XML_FEATURE(OFF)
DX_PDF_FEATURE(OFF)
DX_PS_FEATURE(OFF)
DX_INIT_DOXYGEN(TeoCCl, Doxyfile, docs)
AC_CONFIG_FILES([
Makefile
src/libteoccl-$API_VERSION.pc:src/libteoccl.pc.in
src/Makefile
tools/Makefile
tests/Makefile
])
AC_OUTPUT