File: configure.in

package info (click to toggle)
libmath++ 0.0.4-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 488 kB
  • ctags: 233
  • sloc: cpp: 1,311; makefile: 49; sh: 17
file content (37 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (4)
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
AC_INIT(math++/reader.tcc)

MATH_MAJOR_VERSION=0
MATH_MINOR_VERSION=0
MATH_MICRO_VERSION=3

MATH_VERSION=$MATH_MAJOR_VERSION.$MATH_MINOR_VERSION.$MATH_MICRO_VERSION
MATH_VERSION_INFO=`expr $MATH_MAJOR_VERSION + $MATH_MINOR_VERSION`:$MATH_MICRO_VERSION:$MATH_MINOR_VERSION
MATH_VERSION_NUMBER=`expr $MATH_MAJOR_VERSION \* 10000 + $MATH_MINOR_VERSION \* 100 + $MATH_MICRO_VERSION`

AC_SUBST(MATH_MAJOR_VERSION)
AC_SUBST(MATH_MINOR_VERSION)
AC_SUBST(MATH_MICRO_VERSION)
AC_SUBST(MATH_VERSION)
AC_SUBST(MATH_VERSION_INFO)
AC_SUBST(MATH_VERSION_NUMBER)

VERSION=${MATH_VERSION}

AM_INIT_AUTOMAKE(libmath++, $VERSION)

AM_CONFIG_HEADER(config.h)

AC_LANG_CPLUSPLUS
AC_PROG_CXX
AM_PROG_LIBTOOL

AC_STDC_HEADERS
AC_CHECK_HEADERS(string cstring)

AC_OUTPUT([
    Makefile
    math++/Makefile
    examples/Makefile
    doc/Makefile
    doc/doxygen.conf
])