The R Project SVN R

Rev

Rev 62956 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 62956 Rev 84784
Line 1... Line 1...
1
#! /bin/sh
1
#! /bin/sh
2
# Output a system dependent set of variables, describing how to set the
2
# Output a system dependent set of variables, describing how to set the
3
# run time search path of shared libraries in an executable.
3
# run time search path of shared libraries in an executable.
4
#
4
#
5
#   Copyright 1996-2012 Free Software Foundation, Inc.
5
#   Copyright 1996-2023 Free Software Foundation, Inc.
6
#   Taken from GNU libtool, 2001
6
#   Taken from GNU libtool, 2001
7
#   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7
#   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8
#
8
#
9
#   This file is free software; the Free Software Foundation gives
9
#   This file is free software; the Free Software Foundation gives
10
#   unlimited permission to copy and/or distribute it, with or without
10
#   unlimited permission to copy and/or distribute it, with or without
11
#   modifications, as long as this notice is preserved.
11
#   modifications, as long as this notice is preserved.
12
 
-
 
13
# http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=build-aux/config.rpath;hb=HEAD
-
 
14
#
12
#
15
# The first argument passed to this file is the canonical host specification,
13
# The first argument passed to this file is the canonical host specification,
16
#    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
14
#    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
17
# or
15
# or
18
#    CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
16
#    CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
Line 367... Line 365...
367
      fi
365
      fi
368
      ;;
366
      ;;
369
    dgux*)
367
    dgux*)
370
      hardcode_libdir_flag_spec='-L$libdir'
368
      hardcode_libdir_flag_spec='-L$libdir'
371
      ;;
369
      ;;
372
    freebsd2.2*)
370
    freebsd2.[01]*)
373
      hardcode_libdir_flag_spec='-R$libdir'
-
 
374
      hardcode_direct=yes
-
 
375
      ;;
-
 
376
    freebsd2*)
-
 
377
      hardcode_direct=yes
371
      hardcode_direct=yes
378
      hardcode_minus_L=yes
372
      hardcode_minus_L=yes
379
      ;;
373
      ;;
380
    freebsd* | dragonfly*)
374
    freebsd* | dragonfly* | midnightbsd*)
381
      hardcode_libdir_flag_spec='-R$libdir'
375
      hardcode_libdir_flag_spec='-R$libdir'
382
      hardcode_direct=yes
376
      hardcode_direct=yes
383
      ;;
377
      ;;
384
    hpux9*)
378
    hpux9*)
385
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
379
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
Line 548... Line 542...
548
    library_names_spec='$libname$shrext'
542
    library_names_spec='$libname$shrext'
549
    ;;
543
    ;;
550
  dgux*)
544
  dgux*)
551
    library_names_spec='$libname$shrext'
545
    library_names_spec='$libname$shrext'
552
    ;;
546
    ;;
553
  freebsd* | dragonfly*)
-
 
554
    case "$host_os" in
-
 
555
      freebsd[123]*)
547
  freebsd[23].*)
556
        library_names_spec='$libname$shrext$versuffix' ;;
548
    library_names_spec='$libname$shrext$versuffix'
557
      *)
549
    ;;
-
 
550
  freebsd* | dragonfly* | midnightbsd*)
558
        library_names_spec='$libname$shrext' ;;
551
    library_names_spec='$libname$shrext'
559
    esac
-
 
560
    ;;
552
    ;;
561
  gnu*)
553
  gnu*)
562
    library_names_spec='$libname$shrext'
554
    library_names_spec='$libname$shrext'
563
    ;;
555
    ;;
564
  haiku*)
556
  haiku*)