COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1400:d12508c2a007

Last change on this file since 1400:d12508c2a007 was 1400:d12508c2a007, checked in by Alpar Juttner, 15 years ago

Better doc generation.

File size: 1.9 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
5AC_CONFIG_SRCDIR([src/lemon/invalid.h])
6AM_CONFIG_HEADER([config.h])
7AC_PREREQ([2.53])
8
9dnl Save user defined CXXFLAGS
10dnl lx_user_cxxflags="$CXXFLAGS"
11
12dnl Checks for programs.
13AC_PROG_CXX
14AC_PROG_CXXCPP
15AC_PROG_INSTALL
16AC_DISABLE_SHARED
17AC_PROG_LIBTOOL
18
19if test $CXX != icc -a $CXX != icpc; then
20  CXXFLAGS="$CXXFLAGS -Wall -W"
21fi
22
23AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
24
25dnl This is tested only with gcc-3.4 and icc-8.0
26dnl LX_SET_CXXFLAGS
27
28dnl Checks for libraries.
29LX_CHECK_GLPK
30LX_CHECK_CPLEX
31
32LX_ENABLE_DOCS
33
34dnl Checks for header files.
35AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
36
37dnl Checks for typedefs, structures, and compiler characteristics.
38AC_C_CONST
39AC_C_INLINE
40AC_TYPE_SIZE_T
41AC_HEADER_TIME
42AC_STRUCT_TM
43
44dnl Checks for library functions.
45AC_HEADER_STDC
46AC_CHECK_FUNCS(gettimeofday times ctime_r)
47
48AC_CONFIG_FILES([
49Makefile
50autopackage/default.apspec
51doc/Makefile
52doc/Doxyfile
53src/Makefile
54src/lemon/Makefile
55src/lemon/lemon.pc
56src/benchmark/Makefile
57src/demo/Makefile
58src/test/Makefile
59])
60
61AC_OUTPUT
62
63echo
64echo '****************************** SUMMARY ******************************'
65echo
66echo Package version............... : $PACKAGE-$VERSION
67echo
68echo C++ compiler.................. : $CXX
69echo C++ compiles flags............ : $CXXFLAGS
70echo
71echo GLPK support.................. : $lx_glpk_found
72echo CPLEX support................. : $lx_cplex_found
73echo
74echo The packace will be installed in
75echo -n '  '
76echo $prefix.
77echo
78echo The documentation will be installed in
79echo -n '  '
80eval eval eval echo ${datadir}/doc/$PACKAGE-$VERSION/html/index.html.
81echo
82echo '*********************************************************************'
83
84echo
85echo configure complete, now type \'make\'
86echo
Note: See TracBrowser for help on using the repository browser.