-
Notifications
You must be signed in to change notification settings - Fork 5
/
configure.ac
53 lines (42 loc) · 1.29 KB
/
configure.ac
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
dnl ----------------------------------------------------------------------------
dnl Copyright (C) 2010, Raditex AB
dnl All rights reserved.
dnl
dnl rSCADA
dnl http://www.rSCADA.se
dnl info@rscada.se
dnl
dnl ----------------------------------------------------------------------------
# Remember to bump the ABI version in mbus/Makefile.am. For details, see:
# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
AC_INIT([libmbus], [0.9.0], [info@rscada.se], [libmbus], [http://www.rscada.se/libmbus/])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([-W -Wall foreign])
AM_SILENT_RULES([yes])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile
mbus/Makefile
test/Makefile
bin/Makefile
libmbus.pc])
AM_PROG_AR
AC_PROG_CC
LT_INIT
LT_CONFIG_LTDL_DIR([libltdl])
AC_CHECK_HEADERS([math.h termios.h])
AC_SEARCH_LIBS([pow], [m])
AC_CHECK_FUNCS([strdup malloc pow])
AC_REPLACE_FUNCS([pow strdup])
AC_CONFIG_LIBOBJ_DIR([lib])
AC_OUTPUT
echo \
"----------------------------------------------------------
Configuration:
Source location: ${srcdir}
Compile: ${CC}
Compiler flags: ${CFLAGS}
Linker flags: ${LDFLAGS}
Host system type: ${host}
Install path: ${prefix}
See config.h for further configuration.
----------------------------------------------------------"