diff --git a/alliance/src/distrib/etc/alc_env.csh.in b/alliance/src/distrib/etc/alc_env.csh.in index 47af6afa..56bb4d7b 100644 --- a/alliance/src/distrib/etc/alc_env.csh.in +++ b/alliance/src/distrib/etc/alc_env.csh.in @@ -7,7 +7,7 @@ # Alliance CAD system environnement # Usage (in C-shell) : > source alc_env.csh # (C) 1997 Czo -- -# $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 diff --git a/alliance/src/distrib/etc/alc_env.sh.in b/alliance/src/distrib/etc/alc_env.sh.in index 9b7f5c01..e8c430a4 100644 --- a/alliance/src/distrib/etc/alc_env.sh.in +++ b/alliance/src/distrib/etc/alc_env.sh.in @@ -7,7 +7,7 @@ # Alliance CAD system environnement # Usage (in Bourne-shell) : > . alc_env.sh # (C) 1997 Czo -- -# $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