added CLHEP path to SHLIBVAR
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jan 2001 15:55:38 +0000 (15:55 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jan 2001 15:55:38 +0000 (15:55 +0000)
AliGeant4/config/setup.csh
AliGeant4/config/setup.sh

index 5f7b420..73dccd9 100755 (executable)
@@ -720,6 +720,12 @@ if ( "`echo ${SHLIBVAR} | grep ${G4INSTALL}/lib/${G4SYSTEM} `" == "" ) then
   endif
   set SHLIBVAR="${G4INSTALL}/lib/${G4SYSTEM}:${SHLIBVAR}"
 endif
+if ( "`echo ${SHLIBVAR} | grep ${CLHEP_BASE_DIR}/lib `" = "" ) then
+  if [ "$VERBOSE" = "YES" ]; then
+    echo Adding ${CLHEP_BASE_DIR}/lib to the shared libraries path...
+  endif
+  set SHLIBVAR="${SHLIBVAR}:${CLHEP_BASE_DIR}/lib"
+fi
 
 setenv $SHLIBVARNAME $SHLIBVAR
 
index 7dc7a3a..230c054 100755 (executable)
@@ -720,6 +720,12 @@ if [ "`echo ${SHLIBVAR} | grep ${G4INSTALL}/lib/${G4SYSTEM} `" = "" ]; then
   fi
   SHLIBVAR="${G4INSTALL}/lib/${G4SYSTEM}:${SHLIBVAR}"
 fi
+if [ "`echo ${SHLIBVAR} | grep ${CLHEP_BASE_DIR}/lib `" = "" ]; then
+  if [ "$VERBOSE" = "YES" ]; then
+    echo Adding ${CLHEP_BASE_DIR}/lib to the shared libraries path...
+  fi
+  SHLIBVAR="${SHLIBVAR}:${CLHEP_BASE_DIR}/lib"
+fi
 
 export $SHLIBVARNAME=$SHLIBVAR