diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,12 @@ 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([HAVE_LONG_LONG], [1], [Define to 1 if you have long long.]) +fi + dnl Checks for programs. AC_PROG_CXX AC_PROG_CXXCPP @@ -116,6 +122,8 @@ echo C++ compiler.................. : $CXX echo C++ compiles flags............ : $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