configure.ac 458 Bytes
Newer Older
Lorenz Hüdepohl's avatar
Lorenz Hüdepohl committed
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
AC_INIT([libftimings], [0.1])
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])

AC_CONFIG_FILES([Makefile
		 ftimings-${FTIMINGS_API_VERSION}.pc:ftimings.pc.in
		 ])
AC_OUTPUT