3
# Copyright (c) 1997, 1998
4
# Inferno Nettverk A/S, Norway. All rights reserved.
6
# Redistribution and use in source and binary forms, with or without
7
# modification, are permitted provided that the following conditions
9
# 1. The above copyright notice, this list of conditions and the following
10
# disclaimer must appear in all copies of the software, derivative works
11
# or modified versions, and any portions thereof, aswell as in all
12
# supporting documentation.
13
# 2. All advertising materials mentioning features or use of this software
14
# must display the following acknowledgement:
15
# This product includes software developed by
16
# Inferno Nettverk A/S, Norway.
17
# 3. The name of the author may not be used to endorse or promote products
18
# derived from this software without specific prior written permission.
20
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
# Inferno Nettverk A/S requests users of this software to return to
33
# Software Distribution Coordinator or sdc@inet.no
34
# Inferno Nettverk A/S
40
# any improvements or extensions that they make and grant Inferno Nettverk A/S
41
# the rights to redistribute these changes.
43
# $Id: socksify.in,v 1.22 2001/12/04 11:57:18 karls Exp $
45
#On systems where a supported preloading mechanism is used, you can
46
#do "socksify <program>" and <program> will use socks without having
47
#been relinked or recompiled. This will not work on statically linked
50
SOCKSIFY_PRELOAD_LIBS="@SOCKSIFY_PRELOAD_LIBS@"
52
LIBDIR="@LIBRARY_PREFIX@"
54
#XXX shared library name should be generated too (possibly including version)
55
LIBRARY="${SOCKS_LIBRARY-${LIBDIR}/libdsocks.@SOLIB_POSTFIX@}"
57
PRELOAD_SEPERATOR="@PRELOAD_SEPERATOR@"
58
PRELOAD_POSTFIX="@PRELOAD_POSTFIX@"
60
@PRELOAD_VARIABLE@="${LIBRARY}${SOCKSIFY_PRELOAD_LIBS:+${PRELOAD_SEPERATOR}}${SOCKSIFY_PRELOAD_LIBS}${PRELOAD_POSTFIX:+${PRELOAD_SEPERATOR}}${PRELOAD_POSTFIX}"
61
export @PRELOAD_VARIABLE@
63
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${LIBDIR}"
64
export LD_LIBRARY_PATH