COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1807:5f2f3d982eba

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

install docs in $datadir/doc/$PACKAGE

File size: 1.8 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT([LEMON], [0.5], [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_ENABLE_DOC
27LX_ENABLE_GUI
28
29dnl Checks for header files.
30AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
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
41AC_CHECK_FUNCS(gettimeofday times ctime_r)
42
43AC_CONFIG_FILES([
44Makefile
45lemon.spec
46autopackage/default.apspec
47doc/Makefile
48doc/Doxyfile
49lemon/Makefile
50lemon/lemon.pc
51benchmark/Makefile
52demo/Makefile
53test/Makefile
54gui/Makefile
55gui/icons/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/$PACKAGE.
80echo
81echo '*********************************************************************'
82
83echo
84echo configure complete, now type \'make\' and then \'make install\'.
85echo
Note: See TracBrowser for help on using the repository browser.