COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1422:469b3f628dd1

Last change on this file since 1422:469b3f628dd1 was 1412:c7fab5a1174a, checked in by Akos Ladanyi, 20 years ago

moved the gui

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