~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to m4/lib-ld.m4

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# lib-ld.m4 serial 1 (gettext-0.11)
2
 
dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
3
 
dnl This file is free software, distributed under the terms of the GNU
4
 
dnl General Public License.  As a special exception to the GNU General
5
 
dnl Public License, this file may be distributed as part of a program
6
 
dnl that contains a configuration script generated by Autoconf, under
7
 
dnl the same distribution terms as the rest of that program.
 
1
# lib-ld.m4 serial 3 (gettext-0.13)
 
2
dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
 
3
dnl This file is free software; the Free Software Foundation
 
4
dnl gives unlimited permission to copy and/or distribute it,
 
5
dnl with or without modifications, as long as this notice is preserved.
8
6
 
9
7
dnl Subroutines of libtool.m4,
10
8
dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
14
12
AC_DEFUN([AC_LIB_PROG_LD_GNU],
15
13
[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
16
14
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
17
 
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
18
 
  acl_cv_prog_gnu_ld=yes
19
 
else
20
 
  acl_cv_prog_gnu_ld=no
21
 
fi])
 
15
case `$LD -v 2>&1 </dev/null` in
 
16
*GNU* | *'with BFD'*)
 
17
  acl_cv_prog_gnu_ld=yes ;;
 
18
*)
 
19
  acl_cv_prog_gnu_ld=no ;;
 
20
esac])
22
21
with_gnu_ld=$acl_cv_prog_gnu_ld
23
22
])
24
23
 
29
28
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
30
29
AC_REQUIRE([AC_PROG_CC])dnl
31
30
AC_REQUIRE([AC_CANONICAL_HOST])dnl
 
31
# Prepare PATH_SEPARATOR.
 
32
# The user is always right.
 
33
if test "${PATH_SEPARATOR+set}" != set; then
 
34
  echo "#! /bin/sh" >conf$$.sh
 
35
  echo  "exit 0"   >>conf$$.sh
 
36
  chmod +x conf$$.sh
 
37
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
38
    PATH_SEPARATOR=';'
 
39
  else
 
40
    PATH_SEPARATOR=:
 
41
  fi
 
42
  rm -f conf$$.sh
 
43
fi
32
44
ac_prog=ld
33
45
if test "$GCC" = yes; then
34
46
  # Check if gcc -print-prog-name=ld gives a path.
75
87
      # Check to see if the program is GNU ld.  I'd rather use --version,
76
88
      # but apparently some GNU ld's only accept -v.
77
89
      # Break only if it was the GNU/non-GNU ld that we prefer.
78
 
      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
79
 
        test "$with_gnu_ld" != no && break
80
 
      else
81
 
        test "$with_gnu_ld" != yes && break
82
 
      fi
 
90
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
91
      *GNU* | *'with BFD'*)
 
92
        test "$with_gnu_ld" != no && break ;;
 
93
      *)
 
94
        test "$with_gnu_ld" != yes && break ;;
 
95
      esac
83
96
    fi
84
97
  done
85
98
  IFS="$ac_save_ifs"