#!/bin/sh #----------------------------------------------------------------------- # sh config query script for Geant4 9.6.2 on UNIX platforms # Autogenerated by CMake DO NOT EDIT #----------------------------------------------------------------------- #----------------------------------------------------------------------- # Determine location of this script. # NB, we don't always use the result of this calculation, but it does not # hurt to do it. Only possible error is if too long a chain of symbolic # links are used to point to the physical script. # # Resolve symbolic links to script - we should end up with a physical file script="$0" calldir=`pwd` loopcount="" while [ "x`readlink $script`" != "x" ] ; do preloc=`dirname $script` script=`readlink $script` if [ ${script##/} = ${script##~} ] ; then # The symbolic link was relative... script="$preloc/$script" fi loopcount="l$loopcount" if [ ${#loopcount} -gt 10 ] ; then echo "error: more than 10 symbolic links to geant4-config traversed." exit 1 fi done # If we still have a relative path, then it must be relative to the # calling dir. NB we don't attempt to resolve directory symbolic # links or remove '.' or '..' if [ ${script##/} = ${script##~} ] ; then script="$calldir/$script" fi #----------------------------------------------------------------------- # Finally, grab the directory in which the script is located # Used below should we be setup to be relocatable. scriptloc=`dirname $script` #----------------------------------------------------------------------- # Expansion and calculation of all needed variables # prefix=/home/mice/Grid/MAUS-v3.2.1/third_party/build/geant4.9.6.p02 exec_prefix= libdir=/home/mice/Grid/MAUS-v3.2.1/third_party/build/geant4.9.6.p02/outputs/library/Linux-g++ includedirs=" \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/analysis/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/digits_hits/detector/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/digits_hits/digits/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/digits_hits/hits/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/digits_hits/scorer/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/digits_hits/utils/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/error_propagation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/event/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/externals/clhep/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/biasing/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/divisions/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/magneticfield/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/navigation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/solids/BREPS/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/solids/Boolean/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/solids/CSG/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/solids/specific/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/geometry/volumes/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/global/HEPGeometry/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/global/HEPNumerics/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/global/HEPRandom/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/global/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/graphics_reps/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/intercoms/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/interfaces/GAG/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/interfaces/basic/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/interfaces/common/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/materials/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/parameterisations/gflash/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/adjoint/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/bosons/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/hadrons/barions/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/hadrons/ions/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/hadrons/mesons/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/leptons/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/shortlived/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/particles/utils/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/persistency/ascii/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/persistency/gdml/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/persistency/mctruth/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/physics_lists/builders/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/physics_lists/lists/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/biasing/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/cuts/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/decay/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/adjoint/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/dna/processes/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/dna/models/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/dna/utils/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/dna/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/dna/molecules/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/dna/molecules/types/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/highenergy/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/lowenergy/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/muons/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/pii/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/polarisation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/standard/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/utils/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/electromagnetic/xrays/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/cross_sections/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/abrasion/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/binary_cascade/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/cascade/cascade/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/cascade/evaporation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/cascade/utils/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/chiral_inv_phase_space/body/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/chiral_inv_phase_space/cross_sections/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/chiral_inv_phase_space/fragmentation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/chiral_inv_phase_space/interface/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/chiral_inv_phase_space/processes/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/coherent_elastic/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/ablation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/evaporation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/fermi_breakup/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/fission/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/gem_evaporation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/handler/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/multifragmentation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/photon_evaporation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/de_excitation/util/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/em_dissociation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/high_energy/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/im_r_matrix/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/inclxx/utils/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/inclxx/incl_physics/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/inclxx/interface/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/isotope_production/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/lend/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/lepto_nuclear/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/lll_fission/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/low_energy/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/neutron_hp/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/parton_string/diffraction/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/parton_string/hadronization/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/parton_string/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/parton_string/qgsm/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/pre_equilibrium/exciton_model/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/qmd/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/radioactive_decay/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/quasi_elastic/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/rpg/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/theo_high_energy/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/models/util/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/processes/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/stopping/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/hadronic/util/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/optical/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/parameterisation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/scoring/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/processes/transportation/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/readout/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/run/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/track/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/tracking/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/FukuiRenderer/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/HepRep/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/RayTracer/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/Tree/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/VRML/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/XXX/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/externals/zlib/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/gMocren/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/management/include \ /home/mice/Grid/MAUS-v3.2.1/third_party/source/geant4.9.6.p02/source/visualization/modeling/include" name="geant4" description="Geant4 toolkit for the simulation of the passage of particles through matter" version="9.6.2" # 'Requires' that may affect cflags and libs. clhep_config_exe= # Basic flags and libraries for visualization vis_cflags="-DG4UI_USE_TCSH" vis_libs="-lG4Tree \ -lG4FR \ -lG4GMocren \ -lG4visHepRep \ -lG4RayTracer \ -lG4VRML \ -lG4vis_management \ -lG4modeling" #----------------------------------------------------------------------- # Core setup... # cflags="" for g4incdir in ${includedirs} ; do cflags="${cflags} -I${g4incdir}" done libs="-lG4interfaces \ -lG4persistency \ -lG4analysis \ -lG4error_propagation \ -lG4readout \ -lG4physicslists \ -lG4run \ -lG4event \ -lG4tracking \ -lG4parmodels \ -lG4processes \ -lG4digits_hits \ -lG4track \ -lG4particles \ -lG4geometry \ -lG4materials \ -lG4graphics_reps \ -lG4intercoms \ -lG4global" #----------------------------------------------------------------------- # - Extra optional features that were enabled. # - ALL feature_list="" geant4_uses_opengl="no" geant4_uses_x11="no" # - CLHEP have_clhep="yes" feature_list="${feature_list} clhep[${have_clhep}]" if test "x${have_clhep}" = "xno" ; then cflags="${cflags} `${clhep_config_exe} --include`" libs="${libs} `${clhep_config_exe} --libs`" fi if test "x${have_clhep}" = "xyes" ; then libs="${libs} -lG4clhep" fi # - EXPAT have_expat="no" feature_list="${feature_list} expat[${have_expat}]" if test "x${have_expat}" = "xyes" ; then libs="${libs} -lG4expat" fi # - GDML have_gdml="yes" feature_list="${feature_list} gdml[${have_gdml}]" if test "x${have_gdml}" = "xyes" ; then cflags="${cflags} -I/home/mice/Grid/MAUS-v3.2.1/third_party/install/include" fi # - G3toG4 have_g3tog4="no" feature_list="${feature_list} g3tog4[${have_g3tog4}]" if test "x${have_g3tog4}" = "xyes" ; then libs="-lG3toG4 ${libs}" fi # - Qt have_qt="no" feature_list="${feature_list} qt[${have_qt}]" if test "x${have_qt}" = "xyes" ; then vis_cflags="${vis_cflags} \ -DG4INTY_USE_QT -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT " geant4_uses_opengl="yes" fi # - Motif have_motif="no" feature_list="${feature_list} motif[${have_motif}]" if test "x${have_motif}" = "xyes" ; then vis_cflags="${vis_cflags} -DG4UI_USE_XM -DG4VIS_USE_OPENGLXM" geant4_uses_x11="yes" geant4_uses_opengl="yes" fi # - RayTracerX11 have_raytracerx11="no" feature_list="${feature_list} raytracer-x11[${have_raytracerx11}]" if test "x${have_raytracerx11}" = "xyes" ; then vis_cflags="${vis_cflags} -DG4VIS_USE_RAYTRACERX" geant4_uses_x11="yes" fi # - OpenGL with X11 have_openglx11="no" feature_list="${feature_list} opengl-x11[${have_openglx11}]" if test "x${have_openglx11}" = "xyes" ; then vis_cflags="${vis_cflags} -DG4VIS_USE_OPENGLX" geant4_uses_opengl="yes" geant4_uses_x11="yes" fi # - OpenInventor # Whilst it *is* an Xt based driver, don't *think* Xt or X11 appear # in the public interface, nor do the Inventor headers... have_openinventor="no" feature_list="${feature_list} openinventor[${have_openinventor}]" if test "x${have_openinventor}" = "xyes" ; then vis_cflags="${vis_cflags} -DG4INTY_USE_XT -DG4VIS_USE_OI -DG4VIS_USE_OIX" vis_libs="-lG4OpenInventor ${vis_libs}" fi # - If we have any OpenGL based feature, then we need to add in the # OpenGL global define and the G4OpenGL/G4gl2ps libraries. if test "x${geant4_uses_opengl}" = "xyes" ; then vis_cflags="-DG4VIS_USE_OPENGL ${vis_cflags}" vis_libs="-lG4OpenGL -lG4gl2ps ${vis_libs}" fi # - If we have any X11 based feature, then we need the INTY_XT define and # *may* need the X11 includes if test "x${geant4_uses_x11}" = "xyes" ; then vis_cflags="-DG4INTY_USE_XT ${vis_cflags}" fi #----------------------------------------------------------------------- # function help # print help on available command line arguments and enabled # and disabled features of the toolkit # help() { cat<