~ubuntu-branches/ubuntu/utopic/linphone/utopic-proposed

« back to all changes in this revision

Viewing changes to mediastreamer2/autogen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-05-23 10:04:07 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100523100407-wev5qrmhwwbs0whh
Tags: 3.3.0-1
* New upstream release

* debian/control: s/is a is an/is an/ (Closes: #582661)
* debian/control s/It main/Its main/ (Closes: #582665) 
* configure --disable-strict (Closes: 561708)
* Cleanup arches libv4l-dev libasound2-dev (Closes: #542595)
* Cleanup debian/watch
* Drop fix_desktop_section.dpatch - included upstream
* Drop desktop-icon.dpatch - included upstream
* Drop always_ipv4_for_ipv4_hosts.dpatch - included upstream
* Drop dpatch
* Upstream dropped /usr/bin/sipomatic

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
AM_VERSION="1.10"
 
3
#AM_VERSION="1.10"
4
4
if ! type aclocal-$AM_VERSION 1>/dev/null 2>&1; then
5
5
        # automake-1.10 (recommended) is not available on Fedora 8
6
6
        AUTOMAKE=automake
10
10
        AUTOMAKE=automake-${AM_VERSION}
11
11
fi
12
12
 
13
 
if test -f /opt/local/bin/glibtoolize ; then
14
 
        # darwin
15
 
        LIBTOOLIZE=/opt/local/bin/glibtoolize
16
 
else
17
 
        LIBTOOLIZE=libtoolize
18
 
fi
 
13
libtoolize="libtoolize"
 
14
for lt in glibtoolize libtoolize15 libtoolize14 libtoolize13 ; do
 
15
        if test -x /usr/bin/$lt ; then
 
16
                libtoolize=$lt ; break
 
17
        fi
 
18
        if test -x /usr/local/bin/$lt ; then
 
19
                libtoolize=$lt ; break
 
20
        fi
 
21
        if test -x /opt/local/bin/$lt ; then
 
22
                libtoolize=$lt ; break
 
23
        fi
 
24
done
 
25
AUTOMAKE_FLAGS=""
 
26
case $libtoolize in
 
27
*glibtoolize)
 
28
        AUTOMAKE_FLAGS="-i"
 
29
        ;;
 
30
esac
 
31
 
19
32
if test -d /opt/local/share/aclocal ; then
20
33
        ACLOCAL_ARGS="-I /opt/local/share/aclocal"
21
34
fi
 
35
if test -d /usr/local/share/aclocal ; then
 
36
        ACLOCAL_ARGS="-I /usr/local/share/aclocal"
 
37
fi
22
38
 
23
39
echo "Generating build scripts in mediastreamer..."
24
40
set -x
25
 
$LIBTOOLIZE --copy --force
 
41
$libtoolize --copy --force
26
42
$ACLOCAL  $ACLOCAL_ARGS
27
43
autoheader
28
 
$AUTOMAKE --force-missing --add-missing --copy
 
44
$AUTOMAKE --force-missing --add-missing --copy ${AUTOMAKE_FLAGS}
29
45
autoconf
30
46