[go: up one dir, main page]

File: bootstrap

package info (click to toggle)
dime 0.20020111-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,256 kB
  • ctags: 1,590
  • sloc: cpp: 14,439; sh: 6,972; makefile: 579; ansic: 57
file content (75 lines) | stat: -rwxr-xr-x 1,780 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#! /bin/sh
# autogen.sh -- auto generate configure and build scripts and templates
#
# Authors:
#   Morten Eriksen <mortene@sim.no>
#   Lars J. Aas <larsa@sim.no>

PROJECT=Dime

AUTOCONF_VER=2.5[0234]
AUTOMAKE_VER=1.5
LIBTOOL_VER=1.4.2

echo "Verifying installed configuration tool versions..."

if test -z "`autoconf --version | grep \" $AUTOCONF_VER\" 2> /dev/null`"; then
  cat <<EOF

  Invalid Version of Autoconf
  ---------------------------
  You must use the CVS development version of autoconf ($AUTOCONF_VER)
  to generate configure information and Makefiles for $PROJECT.

    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.52.tar.gz
EOF
  DIE=true
fi

if test -z "`automake --version | grep \" $AUTOMAKE_VER\" 2> /dev/null`"; then
  cat <<EOF

  Invalid Version of Automake
  ---------------------------
  You must use the CVS development version of automake to ($AUTOMAKE_VER)
  to generate configure information and Makefiles for $PROJECT.

  The CVS automake repository can be fetched by running the following
  set of commands:

    $ cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/automake login
    $ cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/automake co automake
EOF
  DIE=true
fi

if test -z "`libtool --version | grep \" $LIBTOOL_VER \" 2> /dev/null`"; then
  cat <<EOF

  Invalid Version of Libtool
  --------------------------
  You must have libtool version $LIBTOOL_VER installed to generate
  configure information and Makefiles for $PROJECT.

    Get ftp://ftp.gnu.org/pub/gnu/libtool/libtool-1.3.5.tar.gz
EOF
  DIE=true
fi

# abnormal exit?
${DIE=false} && echo "" && exit 1

echo "Running aclocal..."
aclocal -I cfg/m4

echo "Running autoheader..."
autoheader

echo "Running autoconf..."
autoconf

echo "Running automake..."
automake

echo "Done."