-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfigure.ac.in
74 lines (61 loc) · 2 KB
/
configure.ac.in
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
AC_REVISION([$Id$])
sinclude([libltdl/acinclude.m4])
AC_INIT([ecell], [@ECELL_VERSION_NUMBER@])
AC_CONFIG_SRCDIR([autogen.sh])
AC_CANONICAL_TARGET([])
AM_INIT_AUTOMAKE([filename-length-max=255 tar-ustar dist-bzip2])
AC_PROG_MAKE_SET
AC_LIBLTDL_CONVENIENCE
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
AC_CONFIG_SUBDIRS([libltdl dmtool ecell])
AC_ARG_ENABLE([gui],
AC_HELP_STRING([--disable-gui],
[build ecell without gui frontends.]), [],
[enable_gui=yes])
AC_ARG_ENABLE([pyecell],
AC_HELP_STRING([--disable-pyecell],
[build ecell without Python binding.]), [],
[enable_pyecell=yes])
AC_ARG_ENABLE([visualizer],
AC_HELP_STRING([--disable-visualizer],
[build ecell without Spatiocyte visualizer.]), [],
[enable_visualizer=yes])
AC_ARG_WITH([boost-python-libname],
AC_HELP_STRING([--with-boost-python-libname=LIBNAME],
[specify the library name of Boost.Python [[boost_python]]]))
AC_ARG_ENABLE([compiler-extensions],
AC_HELP_STRING([--disable-compiler-extensions],
[Don't exploit the compiler's special language syntax and optimizations that are not part of the standard (such as ISO C++).]))
AC_CONFIG_HEADERS(ecell3_config.h)
AC_CHECK_TOOL([DB2HTML], [db2html])
AC_CHECK_TOOL([DB2PDF], [db2pdf])
AC_CHECK_TOOL([DB2PS], [db2ps])
AC_CHECK_TOOL([DB2DVI], [db2dvi])
AC_CHECK_TOOL([DOXYGEN], [doxygen])
AC_CHECK_TOOL([DOT], [dot])
HAVE_DOT="no"
if test ! -z "$DOT"; then
HAVE_DOT="yes"
fi
AC_SUBST([HAVE_DOT])
AM_CONDITIONAL([BUILD_USERS_MANUAL_html], [test ! -z "$DB2HTML"])
AM_CONDITIONAL([BUILD_USERS_MANUAL_pdf], [test ! -z "$DB2PDF"])
AM_CONDITIONAL([BUILD_USERS_MANUAL_ps], [test ! -z "$DB2PS"])
AM_CONDITIONAL([BUILD_USERS_MANUAL_dvi], [test ! -z "$DB2DVI"])
AM_CONDITIONAL([BUILD_API_REF_html], [test ! -z "$DOXYGEN"])
dnl
dnl Create the top-level Makefile.
dnl
AC_CONFIG_FILES([
Makefile
osdep/Makefile
osdep/win32/Makefile
build/Makefile
build/msvc/Makefile
build/msvc/dm/Makefile
])
dnl
AC_OUTPUT