[go: up one dir, main page]

File: configure.ac

package info (click to toggle)
dune-common 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,100 kB
  • ctags: 3,915
  • sloc: cpp: 22,677; sh: 2,396; python: 656; makefile: 604
file content (54 lines) | stat: -rw-r--r-- 1,522 bytes parent folder | download | duplicates (3)
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.62])
DUNE_AC_INIT # gets module version from dune.module file
AC_CONFIG_SRCDIR([dune/common/stdstreams.cc])
AC_CONFIG_HEADERS([config.h])

# add configure flags needed to create log files for dune-autobuild
DUNE_AUTOBUILD_FLAGS
# check all dune dependecies and prerequisits
DUNE_CHECK_ALL

# preset variable to path such that #include <dune/...> works
AC_SUBST([DUNE_COMMON_ROOT], '$(abs_top_srcdir)')
AC_SUBST([DUNE_COMMON_BIN], '$(abs_top_srcdir)/bin/')
AC_SUBST([AM_CPPFLAGS], '-I$(top_srcdir)')
AC_SUBST([AM_LDFLAGS], '$(DUNE_LDFLAGS)')
AC_SUBST([LDADD], '$(top_builddir)/lib/libdunecommon.la')

# write output
AC_CONFIG_FILES([Makefile
     lib/Makefile
     bin/Makefile
     cmake/Makefile
     cmake/modules/Makefile
     cmake/scripts/Makefile
     cmake/pkg/Makefile
     dune/Makefile
     dune/common/Makefile
     dune/common/test/Makefile
     dune/common/parallel/Makefile
     dune/common/parallel/test/Makefile
     dune/common/std/Makefile
     doc/Makefile
     doc/comm/Makefile
     doc/comm/figures/Makefile
     doc/doxygen/Makefile
     doc/doxygen/Doxyfile
     doc/buildsystem/Makefile
     m4/Makefile
     am/Makefile
     share/Makefile
     share/bash-completion/Makefile
     share/bash-completion/completions/Makefile
     dune-common.pc])
# make scripts executable
AC_CONFIG_FILES([
     bin/check-log-store],[
     chmod +x bin/check-log-store])
AC_OUTPUT

# print results
DUNE_SUMMARY_ALL