Remove superfluous HAVE_CONFIG_H (#278)
authorAkos Ladanyi <ladanyi@tmit.bme.hu>
Tue, 28 Apr 2009 16:44:48 +0100
changeset 631d21b38647e53
parent 628 586b65073025
child 632 0286cb1ac78d
Remove superfluous HAVE_CONFIG_H (#278)
CMakeLists.txt
test/lp_test.cc
test/mip_test.cc
     1.1 --- a/CMakeLists.txt	Tue Apr 28 14:01:00 2009 +0100
     1.2 +++ b/CMakeLists.txt	Tue Apr 28 16:44:48 2009 +0100
     1.3 @@ -17,8 +17,6 @@
     1.4  FIND_PACKAGE(CPLEX)
     1.5  FIND_PACKAGE(COIN)
     1.6  
     1.7 -ADD_DEFINITIONS(-DHAVE_CONFIG_H)
     1.8 -
     1.9  IF(MSVC)
    1.10    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996")
    1.11  # Suppressed warnings:
    1.12 @@ -28,8 +26,6 @@
    1.13  # C4996: 'function': was declared deprecated
    1.14  ENDIF(MSVC)
    1.15  
    1.16 -ADD_DEFINITIONS(-DHAVE_CONFIG_H)
    1.17 -
    1.18  INCLUDE(CheckTypeSize)
    1.19  CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG)
    1.20  
     2.1 --- a/test/lp_test.cc	Tue Apr 28 14:01:00 2009 +0100
     2.2 +++ b/test/lp_test.cc	Tue Apr 28 16:44:48 2009 +0100
     2.3 @@ -21,9 +21,7 @@
     2.4  #include "test_tools.h"
     2.5  #include <lemon/tolerance.h>
     2.6  
     2.7 -#ifdef HAVE_CONFIG_H
     2.8  #include <lemon/config.h>
     2.9 -#endif
    2.10  
    2.11  #ifdef LEMON_HAVE_GLPK
    2.12  #include <lemon/glpk.h>
     3.1 --- a/test/mip_test.cc	Tue Apr 28 14:01:00 2009 +0100
     3.2 +++ b/test/mip_test.cc	Tue Apr 28 16:44:48 2009 +0100
     3.3 @@ -18,9 +18,7 @@
     3.4  
     3.5  #include "test_tools.h"
     3.6  
     3.7 -#ifdef HAVE_CONFIG_H
     3.8  #include <lemon/config.h>
     3.9 -#endif
    3.10  
    3.11  #ifdef LEMON_HAVE_CPLEX
    3.12  #include <lemon/cplex.h>