~ubuntu-desktop/indicator-messages/ubuntu

« back to all changes in this revision

Viewing changes to compile

  • Committer: Sebastien Bacher
  • Date: 2012-08-23 11:28:52 UTC
  • mfrom: (68.46.24)
  • Revision ID: seb128@ubuntu.com-20120823112852-elvo1ed9ntwmtqhy
* New upstream version
* debian/control:
  - set some conflicts on the old deprecated status provider binaries
  - updated Build-Depends
* debian/control, debian/*.install:
  - drop indicator-status-provider-*, those are deprecated
  - new binaries for the libmessaging-menu library
* debian/libmessaging-menu0.symbols:
  - symbol file for the new library
* Updated packaging to dh9, current standards

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Wrapper for compilers which do not understand '-c -o'.
3
3
 
4
 
scriptversion=2012-01-04.17; # UTC
 
4
scriptversion=2012-03-05.13; # UTC
5
5
 
6
6
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
7
7
# Software Foundation, Inc.
79
79
  esac
80
80
}
81
81
 
 
82
# func_cl_dashL linkdir
 
83
# Make cl look for libraries in LINKDIR
 
84
func_cl_dashL ()
 
85
{
 
86
  func_file_conv "$1"
 
87
  if test -z "$lib_path"; then
 
88
    lib_path=$file
 
89
  else
 
90
    lib_path="$lib_path;$file"
 
91
  fi
 
92
  linker_opts="$linker_opts -LIBPATH:$file"
 
93
}
 
94
 
 
95
# func_cl_dashl library
 
96
# Do a library search-path lookup for cl
 
97
func_cl_dashl ()
 
98
{
 
99
  lib=$1
 
100
  found=no
 
101
  save_IFS=$IFS
 
102
  IFS=';'
 
103
  for dir in $lib_path $LIB
 
104
  do
 
105
    IFS=$save_IFS
 
106
    if $shared && test -f "$dir/$lib.dll.lib"; then
 
107
      found=yes
 
108
      lib=$dir/$lib.dll.lib
 
109
      break
 
110
    fi
 
111
    if test -f "$dir/$lib.lib"; then
 
112
      found=yes
 
113
      lib=$dir/$lib.lib
 
114
      break
 
115
    fi
 
116
  done
 
117
  IFS=$save_IFS
 
118
 
 
119
  if test "$found" != yes; then
 
120
    lib=$lib.lib
 
121
  fi
 
122
}
 
123
 
82
124
# func_cl_wrapper cl arg...
83
125
# Adjust compile command to suit cl
84
126
func_cl_wrapper ()
109
151
              ;;
110
152
          esac
111
153
          ;;
 
154
        -I)
 
155
          eat=1
 
156
          func_file_conv "$2" mingw
 
157
          set x "$@" -I"$file"
 
158
          shift
 
159
          ;;
112
160
        -I*)
113
161
          func_file_conv "${1#-I}" mingw
114
162
          set x "$@" -I"$file"
115
163
          shift
116
164
          ;;
 
165
        -l)
 
166
          eat=1
 
167
          func_cl_dashl "$2"
 
168
          set x "$@" "$lib"
 
169
          shift
 
170
          ;;
117
171
        -l*)
118
 
          lib=${1#-l}
119
 
          found=no
120
 
          save_IFS=$IFS
121
 
          IFS=';'
122
 
          for dir in $lib_path $LIB
123
 
          do
124
 
            IFS=$save_IFS
125
 
            if $shared && test -f "$dir/$lib.dll.lib"; then
126
 
              found=yes
127
 
              set x "$@" "$dir/$lib.dll.lib"
128
 
              break
129
 
            fi
130
 
            if test -f "$dir/$lib.lib"; then
131
 
              found=yes
132
 
              set x "$@" "$dir/$lib.lib"
133
 
              break
134
 
            fi
135
 
          done
136
 
          IFS=$save_IFS
137
 
 
138
 
          test "$found" != yes && set x "$@" "$lib.lib"
 
172
          func_cl_dashl "${1#-l}"
 
173
          set x "$@" "$lib"
139
174
          shift
140
175
          ;;
 
176
        -L)
 
177
          eat=1
 
178
          func_cl_dashL "$2"
 
179
          ;;
141
180
        -L*)
142
 
          func_file_conv "${1#-L}"
143
 
          if test -z "$lib_path"; then
144
 
            lib_path=$file
145
 
          else
146
 
            lib_path="$lib_path;$file"
147
 
          fi
148
 
          linker_opts="$linker_opts -LIBPATH:$file"
 
181
          func_cl_dashL "${1#-L}"
149
182
          ;;
150
183
        -static)
151
184
          shared=false