]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/lutok/configure.ac
bhyvectl(8): Normalize the man page date
[FreeBSD/FreeBSD.git] / contrib / lutok / configure.ac
1 dnl Copyright 2011 Google Inc.
2 dnl All rights reserved.
3 dnl
4 dnl Redistribution and use in source and binary forms, with or without
5 dnl modification, are permitted provided that the following conditions are
6 dnl met:
7 dnl
8 dnl * Redistributions of source code must retain the above copyright
9 dnl   notice, this list of conditions and the following disclaimer.
10 dnl * Redistributions in binary form must reproduce the above copyright
11 dnl   notice, this list of conditions and the following disclaimer in the
12 dnl   documentation and/or other materials provided with the distribution.
13 dnl * Neither the name of Google Inc. nor the names of its contributors
14 dnl   may be used to endorse or promote products derived from this software
15 dnl   without specific prior written permission.
16 dnl
17 dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 dnl "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 dnl LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 dnl A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 dnl OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 dnl SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 dnl LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 dnl DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 dnl THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 dnl (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 dnl OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 AC_INIT([Lutok], [0.4],
30         [lutok-discuss@googlegroups.com], [lutok],
31         [https://github.com/jmmv/lutok/])
32 AC_PREREQ([2.65])
33
34
35 AC_COPYRIGHT([Copyright 2011 Google Inc.])
36 AC_CONFIG_AUX_DIR([admin])
37 AC_CONFIG_FILES([Doxyfile Makefile])
38 AC_CONFIG_HEADERS([config.h])
39 AC_CONFIG_MACRO_DIR([m4])
40 AC_CONFIG_SRCDIR([state.hpp])
41
42
43 AM_INIT_AUTOMAKE([1.9 check-news foreign subdir-objects -Wall])
44 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
45 LT_INIT
46
47
48 AC_LANG([C++])
49 AC_PROG_CXX
50 KYUA_REQUIRE_CXX
51 KYUA_DEVELOPER_MODE([C++])
52
53
54 ATF_CHECK_CXX([>= 0.15])
55 ATF_CHECK_SH([>= 0.15])
56 ATF_ARG_WITH
57 KYUA_DOXYGEN
58 KYUA_LUA
59
60
61 AC_PATH_PROG([KYUA], [kyua])
62 AM_CONDITIONAL([HAVE_KYUA], [test -n "${KYUA}"])
63 AC_PATH_PROG([GIT], [git])
64
65
66 AC_SUBST(pkgconfigdir, \${libdir}/pkgconfig)
67 AC_SUBST(testsdir, \${exec_prefix}/tests/lutok)
68
69
70 AC_OUTPUT