-
Notifications
You must be signed in to change notification settings - Fork 11
/
configure.in
107 lines (83 loc) · 3 KB
/
configure.in
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#===========================================================================
#
# configure.in
#
#===========================================================================
# $Id: configure.in,v 1.32 2006/06/01 09:50:12 chris Exp $
#---------------------------------------------------------------------------
# Init Auto Tools
#---------------------------------------------------------------------------
# autoconf
AC_INIT
AC_CONFIG_SRCDIR([src/graph.cpp])
AC_CONFIG_AUX_DIR(config)
dnl -----------------------------------------------
dnl Package name and version number (user defined)
dnl -----------------------------------------------
GENERIC_LIBRARY_NAME=GTL
#release versioning
GENERIC_MAJOR_VERSION=1
GENERIC_MINOR_VERSION=2
GENERIC_MICRO_VERSION=4
#shared library versioning
GENERIC_LIBRARY_VERSION=3:4:2
# | | |
# +------+ | +---+
# | | |
# current:revision:age
# | | |
# | | +- increment if interfaces have been added
# | | set to zero if interfaces have been removed
# or changed
# | +- increment if source code has changed
# | set to zero if current is incremented
# +- increment if interfaces have been added, removed or changed
dnl --------------------------------
dnl Package name and version number
dnl --------------------------------
AC_SUBST(GENERIC_LIBRARY_VERSION)
PACKAGE=$GENERIC_LIBRARY_NAME
AC_SUBST(GENERIC_LIBRARY_NAME)
GENERIC_VERSION=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION.$GENERIC_MICRO_VERSION
GENERIC_RELEASE=$GENERIC_MAJOR_VERSION.$GENERIC_MINOR_VERSION
AC_SUBST(GENERIC_RELEASE)
AC_SUBST(GENERIC_VERSION)
AC_DEFINE_UNQUOTED(GENERIC_MAJOR_VERSION, $GENERIC_MAJOR_VERSION)
AC_DEFINE_UNQUOTED(GENERIC_MINOR_VERSION, $GENERIC_MINOR_VERSION)
AC_DEFINE_UNQUOTED(GENERIC_MICRO_VERSION, $GENERIC_MICRO_VERSION)
VERSION=$GENERIC_VERSION
# automake
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
# libtool
AC_PROG_CXX
AC_LANG([C++])
AC_DISABLE_STATIC
LT_INIT
LIBTOOL="$LIBTOOL --silent"
#---------------------------------------------------------------------------
# Documentation utilites
#---------------------------------------------------------------------------
AC_CHECK_PROGS(doxygen, doxygen)
#---------------------------------------------------------------------------
# generate Files
#---------------------------------------------------------------------------
### AC_OUTPUT BEGIN ###
#
# this section is generated automatically by Makefile.local
# DO NOT MODIFY !!
#
AC_CONFIG_FILES([\
doc/Makefile \
doc/userguide/Makefile \
include/GTL/Makefile \
include/GTL/version.h \
include/Makefile \
Makefile \
src/Makefile \
tests/Makefile \
])
AC_OUTPUT
### AC_OUTPUT END ###
#---------------------------------------------------------------------------
# end of file
#---------------------------------------------------------------------------