~ubuntu-branches/ubuntu/oneiric/soundmodem/oneiric

« back to all changes in this revision

Viewing changes to config.rpath

  • Committer: Bazaar Package Importer
  • Author(s): Kamal Mostafa
  • Date: 2011-06-22 07:12:47 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110622071247-s9548jfjv3shfu1v
Tags: 0.16-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Output a system dependent set of variables, describing how to set the
3
3
# run time search path of shared libraries in an executable.
4
4
#
5
 
#   Copyright 1996-2007 Free Software Foundation, Inc.
 
5
#   Copyright 1996-2010 Free Software Foundation, Inc.
6
6
#   Taken from GNU libtool, 2001
7
7
#   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8
8
#
47
47
done
48
48
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
49
49
 
50
 
# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
 
50
# Code taken from libtool.m4's _LT_COMPILER_PIC.
51
51
 
52
52
wl=
53
53
if test "$GCC" = yes; then
64
64
          ;;
65
65
      esac
66
66
      ;;
67
 
    mingw* | cygwin* | pw32* | os2*)
 
67
    mingw* | cygwin* | pw32* | os2* | cegcc*)
68
68
      ;;
69
69
    hpux9* | hpux10* | hpux11*)
70
70
      wl='-Wl,'
76
76
      ;;
77
77
    linux* | k*bsd*-gnu)
78
78
      case $cc_basename in
79
 
        icc* | ecc*)
 
79
        ecc*)
 
80
          wl='-Wl,'
 
81
          ;;
 
82
        icc* | ifort*)
 
83
          wl='-Wl,'
 
84
          ;;
 
85
        lf95*)
80
86
          wl='-Wl,'
81
87
          ;;
82
88
        pgcc | pgf77 | pgf90)
124
130
  esac
125
131
fi
126
132
 
127
 
# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
 
133
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
128
134
 
129
135
hardcode_libdir_flag_spec=
130
136
hardcode_libdir_separator=
132
138
hardcode_minus_L=no
133
139
 
134
140
case "$host_os" in
135
 
  cygwin* | mingw* | pw32*)
 
141
  cygwin* | mingw* | pw32* | cegcc*)
136
142
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
137
143
    # When not using gcc, we currently assume that we are using
138
144
    # Microsoft Visual C++.
158
164
  # option of GNU ld is called -rpath, not --rpath.
159
165
  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
160
166
  case "$host_os" in
161
 
    aix3* | aix4* | aix5*)
 
167
    aix[3-9]*)
162
168
      # On AIX/PPC, the GNU linker is very broken
163
169
      if test "$host_cpu" != ia64; then
164
170
        ld_shlibs=no
182
188
        ld_shlibs=no
183
189
      fi
184
190
      ;;
185
 
    cygwin* | mingw* | pw32*)
 
191
    cygwin* | mingw* | pw32* | cegcc*)
186
192
      # hardcode_libdir_flag_spec is actually meaningless, as there is
187
193
      # no search path for DLLs.
188
194
      hardcode_libdir_flag_spec='-L$libdir'
254
260
        hardcode_direct=unsupported
255
261
      fi
256
262
      ;;
257
 
    aix4* | aix5*)
 
263
    aix[4-9]*)
258
264
      if test "$host_cpu" = ia64; then
259
265
        # On IA64, the linker does run time linking by default, so we don't
260
266
        # have to do anything special.
264
270
        # Test if we are trying to use run time linking or normal
265
271
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
266
272
        # need to do runtime linking.
267
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
273
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
268
274
          for ld_flag in $LDFLAGS; do
269
275
            if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
270
276
              aix_use_runtimelinking=yes
326
332
      ;;
327
333
    bsdi[45]*)
328
334
      ;;
329
 
    cygwin* | mingw* | pw32*)
 
335
    cygwin* | mingw* | pw32* | cegcc*)
330
336
      # When not using gcc, we currently assume that we are using
331
337
      # Microsoft Visual C++.
332
338
      # hardcode_libdir_flag_spec is actually meaningless, as there is
494
500
fi
495
501
 
496
502
# Check dynamic linker characteristics
497
 
# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
 
503
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
498
504
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
499
505
# only about the one the linker finds when passed -lNAME. This is the last
500
506
# element of library_names_spec in libtool.m4, or possibly two of them if the
505
511
  aix3*)
506
512
    library_names_spec='$libname.a'
507
513
    ;;
508
 
  aix4* | aix5*)
 
514
  aix[4-9]*)
509
515
    library_names_spec='$libname$shrext'
510
516
    ;;
511
517
  amigaos*)
517
523
  bsdi[45]*)
518
524
    library_names_spec='$libname$shrext'
519
525
    ;;
520
 
  cygwin* | mingw* | pw32*)
 
526
  cygwin* | mingw* | pw32* | cegcc*)
521
527
    shrext=.dll
522
528
    library_names_spec='$libname.dll.a $libname.lib'
523
529
    ;;