~ubuntu-branches/ubuntu/utopic/pgadmin3/utopic-proposed

« back to all changes in this revision

Viewing changes to bootstrap

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-09-10 16:16:38 UTC
  • mfrom: (1.3.4)
  • Revision ID: package-import@ubuntu.com-20130910161638-wwup1q553ylww7dr
Tags: 1.18.0-1
* New upstream release.
* Don't install /usr/bin/png2c anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#
11
11
#######################################################################
12
12
 
13
 
# Check for aclocal 1.9/1.10/1.11
14
 
echo "Checking aclocal..."
15
 
 
16
 
RET=`type aclocal-1.12 > /dev/null 2>&1 || echo fail`
17
 
if [ x$RET != xfail ];
18
 
then
19
 
  ACLOCAL=aclocal-1.12
20
 
else
21
 
  RET=`type aclocal-1.11 > /dev/null 2>&1 || echo fail`
22
 
  if [ x$RET != xfail ];
23
 
  then
24
 
    ACLOCAL=aclocal-1.11
25
 
  else
26
 
    RET=`type aclocal-1.10 > /dev/null 2>&1 || echo fail`
27
 
    if [ x$RET != xfail ];
28
 
    then
29
 
      ACLOCAL=aclocal-1.10
30
 
    else
31
 
      RET=`type aclocal-1.9 > /dev/null 2>&1 || echo fail` 
32
 
      if [ x$RET != xfail ];
33
 
      then
34
 
        ACLOCAL=aclocal-1.9
35
 
      else
36
 
        echo "ERROR: this script requires aclocal-1.9, aclocal-1.10, aclocal-1.11 or aclocal-1.12"
37
 
        exit 1
38
 
      fi
39
 
    fi
40
 
  fi
41
 
fi
42
 
 
43
 
 
44
 
# Check for automake 1.9/1.10/1.11/1.12
45
 
echo "Checking automake..."
46
 
RET=`type automake-1.12 > /dev/null 2>&1 || echo fail`
47
 
if [ x$RET != xfail ];
48
 
then
49
 
  AUTOMAKE=automake-1.12
50
 
else
51
 
  RET=`type automake-1.11 > /dev/null 2>&1 || echo fail`
52
 
  if [ x$RET != xfail ];
53
 
  then
54
 
    AUTOMAKE=automake-1.11
55
 
  else
56
 
    RET=`type automake-1.10 > /dev/null 2>&1 || echo fail`
57
 
    if [ x$RET != xfail ];
58
 
    then
59
 
      AUTOMAKE=automake-1.10
60
 
    else
61
 
      RET=`type automake-1.9 > /dev/null 2>&1 || echo fail`
62
 
      if [ x$RET != xfail ];
63
 
      then
64
 
        AUTOMAKE=automake-1.9
65
 
      else
66
 
        echo "ERROR: this script requires automake-1.9, automake-1.10, automake-1.11 or automake-1.12"
67
 
        exit 1
68
 
      fi
69
 
    fi
70
 
  fi
71
 
fi
72
 
 
73
13
# Insert the version number wherever it's needed
74
14
echo "Stamping the version number..."
75
15
LONG_VER=`grep '#define VERSION_PACKAGE' pgadmin/include/version.h | awk '{print $3}'`
95
35
 
96
36
set -x
97
37
 
98
 
$ACLOCAL && \
 
38
aclocal && \
99
39
autoheader && \
100
 
$AUTOMAKE --foreign --add-missing --copy && \
 
40
cp -f config.rpath.in config/config.rpath && \
 
41
automake --foreign --add-missing --copy && \
101
42
autoconf