COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1384:0c4091eeda15

Last change on this file since 1384:0c4091eeda15 was 1380:cb2891afe526, checked in by Akos Ladanyi, 15 years ago

added check for CLPEX

File size: 1.8 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
28LX_CHECK_CPLEX
29
30LX_ENABLE_DOCS
31
32dnl Checks for header files.
33AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
34
35dnl Checks for typedefs, structures, and compiler characteristics.
36AC_C_CONST
37AC_C_INLINE
38AC_TYPE_SIZE_T
39AC_HEADER_TIME
40AC_STRUCT_TM
41
42dnl Checks for library functions.
43AC_HEADER_STDC
44AC_CHECK_FUNCS(gettimeofday times ctime_r)
45
46AC_CONFIG_FILES([
47Makefile
48autopackage/default.apspec
49doc/Makefile
50doc/Doxyfile
51src/Makefile
52src/lemon/Makefile
53src/lemon/lemon.pc
54src/benchmark/Makefile
55src/demo/Makefile
56src/test/Makefile
57])
58
59AC_OUTPUT
60
61echo
62echo '****************************** SUMMARY ******************************'
63echo
64echo Package version............... : $PACKAGE-$VERSION
65echo
66echo C++ compiler.................. : $CXX
67echo C++ compiles flags............ : $CXXFLAGS
68echo
69echo GLPK support.................. : $lx_glpk_found
70echo CPLEX support................. : $lx_cplex_found
71echo
72echo The packace will be installed in
73echo -n '  '
74echo $prefix.
75echo
76echo The documentation will be installed in
77echo -n '  '
78eval eval eval echo ${datadir}/doc/$PACKAGE-$VERSION/html/index.html.
79echo
80echo '*********************************************************************'
81
82echo
83echo configure complete, now type \'make\'
84echo
Note: See TracBrowser for help on using the repository browser.