Location: LEMON/LEMON-official/configure.ac - annotation
Load file history
Update Doxygen config files + enable search (#404)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r273:5d12d5c80ac9 r727:257e91516e09 r273:5d12d5c80ac9 r273:5d12d5c80ac9 r727:257e91516e09 r273:5d12d5c80ac9 r727:257e91516e09 r727:257e91516e09 r727:257e91516e09 r727:257e91516e09 r727:257e91516e09 r727:257e91516e09 r1:51eaad3a817b r1:51eaad3a817b r236:da953e387d31 r1:51eaad3a817b r1:51eaad3a817b r64:761622e5ed4c r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r725:d1e1cd94bf49 r725:d1e1cd94bf49 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r515:7992dcb0d0e6 r515:7992dcb0d0e6 r515:7992dcb0d0e6 r540:8a144437db7d r515:7992dcb0d0e6 r515:7992dcb0d0e6 r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r60:6ec5dbed8f18 r153:976a014b3797 r60:6ec5dbed8f18 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r296:9768e60aa4e1 r225:c5a40fc54f1a r375:a637fb9d457b r375:a637fb9d457b r1:51eaad3a817b r375:a637fb9d457b r1:51eaad3a817b r1:51eaad3a817b r481:7afc121e0689 r481:7afc121e0689 r481:7afc121e0689 r615:b53a9068e3e4 r1:51eaad3a817b r480:69928a704ffb r480:69928a704ffb r1:51eaad3a817b r225:c5a40fc54f1a r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r219:b9c6a47c977b r219:b9c6a47c977b r503:64c2641286df r219:b9c6a47c977b r1:51eaad3a817b r1:51eaad3a817b r611:eda12d8ac953 r503:64c2641286df r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r375:a637fb9d457b r1:51eaad3a817b r515:7992dcb0d0e6 r515:7992dcb0d0e6 r481:7afc121e0689 r481:7afc121e0689 r481:7afc121e0689 r482:ed54c0d13df0 r614:3314f58e7b25 r481:7afc121e0689 r55:9bd0d6e0c279 r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r1:51eaad3a817b r55:9bd0d6e0c279 r1:51eaad3a817b | dnl Process this file with autoconf to produce a configure script.
dnl Version information.
m4_define([lemon_version_number],
[m4_normalize(esyscmd([echo ${LEMON_VERSION}]))])
dnl m4_define([lemon_version_number], [])
m4_define([lemon_hg_path], [m4_normalize(esyscmd([./scripts/chg-len.py]))])
m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg id -i 2> /dev/null]))])
m4_define([lemon_version], [ifelse(lemon_version_number(),
[],
[ifelse(lemon_hg_revision(),
[],
[hg-tip],
[lemon_hg_path().lemon_hg_revision()])],
[lemon_version_number()])])
AC_PREREQ([2.59])
AC_INIT([LEMON], [lemon_version()], [lemon-user@lemon.cs.elte.hu], [lemon])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects nostdinc])
AC_CONFIG_SRCDIR([lemon/list_graph.h])
AC_CONFIG_HEADERS([config.h lemon/config.h])
AC_DEFINE([LEMON_VERSION], [lemon_version()], [The version string])
dnl Do compilation tests using the C++ compiler.
AC_LANG([C++])
dnl Check the existence of long long type.
AC_CHECK_TYPE(long long, [long_long_found=yes], [long_long_found=no])
if test x"$long_long_found" = x"yes"; then
AC_DEFINE([LEMON_HAVE_LONG_LONG], [1], [Define to 1 if you have long long.])
fi
dnl Checks for programs.
AC_PROG_CXX
AC_PROG_CXXCPP
AC_PROG_INSTALL
AC_DISABLE_SHARED
AC_PROG_LIBTOOL
AC_CHECK_PROG([doxygen_found],[doxygen],[yes],[no])
AC_CHECK_PROG([gs_found],[gs],[yes],[no])
dnl Detect Intel compiler.
AC_MSG_CHECKING([whether we are using the Intel C++ compiler])
AC_COMPILE_IFELSE([#ifndef __INTEL_COMPILER
choke me
#endif], [ICC=[yes]], [ICC=[no]])
if test x"$ICC" = x"yes"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
dnl Set custom compiler flags when using g++.
if test "$GXX" = yes -a "$ICC" = no; then
WARNINGCXXFLAGS="-Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas"
fi
AC_SUBST([WARNINGCXXFLAGS])
dnl Checks for libraries.
LX_CHECK_GLPK
LX_CHECK_CPLEX
LX_CHECK_SOPLEX
LX_CHECK_COIN
AM_CONDITIONAL([HAVE_LP], [test x"$lx_lp_found" = x"yes"])
AM_CONDITIONAL([HAVE_MIP], [test x"$lx_mip_found" = x"yes"])
dnl Disable/enable building the binary tools.
AC_ARG_ENABLE([tools],
AS_HELP_STRING([--enable-tools], [build additional tools @<:@default@:>@])
AS_HELP_STRING([--disable-tools], [do not build additional tools]),
[], [enable_tools=yes])
AC_MSG_CHECKING([whether to build the additional tools])
if test x"$enable_tools" != x"no"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"])
dnl Checks for header files.
AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_STRUCT_TM
dnl Checks for library functions.
AC_HEADER_STDC
AC_CHECK_FUNCS(gettimeofday times ctime_r)
dnl Add dependencies on files generated by configure.
AC_SUBST([CONFIG_STATUS_DEPENDENCIES],
['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/lemon/lemon.pc.in $(top_srcdir)/cmake/version.cmake.in'])
AC_CONFIG_FILES([
Makefile
demo/Makefile
cmake/version.cmake
doc/Doxyfile
lemon/lemon.pc
])
AC_OUTPUT
echo
echo '****************************** SUMMARY ******************************'
echo
echo Package version............... : $PACKAGE-$VERSION
echo
echo C++ compiler.................. : $CXX
echo C++ compiles flags............ : $WARNINGCXXFLAGS $CXXFLAGS
echo
echo Compiler supports long long... : $long_long_found
echo
echo GLPK support.................. : $lx_glpk_found
echo CPLEX support................. : $lx_cplex_found
echo SOPLEX support................ : $lx_soplex_found
echo CLP support................... : $lx_clp_found
echo CBC support................... : $lx_cbc_found
echo
echo Build additional tools........ : $enable_tools
echo
echo The packace will be installed in
echo -n ' '
echo $prefix.
echo
echo '*********************************************************************'
echo
echo Configure complete, now type \'make\' and then \'make install\'.
echo
|