Akos' research pointed out that it is a must.
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])
5 AC_CONFIG_SRCDIR([lemon/invalid.h])
6 AC_CONFIG_HEADERS([config.h lemon/config.h])
9 dnl Save user defined CXXFLAGS
10 dnl lx_user_cxxflags="$CXXFLAGS"
12 dnl Checks for programs.
19 if test $CXX != icc -a $CXX != icpc; then
20 CXXFLAGS="$CXXFLAGS -Wall -W"
23 AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
25 dnl This is tested only with gcc-3.4 and icc-8.0
28 dnl Checks for libraries.
35 dnl Checks for header files.
36 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
38 dnl Checks for typedefs, structures, and compiler characteristics.
45 dnl Checks for library functions.
47 AC_CHECK_FUNCS(gettimeofday times ctime_r)
51 autopackage/default.apspec
65 echo '****************************** SUMMARY ******************************'
67 echo Package version............... : $PACKAGE-$VERSION
69 echo C++ compiler.................. : $CXX
70 echo C++ compiles flags............ : $CXXFLAGS
72 echo GLPK support.................. : $lx_glpk_found
73 echo CPLEX support................. : $lx_cplex_found
75 echo build GUI..................... : $enable_gui
77 echo The packace will be installed in
81 echo The documentation will be installed in
83 eval eval eval echo ${datadir}/doc/$PACKAGE-$VERSION/html/index.html.
85 echo '*********************************************************************'
88 echo configure complete, now type \'make\'