1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT([LEMON], [0.5], [etik-ol@cs.elte.hu], [lemon])
3 AC_CONFIG_AUX_DIR([config])
4 AM_INIT_AUTOMAKE([1.7])
5 AC_CONFIG_SRCDIR([lemon/invalid.h])
6 AC_CONFIG_HEADERS([config.h lemon/config.h])
9 dnl Checks for programs.
16 if test $CXX != icc -a $CXX != icpc; then
17 CXXFLAGS="$CXXFLAGS -Wall -W"
20 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
22 dnl Checks for libraries.
30 dnl Checks for header files.
31 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
33 dnl Checks for typedefs, structures, and compiler characteristics.
40 dnl Checks for library functions.
42 AC_CHECK_FUNCS(gettimeofday times ctime_r)
47 autopackage/default.apspec
62 echo '****************************** SUMMARY ******************************'
64 echo Package version............... : $PACKAGE-$VERSION
66 echo C++ compiler.................. : $CXX
67 echo C++ compiles flags............ : $CXXFLAGS
69 echo GLPK support.................. : $lx_glpk_found
70 echo CPLEX support................. : $lx_cplex_found
72 echo build GUI..................... : $enable_gui
74 echo The packace will be installed in
78 echo The documentation will be installed in
80 eval echo ${datadir}/doc/$DOCSUFFIX.
82 echo '*********************************************************************'
85 echo configure complete, now type \'make\' and then \'make install\'.