~ubuntu-branches/ubuntu/precise/gedit/precise

« back to all changes in this revision

Viewing changes to ltmain.sh

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-04-14 16:41:13 UTC
  • mfrom: (1.1.78 upstream)
  • Revision ID: james.westby@ubuntu.com-20100414164113-0xgl3u73pcs0ngbc
Tags: 2.30.0git20100413-0ubuntu1
* Updating to git snaptshot since 2.30.1 will be after lucid
* debian/patches/90_autoconf.patch:
  - new version update

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.6b
 
68
#       $progname:              (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
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.6b
 
76
VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
77
77
TIMESTAMP=""
78
78
package_revision=1.3017
79
79
 
5033
5033
        case $pass in
5034
5034
        dlopen) libs="$dlfiles" ;;
5035
5035
        dlpreopen) libs="$dlprefiles" ;;
5036
 
        link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
 
5036
        link)
 
5037
          libs="$deplibs %DEPLIBS%"
 
5038
          test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
 
5039
          ;;
5037
5040
        esac
5038
5041
      fi
5039
5042
      if test "$linkmode,$pass" = "lib,dlpreopen"; then
5344
5347
            # It is a libtool convenience library, so add in its objects.
5345
5348
            convenience="$convenience $ladir/$objdir/$old_library"
5346
5349
            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
5347
5360
          elif test "$linkmode" != prog && test "$linkmode" != lib; then
5348
5361
            func_fatal_error "\`$lib' is not a convenience library"
5349
5362
          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
5360
5363
          continue
5361
5364
        fi # $pass = conv
5362
5365
 
5893
5896
          if test "$link_all_deplibs" != no; then
5894
5897
            # Add the search paths of all dependency libraries
5895
5898
            for deplib in $dependency_libs; do
 
5899
              path=
5896
5900
              case $deplib in
5897
5901
              -L*) path="$deplib" ;;
5898
5902
              *.la)
6206
6210
            revision="$number_minor"
6207
6211
            lt_irix_increment=no
6208
6212
            ;;
 
6213
          *)
 
6214
            func_fatal_configuration "$modename: unknown library version type \`$version_type'"
 
6215
            ;;
6209
6216
          esac
6210
6217
          ;;
6211
6218
        no)