COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1349:83388a4aa3af

Last change on this file since 1349:83388a4aa3af was 1349:83388a4aa3af, checked in by Akos Ladanyi, 15 years ago
  • GLPK is autodetected now
File size: 982 bytes
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 Checks for programs.
10AC_PROG_CXX
11AC_PROG_INSTALL
12AC_DISABLE_SHARED
13AC_PROG_LIBTOOL
14
15if test $CXX != icc -a $CXX != icpc; then
16  CXXFLAGS="$CXXFLAGS -Wall -W"
17fi
18
19dnl Checks for libraries.
20LX_CHECK_GLPK
21
22dnl Checks for header files.
23AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
24
25dnl Checks for typedefs, structures, and compiler characteristics.
26AC_C_CONST
27AC_C_INLINE
28AC_TYPE_SIZE_T
29AC_HEADER_TIME
30AC_STRUCT_TM
31
32dnl Checks for library functions.
33AC_HEADER_STDC
34AC_CHECK_FUNCS(gettimeofday times ctime_r)
35
36AC_CONFIG_FILES([
37Makefile
38autopackage/default.apspec
39doc/Makefile
40doc/Doxyfile
41src/Makefile
42src/lemon/Makefile
43src/lemon/lemon.pc
44src/benchmark/Makefile
45src/demo/Makefile
46src/test/Makefile
47])
48
49AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.