COIN-OR::LEMON - Graph Library

source: lemon-0.x/bootstrap @ 2014:313875e0a34a

Last change on this file since 2014:313875e0a34a was 2012:224cd6aacfc1, checked in by Akos Ladanyi, 19 years ago
  • added gettext infrastructure to the gui
  • the gui has a separate configure script now
  • other minor changes
  • Property exe set to *
File size: 1.2 KB
RevLine 
[1304]1#!/bin/bash
2
3prev=
4for option
5do
6  if test -n "$prev"
7  then
8    eval "$prev=\$option"
9    prev=
10    continue
11  fi
12
13  optarg=`expr "x$option" : 'x[^=]*=\(.*\)'`
14
15  case $option in
16
17  -amver | --amver)
18    prev=amver ;;
19  -amver=* | --amver=*)
20    amver=$optarg ;;
21
22  -acver | --acver)
23    prev=acver ;;
24  -acver=* | --acver=*)
25    acver=$optarg ;;
26
27  --help | -h)
28    cat << EOF
29Usage: $0 [OPTION]
30
31Options:
32  -h, --help            display this help and exit
33      --amver=VERSION   use VERSION version of automake
34      --acver=VERSION   use VERSION version of autoconf
35
36Expamle:
37  $0 --amver=1.8 --acver=2.59
38EOF
39    exit 0
40    ;;
41
42  *)
43    cat << EOF >&2
44$0: unrecognized option: $option
45Try \`$0 --help' for more information.
46EOF
47    exit 1
48    ;;
49
50  esac
51done
52
53automake=automake
54aclocal=aclocal
55autoconf=autoconf
[1348]56autoheader=autoheader
[1304]57
58if test -n "$amver"
59then
60  automake=automake-$amver
61  aclocal=aclocal-$amver
62fi
63
64if test -n "$acver"
65then
66  autoconf=autoconf-$acver
[1348]67  autoheader=autoheader-$acver
[1304]68fi
69
[2012]70echo "Try using 'autoreconf -vi' instead of this."
71
[1348]72set -x
[2012]73$aclocal -I m4 \
[1304]74&& libtoolize --force --copy \
[2012]75&& $autoconf \
[1348]76&& $autoheader \
[2012]77&& $automake --add-missing --copy --gnu
Note: See TracBrowser for help on using the repository browser.