-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
67 lines (57 loc) · 2.04 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Copyright (C) KIT, Johan Oudinet <[email protected]> - 2011, 2013, 2014
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
AC_PREREQ(2.61)
AC_INIT([qdftgraph], [0.4], [[email protected]])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_PROG_AR
AM_INIT_AUTOMAKE([1.10 -Wall -Werror tar-ustar no-define dist-bzip2 nostdinc])
LT_INIT([disable-static])
# Checks for programs.
AC_PROG_CXX
# Documentation
AC_ARG_ENABLE([documentation],
[AS_HELP_STRING([--disable-documentation],
[Do not build documentation])])
AS_IF([test "x$enable_documentation" != xno],
[AC_CHECK_PROGS([DOXYGEN], [doxygen])
if test -z "$DOXYGEN"; then
AC_MSG_WARN(
[Doxygen not found - continuing without Doxygen support])
fi
])
# Attempt to use strict language conformance checking.
AC_CXX_FLAGS
# Use libtool
AC_PROG_LIBTOOL
AC_LIBTOOL_WIN32_DLL
# Test for BOOST graph library using Tsuna's boost.m4 macro file
BOOST_REQUIRE([1.47.0])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
dnl AC_CHECK_HEADER([tcl8.5/tcl.h], [], [AC_MSG_ERROR([tcl8.5-dev not found])])
AC_CHECK_HEADERS_ONCE([tcl8.5/tcl.h])
AM_CONDITIONAL([HAVE_TCL_H], [test "${ac_cv_header_tcl8_5_tcl_h}" = yes])
AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([doc/Doxyfile])])
AC_CONFIG_FILES([
Makefile
include/Makefile
src/Makefile
doc/Makefile
])
AC_OUTPUT