* distrib/etc/alc_env.sh.in,

distrib/etc/alc_env.csh.in :
   - LD_LIBRARY_PATH ajoute.
This commit is contained in:
Jean-Paul Chaput 2002-10-16 18:14:03 +00:00
parent a71aea1cf5
commit f3dc99c3d2
2 changed files with 17 additions and 2 deletions

View File

@ -7,7 +7,7 @@
# Alliance CAD system environnement
# Usage (in C-shell) : > source alc_env.csh
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $Id: alc_env.csh.in,v 1.3 2002/07/16 10:11:21 jpc Exp $
# $Id: alc_env.csh.in,v 1.4 2002/10/16 18:14:03 jpc Exp $
# Generated from alc_env.csh.in on @DATE@
# $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will
@ -73,6 +73,13 @@
setenv PATH $ALLIANCE_TOP/bin
endif
# Only needed on Solaris (included in /etc/ld.so.conf under Linux).
if ( $?LD_LIBRARY_PATH ) then
setenv LD_LIBRARY_PATH $ALLIANCE_TOP/lib:$LD_LIBRARY_PATH
else
setenv LD_LIBRARY_PATH $ALLIANCE_TOP/lib
endif
if ( $?MANPATH ) then
setenv MANPATH $ALLIANCE_TOP/man:$MANPATH
else

View File

@ -7,7 +7,7 @@
# Alliance CAD system environnement
# Usage (in Bourne-shell) : > . alc_env.sh
# (C) 1997 Czo -- <Olivier.Sirol@lip6.fr>
# $Id: alc_env.sh.in,v 1.3 2002/07/16 10:11:21 jpc Exp $
# $Id: alc_env.sh.in,v 1.4 2002/10/16 18:14:03 jpc Exp $
# Generated from alc_env.sh.in on @DATE@
# $ALLIANCE_OS and $ALLIANCE_TOP are the only variables you will
@ -71,6 +71,14 @@
PATH=$ALLIANCE_TOP/bin:$PATH
export PATH
# Only needed on Solaris (included in /etc/ld.so.conf under Linux).
if [ -z "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=$ALLIANCE_TOP/lib
else
LD_LIBRARY_PATH=$ALLIANCE_TOP/lib:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH
if [ -z "${MANPATH}" ]; then
MANPATH=$ALLIANCE_TOP/man
else