COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1380:cb2891afe526

Last change on this file since 1380:cb2891afe526 was 1380:cb2891afe526, checked in by Akos Ladanyi, 16 years ago

added check for CLPEX

File size: 1.8 KB
RevLine 
[542]1dnl Process this file with autoconf to produce a configure script.
[1163]2AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon])
[542]3AC_CONFIG_AUX_DIR([config])
[1348]4AM_INIT_AUTOMAKE
[921]5AC_CONFIG_SRCDIR([src/lemon/invalid.h])
[1348]6AM_CONFIG_HEADER([config.h])
[1349]7AC_PREREQ([2.53])
[542]8
[1350]9dnl Save user defined CXXFLAGS
10dnl lx_user_cxxflags="$CXXFLAGS"
11
[542]12dnl Checks for programs.
13AC_PROG_CXX
[1350]14AC_PROG_CXXCPP
[1304]15AC_PROG_INSTALL
[1327]16AC_DISABLE_SHARED
[1304]17AC_PROG_LIBTOOL
[542]18
[1348]19if test $CXX != icc -a $CXX != icpc; then
[1349]20  CXXFLAGS="$CXXFLAGS -Wall -W"
[1348]21fi
[716]22
[1350]23dnl This is tested only with gcc-3.4 and icc-8.0
24dnl LX_SET_CXXFLAGS
25
[542]26dnl Checks for libraries.
[1349]27LX_CHECK_GLPK
[1380]28LX_CHECK_CPLEX
[542]29
[1370]30LX_ENABLE_DOCS
31
[542]32dnl Checks for header files.
[774]33AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
[542]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
[1108]44AC_CHECK_FUNCS(gettimeofday times ctime_r)
[542]45
[1304]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])
[1349]58
[542]59AC_OUTPUT
[1372]60
61echo
62echo '****************************** SUMMARY ******************************'
63echo
64echo Package version............... : $PACKAGE-$VERSION
65echo
66echo C++ compiler.................. : $CXX
67echo C++ compiles flags............ : $CXXFLAGS
68echo
[1373]69echo GLPK support.................. : $lx_glpk_found
[1380]70echo CPLEX support................. : $lx_cplex_found
[1372]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.