# 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.
#
-# Copyright 1996-2005 Free Software Foundation, Inc.
+# Copyright 1996-2008 Free Software Foundation, Inc.
# Taken from GNU libtool, 2003
# 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
-# 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.
#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
aix3*)
shlibpath_var=LIBPATH
;;
- aix4* | aix5*)
+ aix[4-9]*)
if test "$host_cpu" = ia64; then
# AIX 5 supports IA64
shlibpath_var=LD_LIBRARY_PATH
bsdi[45]*)
shlibpath_var=LD_LIBRARY_PATH
;;
- cygwin* | mingw* | pw32*)
+ cygwin* | mingw* | pw32* | cegcc*)
# FIXME: first we should search . and the directory the executable is in
shlibpath_var=PATH
;;
dgux*)
shlibpath_var=LD_LIBRARY_PATH
;;
- kfreebsd*-gnu)
- shlibpath_var=LD_LIBRARY_PATH
- ;;
freebsd1*)
;;
freebsd* | dragonfly*)
*) shlibpath_var=SHLIB_PATH ;;
esac
;;
- interix3*)
+ interix[3-9]*)
shlibpath_var=LD_LIBRARY_PATH
;;
irix5* | irix6* | nonstopux*)
;;
linux*oldld* | linux*aout* | linux*coff*)
;;
- linux*)
- shlibpath_var=LD_LIBRARY_PATH
- ;;
- knetbsd*-gnu)
+ linux* | k*bsd*-gnu)
shlibpath_var=LD_LIBRARY_PATH
;;
netbsd*)
osf3* | osf4* | osf5*)
shlibpath_var=LD_LIBRARY_PATH
;;
+ rdos*)
+ ;;
solaris*)
shlibpath_var=LD_LIBRARY_PATH
;;