COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1370:76a3f46d361c

Last change on this file since 1370:76a3f46d361c was 1370:76a3f46d361c, checked in by Akos Ladanyi, 15 years ago

added m4 macro to control documentation generation

File size: 1.1 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon])
3AC_CONFIG_AUX_DIR([config])
4AM_INIT_AUTOMAKE
5AC_CONFIG_SRCDIR([src/lemon/invalid.h])
6AM_CONFIG_HEADER([config.h])
7AC_PREREQ([2.53])
8
9dnl Save user defined CXXFLAGS
10dnl lx_user_cxxflags="$CXXFLAGS"
11
12dnl Checks for programs.
13AC_PROG_CXX
14AC_PROG_CXXCPP
15AC_PROG_INSTALL
16AC_DISABLE_SHARED
17AC_PROG_LIBTOOL
18
19if test $CXX != icc -a $CXX != icpc; then
20  CXXFLAGS="$CXXFLAGS -Wall -W"
21fi
22
23dnl This is tested only with gcc-3.4 and icc-8.0
24dnl LX_SET_CXXFLAGS
25
26dnl Checks for libraries.
27LX_CHECK_GLPK
28
29LX_ENABLE_DOCS
30
31dnl Checks for header files.
32AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
33
34dnl Checks for typedefs, structures, and compiler characteristics.
35AC_C_CONST
36AC_C_INLINE
37AC_TYPE_SIZE_T
38AC_HEADER_TIME
39AC_STRUCT_TM
40
41dnl Checks for library functions.
42AC_HEADER_STDC
43AC_CHECK_FUNCS(gettimeofday times ctime_r)
44
45AC_CONFIG_FILES([
46Makefile
47autopackage/default.apspec
48doc/Makefile
49doc/Doxyfile
50src/Makefile
51src/lemon/Makefile
52src/lemon/lemon.pc
53src/benchmark/Makefile
54src/demo/Makefile
55src/test/Makefile
56])
57
58AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.