COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1350:fb794edbf04b

Last change on this file since 1350:fb794edbf04b was 1350:fb794edbf04b, checked in by Akos Ladanyi, 19 years ago
  • added an m4 script to set debugging related compiler flags
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
29dnl Checks for header files.
30AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
31
32dnl Checks for typedefs, structures, and compiler characteristics.
33AC_C_CONST
34AC_C_INLINE
35AC_TYPE_SIZE_T
36AC_HEADER_TIME
37AC_STRUCT_TM
38
39dnl Checks for library functions.
40AC_HEADER_STDC
41AC_CHECK_FUNCS(gettimeofday times ctime_r)
42
43AC_CONFIG_FILES([
44Makefile
45autopackage/default.apspec
46doc/Makefile
47doc/Doxyfile
48src/Makefile
49src/lemon/Makefile
50src/lemon/lemon.pc
51src/benchmark/Makefile
52src/demo/Makefile
53src/test/Makefile
54])
55
56AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.