|
version 1.1, 2012/02/21 22:57:48
|
version 1.1.1.2, 2021/03/17 13:38:46
|
|
Line 2
|
Line 2
|
| # Output a system dependent set of variables, describing how to set the |
# Output a system dependent set of variables, describing how to set the |
| # run time search path of shared libraries in an executable at run time. |
# run time search path of shared libraries in an executable at run time. |
| # |
# |
| # Copyright 1996-2005 Free Software Foundation, Inc. | # Copyright 1996-2019 Free Software Foundation, Inc. |
| # Taken from GNU libtool, 2003 |
# Taken from GNU libtool, 2003 |
| # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
| # |
# |
| # This program is free software; you can redistribute it and/or modify | # This program is free software: you can redistribute it and/or modify |
| # it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
| # the Free Software Foundation; either version 2 of the License, or | # the Free Software Foundation; either version 3 of the License, or |
| # (at your option) any later version. |
# (at your option) any later version. |
| # |
# |
| # This program is distributed in the hope that it will be useful, but | # This program is distributed in the hope that it will be useful, |
| # WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| # General Public License for more details. | # GNU General Public License for more details. |
| # |
# |
| # You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
| # along with this program; if not, write to the Free Software Foundation, | # along with this program. If not, see <https://www.gnu.org/licenses/>. |
| # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| # |
# |
| # As a special exception to the GNU General Public License, if you |
# As a special exception to the GNU General Public License, if you |
| # distribute this file as part of a program that contains a |
# distribute this file as part of a program that contains a |
|
Line 43 case $host_os in
|
Line 42 case $host_os in
|
| aix3*) |
aix3*) |
| shlibpath_var=LIBPATH |
shlibpath_var=LIBPATH |
| ;; |
;; |
| aix4* | aix5*) | aix[4-9]*) |
| if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
| # AIX 5 supports IA64 |
# AIX 5 supports IA64 |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
|
Line 54 case $host_os in
|
Line 53 case $host_os in
|
| beos*) |
beos*) |
| shlibpath_var=LIBRARY_PATH |
shlibpath_var=LIBRARY_PATH |
| ;; |
;; |
| bsdi4*) | bsdi[45]*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| cygwin* | mingw* | pw32*) | cygwin* | mingw* | pw32* | cegcc*) |
| # FIXME: first we should search . and the directory the executable is in |
# FIXME: first we should search . and the directory the executable is in |
| shlibpath_var=PATH |
shlibpath_var=PATH |
| ;; |
;; |
| darwin* | rhapsody*) |
darwin* | rhapsody*) |
| shlibpath_var=DYLD_LIBRARY_PATH |
shlibpath_var=DYLD_LIBRARY_PATH |
| ;; |
;; |
| freebsd1*) | dgux*) |
| ;; | |
| kfreebsd*-gnu) | |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| freebsd*) | freebsd* | dragonfly*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| gnu*) |
gnu*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| hpux9* | hpux10* | hpux11*) |
hpux9* | hpux10* | hpux11*) |
| shlibpath_var=SHLIB_PATH | case "$host_cpu" in |
| | ia64* | hppa*64*) shlibpath_var=LD_LIBRARY_PATH ;; |
| | *) shlibpath_var=SHLIB_PATH ;; |
| | esac |
| ;; |
;; |
| |
interix[3-9]*) |
| |
shlibpath_var=LD_LIBRARY_PATH |
| |
;; |
| irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
| case $host_os in |
case $host_os in |
| irix5* | nonstopux*) |
irix5* | nonstopux*) |
|
Line 94 case $host_os in
|
Line 97 case $host_os in
|
| esac |
esac |
| shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
| ;; |
;; |
| linux-gnu*) | linux*oldld* | linux*aout* | linux*coff*) |
| shlibpath_var=LD_LIBRARY_PATH | |
| ;; |
;; |
| knetbsd*-gnu) | linux* | k*bsd*-gnu) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| netbsd*) |
netbsd*) |
|
Line 106 case $host_os in
|
Line 108 case $host_os in
|
| newsos6) |
newsos6) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| |
nto-qnx*) |
| |
shlibpath_var=LD_LIBRARY_PATH |
| |
;; |
| openbsd*) |
openbsd*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
|
Line 115 case $host_os in
|
Line 120 case $host_os in
|
| osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| sco3.2v5*) | rdos*) |
| shlibpath_var=LD_LIBRARY_PATH | |
| ;; |
;; |
| solaris*) |
solaris*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
|
Line 124 case $host_os in
|
Line 128 case $host_os in
|
| sunos4*) |
sunos4*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | sysv4 | sysv4.3*) |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| uts4*) |
|
| shlibpath_var=LD_LIBRARY_PATH |
|
| ;; |
|
| dgux*) |
|
| shlibpath_var=LD_LIBRARY_PATH |
|
| ;; |
|
| sysv4*MP*) |
sysv4*MP*) |
| if test -d /usr/nec ;then |
if test -d /usr/nec ;then |
| shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
| fi |
fi |
| |
;; |
| |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
| |
shlibpath_var=LD_LIBRARY_PATH |
| |
;; |
| |
uts4*) |
| |
shlibpath_var=LD_LIBRARY_PATH |
| ;; |
;; |
| esac |
esac |
| |
|