configure.ac 767 Bytes
Newer Older
legoc's avatar
legoc committed
1
2
3
4
5
6
# -----------------------------------------------------------------------------
#
# Autoconf
#
# -----------------------------------------------------------------------------

legoc's avatar
legoc committed
7
8
AC_INIT(cameo-api-cpp, 0.3.1)
LIBRARY_VERSION=0:3:1
legoc's avatar
legoc committed
9

legoc's avatar
legoc committed
10
11
12
13
14
15
16
17
18
19
20
21
22
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR(src/cameo/Application.cpp)

AM_INIT_AUTOMAKE([subdir-objects])

AC_PROG_CXX
AC_LANG(C++)

AM_DISABLE_STATIC

AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])

legoc's avatar
legoc committed
23
AC_SUBST(LIBRARY_VERSION)
legoc's avatar
legoc committed
24

legoc's avatar
legoc committed
25
26
AX_CXX_COMPILE_STDCXX_11

legoc's avatar
legoc committed
27
AC_ZMQ
legoc's avatar
legoc committed
28
AC_PROTOBUF_LITE
legoc's avatar
legoc committed
29

legoc's avatar
legoc committed
30
CAMEO_CXXFLAGS="$ZMQ_CFLAGS \
legoc's avatar
legoc committed
31
32
	$PROTOBUF_CFLAGS"
	
legoc's avatar
legoc committed
33
CAMEO_LDFLAGS="$ZMQ_LDFLAGS \
legoc's avatar
legoc committed
34
35
	$PROTOBUF_LDFLAGS"
 
legoc's avatar
legoc committed
36
CAMEO_LIBS="$ZMQ_LIB \
legoc's avatar
legoc committed
37
38
39
40
41
42
43
44
45
46
47
48
	$PROTOBUF_LIB"

AC_SUBST(CAMEO_CXXFLAGS)
AC_SUBST(CAMEO_LDFLAGS)
AC_SUBST(CAMEO_LIBS)

top_srcdir=.

AC_OUTPUT([
Makefile
src/Makefile
])