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.
5
# Copyright 1996-2003 Free Software Foundation, Inc.
5
# Copyright 1996-2005 Free Software Foundation, Inc.
6
6
# Taken from GNU libtool, 2001
7
7
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
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.
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.
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.
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.
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.
28
13
# The first argument passed to this file is the canonical host specification,
29
14
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
50
35
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
51
36
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
38
cc_basename=`echo "$CC" | sed -e 's%^.*/%%'`
53
40
# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
138
141
# that the semantics of dynamic libraries on AmigaOS, at least up
139
142
# to version 4, is to share data among multiple programs linked
140
143
# with the same dynamic library. Since this doesn't match the
141
# behavior of shared libraries on other platforms, we can use
144
# behavior of shared libraries on other platforms, we cannot use
519
542
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
520
543
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
522
sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
545
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
524
547
# How to pass a linker flag through the compiler.