1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT([LEMON], [0.4], [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
61 echo '****************************** SUMMARY ******************************'
63 echo Package version............... : $PACKAGE-$VERSION
65 echo C++ compiler.................. : $CXX
66 echo C++ compiles flags............ : $CXXFLAGS
68 echo GLPK support.................. : $lx_glpk_found
69 echo CPLEX support................. : $lx_cplex_found
71 echo build GUI..................... : $enable_gui
73 echo The packace will be installed in
77 echo The documentation will be installed in
79 eval echo ${datadir}/doc/$DOCSUFFIX.
81 echo '*********************************************************************'
84 echo configure complete, now type \'make\' and then \'make install\'.