Do not distribute lemon/config.h and fix its bad include by core.h (#280)
authorAkos Ladanyi <ladanyi@tmit.bme.hu>
Tue, 28 Apr 2009 18:45:29 +0100
changeset 50132fb28fc9d42
parent 500 8a144437db7d
child 503 41bdb4d6c8c3
child 639 72ac25ad276e
Do not distribute lemon/config.h and fix its bad include by core.h (#280)
lemon/Makefile.am
lemon/core.h
     1.1 --- a/lemon/Makefile.am	Mon Apr 27 20:02:37 2009 +0100
     1.2 +++ b/lemon/Makefile.am	Tue Apr 28 18:45:29 2009 +0100
     1.3 @@ -16,6 +16,8 @@
     1.4  #lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS)
     1.5  #lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS)
     1.6  
     1.7 +nodist_lemon_HEADERS = lemon/config.h
     1.8 +
     1.9  lemon_HEADERS += \
    1.10          lemon/arg_parser.h \
    1.11  	lemon/assert.h \
    1.12 @@ -23,7 +25,6 @@
    1.13          lemon/bin_heap.h \
    1.14          lemon/color.h \
    1.15  	lemon/concept_check.h \
    1.16 -	lemon/config.h \
    1.17          lemon/counter.h \
    1.18  	lemon/core.h \
    1.19          lemon/dfs.h \
     2.1 --- a/lemon/core.h	Mon Apr 27 20:02:37 2009 +0100
     2.2 +++ b/lemon/core.h	Tue Apr 28 18:45:29 2009 +0100
     2.3 @@ -22,7 +22,7 @@
     2.4  #include <vector>
     2.5  #include <algorithm>
     2.6  
     2.7 -#include <lemon/core.h>
     2.8 +#include <lemon/config.h>
     2.9  #include <lemon/bits/enable_if.h>
    2.10  #include <lemon/bits/traits.h>
    2.11  #include <lemon/assert.h>