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.2.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(3, 0, 2)
|
---|
21 |
|
---|
22 | # Checks for libraries.
|
---|
23 | AC_SEARCH_LIBS([sin], [m], , AC_MSG_ERROR([cannot find math functions]))
|
---|
24 |
|
---|
25 | AC_CONFIG_FILES([Makefile
|
---|
26 | erfa.pc
|
---|
27 | src/Makefile
|
---|
28 | ])
|
---|
29 | AC_OUTPUT
|
---|
Note:
See
TracBrowser
for help on using the repository browser.