COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1527:7ceab500e1f6

Last change on this file since 1527:7ceab500e1f6 was 1489:f7e9cc3bc2da, checked in by Akos Ladanyi, 15 years ago
  • separate file for each m4 script
  • consistent naming
  • removed cxxflags.m4
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])
[1482]4AM_INIT_AUTOMAKE([1.7])
[1435]5AC_CONFIG_SRCDIR([lemon/invalid.h])
6AC_CONFIG_HEADERS([config.h lemon/config.h])
[1482]7AC_PREREQ([2.59])
[542]8
9dnl Checks for programs.
10AC_PROG_CXX
[1350]11AC_PROG_CXXCPP
[1304]12AC_PROG_INSTALL
[1327]13AC_DISABLE_SHARED
[1304]14AC_PROG_LIBTOOL
[542]15
[1348]16if test $CXX != icc -a $CXX != icpc; then
[1349]17  CXXFLAGS="$CXXFLAGS -Wall -W"
[1348]18fi
[716]19
[1400]20AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
21
[542]22dnl Checks for libraries.
[1349]23LX_CHECK_GLPK
[1380]24LX_CHECK_CPLEX
[542]25
[1487]26LX_DOCDIR_SUFFIX
[1489]27LX_ENABLE_DOC
[1404]28LX_ENABLE_GUI
[1370]29
[542]30dnl Checks for header files.
[774]31AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
[542]32
33dnl Checks for typedefs, structures, and compiler characteristics.
34AC_C_CONST
35AC_C_INLINE
36AC_TYPE_SIZE_T
37AC_HEADER_TIME
38AC_STRUCT_TM
39
40dnl Checks for library functions.
41AC_HEADER_STDC
[1108]42AC_CHECK_FUNCS(gettimeofday times ctime_r)
[542]43
[1304]44AC_CONFIG_FILES([
45Makefile
[1483]46lemon.spec
[1304]47autopackage/default.apspec
48doc/Makefile
49doc/Doxyfile
[1435]50lemon/Makefile
51lemon/lemon.pc
52benchmark/Makefile
53demo/Makefile
54test/Makefile
55gui/Makefile
[1304]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
[1380]69echo CPLEX support................. : $lx_cplex_found
[1372]70echo
[1404]71echo build GUI..................... : $enable_gui
72echo
[1372]73echo The packace will be installed in
74echo -n '  '
75echo $prefix.
76echo
77echo The documentation will be installed in
78echo -n '  '
[1487]79eval echo ${datadir}/doc/$DOCSUFFIX.
[1372]80echo
81echo '*********************************************************************'
82
83echo
84echo configure complete, now type \'make\'
85echo
Note: See TracBrowser for help on using the repository browser.