forked from rlenglet/openfaucet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
53 lines (42 loc) · 1.78 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
# Copyright 2011 Midokura KK
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
AC_PREREQ(2.64)
AC_INIT(OpenFaucet, 1.2~pre1, openfaucet-bug@googlegroups.com, openfaucet)
AC_COPYRIGHT([Copyright 2011 Midokura KK])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR(config)
AM_INIT_AUTOMAKE
AM_PATH_PYTHON
OPENFAUCET_PYTHON_CHECK_IMPORT([twisted], [],
[AC_MSG_WARN([the Twisted library is required])])
OPENFAUCET_PYTHON_CHECK_IMPORT([unittest2], [],
[AC_MSG_WARN([the unittest2 library is required for tests])])
AC_PATH_PROGS([SPHINXBUILD], [sphinx-build-2.6 sphinx-build], [notfound])
AS_IF([test "x$ac_cv_path_SPHINXBUILD" = xnotfound],
[AC_MSG_WARN([Sphinx is required to generate documentation])])
AC_PATH_PROG([LATEX], [latex], [notfound])
AS_IF([test "x$ac_cv_path_LATEX" = xnotfound],
[AC_MSG_WARN([LaTeX is required to generate DVI documentation])])
AC_PATH_PROG([MAKEINDEX], [makeindex], [notfound])
AS_IF([test "x$ac_cv_path_MAKEINDEX" = xnotfound],
[AC_MSG_WARN([LaTeX is required to generate DVI and PDF documentation])])
AC_PATH_PROG([PDFLATEX], [pdflatex], [notfound])
AS_IF([test "x$ac_cv_path_PDFLATEX" = xnotfound],
[AC_MSG_WARN([PDFLaTeX is required to generate PDF documentation])])
AC_CONFIG_FILES([Makefile
docs/Makefile
docs/conf.py
docs/install.rst
src/Makefile])
AC_OUTPUT