~ubuntu-branches/ubuntu/precise/empathy/precise-proposed-201205180810

« back to all changes in this revision

Viewing changes to telepathy-yell/m4/linker.m4

  • Committer: Bazaar Package Importer
  • Author(s): Brian Curtis, Brian Curtis, Ken VanDine
  • Date: 2011-06-01 10:35:24 UTC
  • mfrom: (1.1.70 upstream) (6.3.44 experimental)
  • Revision ID: james.westby@ubuntu.com-20110601103524-wx3wgp71394730jt
Tags: 3.1.1-1ubuntu1
[ Brian Curtis ]
* Merge with Debian experimental, remaining Ubuntu changes:
* debian/control:
  - Drop geoclue/mapping build-depends (they are in Universe)
  - Add Vcz-Bzr link
  - Add Suggests on telepathy-idle
  - Bump telepathy-butterfly, telepathy-haze to recommends
  - Don't recommend the freedesktop sound theme we have an ubuntu one
  - Add build depend for libunity-dev
* debian/rules:
  - Use autoreconf.mk
  - Disable map and location
* debian/empathy.install:
  - Install message indicator configuration
* debian/indicators/empathy:
  - Message indicator configuration
* debian/patches/01_lpi.patch:
  - Add Launchpad integration
* debian/patches/10_use_notify_osd_icons.patch:
  - Use the notify-osd image for new messages
* debian/patches/34_start_raised_execpt_in_session.patch
  - If not started with the session, we should always raise
* debian/patches/36_chat_window_default_size.patch:
  - Make the default chat window size larger
* debian/patches/37_facebook_default.patch:
  - Make facebook the default chat account type
* debian/patches/38_lp_569289.patch
  - Set freenode as default IRC network for new IRC accounts 
* debian/patches/41_unity_launcher_progress.patch
  - Display file transfer progress in the unity launcher

[ Ken VanDine ]
* debian/control
  - build depend on libgcr-3-dev instead of libgcr-dev
  - dropped build depends for libindicate, we will use telepathy-indicator
  - Depend on dconf-gsettings-backend | gsettings-backend
  - Added a Recommends for telepathy-indicator
* +debian/empathy.gsettings-override
  - Added an override for notifications-focus
* debian/patches/series
  - commented out 23_idomessagedialog_for_voip_and_ft.patch, until ido has 
    been ported to gtk3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# linker.m4 - autoconf macros for linker settings
2
 
#
3
 
# Copyright © 2005 Scott James Remnant <scott@netsplit.com>.
4
 
#
5
 
# Permission is hereby granted, free of charge, to any person obtaining
6
 
# a copy of this software and associated documentation files (the
7
 
# "Software"), to deal in the Software without restriction, including
8
 
# without limitation the rights to use, copy, modify, merge, publish,
9
 
# distribute, sublicense, and/or sell copies of the Software, and to
10
 
# permit persons to whom the Software is furnished to do so, subject to
11
 
# the following conditions:
12
 
13
 
# The above copyright notice and this permission notice shall be
14
 
# included in all copies or substantial portions of the Software.
15
 
16
 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
 
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
 
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
 
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
20
 
# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
21
 
# CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
 
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
 
 
24
 
 
25
 
# LINKER_OPTIMISATIONS
26
 
# --------------------
27
 
# Add configure option to disable linker optimisations.
28
 
AC_DEFUN([LINKER_OPTIMISATIONS],
29
 
[AC_ARG_ENABLE(linker-optimisations,
30
 
        AS_HELP_STRING([--disable-linker-optimisations],
31
 
                       [Disable linker optimisations]),
32
 
[if test "x$enable_linker_optimisations" = "xno"; then
33
 
        [LDFLAGS=`echo "$LDFLAGS" | sed -e "s/ -Wl,-O[0-9]*\b//g"`]
34
 
else
35
 
        [LDFLAGS="$LDFLAGS -Wl,-O1"]
36
 
fi], [LDFLAGS="$LDFLAGS -Wl,-O1"])dnl
37
 
])# LINKER_OPTIMISATIONS
38
 
 
39
 
# LINKER_VERSION_SCRIPT
40
 
# --------------------------
41
 
# Detect whether the linker supports version scripts
42
 
AC_DEFUN([LINKER_VERSION_SCRIPT],
43
 
[AC_MSG_CHECKING([for linker version script argument])
44
 
for aranha_try_arg in "-Wl,--version-script"; do
45
 
        aranha_old_libs="$LIBS"
46
 
        LIBS="$LIBS $aranha_try_arg=conftest.ver"
47
 
 
48
 
        cat >conftest.ver <<EOF
49
 
TEST {
50
 
        global:
51
 
                *;
52
 
};
53
 
EOF
54
 
 
55
 
        AC_TRY_LINK([], [], [
56
 
                rm -f conftest.ver
57
 
                LIBS="$aranha_old_libs"
58
 
 
59
 
                AC_MSG_RESULT([$aranha_try_arg])
60
 
                AC_SUBST(VERSION_SCRIPT_ARG, [$aranha_try_arg])
61
 
                break
62
 
        ])
63
 
 
64
 
        rm -f conftest.ver
65
 
        LIBS="$aranha_old_libs"
66
 
done
67
 
 
68
 
AM_CONDITIONAL(HAVE_VERSION_SCRIPT_ARG, [test -n "$VERSION_SCRIPT_ARG"])
69
 
if test -z "$VERSION_SCRIPT_ARG"; then
70
 
        AC_MSG_RESULT([unknown])
71
 
fi
72
 
])dnl
73
 
])# LINKER_VERSION_SCRIPT