COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1709:a323456bf7c8

Last change on this file since 1709:a323456bf7c8 was 1671:3c82a0d9e0e7, checked in by Akos Ladanyi, 19 years ago

install docs in $datadir/doc/$PACKAGE

File size: 1.8 KB
RevLine 
[542]1dnl Process this file with autoconf to produce a configure script.
[1662]2AC_INIT([LEMON], [0.5], [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
[1489]26LX_ENABLE_DOC
[1404]27LX_ENABLE_GUI
[1370]28
[542]29dnl Checks for header files.
[774]30AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
[542]31
32dnl Checks for typedefs, structures, and compiler characteristics.
33AC_C_CONST
34AC_C_INLINE
35AC_TYPE_SIZE_T
36AC_HEADER_TIME
37AC_STRUCT_TM
38
39dnl Checks for library functions.
40AC_HEADER_STDC
[1108]41AC_CHECK_FUNCS(gettimeofday times ctime_r)
[542]42
[1304]43AC_CONFIG_FILES([
44Makefile
[1483]45lemon.spec
[1304]46autopackage/default.apspec
47doc/Makefile
48doc/Doxyfile
[1435]49lemon/Makefile
50lemon/lemon.pc
51benchmark/Makefile
52demo/Makefile
53test/Makefile
54gui/Makefile
[1659]55gui/icons/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 '  '
[1671]79eval echo ${datadir}/doc/$PACKAGE.
[1372]80echo
81echo '*********************************************************************'
82
83echo
[1572]84echo configure complete, now type \'make\' and then \'make install\'.
[1372]85echo
Note: See TracBrowser for help on using the repository browser.