~vcs-imports/denemo/trunk

« back to all changes in this revision

Viewing changes to config.rpath

  • Committer: R. Mattes
  • Date: 2011-08-04 09:03:42 UTC
  • mto: (3066.3.85)
  • mto: This revision was merged to the branch mainline in revision 3719.
  • Revision ID: git-v1:bdf558884e1feab413c06568c913afcd616481b7
Fixed missing g_thread_init (and lib flags)

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-2005 Free Software Foundation, Inc.
 
5
#   Copyright 1996-2003 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
#
9
 
#   This file is free software; the Free Software Foundation gives
10
 
#   unlimited permission to copy and/or distribute it, with or without
11
 
#   modifications, as long as this notice is preserved.
 
9
#   This program is free software; you can redistribute it and/or modify
 
10
#   it under the terms of the GNU General Public License as published by
 
11
#   the Free Software Foundation; either version 2 of the License, or
 
12
#   (at your option) any later version.
 
13
#
 
14
#   This program is distributed in the hope that it will be useful, but
 
15
#   WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
17
#   General Public License for more details.
 
18
#
 
19
#   You should have received a copy of the GNU General Public License
 
20
#   along with this program; if not, write to the Free Software
 
21
#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
22
#
 
23
#   As a special exception to the GNU General Public License, if you
 
24
#   distribute this file as part of a program that contains a
 
25
#   configuration script generated by Autoconf, you may include it under
 
26
#   the same distribution terms that you use for the rest of that program.
12
27
#
13
28
# The first argument passed to this file is the canonical host specification,
14
29
#    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
35
50
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
36
51
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
37
52
 
38
 
cc_basename=`echo "$CC" | sed -e 's%^.*/%%'`
39
 
 
40
53
# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
41
54
 
42
55
wl=
47
60
    aix*)
48
61
      wl='-Wl,'
49
62
      ;;
50
 
    darwin*)
51
 
      case "$cc_basename" in
52
 
        xlc*)
53
 
          wl='-Wl,'
54
 
          ;;
55
 
      esac
56
 
      ;;
57
63
    mingw* | pw32* | os2*)
58
64
      ;;
59
65
    hpux9* | hpux10* | hpux11*)
65
71
    newsos6)
66
72
      ;;
67
73
    linux*)
68
 
      case $cc_basename in
69
 
        icc* | ecc*)
70
 
          wl='-Wl,'
71
 
          ;;
72
 
        pgcc | pgf77 | pgf90)
73
 
          wl='-Wl,'
74
 
          ;;
75
 
        ccc*)
76
 
          wl='-Wl,'
77
 
          ;;
78
 
        como)
79
 
          wl='-lopt='
 
74
      case $CC in
 
75
        icc|ecc)
 
76
          wl='-Wl,'
 
77
          ;;
 
78
        ccc)
 
79
          wl='-Wl,'
80
80
          ;;
81
81
      esac
82
82
      ;;
96
96
      ;;
97
97
    sysv4*MP*)
98
98
      ;;
99
 
    unicos*)
100
 
      wl='-Wl,'
101
 
      ;;
102
99
    uts4*)
103
100
      ;;
104
101
  esac
141
138
      # that the semantics of dynamic libraries on AmigaOS, at least up
142
139
      # to version 4, is to share data among multiple programs linked
143
140
      # with the same dynamic library.  Since this doesn't match the
144
 
      # behavior of shared libraries on other platforms, we cannot use
 
141
      # behavior of shared libraries on other platforms, we can use
145
142
      # them.
146
143
      ld_shlibs=no
147
144
      ;;
176
173
    sunos4*)
177
174
      hardcode_direct=yes
178
175
      ;;
179
 
    linux*)
180
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
181
 
        :
182
 
      else
183
 
        ld_shlibs=no
184
 
      fi
185
 
      ;;
186
176
    *)
187
177
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
188
178
        :
276
266
      # see comment about different semantics on the GNU ld section
277
267
      ld_shlibs=no
278
268
      ;;
279
 
    bsdi[45]*)
 
269
    bsdi4*)
280
270
      ;;
281
271
    cygwin* | mingw* | pw32*)
282
272
      # When not using gcc, we currently assume that we are using
287
277
      libext=lib
288
278
      ;;
289
279
    darwin* | rhapsody*)
290
 
      hardcode_direct=no
291
 
      if test "$GCC" = yes ; then
292
 
        :
293
 
      else
294
 
        case "$cc_basename" in
295
 
          xlc*)
296
 
            ;;
297
 
          *)
298
 
            ld_shlibs=no
299
 
            ;;
300
 
        esac
 
280
      if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
 
281
        hardcode_direct=no
301
282
      fi
302
283
      ;;
303
284
    dgux*)
314
295
      hardcode_direct=yes
315
296
      hardcode_minus_L=yes
316
297
      ;;
317
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
298
    freebsd*)
318
299
      hardcode_libdir_flag_spec='-R$libdir'
319
300
      hardcode_direct=yes
320
301
      ;;
457
438
    ;;
458
439
  beos*)
459
440
    ;;
460
 
  bsdi[45]*)
 
441
  bsdi4*)
461
442
    ;;
462
443
  cygwin* | mingw* | pw32*)
463
444
    shrext=.dll
469
450
    ;;
470
451
  freebsd1*)
471
452
    ;;
472
 
  kfreebsd*-gnu)
473
 
    ;;
474
453
  freebsd*)
475
454
    ;;
476
455
  gnu*)
507
486
    ;;
508
487
  linux*)
509
488
    ;;
510
 
  knetbsd*-gnu)
511
 
    ;;
512
489
  netbsd*)
513
490
    ;;
514
491
  newsos6)
515
492
    ;;
516
 
  nto-qnx*)
 
493
  nto-qnx)
517
494
    ;;
518
495
  openbsd*)
519
496
    ;;
542
519
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
543
520
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
544
521
 
545
 
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
 
522
sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
546
523
 
547
524
# How to pass a linker flag through the compiler.
548
525
wl="$escaped_wl"