-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfigure.ac
More file actions
39 lines (28 loc) · 874 Bytes
/
configure.ac
File metadata and controls
39 lines (28 loc) · 874 Bytes
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
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(lklsocks, 0.1, http://github.com/eaas-framework/lklsocks)
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([subdir-objects foreign])
AM_SILENT_RULES([yes])
AC_PROG_LIBTOOL
AC_PROG_CXX
AC_PROG_CC
AX_CXX_COMPILE_STDCXX_11(noext)
LIBS="-lpthread -lrt -ldl"
PKG_CHECK_MODULES([vdeplug], [vdeplug])
LIBS+=" $vdeplug_LIBS"
AC_LANG_PUSH([C])
AC_CHECK_HEADERS([lkl.h lkl_host.h],
[],
AC_MSG_ERROR([The Linux Kernel Library headers could not be found.]),
[#undef st_atime
#undef st_mtime
#undef st_ctime])
AC_SEARCH_LIBS([lkl_sys_halt], [lkl], [], AC_MSG_ERROR([The Linux Kernel Library objects could not be found.]))
AC_LANG_POP([C])
BOOST_REQUIRE([1.58])
BOOST_SYSTEM([s])
BOOST_PROGRAM_OPTIONS([s])
BOOST_ASIO([s])
AC_CONFIG_FILES(Makefile)
AC_OUTPUT