COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1498:352b1ee13bc0

Last change on this file since 1498:352b1ee13bc0 was 1489:f7e9cc3bc2da, checked in by Akos Ladanyi, 19 years ago
  • separate file for each m4 script
  • consistent naming
  • removed cxxflags.m4
File size: 1.8 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT([LEMON], [0.4], [etik-ol@cs.elte.hu], [lemon])
3AC_CONFIG_AUX_DIR([config])
4AM_INIT_AUTOMAKE([1.7])
5AC_CONFIG_SRCDIR([lemon/invalid.h])
6AC_CONFIG_HEADERS([config.h lemon/config.h])
7AC_PREREQ([2.59])
8
9dnl Checks for programs.
10AC_PROG_CXX
11AC_PROG_CXXCPP
12AC_PROG_INSTALL
13AC_DISABLE_SHARED
14AC_PROG_LIBTOOL
15
16if test $CXX != icc -a $CXX != icpc; then
17  CXXFLAGS="$CXXFLAGS -Wall -W"
18fi
19
20AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
21
22dnl Checks for libraries.
23LX_CHECK_GLPK
24LX_CHECK_CPLEX
25
26LX_DOCDIR_SUFFIX
27LX_ENABLE_DOC
28LX_ENABLE_GUI
29
30dnl Checks for header files.
31AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
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
42AC_CHECK_FUNCS(gettimeofday times ctime_r)
43
44AC_CONFIG_FILES([
45Makefile
46lemon.spec
47autopackage/default.apspec
48doc/Makefile
49doc/Doxyfile
50lemon/Makefile
51lemon/lemon.pc
52benchmark/Makefile
53demo/Makefile
54test/Makefile
55gui/Makefile
56])
57
58AC_OUTPUT
59
60echo
61echo '****************************** SUMMARY ******************************'
62echo
63echo Package version............... : $PACKAGE-$VERSION
64echo
65echo C++ compiler.................. : $CXX
66echo C++ compiles flags............ : $CXXFLAGS
67echo
68echo GLPK support.................. : $lx_glpk_found
69echo CPLEX support................. : $lx_cplex_found
70echo
71echo build GUI..................... : $enable_gui
72echo
73echo The packace will be installed in
74echo -n '  '
75echo $prefix.
76echo
77echo The documentation will be installed in
78echo -n '  '
79eval echo ${datadir}/doc/$DOCSUFFIX.
80echo
81echo '*********************************************************************'
82
83echo
84echo configure complete, now type \'make\'
85echo
Note: See TracBrowser for help on using the repository browser.