COIN-OR::LEMON - Graph Library

source: lemon-0.x/configure.ac @ 1659:ab1e97b7b2b7

Last change on this file since 1659:ab1e97b7b2b7 was 1659:ab1e97b7b2b7, checked in by Alpar Juttner, 14 years ago

Dependency problem (guipixbufs.h) is solved.

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
56gui/icons/Makefile
57])
58
59AC_OUTPUT
60
61echo
62echo '****************************** SUMMARY ******************************'
63echo
64echo Package version............... : $PACKAGE-$VERSION
65echo
66echo C++ compiler.................. : $CXX
67echo C++ compiles flags............ : $CXXFLAGS
68echo
69echo GLPK support.................. : $lx_glpk_found
70echo CPLEX support................. : $lx_cplex_found
71echo
72echo build GUI..................... : $enable_gui
73echo
74echo The packace will be installed in
75echo -n '  '
76echo $prefix.
77echo
78echo The documentation will be installed in
79echo -n '  '
80eval echo ${datadir}/doc/$DOCSUFFIX.
81echo
82echo '*********************************************************************'
83
84echo
85echo configure complete, now type \'make\' and then \'make install\'.
86echo
Note: See TracBrowser for help on using the repository browser.