~ubuntu-branches/ubuntu/trusty/libgweather/trusty

« back to all changes in this revision

Viewing changes to 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
 
5038
5038
        case $pass in
5039
5039
        dlopen) libs="$dlfiles" ;;
5040
5040
        dlpreopen) libs="$dlprefiles" ;;
5041
 
        link)
5042
 
          libs="$deplibs %DEPLIBS%"
5043
 
          test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
5044
 
          ;;
 
5041
        link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
5045
5042
        esac
5046
5043
      fi
5047
5044
      if test "$linkmode,$pass" = "lib,dlpreopen"; then
5361
5358
            # It is a libtool convenience library, so add in its objects.
5362
5359
            convenience="$convenience $ladir/$objdir/$old_library"
5363
5360
            old_convenience="$old_convenience $ladir/$objdir/$old_library"
5364
 
            tmp_libs=
5365
 
            for deplib in $dependency_libs; do
5366
 
              deplibs="$deplib $deplibs"
5367
 
              if $opt_duplicate_deps ; then
5368
 
                case "$tmp_libs " in
5369
 
                *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5370
 
                esac
5371
 
              fi
5372
 
              tmp_libs="$tmp_libs $deplib"
5373
 
            done
5374
5361
          elif test "$linkmode" != prog && test "$linkmode" != lib; then
5375
5362
            func_fatal_error "\`$lib' is not a convenience library"
5376
5363
          fi
 
5364
          tmp_libs=
 
5365
          for deplib in $dependency_libs; do
 
5366
            deplibs="$deplib $deplibs"
 
5367
            if $opt_duplicate_deps ; then
 
5368
              case "$tmp_libs " in
 
5369
              *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
 
5370
              esac
 
5371
            fi
 
5372
            tmp_libs="$tmp_libs $deplib"
 
5373
          done
5377
5374
          continue
5378
5375
        fi # $pass = conv
5379
5376
 
5910
5907
          if test "$link_all_deplibs" != no; then
5911
5908
            # Add the search paths of all dependency libraries
5912
5909
            for deplib in $dependency_libs; do
5913
 
              path=
5914
5910
              case $deplib in
5915
5911
              -L*) path="$deplib" ;;
5916
5912
              *.la)
6224
6220
            revision="$number_minor"
6225
6221
            lt_irix_increment=no
6226
6222
            ;;
6227
 
          *)
6228
 
            func_fatal_configuration "$modename: unknown library version type \`$version_type'"
6229
 
            ;;
6230
6223
          esac
6231
6224
          ;;
6232
6225
        no)