Import Geant4 8.1.0 source tree
This commit is contained in:
@@ -399,6 +399,69 @@ echo "On this machine the OGLHOME=\$OGLHOME"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4vis_oivhome != X ] ; then
|
||||
OIVHOME="$g4vis_oivhome"
|
||||
export OIVHOME
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the OIVHOME=\$OIVHOME"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4vis_build_openglxm_driver != X ] ; then
|
||||
XMFLAGS="$g4vis_xmflags"
|
||||
export XMFLAGS
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the XMFLAGS=\$XMFLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4vis_build_openglxm_driver != X ] ; then
|
||||
XMLIBS="$g4vis_xmlibs"
|
||||
export XMLIBS
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the XMLIBS=\$XMLIBS"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4ui_build_xm_session != X ] ; then
|
||||
XMFLAGS="$g4vis_xmflags"
|
||||
export XMFLAGS
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the XMFLAGS=\$XMFLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4vis_build_xm_session != X ] ; then
|
||||
XMLIBS="$g4vis_xmlibs"
|
||||
export XMLIBS
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the XMLIBS=\$XMLIBS"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4ui_build_xaw_session != X ] ; then
|
||||
XAWFLAGS="$g4ui_xawflags"
|
||||
export XAWFLAGS
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the XAWFLAGS=\$XAWFLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
#+
|
||||
if [ X$g4ui_build_xaw_session != X ] ; then
|
||||
XAWLIBS="$g4ui_xawlibs"
|
||||
export XAWLIBS
|
||||
if [ X\$g4non_display = X ] ; then
|
||||
echo "On this machine the XAWLIBS=\$XAWLIBS"
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Use G3TOG4 module
|
||||
#
|
||||
@@ -469,7 +532,7 @@ fi
|
||||
fi
|
||||
|
||||
# Check for Windows!
|
||||
if test "X$G4SYSTEM" != "XWIN32-VC" -a "X$G4SYSTEM" != "XWIN32-VC7"; then
|
||||
if test "X\$G4SYSTEM" != "XWIN32-VC" -a "X\$G4SYSTEM" != "XWIN32-VC7"; then
|
||||
#+
|
||||
#
|
||||
# UI_USE_TCSH for Unix
|
||||
@@ -488,6 +551,7 @@ fi
|
||||
: In the following dollars and backticks do not need the extra backslash.
|
||||
$spitshell >>env.sh <<'!NO!SUBS!'
|
||||
|
||||
|
||||
#+
|
||||
#
|
||||
# G4WORKDIR
|
||||
@@ -520,6 +584,25 @@ fi
|
||||
|
||||
fi
|
||||
|
||||
#
|
||||
# Shared libraries
|
||||
#
|
||||
if [ $G4LIB_BUILD_SHARED ] ; then
|
||||
if [ $LD_LIBRARY_PATH ] ; then
|
||||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}
|
||||
export LD_LIBRARY_PATH
|
||||
else
|
||||
LD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM}
|
||||
export LD_LIBRARY_PATH
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# For BIN
|
||||
#
|
||||
PATH=${PATH}:${G4WORKDIR}/bin/${G4SYSTEM}
|
||||
export PATH
|
||||
|
||||
!NO!SUBS!
|
||||
chmod 755 env.sh
|
||||
$eunicefix env.sh
|
||||
|
||||
Reference in New Issue
Block a user