COIN-OR::LEMON - Graph Library

Ticket #142: disable-ilp.patch

File disable-ilp.patch, 2.0 KB (added by Akos Ladanyi, 16 years ago)

362415050b29

  • configure.ac

    # HG changeset patch
    # User Akos Ladanyi <ladanyi@tmit.bme.hu>
    # Date 1221042221 -3600
    # Node ID 362415050b29c0c5c089847b2985595d373b33e2
    # Parent  914c5432be97842b7ed2c1c56052f4147f5155ad
    Disable checks for ILP solvers.
    
    diff --git a/configure.ac b/configure.ac
    a b  
    3131fi
    3232
    3333dnl Checks for libraries.
    34 LX_CHECK_GLPK
    35 LX_CHECK_CPLEX
    36 LX_CHECK_SOPLEX
     34#LX_CHECK_GLPK
     35#LX_CHECK_CPLEX
     36#LX_CHECK_SOPLEX
    3737
    3838dnl Disable/enable building the demo programs.
    3939AC_ARG_ENABLE([demo],
     
    108108echo C++ compiler.................. : $CXX
    109109echo C++ compiles flags............ : $CXXFLAGS
    110110echo
    111 echo GLPK support.................. : $lx_glpk_found
    112 echo CPLEX support................. : $lx_cplex_found
    113 echo SOPLEX support................ : $lx_soplex_found
    114 echo
     111#echo GLPK support.................. : $lx_glpk_found
     112#echo CPLEX support................. : $lx_cplex_found
     113#echo SOPLEX support................ : $lx_soplex_found
     114#echo
    115115echo Build benchmarks.............. : $enable_benchmark
    116116echo Build demo programs........... : $enable_demo
    117117echo Build additional tools........ : $enable_tools
  • lemon/Makefile.am

    diff --git a/lemon/Makefile.am b/lemon/Makefile.am
    a b  
    1212        lemon/color.cc \
    1313        lemon/random.cc
    1414
    15 
    16 lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS)
    17 lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS)
     15#lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS)
     16#lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS)
    1817
    1918lemon_HEADERS += \
    2019        lemon/arg_parser.h \
  • lemon/lemon.pc.in

    diff --git a/lemon/lemon.pc.in b/lemon/lemon.pc.in
    a b  
    66Name: @PACKAGE_NAME@
    77Description: Library of Efficient Models and Optimization in Networks
    88Version: @PACKAGE_VERSION@
    9 Libs: -L${libdir} -lemon @GLPK_LIBS@ @CPLEX_LIBS@
    10 Cflags: -I${includedir} @GLPK_CFLAGS@ @CPLEX_CFLAGS@
     9Libs: -L${libdir} -lemon
     10Cflags: -I${includedir}