COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1373:284841d50d63

Last change on this file since 1373:284841d50d63 was 1373:284841d50d63, checked in by Alpar Juttner, 16 years ago

Fix glpk summary

File size: 1.7 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
[542]28
[1370]29LX_ENABLE_DOCS
30
[542]31dnl Checks for header files.
[774]32AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
[542]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
[1108]43AC_CHECK_FUNCS(gettimeofday times ctime_r)
[542]44
[1304]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])
[1349]57
[542]58AC_OUTPUT
[1372]59
60echo
61echo '****************************** SUMMARY ******************************'
62echo
63echo Package version............... : $PACKAGE-$VERSION
64echo
65echo C++ compiler.................. : $CXX
66echo C++ compiles flags............ : $CXXFLAGS
67echo
[1373]68echo GLPK support.................. : $lx_glpk_found
[1372]69echo
70echo The packace will be installed in
71echo -n '  '
72echo $prefix.
73echo
74echo The documentation will be installed in
75echo -n '  '
76eval eval eval echo ${datadir}/doc/$PACKAGE-$VERSION/html/index.html.
77echo
78echo '*********************************************************************'
79
80echo
81echo configure complete, now type \'make\'
82echo
Note: See TracBrowser for help on using the repository browser.