Line | |
---|
1 | # Process this file with autoconf to produce a configure script.
|
---|
2 |
|
---|
3 | AC_PREREQ([2.68])
|
---|
4 | ## Follow the instructions in RELEASE.rst to change package version
|
---|
5 | AC_INIT([erfa],[1.4.0])
|
---|
6 | AC_CONFIG_SRCDIR([src/erfa.h])
|
---|
7 | AC_CONFIG_HEADER([config.h])
|
---|
8 | AC_CONFIG_MACRO_DIR([m4])
|
---|
9 | AC_CONFIG_AUX_DIR([build-aux])
|
---|
10 | AM_INIT_AUTOMAKE([foreign])
|
---|
11 |
|
---|
12 | AC_PROG_CC
|
---|
13 | LT_INIT
|
---|
14 |
|
---|
15 | ERFA_NUMVER
|
---|
16 | ## Version info is in current : revision : age form
|
---|
17 | ## A library supports interfaces from current downto current - age
|
---|
18 | ## Revision is the version of the current interface
|
---|
19 | ## Follow the instructions in RELEASE.rst to change the version info
|
---|
20 | ERFA_LIB_VERSION_INFO(5, 0, 4)
|
---|
21 |
|
---|
22 | ## SOFA version, update if needed in new relases
|
---|
23 | AC_DEFINE([SOFA_VERSION], ["20170420"], [Define to the version of SOFA])
|
---|
24 |
|
---|
25 | # Checks for libraries.
|
---|
26 | AC_SEARCH_LIBS([sin], [m], , AC_MSG_ERROR([cannot find math functions]))
|
---|
27 |
|
---|
28 | AC_CONFIG_FILES([Makefile
|
---|
29 | erfa.pc
|
---|
30 | src/Makefile
|
---|
31 | ])
|
---|
32 | AC_OUTPUT
|
---|
Note:
See
TracBrowser
for help on using the repository browser.