COIN-OR::LEMON - Graph Library

Ticket #108: m4-fix.patch

File m4-fix.patch, 1.2 KB (added by Akos Ladanyi, 16 years ago)

hg hash: 84c2a2e5cfee

  • m4/lx_check_cplex.m4

    # HG changeset patch
    # User Akos Ladanyi <ladanyi@tmit.bme.hu>
    # Date 1215003080 -3600
    # Node ID 84c2a2e5cfee5dea7cbd79afadee5df6463a8604
    # Parent  9159de5e96575000084e63974303ad6fa5329d02
    Fix bug caused by m4 consuming pairs of square brackets (#108).
    
    diff --git a/m4/lx_check_cplex.m4 b/m4/lx_check_cplex.m4
    a b  
    4646      #include <ilcplex/cplex.h>
    4747      }
    4848
    49       int main(int argc, char* argv[])
     49      int main(int argc, char** argv)
    5050      {
    5151        CPXENVptr env = NULL;
    5252        return 0;
  • m4/lx_check_glpk.m4

    diff --git a/m4/lx_check_glpk.m4 b/m4/lx_check_glpk.m4
    a b  
    4242      #include <glpk.h>
    4343      }
    4444
    45       int main(int argc, char* argv[])
     45      int main(int argc, char** argv)
    4646      {
    4747        LPX *lp;
    4848        lp = lpx_create_prob();
  • m4/lx_check_soplex.m4

    diff --git a/m4/lx_check_soplex.m4 b/m4/lx_check_soplex.m4
    a b  
    4040    lx_soplex_test_prog='
    4141      #include <soplex/soplex.h>
    4242
    43       int main(int argc, char* argv[])
     43      int main(int argc, char** argv)
    4444      {
    4545        soplex::SoPlex soplex;
    4646        return 0;