configure.ac 506 Bytes
Newer Older
1
AC_INIT([ftimings], [0.1])
Lorenz Hüdepohl's avatar
Lorenz Hüdepohl committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AC_PREREQ([2.59])
AC_CONFIG_MACRO_DIR([m4])

AC_CONFIG_HEADERS([config.h])

AM_INIT_AUTOMAKE([foreign -Wall -Werror])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
AM_PROG_CC_C_O

AC_PROG_FC
AC_FC_LIBRARY_LDFLAGS
AC_FC_FREEFORM

LT_INIT

PKG_PROG_PKG_CONFIG

AC_SUBST([FTIMINGS_SO_VERSION], [0:1:0])
AC_SUBST([FTIMINGS_API_VERSION], [0.1])
21
22
AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])
Lorenz Hüdepohl's avatar
Lorenz Hüdepohl committed
23
24

AC_CONFIG_FILES([Makefile
25
		 ftimings-${FTIMINGS_API_VERSION}-${FC}.pc:ftimings.pc.in
Lorenz Hüdepohl's avatar
Lorenz Hüdepohl committed
26
27
		 ])
AC_OUTPUT