~l3on/ubuntu/trusty/libgweather/fix-1370464

« back to all changes in this revision

Viewing changes to .pc/99_ltmain_as-needed.patch/ltmain.sh

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-07-27 19:30:48 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100727193048-f41g6sw3l1n7u306
Tags: 2.30.2-1
* New upstream stable release.
* debian/patches/99_ltmain_as-needed.patch
  - Refresh for new upstream release.
* debian/control
  - Add Vcs-Browser and Vcs-Svn fields.
  - Bump Standards-Version to 3.9.1. No further changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
#       compiler:               $LTCC
66
66
#       compiler flags:         $LTCFLAGS
67
67
#       linker:         $LD (gnu? $with_gnu_ld)
68
 
#       $progname:              (GNU libtool) 2.2.6 Debian-2.2.6a-4
 
68
#       $progname:              (GNU libtool) 2.2.6
69
69
#       automake:               $automake_version
70
70
#       autoconf:               $autoconf_version
71
71
#
73
73
 
74
74
PROGRAM=ltmain.sh
75
75
PACKAGE=libtool
76
 
VERSION="2.2.6 Debian-2.2.6a-4"
 
76
VERSION=2.2.6
77
77
TIMESTAMP=""
78
78
package_revision=1.3012
79
79
 
116
116
 
117
117
: ${CP="cp -f"}
118
118
: ${ECHO="echo"}
119
 
: ${EGREP="/bin/grep -E"}
120
 
: ${FGREP="/bin/grep -F"}
121
 
: ${GREP="/bin/grep"}
 
119
: ${EGREP="/usr/bin/grep -E"}
 
120
: ${FGREP="/usr/bin/grep -F"}
 
121
: ${GREP="/usr/bin/grep"}
122
122
: ${LN_S="ln -s"}
123
123
: ${MAKE="make"}
124
124
: ${MKDIR="mkdir"}
125
125
: ${MV="mv -f"}
126
126
: ${RM="rm -f"}
127
 
: ${SED="/bin/sed"}
 
127
: ${SED="/opt/local/bin/gsed"}
128
128
: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
129
129
: ${Xsed="$SED -e 1s/^X//"}
130
130
 
5033
5033
        case $pass in
5034
5034
        dlopen) libs="$dlfiles" ;;
5035
5035
        dlpreopen) libs="$dlprefiles" ;;
5036
 
        link)
5037
 
          libs="$deplibs %DEPLIBS%"
5038
 
          test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
5039
 
          ;;
 
5036
        link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
5040
5037
        esac
5041
5038
      fi
5042
5039
      if test "$linkmode,$pass" = "lib,dlpreopen"; then
5347
5344
            # It is a libtool convenience library, so add in its objects.
5348
5345
            convenience="$convenience $ladir/$objdir/$old_library"
5349
5346
            old_convenience="$old_convenience $ladir/$objdir/$old_library"
5350
 
            tmp_libs=
5351
 
            for deplib in $dependency_libs; do
5352
 
              deplibs="$deplib $deplibs"
5353
 
              if $opt_duplicate_deps ; then
5354
 
                case "$tmp_libs " in
5355
 
                *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5356
 
                esac
5357
 
              fi
5358
 
              tmp_libs="$tmp_libs $deplib"
5359
 
            done
5360
5347
          elif test "$linkmode" != prog && test "$linkmode" != lib; then
5361
5348
            func_fatal_error "\`$lib' is not a convenience library"
5362
5349
          fi
 
5350
          tmp_libs=
 
5351
          for deplib in $dependency_libs; do
 
5352
            deplibs="$deplib $deplibs"
 
5353
            if $opt_duplicate_deps ; then
 
5354
              case "$tmp_libs " in
 
5355
              *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 
5356
              esac
 
5357
            fi
 
5358
            tmp_libs="$tmp_libs $deplib"
 
5359
          done
5363
5360
          continue
5364
5361
        fi # $pass = conv
5365
5362
 
5896
5893
          if test "$link_all_deplibs" != no; then
5897
5894
            # Add the search paths of all dependency libraries
5898
5895
            for deplib in $dependency_libs; do
5899
 
              path=
5900
5896
              case $deplib in
5901
5897
              -L*) path="$deplib" ;;
5902
5898
              *.la)
6210
6206
            revision="$number_minor"
6211
6207
            lt_irix_increment=no
6212
6208
            ;;
6213
 
          *)
6214
 
            func_fatal_configuration "$modename: unknown library version type \`$version_type'"
6215
 
            ;;
6216
6209
          esac
6217
6210
          ;;
6218
6211
        no)