COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1487:6ea6d0d789c6

Last change on this file since 1487:6ea6d0d789c6 was 1487:6ea6d0d789c6, checked in by Akos Ladanyi, 19 years ago

added macro for setting the name of the directory under datadir/doc

File size: 1.9 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
[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
[1400]23AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
24
[1350]25dnl This is tested only with gcc-3.4 and icc-8.0
26dnl LX_SET_CXXFLAGS
27
[542]28dnl Checks for libraries.
[1349]29LX_CHECK_GLPK
[1380]30LX_CHECK_CPLEX
[542]31
[1487]32LX_DOCDIR_SUFFIX
[1370]33LX_ENABLE_DOCS
[1404]34LX_ENABLE_GUI
[1370]35
[542]36dnl Checks for header files.
[774]37AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
[542]38
39dnl Checks for typedefs, structures, and compiler characteristics.
40AC_C_CONST
41AC_C_INLINE
42AC_TYPE_SIZE_T
43AC_HEADER_TIME
44AC_STRUCT_TM
45
46dnl Checks for library functions.
47AC_HEADER_STDC
[1108]48AC_CHECK_FUNCS(gettimeofday times ctime_r)
[542]49
[1304]50AC_CONFIG_FILES([
51Makefile
[1483]52lemon.spec
[1304]53autopackage/default.apspec
54doc/Makefile
55doc/Doxyfile
[1435]56lemon/Makefile
57lemon/lemon.pc
58benchmark/Makefile
59demo/Makefile
60test/Makefile
61gui/Makefile
[1304]62])
[1349]63
[542]64AC_OUTPUT
[1372]65
66echo
67echo '****************************** SUMMARY ******************************'
68echo
69echo Package version............... : $PACKAGE-$VERSION
70echo
71echo C++ compiler.................. : $CXX
72echo C++ compiles flags............ : $CXXFLAGS
73echo
[1373]74echo GLPK support.................. : $lx_glpk_found
[1380]75echo CPLEX support................. : $lx_cplex_found
[1372]76echo
[1404]77echo build GUI..................... : $enable_gui
78echo
[1372]79echo The packace will be installed in
80echo -n '  '
81echo $prefix.
82echo
83echo The documentation will be installed in
84echo -n '  '
[1487]85eval echo ${datadir}/doc/$DOCSUFFIX.
[1372]86echo
87echo '*********************************************************************'
88
89echo
90echo configure complete, now type \'make\'
91echo
Note: See TracBrowser for help on using the repository browser.