COIN-OR::LEMON - Graph Library

Changeset 35:f7a4e8024952 in lemon-tutorial for configure


Ignore:
Timestamp:
02/17/10 18:42:19 (15 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Phase:
public
Message:

Put all version numbers in config.sh for easier changing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r34 r35  
    11#!/bin/bash
     2
     3source config.sh
    24
    35quiet=0
     
    3335  -h, --help                  display this help and exit
    3436      --lemon-doc-prefix=loc  The location of the lemon doc. By default it is
    35                               http://lemon.cs.elte.hu/pub/doc/1.1.1
     37                              http://lemon.cs.elte.hu/pub/doc/$LEMON_VERSION
    3638
    3739Expamle:
     
    5557if test -z "$lemon_doc_prefix"
    5658then
    57     lemon_doc_prefix='http://lemon.cs.elte.hu/pub/doc/1.1.1'
     59    lemon_doc_prefix="http://lemon.cs.elte.hu/pub/doc/$LEMON_VERSION"
    5860fi
    5961lemon_doc_prefix=$(echo $lemon_doc_prefix|sed 's/\//\\\\\\\//g')
     
    6567sed -e "s/@lemon_cflags@/${lemon_cflags}/g" \
    6668    -e "s/@lemon_libs@/${lemon_libs}/g" \
    67    -e "s/@make_lemon_doc_prefix@/${lemon_doc_prefix}/g" \
     69    -e "s/@make_lemon_doc_prefix@/${lemon_doc_prefix}/g" \
     70    -e "s/@LIBSTDCXX_VERSION@/${LIBSTDCXX_VERSION}/g" \
    6871    < Makefile.in > Makefile
Note: See TracChangeset for help on using the changeset viewer.