~ubuntu-branches/debian/squeeze/ibus-hangul/squeeze

« back to all changes in this revision

Viewing changes to config.rpath

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2010-01-03 12:46:27 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100103124627-myjyr6sjtomh148o
Tags: 1.2.0.20100102-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-2006 Free Software Foundation, Inc.
 
5
#   Copyright 1996-2007 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
#
64
64
          ;;
65
65
      esac
66
66
      ;;
67
 
    mingw* | pw32* | os2*)
 
67
    mingw* | cygwin* | pw32* | os2*)
68
68
      ;;
69
69
    hpux9* | hpux10* | hpux11*)
70
70
      wl='-Wl,'
74
74
      ;;
75
75
    newsos6)
76
76
      ;;
77
 
    linux*)
 
77
    linux* | k*bsd*-gnu)
78
78
      case $cc_basename in
79
79
        icc* | ecc*)
80
80
          wl='-Wl,'
100
100
    osf3* | osf4* | osf5*)
101
101
      wl='-Wl,'
102
102
      ;;
103
 
    sco3.2v5*)
 
103
    rdos*)
104
104
      ;;
105
105
    solaris*)
106
106
      wl='-Wl,'
108
108
    sunos4*)
109
109
      wl='-Qoption ld '
110
110
      ;;
111
 
    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
111
    sysv4 | sysv4.2uw2* | sysv4.3*)
112
112
      wl='-Wl,'
113
113
      ;;
114
114
    sysv4*MP*)
115
115
      ;;
 
116
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
117
      wl='-Wl,'
 
118
      ;;
116
119
    unicos*)
117
120
      wl='-Wl,'
118
121
      ;;
189
192
        ld_shlibs=no
190
193
      fi
191
194
      ;;
192
 
    interix3*)
 
195
    interix[3-9]*)
193
196
      hardcode_direct=no
194
197
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
195
198
      ;;
196
 
    linux*)
 
199
    gnu* | linux* | k*bsd*-gnu)
197
200
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
198
201
        :
199
202
      else
280
283
            strings "$collect2name" | grep resolve_lib_name >/dev/null
281
284
          then
282
285
            # We have reworked collect2
283
 
            hardcode_direct=yes
 
286
            :
284
287
          else
285
288
            # We have old collect2
286
289
            hardcode_direct=unsupported
359
362
      hardcode_direct=yes
360
363
      hardcode_minus_L=yes
361
364
      ;;
362
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
365
    freebsd* | dragonfly*)
363
366
      hardcode_libdir_flag_spec='-R$libdir'
364
367
      hardcode_direct=yes
365
368
      ;;
412
415
      hardcode_libdir_separator=:
413
416
      ;;
414
417
    openbsd*)
415
 
      hardcode_direct=yes
416
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
417
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
418
      if test -f /usr/libexec/ld.so; then
 
419
        hardcode_direct=yes
 
420
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
421
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
422
        else
 
423
          case "$host_os" in
 
424
            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
425
              hardcode_libdir_flag_spec='-R$libdir'
 
426
              ;;
 
427
            *)
 
428
              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
429
              ;;
 
430
          esac
 
431
        fi
418
432
      else
419
 
        case "$host_os" in
420
 
          openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
421
 
            hardcode_libdir_flag_spec='-R$libdir'
422
 
            ;;
423
 
          *)
424
 
            hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
425
 
            ;;
426
 
        esac
 
433
        ld_shlibs=no
427
434
      fi
428
435
      ;;
429
436
    os2*)
471
478
        ld_shlibs=yes
472
479
      fi
473
480
      ;;
474
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
481
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
475
482
      ;;
476
483
    sysv5* | sco3.2v5* | sco5v6*)
477
484
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
488
495
 
489
496
# Check dynamic linker characteristics
490
497
# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
 
498
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
 
499
# only about the one the linker finds when passed -lNAME. This is the last
 
500
# element of library_names_spec in libtool.m4, or possibly two of them if the
 
501
# linker has special search rules.
 
502
library_names_spec=      # the last element of library_names_spec in libtool.m4
491
503
libname_spec='lib$name'
492
504
case "$host_os" in
493
505
  aix3*)
 
506
    library_names_spec='$libname.a'
494
507
    ;;
495
508
  aix4* | aix5*)
 
509
    library_names_spec='$libname$shrext'
496
510
    ;;
497
511
  amigaos*)
 
512
    library_names_spec='$libname.a'
498
513
    ;;
499
514
  beos*)
 
515
    library_names_spec='$libname$shrext'
500
516
    ;;
501
517
  bsdi[45]*)
 
518
    library_names_spec='$libname$shrext'
502
519
    ;;
503
520
  cygwin* | mingw* | pw32*)
504
521
    shrext=.dll
 
522
    library_names_spec='$libname.dll.a $libname.lib'
505
523
    ;;
506
524
  darwin* | rhapsody*)
507
525
    shrext=.dylib
 
526
    library_names_spec='$libname$shrext'
508
527
    ;;
509
528
  dgux*)
 
529
    library_names_spec='$libname$shrext'
510
530
    ;;
511
531
  freebsd1*)
512
532
    ;;
513
 
  kfreebsd*-gnu)
514
 
    ;;
515
533
  freebsd* | dragonfly*)
 
534
    case "$host_os" in
 
535
      freebsd[123]*)
 
536
        library_names_spec='$libname$shrext$versuffix' ;;
 
537
      *)
 
538
        library_names_spec='$libname$shrext' ;;
 
539
    esac
516
540
    ;;
517
541
  gnu*)
 
542
    library_names_spec='$libname$shrext'
518
543
    ;;
519
544
  hpux9* | hpux10* | hpux11*)
520
545
    case $host_cpu in
528
553
        shrext=.sl
529
554
        ;;
530
555
    esac
 
556
    library_names_spec='$libname$shrext'
531
557
    ;;
532
 
  interix3*)
 
558
  interix[3-9]*)
 
559
    library_names_spec='$libname$shrext'
533
560
    ;;
534
561
  irix5* | irix6* | nonstopux*)
 
562
    library_names_spec='$libname$shrext'
535
563
    case "$host_os" in
536
564
      irix5* | nonstopux*)
537
565
        libsuff= shlibsuff=
548
576
    ;;
549
577
  linux*oldld* | linux*aout* | linux*coff*)
550
578
    ;;
551
 
  linux*)
 
579
  linux* | k*bsd*-gnu)
 
580
    library_names_spec='$libname$shrext'
552
581
    ;;
553
582
  knetbsd*-gnu)
 
583
    library_names_spec='$libname$shrext'
554
584
    ;;
555
585
  netbsd*)
 
586
    library_names_spec='$libname$shrext'
556
587
    ;;
557
588
  newsos6)
 
589
    library_names_spec='$libname$shrext'
558
590
    ;;
559
591
  nto-qnx*)
 
592
    library_names_spec='$libname$shrext'
560
593
    ;;
561
594
  openbsd*)
 
595
    library_names_spec='$libname$shrext$versuffix'
562
596
    ;;
563
597
  os2*)
564
598
    libname_spec='$name'
565
599
    shrext=.dll
 
600
    library_names_spec='$libname.a'
566
601
    ;;
567
602
  osf3* | osf4* | osf5*)
 
603
    library_names_spec='$libname$shrext'
 
604
    ;;
 
605
  rdos*)
568
606
    ;;
569
607
  solaris*)
 
608
    library_names_spec='$libname$shrext'
570
609
    ;;
571
610
  sunos4*)
 
611
    library_names_spec='$libname$shrext$versuffix'
572
612
    ;;
573
613
  sysv4 | sysv4.3*)
 
614
    library_names_spec='$libname$shrext'
574
615
    ;;
575
616
  sysv4*MP*)
 
617
    library_names_spec='$libname$shrext'
576
618
    ;;
577
619
  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
620
    library_names_spec='$libname$shrext'
578
621
    ;;
579
622
  uts4*)
 
623
    library_names_spec='$libname$shrext'
580
624
    ;;
581
625
esac
582
626
 
583
627
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
584
628
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
585
629
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
 
630
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
 
631
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
586
632
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
587
633
 
588
634
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
596
642
# Shared library suffix (normally "so").
597
643
shlibext="$shlibext"
598
644
 
 
645
# Format of library name prefix.
 
646
libname_spec="$escaped_libname_spec"
 
647
 
 
648
# Library names that the linker finds when passed -lNAME.
 
649
library_names_spec="$escaped_library_names_spec"
 
650
 
599
651
# Flag to hardcode \$libdir into a binary during linking.
600
652
# This must work even if \$libdir does not exist.
601
653
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"