Changeset 1337 for trunk/config/scripts
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/config/scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/scripts/CVS/Entries
r1331 r1337 1 /GNUmakefile/1.8/Thu Oct 2 17:57:10 2003//Tgeant4-09-04-beta-012 /binmake.gmk/1.11/ Fri Dec 12 10:07:56 2003//Tgeant4-09-04-beta-013 /env.csh.SH/1.49/Thu Jun 3 13:13:012010//Tgeant4-09-04-beta-014 /env.sh.SH/1.54/Thu Jun 3 13:13:012010//Tgeant4-09-04-beta-015 /install.sh.SH/1.45/ Fri Nov 20 17:40:25 2009//Tgeant4-09-04-beta-016 /move.sh.SH/1.18/ Fri Nov 20 17:40:25 2009//Tgeant4-09-04-beta-011 /GNUmakefile/1.8/Thu Sep 30 06:01:25 2010//Tgeant4-09-04-beta-01 2 /binmake.gmk/1.11/Thu Sep 30 06:01:25 2010//Tgeant4-09-04-beta-01 3 /env.csh.SH/1.49/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-beta-01 4 /env.sh.SH/1.54/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-beta-01 5 /install.sh.SH/1.45/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-beta-01 6 /move.sh.SH/1.18/Thu Sep 30 06:01:26 2010//Tgeant4-09-04-beta-01 7 7 D -
trunk/config/scripts/env.csh.SH
r1213 r1337 31 31 unsetenv CLHEP_LIB_DIR 32 32 33 unsetenv G4ANALYSIS_USE34 33 unsetenv G4DEBUG 35 34 unsetenv G4INCLUDE … … 42 41 unsetenv G4ABLADATA 43 42 unsetenv G4REALSURFACEDATA 43 unsetenv G4NEUTRONXSDATA 44 44 45 45 unsetenv G4LIB … … 57 57 unsetenv G4UI_NONE 58 58 unsetenv G4UI_BUILD_WIN32_SESSION 59 unsetenv G4UI_BUILD_XAW_SESSION 59 60 unsetenv G4UI_BUILD_XM_SESSION 60 61 unsetenv G4UI_USE_TCSH 61 62 unsetenv G4UI_USE_WIN32 63 unsetenv G4UI_USE_XAW 62 64 unsetenv G4UI_USE_XM 63 65 unsetenv G4UI_USE_QT … … 97 99 #+ 98 100 if ( X$g4install != X$g4final_install ) then 99 setenv G4INSTALL "$g4final_install/src/geant4"100 echo "On this machine the G4INSTALL=\$G4INSTALL"101 setenv G4INSTALL "$g4final_install/src/geant4" 102 echo "On this machine the G4INSTALL=\$G4INSTALL" 101 103 else 102 setenv G4INSTALL "$g4install"103 echo "On this machine the G4INSTALL=\$G4INSTALL"104 setenv G4INSTALL "$g4install" 105 echo "On this machine the G4INSTALL=\$G4INSTALL" 104 106 endif 105 107 106 108 #+ 107 109 if ( X$g4includes_flag != Xn ) then 108 if ( X$g4install != X$g4final_install ) then 109 setenv G4INCLUDE "$g4final_install/include/geant4" 110 else 111 setenv G4INCLUDE "$g4final_install/include" 112 endif 113 echo "On this machine the G4INCLUDE=\$G4INCLUDE" 114 #else 115 #setenv G4BASE "$g4final_install/include/geant4/source" 116 #echo "On this machine the G4BASE=\$G4BASE" 110 if ( X$g4install != X$g4final_install ) then 111 setenv G4INCLUDE "$g4final_install/include/geant4" 112 else 113 setenv G4INCLUDE "$g4final_install/include" 114 endif 115 116 echo "On this machine the G4INCLUDE=\$G4INCLUDE" 117 117 endif 118 118 119 119 #+ 120 120 if ( X$g4lib != X ) then 121 if ( X$g4install != X$g4final_install ) then 122 setenv G4LIB "$g4final_install/lib/geant4" 123 else 124 setenv G4LIB "$g4final_install/lib" 125 endif 126 echo "On this machine the G4LIB=\$G4LIB" 121 if ( X$g4install != X$g4final_install ) then 122 setenv G4LIB "$g4final_install/lib/geant4" 123 else 124 setenv G4LIB "$g4final_install/lib" 125 endif 126 127 echo "On this machine the G4LIB=\$G4LIB" 127 128 endif 128 129 129 130 #+ 130 131 if ( X$g4levelgammadata != X ) then 131 setenv G4LEVELGAMMADATA "$g4levelgammadata"132 echo "On this machine the G4LEVELGAMMADATA=\$G4LEVELGAMMADATA"132 setenv G4LEVELGAMMADATA "$g4levelgammadata" 133 echo "On this machine the G4LEVELGAMMADATA=\$G4LEVELGAMMADATA" 133 134 endif 134 135 135 136 #+ 136 137 if ( X$g4radioactivedata != X ) then 137 setenv G4RADIOACTIVEDATA "$g4radioactivedata"138 echo "On this machine the G4RADIOACTIVEDATA=\$G4RADIOACTIVEDATA"138 setenv G4RADIOACTIVEDATA "$g4radioactivedata" 139 echo "On this machine the G4RADIOACTIVEDATA=\$G4RADIOACTIVEDATA" 139 140 endif 140 141 141 142 #+ 142 143 if ( X$g4ledata != X ) then 143 setenv G4LEDATA "$g4ledata"144 echo "On this machine the G4LEDATA=\$G4LEDATA"144 setenv G4LEDATA "$g4ledata" 145 echo "On this machine the G4LEDATA=\$G4LEDATA" 145 146 endif 146 147 147 148 #+ 148 149 if ( X$g4neutronhpcrosssections != X ) then 149 setenv G4NEUTRONHPDATA "$g4neutronhpcrosssections"150 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA"150 setenv G4NEUTRONHPDATA "$g4neutronhpcrosssections" 151 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" 151 152 endif 152 153 153 154 #+ 154 155 if ( X$g4abladata != X ) then 155 setenv G4ABLADATA "$g4abladata"156 echo "On this machine the G4ABLADATA=\$G4ABLADATA"156 setenv G4ABLADATA "$g4abladata" 157 echo "On this machine the G4ABLADATA=\$G4ABLADATA" 157 158 endif 158 159 159 160 #+ 160 161 if ( X$g4realsurfacedata != X ) then 161 setenv G4REALSURFACEDATA "$g4realsurfacedata" 162 echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA" 162 setenv G4REALSURFACEDATA "$g4realsurfacedata" 163 echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA" 164 endif 165 166 #+ 167 if ( X$g4neutronxsdata != X ) then 168 setenv G4NEUTRONXSDATA "$g4neutronxsdata" 169 echo "On this machine the G4NEUTRONXSDATA=\$G4NEUTRONXSDATA" 163 170 endif 164 171 … … 168 175 # 169 176 if ( X$g4clhep_base_dir != X ) then 170 setenv CLHEP_BASE_DIR "$g4clhep_base_dir"171 echo "On this machine the CLHEP_BASE_DIR=\$CLHEP_BASE_DIR"177 setenv CLHEP_BASE_DIR "$g4clhep_base_dir" 178 echo "On this machine the CLHEP_BASE_DIR=\$CLHEP_BASE_DIR" 172 179 endif 173 180 174 181 #+ 175 182 if ( X$g4clhep_include_dir != X ) then 176 setenv CLHEP_INCLUDE_DIR "$g4clhep_include_dir"177 echo "On this machine the CLHEP_INCLUDE_DIR=\$CLHEP_INCLUDE_DIR"183 setenv CLHEP_INCLUDE_DIR "$g4clhep_include_dir" 184 echo "On this machine the CLHEP_INCLUDE_DIR=\$CLHEP_INCLUDE_DIR" 178 185 endif 179 186 180 187 #+ 181 188 if ( X$g4clhep_lib_dir != X ) then 182 setenv CLHEP_LIB_DIR "$g4clhep_lib_dir"183 echo "On this machine the CLHEP_LIB_DIR=\$CLHEP_LIB_DIR"189 setenv CLHEP_LIB_DIR "$g4clhep_lib_dir" 190 echo "On this machine the CLHEP_LIB_DIR=\$CLHEP_LIB_DIR" 184 191 endif 185 192 186 193 #+ 187 194 if ( X$g4clhep_lib != X ) then 188 setenv CLHEP_LIB "$g4clhep_lib"189 echo "On this machine the CLHEP_LIB=\$CLHEP_LIB"195 setenv CLHEP_LIB "$g4clhep_lib" 196 echo "On this machine the CLHEP_LIB=\$CLHEP_LIB" 190 197 endif 191 198 … … 195 202 # 196 203 if ( X$g4debug == Xy ) then 197 setenv G4DEBUG 1 198 echo "On this machine the G4DEBUG=\$G4DEBUG" 199 endif 200 201 # 202 # g4analysis 203 # 204 #+ 205 if ( X$g4wanalysis_use == Xy ) then 206 setenv G4ANALYSIS_USE 1 207 echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE" 208 endif 204 setenv G4DEBUG 1 205 echo "On this machine the G4DEBUG=\$G4DEBUG" 206 endif 207 209 208 210 209 # … … 213 212 #+ 214 213 if ( X$g4ui_none == Xy ) then 215 setenv G4UI_NONE 1216 echo "On this machine G4UI_NONE is set, so no user interfaces are available"214 setenv G4UI_NONE 1 215 echo "On this machine G4UI_NONE is set, so no user interfaces are available" 217 216 endif 218 217 219 218 # Check for Windows! 220 219 if ( "X\$G4SYSTEM" != "XWIN32-VC" && "X\$G4SYSTEM" != "XWIN32-VC7" ) then 221 if ( X$g4ui_none != Xy ) then 222 setenv G4UI_USE_TCSH 1 223 echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH" 224 endif 220 if ( X$g4ui_none != Xy ) then 221 setenv G4UI_USE_TCSH 1 222 echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH" 223 endif 224 endif 225 226 #+ 227 if ( X$g4ui_build_xaw_session == Xy ) then 228 setenv G4UI_BUILD_XAW_SESSION 1 229 echo "On this machine the G4UI_BUILD_XAW_SESSION=\$G4UI_BUILD_XAW_SESSION" 230 endif 231 232 #+ 233 if ( X$g4ui_use_xaw == Xy ) then 234 setenv G4UI_USE_XAW 1 235 echo "On this machine the G4UI_USE_XAW=\$G4UI_USE_XAW" 225 236 endif 226 237 227 238 #+ 228 239 if ( X$g4ui_build_xm_session == Xy ) then 229 setenv G4UI_BUILD_XM_SESSION 1230 echo "On this machine the G4UI_BUILD_XM_SESSION=\$G4UI_BUILD_XM_SESSION"240 setenv G4UI_BUILD_XM_SESSION 1 241 echo "On this machine the G4UI_BUILD_XM_SESSION=\$G4UI_BUILD_XM_SESSION" 231 242 endif 232 243 233 244 #+ 234 245 if ( X$g4ui_use_xm == Xy ) then 235 setenv G4UI_USE_XM 1236 echo "On this machine the G4UI_USE_XM=\$G4UI_USE_XM"246 setenv G4UI_USE_XM 1 247 echo "On this machine the G4UI_USE_XM=\$G4UI_USE_XM" 237 248 endif 238 249 239 250 #+ 240 251 if ( X$g4ui_build_win32_session == Xy ) then 241 setenv G4UI_BUILD_WIN32_SESSION 1242 echo "On this machine the G4UI_BUILD_WIN32_SESSION=\$G4UI_BUILD_WIN32_SESSION"252 setenv G4UI_BUILD_WIN32_SESSION 1 253 echo "On this machine the G4UI_BUILD_WIN32_SESSION=\$G4UI_BUILD_WIN32_SESSION" 243 254 endif 244 255 245 256 #+ 246 257 if ( X$g4ui_use_win32 == Xy ) then 247 setenv G4UI_USE_WIN32 1248 echo "On this machine the G4UI_USE_WIN32=\$G4UI_USE_WIN32"258 setenv G4UI_USE_WIN32 1 259 echo "On this machine the G4UI_USE_WIN32=\$G4UI_USE_WIN32" 249 260 endif 250 261 251 262 #+ 252 263 if ( X$g4ui_build_qt_session == Xy ) then 253 setenv G4UI_BUILD_QT_SESSION 1254 echo "On this machine the G4UI_BUILD_QT_SESSION=\$G4UI_BUILD_QT_SESSION"264 setenv G4UI_BUILD_QT_SESSION 1 265 echo "On this machine the G4UI_BUILD_QT_SESSION=\$G4UI_BUILD_QT_SESSION" 255 266 endif 256 267 257 268 #+ 258 269 if ( X$g4ui_use_qt == Xy ) then 259 setenv G4UI_USE_QT 1260 echo "On this machine the G4UI_USE_QT=\$G4UI_USE_QT"270 setenv G4UI_USE_QT 1 271 echo "On this machine the G4UI_USE_QT=\$G4UI_USE_QT" 261 272 endif 262 273 … … 268 279 #+ 269 280 if ( X$g4vis_none == Xy ) then 270 setenv G4VIS_NONE 1271 echo "On this machine G4VIS_NONE is set, so no vis drivers are available"281 setenv G4VIS_NONE 1 282 echo "On this machine G4VIS_NONE is set, so no vis drivers are available" 272 283 endif 273 284 274 285 #+ 275 286 if ( X$g4vis_build_dawn_driver == Xy ) then 276 setenv G4VIS_BUILD_DAWN_DRIVER 1277 echo "On this machine the G4VIS_BUILD_DAWN_DRIVER=\$G4VIS_BUILD_DAWN_DRIVER"287 setenv G4VIS_BUILD_DAWN_DRIVER 1 288 echo "On this machine the G4VIS_BUILD_DAWN_DRIVER=\$G4VIS_BUILD_DAWN_DRIVER" 278 289 endif 279 290 280 291 #+ 281 292 if ( X$g4vis_build_openglx_driver == Xy ) then 282 setenv G4VIS_BUILD_OPENGLX_DRIVER 1283 echo "On this machine the G4VIS_BUILD_OPENGLX_DRIVER=\$G4VIS_BUILD_OPENGLX_DRIVER"293 setenv G4VIS_BUILD_OPENGLX_DRIVER 1 294 echo "On this machine the G4VIS_BUILD_OPENGLX_DRIVER=\$G4VIS_BUILD_OPENGLX_DRIVER" 284 295 endif 285 296 286 297 #+ 287 298 if ( X$g4vis_build_openglxm_driver == Xy ) then 288 setenv G4VIS_BUILD_OPENGLXM_DRIVER 1289 echo "On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=\$G4VIS_BUILD_OPENGLXM_DRIVER"299 setenv G4VIS_BUILD_OPENGLXM_DRIVER 1 300 echo "On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=\$G4VIS_BUILD_OPENGLXM_DRIVER" 290 301 endif 291 302 292 303 #+ 293 304 if ( X$g4vis_build_openglwin32_driver == Xy ) then 294 setenv G4VIS_BUILD_OPENGLWIN32_DRIVER 1295 echo "On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=\$G4VIS_BUILD_OPENGLWIN32_DRIVER"305 setenv G4VIS_BUILD_OPENGLWIN32_DRIVER 1 306 echo "On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=\$G4VIS_BUILD_OPENGLWIN32_DRIVER" 296 307 endif 297 308 298 309 #+ 299 310 if ( X$g4vis_build_oix_driver == Xy ) then 300 setenv G4VIS_BUILD_OIX_DRIVER 1301 echo "On this machine the G4VIS_BUILD_OIX_DRIVER=\$G4VIS_BUILD_OIX_DRIVER"311 setenv G4VIS_BUILD_OIX_DRIVER 1 312 echo "On this machine the G4VIS_BUILD_OIX_DRIVER=\$G4VIS_BUILD_OIX_DRIVER" 302 313 endif 303 314 304 315 #+ 305 316 if ( X$g4vis_build_raytracerx_driver == Xy ) then 306 setenv G4VIS_BUILD_RAYTRACERX_DRIVER 1307 echo "On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=\$G4VIS_BUILD_RAYTRACERX_DRIVER"317 setenv G4VIS_BUILD_RAYTRACERX_DRIVER 1 318 echo "On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=\$G4VIS_BUILD_RAYTRACERX_DRIVER" 308 319 endif 309 320 310 321 #+ 311 322 if ( X$g4vis_build_oiwin32_driver == Xy ) then 312 setenv G4VIS_BUILD_OIWIN32_DRIVER 1313 echo "On this machine the G4VIS_BUILD_OIWIN32_DRIVER=\$G4VIS_BUILD_OIWIN32_DRIVER"323 setenv G4VIS_BUILD_OIWIN32_DRIVER 1 324 echo "On this machine the G4VIS_BUILD_OIWIN32_DRIVER=\$G4VIS_BUILD_OIWIN32_DRIVER" 314 325 endif 315 326 316 327 #+ 317 328 if ( X$g4vis_build_vrml_driver == Xy ) then 318 setenv G4VIS_BUILD_VRML_DRIVER 1319 echo "On this machine the G4VIS_BUILD_VRML_DRIVER=\$G4VIS_BUILD_VRML_DRIVER"329 setenv G4VIS_BUILD_VRML_DRIVER 1 330 echo "On this machine the G4VIS_BUILD_VRML_DRIVER=\$G4VIS_BUILD_VRML_DRIVER" 320 331 endif 321 332 322 333 #+ 323 334 if ( X$g4vis_build_openglqt_driver == Xy ) then 324 setenv G4VIS_BUILD_OPENGLQT_DRIVER 1325 echo "On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=\$G4VIS_BUILD_OPENGLQT_DRIVER"335 setenv G4VIS_BUILD_OPENGLQT_DRIVER 1 336 echo "On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=\$G4VIS_BUILD_OPENGLQT_DRIVER" 326 337 endif 327 338 … … 329 340 #+ 330 341 if ( X$g4vis_use_dawn == Xy ) then 331 setenv G4VIS_USE_DAWN 1332 echo "On this machine the G4VIS_USE_DAWN=\$G4VIS_USE_DAWN"342 setenv G4VIS_USE_DAWN 1 343 echo "On this machine the G4VIS_USE_DAWN=\$G4VIS_USE_DAWN" 333 344 endif 334 345 335 346 #+ 336 347 if ( X$g4vis_use_openglx == Xy ) then 337 setenv G4VIS_USE_OPENGLX 1338 echo "On this machine the G4VIS_USE_OPENGLX=\$G4VIS_USE_OPENGLX"348 setenv G4VIS_USE_OPENGLX 1 349 echo "On this machine the G4VIS_USE_OPENGLX=\$G4VIS_USE_OPENGLX" 339 350 endif 340 351 341 352 #+ 342 353 if ( X$g4vis_use_openglxm == Xy ) then 343 setenv G4VIS_USE_OPENGLXM 1344 echo "On this machine the G4VIS_USE_OPENGLXM=\$G4VIS_USE_OPENGLXM"354 setenv G4VIS_USE_OPENGLXM 1 355 echo "On this machine the G4VIS_USE_OPENGLXM=\$G4VIS_USE_OPENGLXM" 345 356 endif 346 357 347 358 #+ 348 359 if ( X$g4vis_use_openglwin32 == Xy ) then 349 setenv G4VIS_USE_OPENGLWIN32 1350 echo "On this machine the G4VIS_USE_OPENGLWIN32=\$G4VIS_USE_OPENGLWIN32"360 setenv G4VIS_USE_OPENGLWIN32 1 361 echo "On this machine the G4VIS_USE_OPENGLWIN32=\$G4VIS_USE_OPENGLWIN32" 351 362 endif 352 363 353 364 #+ 354 365 if ( X$g4vis_use_oix == Xy ) then 355 setenv G4VIS_USE_OIX 1356 echo "On this machine the G4VIS_USE_OIX=\$G4VIS_USE_OIX"366 setenv G4VIS_USE_OIX 1 367 echo "On this machine the G4VIS_USE_OIX=\$G4VIS_USE_OIX" 357 368 endif 358 369 359 370 #+ 360 371 if ( X$g4vis_use_raytracerx == Xy ) then 361 setenv G4VIS_USE_RAYTRACERX 1362 echo "On this machine the G4VIS_USE_RAYTRACERX=\$G4VIS_USE_RAYTRACERX"372 setenv G4VIS_USE_RAYTRACERX 1 373 echo "On this machine the G4VIS_USE_RAYTRACERX=\$G4VIS_USE_RAYTRACERX" 363 374 endif 364 375 365 376 #+ 366 377 if ( X$g4vis_use_oiwin32 == Xy ) then 367 setenv G4VIS_USE_OIWIN32 1368 echo "On this machine the G4VIS_USE_OIWIN32=\$G4VIS_USE_OIWIN32"378 setenv G4VIS_USE_OIWIN32 1 379 echo "On this machine the G4VIS_USE_OIWIN32=\$G4VIS_USE_OIWIN32" 369 380 endif 370 381 371 382 #+ 372 383 if ( X$g4vis_use_vrml == Xy ) then 373 setenv G4VIS_USE_VRML 1374 echo "On this machine the G4VIS_USE_VRML=\$G4VIS_USE_VRML"384 setenv G4VIS_USE_VRML 1 385 echo "On this machine the G4VIS_USE_VRML=\$G4VIS_USE_VRML" 375 386 endif 376 387 377 388 #+ 378 389 if ( X$g4vis_use_openglqt == Xy ) then 379 setenv G4VIS_USE_OPENGLQT 1380 echo "On this machine the G4VIS_USE_OPENGLQT=\$G4VIS_USE_OPENGLQT"390 setenv G4VIS_USE_OPENGLQT 1 391 echo "On this machine the G4VIS_USE_OPENGLQT=\$G4VIS_USE_OPENGLQT" 381 392 endif 382 393 383 394 #+ 384 395 if ( X$g4vis_oglhome != X ) then 385 setenv OGLHOME "$g4vis_oglhome"386 echo "On this machine the OGLHOME=\$OGLHOME"396 setenv OGLHOME "$g4vis_oglhome" 397 echo "On this machine the OGLHOME=\$OGLHOME" 387 398 endif 388 399 389 400 #+ 390 401 if ( X$g4vis_oivhome != X ) then 391 setenv OIVHOME "$g4vis_oivhome"392 echo "On this machine the OIVHOME=\$OIVHOME"402 setenv OIVHOME "$g4vis_oivhome" 403 echo "On this machine the OIVHOME=\$OIVHOME" 393 404 endif 394 405 … … 396 407 #+ 397 408 if ( X$g4vis_build_openglxm_driver != X ) then 398 setenv XMFLAGS "$g4vis_xmflags"399 echo "On this machine the XMFLAGS=\$XMFLAGS"409 setenv XMFLAGS "$g4vis_xmflags" 410 echo "On this machine the XMFLAGS=\$XMFLAGS" 400 411 endif 401 412 402 413 #+ 403 414 if ( X$g4vis_build_openglxm_driver != X ) then 404 setenv XMLIBS "$g4vis_xmlibs"405 echo "On this machine the XMLIBS=\$XMLIBS"415 setenv XMLIBS "$g4vis_xmlibs" 416 echo "On this machine the XMLIBS=\$XMLIBS" 406 417 endif 407 418 408 419 #+ 409 420 if ( X$g4ui_build_xm_session != X ) then 410 setenv XMFLAGS "$g4vis_xmflags"411 echo "On this machine the XMFLAGS=\$XMFLAGS"421 setenv XMFLAGS "$g4vis_xmflags" 422 echo "On this machine the XMFLAGS=\$XMFLAGS" 412 423 endif 413 424 414 425 #+ 415 426 if ( X$g4ui_build_xm_session != X ) then 416 setenv XMLIBS "$g4vis_xmlibs" 417 echo "On this machine the XMLIBS=\$XMLIBS" 418 endif 427 setenv XMLIBS "$g4vis_xmlibs" 428 echo "On this machine the XMLIBS=\$XMLIBS" 429 endif 430 431 #+ 432 if ( X$g4ui_build_xaw_session != X ) then 433 setenv XAWFLAGS "$g4ui_xawflags" 434 echo "On this machine the XAWFLAGS=\$XAWFLAGS" 435 endif 436 437 #+ 438 if ( X$g4ui_build_xaw_session != X ) then 439 setenv XAWLIBS "$g4ui_xawlibs" 440 echo "On this machine the XAWLIBS=\$XAWLIBS" 441 endif 442 419 443 420 444 # … … 422 446 #+ 423 447 if ( "X$g4ui_build_qt_session" == "Xy" || "X$g4ui_use_qt" == "Xy" ) then 424 setenv QTFLAGS "$g4_qt_cxxflags"425 setenv QTLIBS "$g4_qt_libs"426 setenv QTMOC "$g4_qt_moc"427 echo "On this machine the QTFLAGS=\$QTFLAGS"428 echo "On this machine the QTLIBS=\$QTLIBS"429 echo "On this machine the QTMOC=\$QTMOC"448 setenv QTFLAGS "$g4_qt_cxxflags" 449 setenv QTLIBS "$g4_qt_libs" 450 setenv QTMOC "$g4_qt_moc" 451 echo "On this machine the QTFLAGS=\$QTFLAGS" 452 echo "On this machine the QTLIBS=\$QTLIBS" 453 echo "On this machine the QTMOC=\$QTMOC" 430 454 endif 431 455 432 456 if ( "X$g4vis_build_openglqt_driver" == "Xy" || "X$g4vis_build_openglqt_driver" == "Xy" ) then 433 if ( "X\$QTFLAGS" == "X" ) then 434 setenv QTFLAGS "$g4_qt_cxxflags $g4_qt_gl_cxxflags" 435 else 436 setenv QTFLAGS "\$QTFLAGS $g4_qt_gl_cxxflags" 437 endif 438 if ( "X\$QTMOC" == "X" ) then 439 setenv QTMOC "$g4_qt_moc" 440 endif 441 setenv GLQTLIBS "$g4_qt_libs $g4_qt_gl_libs" 442 echo "On this machine the QTFLAGS=\$QTFLAGS" 443 echo "On this machine the GLQTLIBS=\$GLQTLIBS" 444 echo "On this machine the QTMOC=\$QTMOC" 457 if ( "X\$QTFLAGS" == "X" ) then 458 setenv QTFLAGS "$g4_qt_cxxflags $g4_qt_gl_cxxflags" 459 else 460 setenv QTFLAGS "\$QTFLAGS $g4_qt_gl_cxxflags" 461 endif 462 463 if ( "X\$QTMOC" == "X" ) then 464 setenv QTMOC "$g4_qt_moc" 465 endif 466 467 setenv GLQTLIBS "$g4_qt_libs $g4_qt_gl_libs" 468 echo "On this machine the QTFLAGS=\$QTFLAGS" 469 echo "On this machine the GLQTLIBS=\$GLQTLIBS" 470 echo "On this machine the QTMOC=\$QTMOC" 445 471 endif 446 472 … … 454 480 #+ 455 481 if ( X$g4lib_build_gdml == Xy ) then 456 setenv G4LIB_BUILD_GDML 1457 echo "On this machine the G4LIB_BUILD_GDML=\$G4LIB_BUILD_GDML"482 setenv G4LIB_BUILD_GDML 1 483 echo "On this machine the G4LIB_BUILD_GDML=\$G4LIB_BUILD_GDML" 458 484 endif 459 485 460 486 if ( X$g4lib_build_gdml == Xy ) then 461 setenv XERCESCROOT "$g4gdml_xercesc_root"462 echo "On this machine the XERCESCROOT=\$XERCESCROOT"487 setenv XERCESCROOT "$g4gdml_xercesc_root" 488 echo "On this machine the XERCESCROOT=\$XERCESCROOT" 463 489 endif 464 490 … … 471 497 #+ 472 498 if ( X$g4wlib_build_g3tog4 == Xy ) then 473 setenv G4LIB_BUILD_G3TOG4 1474 echo "On this machine the G4LIB_BUILD_G3TOG4=\$G4LIB_BUILD_G3TOG4"499 setenv G4LIB_BUILD_G3TOG4 1 500 echo "On this machine the G4LIB_BUILD_G3TOG4=\$G4LIB_BUILD_G3TOG4" 475 501 endif 476 502 477 503 if ( X$g4w_use_g3tog4 == Xy ) then 478 setenv G4LIB_USE_G3TOG4 1479 echo "On this machine the G4LIB_USE_G3TOG4=\$G4LIB_USE_G3TOG4"504 setenv G4LIB_USE_G3TOG4 1 505 echo "On this machine the G4LIB_USE_G3TOG4=\$G4LIB_USE_G3TOG4" 480 506 endif 481 507 … … 486 512 #+ 487 513 if ( X$g4wlib_build_zlib == Xy ) then 488 setenv G4LIB_BUILD_ZLIB 1489 echo "On this machine the G4LIB_BUILD_ZLIB=\$G4LIB_BUILD_ZLIB"514 setenv G4LIB_BUILD_ZLIB 1 515 echo "On this machine the G4LIB_BUILD_ZLIB=\$G4LIB_BUILD_ZLIB" 490 516 endif 491 517 492 518 if ( X$g4w_use_ZLIB == Xy ) then 493 setenv G4LIB_USE_ZLIB 1494 echo "On this machine the G4LIB_USE_ZLIB=\$G4LIB_USE_ZLIB"519 setenv G4LIB_USE_ZLIB 1 520 echo "On this machine the G4LIB_USE_ZLIB=\$G4LIB_USE_ZLIB" 495 521 endif 496 522 … … 500 526 # 501 527 if ( X$g4lib_build_shared == Xy ) then 502 setenv G4LIB_BUILD_SHARED 1503 echo "On this machine the G4LIB_BUILD_SHARED=\$G4LIB_BUILD_SHARED"528 setenv G4LIB_BUILD_SHARED 1 529 echo "On this machine the G4LIB_BUILD_SHARED=\$G4LIB_BUILD_SHARED" 504 530 endif 505 531 506 532 if ( X$g4lib_build_static == Xy ) then 507 setenv G4LIB_BUILD_STATIC 1508 echo "On this machine the G4LIB_BUILD_STATIC=\$G4LIB_BUILD_STATIC"533 setenv G4LIB_BUILD_STATIC 1 534 echo "On this machine the G4LIB_BUILD_STATIC=\$G4LIB_BUILD_STATIC" 509 535 endif 510 536 … … 514 540 # 515 541 if ( X$g4lib_use_granular == Xy ) then 516 setenv G4LIB_USE_GRANULAR 1517 echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR"542 setenv G4LIB_USE_GRANULAR 1 543 echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR" 518 544 endif 519 545 … … 531 557 # 532 558 if ( ${?G4WORKDIR} ) then 533 echo "In your environment you have the G4WORKDIR=$G4WORKDIR"559 echo "In your environment you have the G4WORKDIR=$G4WORKDIR" 534 560 else 535 # Check for Windows! 536 if ( "X$G4SYSTEM" == "XWIN32-VC" || "X$G4SYSTEM" == "XWIN32-VC7" ) then 537 538 echo "G4WORKDIR will be set to c:/geant4 (in "native" Windows syntax)." 539 setenv G4WORKDIR "c:/geant4" 540 541 else # if Unix 542 543 echo "G4WORKDIR will be set to HOME/geant4=$HOME/geant4" 544 setenv G4WORKDIR $HOME/geant4 545 546 endif 547 endif 548 549 # 550 # Shared libraries 551 # 561 # Check for Windows! 562 if ( "X$G4SYSTEM" == "XWIN32-VC" || "X$G4SYSTEM" == "XWIN32-VC7" ) then 563 echo "G4WORKDIR will be set to c:/geant4 (in "native" Windows syntax)." 564 setenv G4WORKDIR "c:/geant4" 565 else # if Unix 566 echo "G4WORKDIR will be set to HOME/geant4=$HOME/geant4" 567 setenv G4WORKDIR $HOME/geant4 568 endif 569 endif 570 571 # 572 # *NIX Shared Libraries 573 # If we built Geant4 with shared libraries, we need to add the Gean4 574 # library directory to (DY)LD_LIBRARY_PATH. 575 # In all cases, external shared library directories should be added to 576 # (DY)LD_LIBRARY_PATH 577 578 if ( "X$G4SYSTEM" != "XDarwin-g++" ) then 579 if ( ${?LD_LIBRARY_PATH} ) then 580 if ( ${?G4LIB_BUILD_SHARED} ) then 581 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM} 582 endif 583 584 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 585 586 if ( ${?G4LIB_BUILD_GDML} ) then 587 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib 588 endif 589 590 else 591 if ( ${?G4LIB_BUILD_SHARED} ) then 592 setenv LD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM} 593 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 594 else 595 setenv LD_LIBRARY_PATH ${CLHEP_LIB_DIR} 596 endif 597 598 if ( ${?G4LIB_BUILD_GDML} ) then 599 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib 600 endif 601 endif 602 else 603 # 604 # Darwin Shared Libraries 605 # we repeat the above logic, but for DYLD_LIBRARY_PATH 606 # 607 if ( ${?DYLD_LIBRARY_PATH} ) then 608 if ( ${?G4LIB_BUILD_SHARED} ) then 609 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM} 610 endif 611 612 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 613 614 if ( ${?G4LIB_BUILD_GDML} ) then 615 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib 616 endif 617 else 618 if ( ${?G4LIB_BUILD_SHARED} ) then 619 setenv DYLD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM} 620 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 621 else 622 setenv DYLD_LIBRARY_PATH ${CLHEP_LIB_DIR} 623 endif 624 625 if ( ${?G4LIB_BUILD_GDML} ) then 626 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib 627 endif 628 endif 629 endif 630 631 632 # 633 # Warning about LD_LIBRARY_PATH 634 # 635 echo '' 552 636 if ( ${?G4LIB_BUILD_SHARED} ) then 553 554 # 555 # Warning about LD_LIBRARY_PATH 556 # 637 if ( "X$G4SYSTEM" == "XDarwin-g++" ) then 638 echo 'DYLD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. ' 639 else 640 echo 'LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. ' 641 endif 642 else 643 if ( "X$G4SYSTEM" == "XDarwin-g++" ) then 644 echo 'DYLD_LIBRARY_PATH is set to include CLHEP libraries. ' 645 else 646 echo 'LD_LIBRARY_PATH is set to include CLHEP libraries. ' 647 endif 648 endif 649 echo 'NOTE : you should verify that the correct path for the CLHEP library' 557 650 echo '' 558 echo 'LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. '651 echo ${CLHEP_BASE_DIR}/lib 559 652 echo '' 560 echo 'NOTE : verify that the correct path for the CLHEP library' 561 echo '- $CLHEP_BASE_DIR/lib - is included in the $LD_LIBRARY_PATH' 562 echo 'variable in your environment, and no other outdated installations' 563 echo 'of CLHEP are by chance referenced through $LD_LIBRARY_PATH and' 564 echo 'present in your system !' 653 echo 'is included in the dynamic library search path ahead of any other' 654 echo 'installations of CLHEP on your system that may be referenced by this' 655 echo 'path.' 565 656 echo '' 566 567 if ( ${?LD_LIBRARY_PATH} ) then568 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}569 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR}570 571 if ( ${?G4LIB_BUILD_GDML} ) then572 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib573 endif574 575 else576 setenv LD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM}577 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR}578 579 if ( ${?G4LIB_BUILD_GDML} ) then580 setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${XERCESCROOT}/lib581 endif582 583 endif584 endif585 586 #587 # Shared libraries for Mac588 #589 if ( "X$G4SYSTEM" == "XDarwin-g++" ) then590 591 if ( ${?G4LIB_BUILD_SHARED} ) then592 if ( ${?DYLD_LIBRARY_PATH} ) then593 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}594 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}595 596 if ( ${?G4LIB_BUILD_GDML} ) then597 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib598 endif599 600 else601 setenv DYLD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM}602 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}603 604 if ( ${?G4LIB_BUILD_GDML} ) then605 setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib606 endif607 608 endif609 endif610 611 endif612 657 613 658 # -
trunk/config/scripts/env.sh.SH
r1213 r1337 31 31 unset CLHEP_LIB_DIR 32 32 33 unset G4ANALYSIS_USE34 33 unset G4DEBUG 35 34 unset G4INCLUDE … … 42 41 unset G4ABLADATA 43 42 unset G4REALSURFACEDATA 43 unset G4NEUTRONXSDATA 44 44 45 45 unset G4LIB … … 57 57 unset G4UI_NONE 58 58 unset G4UI_BUILD_WIN32_SESSION 59 unset G4UI_BUILD_XAW_SESSION 59 60 unset G4UI_BUILD_XM_SESSION 60 61 unset G4UI_USE_TCSH 61 62 unset G4UI_USE_WIN32 63 unset G4UI_USE_XAW 62 64 unset G4UI_USE_XM 63 65 unset G4UI_USE_QT … … 93 95 export G4SYSTEM 94 96 if [ X\$g4non_display = X ] ; then 95 echo "On this machine the G4SYSTEM=\$G4SYSTEM"97 echo "On this machine the G4SYSTEM=\$G4SYSTEM" 96 98 fi 97 99 … … 101 103 #+ 102 104 if [ X$g4install != X$g4final_install ] ; then 103 G4INSTALL="$g4final_install/src/geant4"105 G4INSTALL="$g4final_install/src/geant4" 104 106 else 105 G4INSTALL="$g4install"107 G4INSTALL="$g4install" 106 108 fi 107 109 export G4INSTALL 108 110 if [ X\$g4non_display = X ] ; then 109 echo "On this machine the G4INSTALL=\$G4INSTALL"111 echo "On this machine the G4INSTALL=\$G4INSTALL" 110 112 fi 111 113 112 114 #+ 113 115 if [ X$g4includes_flag != Xn ] ; then 114 if [ X$g4install != X$g4final_install ] ; then 115 G4INCLUDE="$g4final_install/include/geant4" 116 else 117 G4INCLUDE="$g4install/include/" 118 fi 119 export G4INCLUDE 120 if [ X\$g4non_display = X ] ; then 121 echo "On this machine the G4INCLUDE=\$G4INCLUDE" 122 fi 123 #else 124 #G4BASE="$g4final_install/include/geant4/source" 125 #export G4BASE 126 #if [ X\$g4non_display = X ] ; then 127 #echo "On this machine the G4BASE=\$G4BASE" 128 #fi 116 if [ X$g4install != X$g4final_install ] ; then 117 G4INCLUDE="$g4final_install/include/geant4" 118 else 119 G4INCLUDE="$g4install/include/" 120 fi 121 export G4INCLUDE 122 if [ X\$g4non_display = X ] ; then 123 echo "On this machine the G4INCLUDE=\$G4INCLUDE" 124 fi 129 125 fi 130 126 131 127 #+ 132 128 if [ X$g4lib != X ] ; then 133 if [ X$g4install != X$g4final_install ] ; then134 G4LIB="$g4final_install/lib/geant4"135 else136 G4LIB="$g4install/lib"137 fi138 export G4LIB139 if [ X\$g4non_display = X ] ; then140 echo "On this machine the G4LIB=\$G4LIB"141 fi129 if [ X$g4install != X$g4final_install ] ; then 130 G4LIB="$g4final_install/lib/geant4" 131 else 132 G4LIB="$g4install/lib" 133 fi 134 export G4LIB 135 if [ X\$g4non_display = X ] ; then 136 echo "On this machine the G4LIB=\$G4LIB" 137 fi 142 138 fi 143 139 144 140 #+ 145 141 if [ X$g4levelgammadata != X ] ; then 146 G4LEVELGAMMADATA="$g4levelgammadata"147 export G4LEVELGAMMADATA148 if [ X\$g4non_display = X ] ; then149 echo "On this machine the G4LEVELGAMMADATA=\$G4LEVELGAMMADATA"150 fi142 G4LEVELGAMMADATA="$g4levelgammadata" 143 export G4LEVELGAMMADATA 144 if [ X\$g4non_display = X ] ; then 145 echo "On this machine the G4LEVELGAMMADATA=\$G4LEVELGAMMADATA" 146 fi 151 147 fi 152 148 153 149 #+ 154 150 if [ X$g4radioactivedata != X ] ; then 155 G4RADIOACTIVEDATA="$g4radioactivedata"156 export G4RADIOACTIVEDATA157 if [ X\$g4non_display = X ] ; then158 echo "On this machine the G4RADIOACTIVEDATA=\$G4RADIOACTIVEDATA"159 fi151 G4RADIOACTIVEDATA="$g4radioactivedata" 152 export G4RADIOACTIVEDATA 153 if [ X\$g4non_display = X ] ; then 154 echo "On this machine the G4RADIOACTIVEDATA=\$G4RADIOACTIVEDATA" 155 fi 160 156 fi 161 157 162 158 #+ 163 159 if [ X$g4ledata != X ] ; then 164 G4LEDATA="$g4ledata"165 export G4LEDATA166 if [ X\$g4non_display = X ] ; then167 echo "On this machine the G4LEDATA=\$G4LEDATA"168 fi160 G4LEDATA="$g4ledata" 161 export G4LEDATA 162 if [ X\$g4non_display = X ] ; then 163 echo "On this machine the G4LEDATA=\$G4LEDATA" 164 fi 169 165 fi 170 166 171 167 #+ 172 168 if [ X$g4neutronhpcrosssections != X ] ; then 173 G4NEUTRONHPDATA="$g4neutronhpcrosssections"174 export G4NEUTRONHPDATA175 if [ X\$g4non_display = X ] ; then176 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA"177 fi169 G4NEUTRONHPDATA="$g4neutronhpcrosssections" 170 export G4NEUTRONHPDATA 171 if [ X\$g4non_display = X ] ; then 172 echo "On this machine the G4NEUTRONHPDATA=\$G4NEUTRONHPDATA" 173 fi 178 174 fi 179 175 180 176 #+ 181 177 if [ X$g4abladata != X ] ; then 182 G4ABLADATA="$g4abladata"183 export G4ABLADATA184 if [ X\$g4non_display = X ] ; then185 echo "On this machine the G4ABLADATA=\$G4ABLADATA"186 fi178 G4ABLADATA="$g4abladata" 179 export G4ABLADATA 180 if [ X\$g4non_display = X ] ; then 181 echo "On this machine the G4ABLADATA=\$G4ABLADATA" 182 fi 187 183 fi 188 184 189 185 #+ 190 186 if [ X$g4realsurfacedata != X ] ; then 191 G4REALSURFACEDATA="$g4realsurfacedata" 192 export G4REALSURFACEDATA 193 if [ X\$g4non_display = X ] ; then 194 echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA" 195 fi 196 fi 187 G4REALSURFACEDATA="$g4realsurfacedata" 188 export G4REALSURFACEDATA 189 if [ X\$g4non_display = X ] ; then 190 echo "On this machine the G4REALSURFACEDATA=\$G4REALSURFACEDATA" 191 fi 192 fi 193 194 #+ 195 if [ X$g4neutronxsdata != X ] ; then 196 G4NEUTRONXSDATA="$g4neutronxsdata" 197 export G4NEUTRONXSDATA 198 if [ X\$g4non_display = X ] ; then 199 echo "On this machine the G4NEUTRONXSDATA=\$G4NEUTRONXSDATA" 200 fi 201 fi 202 197 203 198 204 # … … 200 206 # 201 207 if [ X$g4clhep_base_dir != X ] ; then 202 CLHEP_BASE_DIR="$g4clhep_base_dir"203 export CLHEP_BASE_DIR204 if [ X\$g4non_display = X ] ; then205 echo "On this machine the CLHEP_BASE_DIR=\$CLHEP_BASE_DIR"206 fi208 CLHEP_BASE_DIR="$g4clhep_base_dir" 209 export CLHEP_BASE_DIR 210 if [ X\$g4non_display = X ] ; then 211 echo "On this machine the CLHEP_BASE_DIR=\$CLHEP_BASE_DIR" 212 fi 207 213 fi 208 214 209 215 #+ 210 216 if [ X$g4clhep_include_dir != X ] ; then 211 CLHEP_INCLUDE_DIR="$g4clhep_include_dir"212 export CLHEP_INCLUDE_DIR213 if [ X\$g4non_display = X ] ; then214 echo "On this machine the CLHEP_INCLUDE_DIR=\$CLHEP_INCLUDE_DIR"215 fi217 CLHEP_INCLUDE_DIR="$g4clhep_include_dir" 218 export CLHEP_INCLUDE_DIR 219 if [ X\$g4non_display = X ] ; then 220 echo "On this machine the CLHEP_INCLUDE_DIR=\$CLHEP_INCLUDE_DIR" 221 fi 216 222 fi 217 223 218 224 #+ 219 225 if [ X$g4clhep_lib_dir != X ] ; then 220 CLHEP_LIB_DIR="$g4clhep_lib_dir"221 export CLHEP_LIB_DIR222 if [ X\$g4non_display = X ] ; then223 echo "On this machine the CLHEP_LIB_DIR=\$CLHEP_LIB_DIR"224 fi226 CLHEP_LIB_DIR="$g4clhep_lib_dir" 227 export CLHEP_LIB_DIR 228 if [ X\$g4non_display = X ] ; then 229 echo "On this machine the CLHEP_LIB_DIR=\$CLHEP_LIB_DIR" 230 fi 225 231 fi 226 232 227 233 #+ 228 234 if [ X$g4clhep_lib != X ] ; then 229 CLHEP_LIB="$g4clhep_lib"230 export CLHEP_LIB231 if [ X\$g4non_display = X ] ; then232 echo "On this machine the CLHEP_LIB=\$CLHEP_LIB"233 fi235 CLHEP_LIB="$g4clhep_lib" 236 export CLHEP_LIB 237 if [ X\$g4non_display = X ] ; then 238 echo "On this machine the CLHEP_LIB=\$CLHEP_LIB" 239 fi 234 240 fi 235 241 … … 239 245 # 240 246 if [ X$g4debug = Xy ] ; then 241 G4DEBUG=1 242 export G4DEBUG 243 if [ X\$g4non_display = X ] ; then 244 echo "On this machine the G4DEBUG=\$G4DEBUG" 245 fi 246 fi 247 248 # 249 # g4analysis 250 # 251 #+ 252 if [ X$g4wanalysis_use = Xy ] ; then 253 G4ANALYSIS_USE=1 254 export G4ANALYSIS_USE 255 if [ X\$g4non_display = X ] ; then 256 echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE" 257 fi 258 fi 247 G4DEBUG=1 248 export G4DEBUG 249 if [ X\$g4non_display = X ] ; then 250 echo "On this machine the G4DEBUG=\$G4DEBUG" 251 fi 252 fi 253 259 254 260 255 # … … 263 258 #+ 264 259 if [ X$g4ui_none = Xy ] ; then 265 G4UI_NONE=1266 export G4UI_NONE267 if [ X\$g4non_display = X ] ; then268 echo "On this machine, G4UI_NONE is set, so no user interfaces are available"269 fi260 G4UI_NONE=1 261 export G4UI_NONE 262 if [ X\$g4non_display = X ] ; then 263 echo "On this machine, G4UI_NONE is set, so no user interfaces are available" 264 fi 270 265 fi 271 266 … … 277 272 # UI_USE_TCSH for Unix 278 273 # 279 if [ X$g4ui_none != Xy ] ; then 280 G4UI_USE_TCSH=1 281 export G4UI_USE_TCSH 282 if [ X\$g4non_display = X ] ; then 283 echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH" 284 fi 285 fi 286 fi 287 274 if [ X$g4ui_none != Xy ] ; then 275 G4UI_USE_TCSH=1 276 export G4UI_USE_TCSH 277 if [ X\$g4non_display = X ] ; then 278 echo "On this machine the G4UI_USE_TCSH=\$G4UI_USE_TCSH" 279 fi 280 fi 281 fi 282 283 284 #+ 285 if [ X$g4ui_build_xaw_session = Xy ] ; then 286 G4UI_BUILD_XAW_SESSION=1 287 export G4UI_BUILD_XAW_SESSION 288 if [ X\$g4non_display = X ] ; then 289 echo "On this machine the G4UI_BUILD_XAW_SESSION=\$G4UI_BUILD_XAW_SESSION" 290 fi 291 fi 292 293 #+ 294 if [ X$g4ui_use_xaw = Xy ] ; then 295 G4UI_USE_XAW=1 296 export G4UI_USE_XAW 297 if [ X\$g4non_display = X ] ; then 298 echo "On this machine the G4UI_USE_XAW=\$G4UI_USE_XAW" 299 fi 300 fi 288 301 289 302 #+ 290 303 if [ X$g4ui_build_xm_session = Xy ] ; then 291 G4UI_BUILD_XM_SESSION=1292 export G4UI_BUILD_XM_SESSION293 if [ X\$g4non_display = X ] ; then294 echo "On this machine the G4UI_BUILD_XM_SESSION=\$G4UI_BUILD_XM_SESSION"295 fi304 G4UI_BUILD_XM_SESSION=1 305 export G4UI_BUILD_XM_SESSION 306 if [ X\$g4non_display = X ] ; then 307 echo "On this machine the G4UI_BUILD_XM_SESSION=\$G4UI_BUILD_XM_SESSION" 308 fi 296 309 fi 297 310 298 311 #+ 299 312 if [ X$g4ui_use_xm = Xy ] ; then 300 G4UI_USE_XM=1301 export G4UI_USE_XM302 if [ X\$g4non_display = X ] ; then303 echo "On this machine the G4UI_USE_XM=\$G4UI_USE_XM"304 fi313 G4UI_USE_XM=1 314 export G4UI_USE_XM 315 if [ X\$g4non_display = X ] ; then 316 echo "On this machine the G4UI_USE_XM=\$G4UI_USE_XM" 317 fi 305 318 fi 306 319 307 320 #+ 308 321 if [ X$g4ui_build_win32_session = Xy ] ; then 309 G4UI_BUILD_WIN32_SESSION=1310 export G4UI_BUILD_WIN32_SESSION311 if [ X\$g4non_display = X ] ; then312 echo "On this machine the G4UI_BUILD_WIN32_SESSION=\$G4UI_BUILD_WIN32_SESSION"313 fi322 G4UI_BUILD_WIN32_SESSION=1 323 export G4UI_BUILD_WIN32_SESSION 324 if [ X\$g4non_display = X ] ; then 325 echo "On this machine the G4UI_BUILD_WIN32_SESSION=\$G4UI_BUILD_WIN32_SESSION" 326 fi 314 327 fi 315 328 316 329 #+ 317 330 if [ X$g4ui_use_win32 = Xy ] ; then 318 G4UI_USE_WIN32=1319 export G4UI_USE_WIN32320 if [ X\$g4non_display = X ] ; then321 echo "On this machine the G4UI_USE_WIN32=\$G4UI_USE_WIN32"322 fi331 G4UI_USE_WIN32=1 332 export G4UI_USE_WIN32 333 if [ X\$g4non_display = X ] ; then 334 echo "On this machine the G4UI_USE_WIN32=\$G4UI_USE_WIN32" 335 fi 323 336 fi 324 337 … … 326 339 #+ 327 340 if [ X$g4ui_build_qt_session = Xy ] ; then 328 G4UI_BUILD_QT_SESSION=1329 export G4UI_BUILD_QT_SESSION330 if [ X\$g4non_display = X ] ; then331 echo "On this machine the G4UI_BUILD_QT_SESSION=\$G4UI_BUILD_QT_SESSION"332 fi341 G4UI_BUILD_QT_SESSION=1 342 export G4UI_BUILD_QT_SESSION 343 if [ X\$g4non_display = X ] ; then 344 echo "On this machine the G4UI_BUILD_QT_SESSION=\$G4UI_BUILD_QT_SESSION" 345 fi 333 346 fi 334 347 335 348 #+ 336 349 if [ X$g4ui_use_qt = Xy ] ; then 337 G4UI_USE_QT=1338 export G4UI_USE_QT339 if [ X\$g4non_display = X ] ; then340 echo "On this machine the G4UI_USE_QT=\$G4UI_USE_QT"341 fi350 G4UI_USE_QT=1 351 export G4UI_USE_QT 352 if [ X\$g4non_display = X ] ; then 353 echo "On this machine the G4UI_USE_QT=\$G4UI_USE_QT" 354 fi 342 355 fi 343 356 … … 349 362 #+ 350 363 if [ X$g4vis_none = Xy ] ; then 351 G4VIS_NONE=1352 export G4VIS_NONE353 if [ X\$g4non_display = X ] ; then354 echo "On this machine G4VIS_NONE is set, so no vis drivers are available"355 fi364 G4VIS_NONE=1 365 export G4VIS_NONE 366 if [ X\$g4non_display = X ] ; then 367 echo "On this machine G4VIS_NONE is set, so no vis drivers are available" 368 fi 356 369 fi 357 370 358 371 #+ 359 372 if [ X$g4vis_build_dawn_driver = Xy ] ; then 360 G4VIS_BUILD_DAWN_DRIVER=1361 export G4VIS_BUILD_DAWN_DRIVER362 if [ X\$g4non_display = X ] ; then363 echo "On this machine the G4VIS_BUILD_DAWN_DRIVER=\$G4VIS_BUILD_DAWN_DRIVER"364 fi373 G4VIS_BUILD_DAWN_DRIVER=1 374 export G4VIS_BUILD_DAWN_DRIVER 375 if [ X\$g4non_display = X ] ; then 376 echo "On this machine the G4VIS_BUILD_DAWN_DRIVER=\$G4VIS_BUILD_DAWN_DRIVER" 377 fi 365 378 fi 366 379 367 380 #+ 368 381 if [ X$g4vis_build_openglx_driver = Xy ] ; then 369 G4VIS_BUILD_OPENGLX_DRIVER=1370 export G4VIS_BUILD_OPENGLX_DRIVER371 if [ X\$g4non_display = X ] ; then372 echo "On this machine the G4VIS_BUILD_OPENGLX_DRIVER=\$G4VIS_BUILD_OPENGLX_DRIVER"373 fi382 G4VIS_BUILD_OPENGLX_DRIVER=1 383 export G4VIS_BUILD_OPENGLX_DRIVER 384 if [ X\$g4non_display = X ] ; then 385 echo "On this machine the G4VIS_BUILD_OPENGLX_DRIVER=\$G4VIS_BUILD_OPENGLX_DRIVER" 386 fi 374 387 fi 375 388 376 389 #+ 377 390 if [ X$g4vis_build_openglxm_driver = Xy ] ; then 378 G4VIS_BUILD_OPENGLXM_DRIVER=1379 export G4VIS_BUILD_OPENGLXM_DRIVER380 if [ X\$g4non_display = X ] ; then381 echo "On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=\$G4VIS_BUILD_OPENGLXM_DRIVER"382 fi391 G4VIS_BUILD_OPENGLXM_DRIVER=1 392 export G4VIS_BUILD_OPENGLXM_DRIVER 393 if [ X\$g4non_display = X ] ; then 394 echo "On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=\$G4VIS_BUILD_OPENGLXM_DRIVER" 395 fi 383 396 fi 384 397 385 398 #+ 386 399 if [ X$g4vis_build_openglwin32_driver = Xy ] ; then 387 G4VIS_BUILD_OPENGLWIN32_DRIVER=1388 export G4VIS_BUILD_OPENGLWIN32_DRIVER389 if [ X\$g4non_display = X ] ; then390 echo "On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=\$G4VIS_BUILD_OPENGLWIN32_DRIVER"391 fi400 G4VIS_BUILD_OPENGLWIN32_DRIVER=1 401 export G4VIS_BUILD_OPENGLWIN32_DRIVER 402 if [ X\$g4non_display = X ] ; then 403 echo "On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=\$G4VIS_BUILD_OPENGLWIN32_DRIVER" 404 fi 392 405 fi 393 406 394 407 #+ 395 408 if [ X$g4vis_build_oix_driver = Xy ] ; then 396 G4VIS_BUILD_OIX_DRIVER=1397 export G4VIS_BUILD_OIX_DRIVER398 if [ X\$g4non_display = X ] ; then399 echo "On this machine the G4VIS_BUILD_OIX_DRIVER=\$G4VIS_BUILD_OIX_DRIVER"400 fi409 G4VIS_BUILD_OIX_DRIVER=1 410 export G4VIS_BUILD_OIX_DRIVER 411 if [ X\$g4non_display = X ] ; then 412 echo "On this machine the G4VIS_BUILD_OIX_DRIVER=\$G4VIS_BUILD_OIX_DRIVER" 413 fi 401 414 fi 402 415 403 416 #+ 404 417 if [ X$g4vis_build_raytracerx_driver = Xy ] ; then 405 G4VIS_BUILD_RAYTRACERX_DRIVER=1406 export G4VIS_BUILD_RAYTRACERX_DRIVER407 if [ X\$g4non_display = X ] ; then408 echo "On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=\$G4VIS_BUILD_RAYTRACERX_DRIVER"409 fi418 G4VIS_BUILD_RAYTRACERX_DRIVER=1 419 export G4VIS_BUILD_RAYTRACERX_DRIVER 420 if [ X\$g4non_display = X ] ; then 421 echo "On this machine the G4VIS_BUILD_RAYTRACERX_DRIVER=\$G4VIS_BUILD_RAYTRACERX_DRIVER" 422 fi 410 423 fi 411 424 412 425 #+ 413 426 if [ X$g4vis_build_oiwin32_driver = Xy ] ; then 414 G4VIS_BUILD_OIWIN32_DRIVER=1415 export G4VIS_BUILD_OIWIN32_DRIVER416 if [ X\$g4non_display = X ] ; then417 echo "On this machine the G4VIS_BUILD_OIWIN32_DRIVER=\$G4VIS_BUILD_OIWIN32_DRIVER"418 fi427 G4VIS_BUILD_OIWIN32_DRIVER=1 428 export G4VIS_BUILD_OIWIN32_DRIVER 429 if [ X\$g4non_display = X ] ; then 430 echo "On this machine the G4VIS_BUILD_OIWIN32_DRIVER=\$G4VIS_BUILD_OIWIN32_DRIVER" 431 fi 419 432 fi 420 433 421 434 #+ 422 435 if [ X$g4vis_build_vrml_driver = Xy ] ; then 423 G4VIS_BUILD_VRML_DRIVER=1424 export G4VIS_BUILD_VRML_DRIVER425 if [ X\$g4non_display = X ] ; then426 echo "On this machine the G4VIS_BUILD_VRML_DRIVER=\$G4VIS_BUILD_VRML_DRIVER"427 fi436 G4VIS_BUILD_VRML_DRIVER=1 437 export G4VIS_BUILD_VRML_DRIVER 438 if [ X\$g4non_display = X ] ; then 439 echo "On this machine the G4VIS_BUILD_VRML_DRIVER=\$G4VIS_BUILD_VRML_DRIVER" 440 fi 428 441 fi 429 442 430 443 #+ 431 444 if [ X$g4vis_build_openglqt_driver = Xy ] ; then 432 G4VIS_BUILD_OPENGLQT_DRIVER=1433 export G4VIS_BUILD_OPENGLQT_DRIVER434 if [ X\$g4non_display = X ] ; then435 echo "On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=\$G4VIS_BUILD_OPENGLQT_DRIVER"436 fi445 G4VIS_BUILD_OPENGLQT_DRIVER=1 446 export G4VIS_BUILD_OPENGLQT_DRIVER 447 if [ X\$g4non_display = X ] ; then 448 echo "On this machine the G4VIS_BUILD_OPENGLQT_DRIVER=\$G4VIS_BUILD_OPENGLQT_DRIVER" 449 fi 437 450 fi 438 451 … … 441 454 #+ 442 455 if [ X$g4vis_use_dawn = Xy ] ; then 443 G4VIS_USE_DAWN=1444 export G4VIS_USE_DAWN445 if [ X\$g4non_display = X ] ; then446 echo "On this machine the G4VIS_USE_DAWN=\$G4VIS_USE_DAWN"447 fi456 G4VIS_USE_DAWN=1 457 export G4VIS_USE_DAWN 458 if [ X\$g4non_display = X ] ; then 459 echo "On this machine the G4VIS_USE_DAWN=\$G4VIS_USE_DAWN" 460 fi 448 461 fi 449 462 450 463 #+ 451 464 if [ X$g4vis_use_openglx = Xy ] ; then 452 G4VIS_USE_OPENGLX=1453 export G4VIS_USE_OPENGLX454 if [ X\$g4non_display = X ] ; then455 echo "On this machine the G4VIS_USE_OPENGLX=\$G4VIS_USE_OPENGLX"456 fi465 G4VIS_USE_OPENGLX=1 466 export G4VIS_USE_OPENGLX 467 if [ X\$g4non_display = X ] ; then 468 echo "On this machine the G4VIS_USE_OPENGLX=\$G4VIS_USE_OPENGLX" 469 fi 457 470 fi 458 471 459 472 #+ 460 473 if [ X$g4vis_use_openglxm = Xy ] ; then 461 G4VIS_USE_OPENGLXM=1462 export G4VIS_USE_OPENGLXM463 if [ X\$g4non_display = X ] ; then464 echo "On this machine the G4VIS_USE_OPENGLXM=\$G4VIS_USE_OPENGLXM"465 fi474 G4VIS_USE_OPENGLXM=1 475 export G4VIS_USE_OPENGLXM 476 if [ X\$g4non_display = X ] ; then 477 echo "On this machine the G4VIS_USE_OPENGLXM=\$G4VIS_USE_OPENGLXM" 478 fi 466 479 fi 467 480 468 481 #+ 469 482 if [ X$g4vis_use_openglwin32 = Xy ] ; then 470 G4VIS_USE_OPENGLWIN32=1471 export G4VIS_USE_OPENGLWIN32472 if [ X\$g4non_display = X ] ; then473 echo "On this machine the G4VIS_USE_OPENGLWIN32=\$G4VIS_USE_OPENGLWIN32"474 fi483 G4VIS_USE_OPENGLWIN32=1 484 export G4VIS_USE_OPENGLWIN32 485 if [ X\$g4non_display = X ] ; then 486 echo "On this machine the G4VIS_USE_OPENGLWIN32=\$G4VIS_USE_OPENGLWIN32" 487 fi 475 488 fi 476 489 477 490 #+ 478 491 if [ X$g4vis_use_oix = Xy ] ; then 479 G4VIS_USE_OIX=1480 export G4VIS_USE_OIX481 if [ X\$g4non_display = X ] ; then482 echo "On this machine the G4VIS_USE_OIX=\$G4VIS_USE_OIX"483 fi492 G4VIS_USE_OIX=1 493 export G4VIS_USE_OIX 494 if [ X\$g4non_display = X ] ; then 495 echo "On this machine the G4VIS_USE_OIX=\$G4VIS_USE_OIX" 496 fi 484 497 fi 485 498 486 499 #+ 487 500 if [ X$g4vis_use_raytracerx = Xy ] ; then 488 G4VIS_USE_RAYTRACERX=1489 export G4VIS_USE_RAYTRACERX490 if [ X\$g4non_display = X ] ; then491 echo "On this machine the G4VIS_USE_RAYTRACERX=\$G4VIS_USE_RAYTRACERX"492 fi501 G4VIS_USE_RAYTRACERX=1 502 export G4VIS_USE_RAYTRACERX 503 if [ X\$g4non_display = X ] ; then 504 echo "On this machine the G4VIS_USE_RAYTRACERX=\$G4VIS_USE_RAYTRACERX" 505 fi 493 506 fi 494 507 495 508 #+ 496 509 if [ X$g4vis_use_oiwin32 = Xy ] ; then 497 G4VIS_USE_OIWIN32=1498 export G4VIS_USE_OIWIN32499 if [ X\$g4non_display = X ] ; then500 echo "On this machine the G4VIS_USE_OIWIN32=\$G4VIS_USE_OIWIN32"501 fi510 G4VIS_USE_OIWIN32=1 511 export G4VIS_USE_OIWIN32 512 if [ X\$g4non_display = X ] ; then 513 echo "On this machine the G4VIS_USE_OIWIN32=\$G4VIS_USE_OIWIN32" 514 fi 502 515 fi 503 516 504 517 #+ 505 518 if [ X$g4vis_use_vrml = Xy ] ; then 506 G4VIS_USE_VRML=1507 export G4VIS_USE_VRML508 if [ X\$g4non_display = X ] ; then509 echo "On this machine the G4VIS_USE_VRML=\$G4VIS_USE_VRML"510 fi519 G4VIS_USE_VRML=1 520 export G4VIS_USE_VRML 521 if [ X\$g4non_display = X ] ; then 522 echo "On this machine the G4VIS_USE_VRML=\$G4VIS_USE_VRML" 523 fi 511 524 fi 512 525 513 526 #+ 514 527 if [ X$g4vis_use_openglqt = Xy ] ; then 515 G4VIS_USE_OPENGLQT=1516 export G4VIS_USE_OPENGLQT517 if [ X\$g4non_display = X ] ; then518 echo "On this machine the G4VIS_USE_OPENGLQT=\$G4VIS_USE_OPENGLQT"519 fi528 G4VIS_USE_OPENGLQT=1 529 export G4VIS_USE_OPENGLQT 530 if [ X\$g4non_display = X ] ; then 531 echo "On this machine the G4VIS_USE_OPENGLQT=\$G4VIS_USE_OPENGLQT" 532 fi 520 533 fi 521 534 … … 524 537 #+ 525 538 if [ X$g4vis_oglhome != X ] ; then 526 OGLHOME="$g4vis_oglhome"527 export OGLHOME528 if [ X\$g4non_display = X ] ; then529 echo "On this machine the OGLHOME=\$OGLHOME"530 fi539 OGLHOME="$g4vis_oglhome" 540 export OGLHOME 541 if [ X\$g4non_display = X ] ; then 542 echo "On this machine the OGLHOME=\$OGLHOME" 543 fi 531 544 fi 532 545 533 546 #+ 534 547 if [ X$g4vis_oivhome != X ] ; then 535 OIVHOME="$g4vis_oivhome"536 export OIVHOME537 if [ X\$g4non_display = X ] ; then538 echo "On this machine the OIVHOME=\$OIVHOME"539 fi548 OIVHOME="$g4vis_oivhome" 549 export OIVHOME 550 if [ X\$g4non_display = X ] ; then 551 echo "On this machine the OIVHOME=\$OIVHOME" 552 fi 540 553 fi 541 554 … … 544 557 #+ 545 558 if [ X$g4vis_build_openglxm_driver != X ] ; then 546 XMFLAGS="$g4vis_xmflags"547 export XMFLAGS548 if [ X\$g4non_display = X ] ; then549 echo "On this machine the XMFLAGS=\$XMFLAGS"550 fi559 XMFLAGS="$g4vis_xmflags" 560 export XMFLAGS 561 if [ X\$g4non_display = X ] ; then 562 echo "On this machine the XMFLAGS=\$XMFLAGS" 563 fi 551 564 fi 552 565 553 566 #+ 554 567 if [ X$g4vis_build_openglxm_driver != X ] ; then 555 XMLIBS="$g4vis_xmlibs"556 export XMLIBS557 if [ X\$g4non_display = X ] ; then558 echo "On this machine the XMLIBS=\$XMLIBS"559 fi568 XMLIBS="$g4vis_xmlibs" 569 export XMLIBS 570 if [ X\$g4non_display = X ] ; then 571 echo "On this machine the XMLIBS=\$XMLIBS" 572 fi 560 573 fi 561 574 562 575 #+ 563 576 if [ X$g4ui_build_xm_session != X ] ; then 564 XMFLAGS="$g4vis_xmflags"565 export XMFLAGS566 if [ X\$g4non_display = X ] ; then567 echo "On this machine the XMFLAGS=\$XMFLAGS"568 fi577 XMFLAGS="$g4vis_xmflags" 578 export XMFLAGS 579 if [ X\$g4non_display = X ] ; then 580 echo "On this machine the XMFLAGS=\$XMFLAGS" 581 fi 569 582 fi 570 583 571 584 #+ 572 585 if [ X$g4vis_build_xm_session != X ] ; then 573 XMLIBS="$g4vis_xmlibs" 574 export XMLIBS 575 if [ X\$g4non_display = X ] ; then 576 echo "On this machine the XMLIBS=\$XMLIBS" 577 fi 578 fi 586 XMLIBS="$g4vis_xmlibs" 587 export XMLIBS 588 if [ X\$g4non_display = X ] ; then 589 echo "On this machine the XMLIBS=\$XMLIBS" 590 fi 591 fi 592 593 #+ 594 if [ X$g4ui_build_xaw_session != X ] ; then 595 XAWFLAGS="$g4ui_xawflags" 596 export XAWFLAGS 597 if [ X\$g4non_display = X ] ; then 598 echo "On this machine the XAWFLAGS=\$XAWFLAGS" 599 fi 600 fi 601 602 #+ 603 if [ X$g4ui_build_xaw_session != X ] ; then 604 XAWLIBS="$g4ui_xawlibs" 605 export XAWLIBS 606 if [ X\$g4non_display = X ] ; then 607 echo "On this machine the XAWLIBS=\$XAWLIBS" 608 fi 609 fi 610 579 611 580 612 # … … 582 614 #+ 583 615 if [ "X$g4ui_build_qt_session" = "Xy" -o "X$g4ui_use_qt" = "Xy" ] ; then 584 QTFLAGS="$g4_qt_cxxflags"585 QTLIBS="$g4_qt_libs"586 QTMOC="$g4_qt_moc"587 export QTFLAGS588 export QTLIBS589 export QTMOC590 if test "x\$g4non_display" = "x" ; then591 echo "On this machine the QTFLAGS=\$QTFLAGS"592 echo "On this machine the QTLIBS=\$QTLIBS"593 echo "On this machine the QTMOC=\$QTMOC"594 fi616 QTFLAGS="$g4_qt_cxxflags" 617 QTLIBS="$g4_qt_libs" 618 QTMOC="$g4_qt_moc" 619 export QTFLAGS 620 export QTLIBS 621 export QTMOC 622 if test "x\$g4non_display" = "x" ; then 623 echo "On this machine the QTFLAGS=\$QTFLAGS" 624 echo "On this machine the QTLIBS=\$QTLIBS" 625 echo "On this machine the QTMOC=\$QTMOC" 626 fi 595 627 fi 596 628 597 629 if [ "X$g4vis_build_openglqt_driver" = "Xy" -o "X$g4vis_build_openglqt_driver" = "Xy" ] ; then 598 if [ "X\$QTFLAGS" = "X" ] ; then 599 QTFLAGS="$g4_qt_cxxflags $g4_qt_gl_cxxflags" 600 else 601 QTFLAGS="\$QTFLAGS $g4_qt_gl_cxxflags" 602 fi 603 if [ "X\$QTMOC" = "X" ] ; then 604 QTMOC="$g4_qt_moc" 605 fi 606 GLQTLIBS="$g4_qt_libs $g4_qt_gl_libs" 607 export QTFLAGS 608 export QTMOC 609 export GLQTLIBS 610 if test "x\$g4non_display" = "x" ; then 611 echo "On this machine the QTFLAGS=\$QTFLAGS" 612 echo "On this machine the GLQTLIBS=\$GLQTLIBS" 613 echo "On this machine the QTMOC=\$QTMOC" 614 fi 630 if [ "X\$QTFLAGS" = "X" ] ; then 631 QTFLAGS="$g4_qt_cxxflags $g4_qt_gl_cxxflags" 632 else 633 QTFLAGS="\$QTFLAGS $g4_qt_gl_cxxflags" 634 fi 635 636 if [ "X\$QTMOC" = "X" ] ; then 637 QTMOC="$g4_qt_moc" 638 fi 639 640 GLQTLIBS="$g4_qt_libs $g4_qt_gl_libs" 641 export QTFLAGS 642 export QTMOC 643 export GLQTLIBS 644 if test "x\$g4non_display" = "x" ; then 645 echo "On this machine the QTFLAGS=\$QTFLAGS" 646 echo "On this machine the GLQTLIBS=\$GLQTLIBS" 647 echo "On this machine the QTMOC=\$QTMOC" 648 fi 615 649 fi 616 650 … … 622 656 #+ 623 657 if [ X$g4lib_build_gdml = Xy ] ; then 624 G4LIB_BUILD_GDML=1625 export G4LIB_BUILD_GDML626 if test "x\$g4non_display" = "x" ; then627 echo "On this machine the G4LIB_BUILD_GDML=\$G4LIB_BUILD_GDML"628 fi658 G4LIB_BUILD_GDML=1 659 export G4LIB_BUILD_GDML 660 if test "x\$g4non_display" = "x" ; then 661 echo "On this machine the G4LIB_BUILD_GDML=\$G4LIB_BUILD_GDML" 662 fi 629 663 fi 630 664 631 665 if [ X$g4lib_build_gdml = Xy ] ; then 632 XERCESCROOT=$g4gdml_xercesc_root633 export XERCESCROOT634 if test "x\$g4non_display" = "x" ; then635 echo "On this machine the XERCESCROOT=\$XERCESCROOT"636 fi666 XERCESCROOT=$g4gdml_xercesc_root 667 export XERCESCROOT 668 if test "x\$g4non_display" = "x" ; then 669 echo "On this machine the XERCESCROOT=\$XERCESCROOT" 670 fi 637 671 fi 638 672 … … 644 678 #+ 645 679 if [ X$g4wlib_build_g3tog4 = Xy ] ; then 646 G4LIB_BUILD_G3TOG4=1647 export G4LIB_BUILD_G3TOG4648 if [ X\$g4non_display = X ] ; then649 echo "On this machine the G4LIB_BUILD_G3TOG4=\$G4LIB_BUILD_G3TOG4"650 fi680 G4LIB_BUILD_G3TOG4=1 681 export G4LIB_BUILD_G3TOG4 682 if [ X\$g4non_display = X ] ; then 683 echo "On this machine the G4LIB_BUILD_G3TOG4=\$G4LIB_BUILD_G3TOG4" 684 fi 651 685 fi 652 686 653 687 if [ X$g4w_use_g3tog4 = Xy ] ; then 654 G4LIB_USE_G3TOG4=1655 export G4LIB_USE_G3TOG4656 if [ X\$g4non_display = X ] ; then657 echo "On this machine the G4LIB_USE_G3TOG4=\$G4LIB_USE_G3TOG4"658 fi688 G4LIB_USE_G3TOG4=1 689 export G4LIB_USE_G3TOG4 690 if [ X\$g4non_display = X ] ; then 691 echo "On this machine the G4LIB_USE_G3TOG4=\$G4LIB_USE_G3TOG4" 692 fi 659 693 fi 660 694 … … 664 698 #+ 665 699 if [ X$g4wlib_build_zlib = Xy ] ; then 666 G4LIB_BUILD_ZLIB=1667 export G4LIB_BUILD_ZLIB668 if [ X\$g4non_display = X ] ; then669 echo "On this machine the G4LIB_BUILD_ZLIB=\$G4LIB_BUILD_ZLIB"670 fi700 G4LIB_BUILD_ZLIB=1 701 export G4LIB_BUILD_ZLIB 702 if [ X\$g4non_display = X ] ; then 703 echo "On this machine the G4LIB_BUILD_ZLIB=\$G4LIB_BUILD_ZLIB" 704 fi 671 705 fi 672 706 673 707 if [ X$g4w_use_zlib = Xy ] ; then 674 G4LIB_USE_ZLIB=1675 export G4LIB_USE_ZLIB676 if [ X\$g4non_display = X ] ; then677 echo "On this machine the G4LIB_USE_ZLIB=\$G4LIB_USE_ZLIB"678 fi708 G4LIB_USE_ZLIB=1 709 export G4LIB_USE_ZLIB 710 if [ X\$g4non_display = X ] ; then 711 echo "On this machine the G4LIB_USE_ZLIB=\$G4LIB_USE_ZLIB" 712 fi 679 713 fi 680 714 … … 685 719 # 686 720 if [ X$g4lib_build_shared = Xy ] ; then 687 G4LIB_BUILD_SHARED=1688 export G4LIB_BUILD_SHARED689 if [ X\$g4non_display = X ] ; then690 echo "On this machine the G4LIB_BUILD_SHARED=\$G4LIB_BUILD_SHARED"691 fi721 G4LIB_BUILD_SHARED=1 722 export G4LIB_BUILD_SHARED 723 if [ X\$g4non_display = X ] ; then 724 echo "On this machine the G4LIB_BUILD_SHARED=\$G4LIB_BUILD_SHARED" 725 fi 692 726 fi 693 727 694 728 if [ X$g4lib_build_static = Xy ] ; then 695 G4LIB_BUILD_STATIC=1696 export G4LIB_BUILD_STATIC697 if [ X\$g4non_display = X ] ; then698 echo "On this machine the G4LIB_BUILD_STATIC=\$G4LIB_BUILD_STATIC"699 fi729 G4LIB_BUILD_STATIC=1 730 export G4LIB_BUILD_STATIC 731 if [ X\$g4non_display = X ] ; then 732 echo "On this machine the G4LIB_BUILD_STATIC=\$G4LIB_BUILD_STATIC" 733 fi 700 734 fi 701 735 … … 705 739 # 706 740 if [ X$g4lib_use_granular = Xy ] ; then 707 G4LIB_USE_GRANULAR=1708 export G4LIB_USE_GRANULAR709 if [ X\$g4non_display = X ] ; then710 echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR"711 fi741 G4LIB_USE_GRANULAR=1 742 export G4LIB_USE_GRANULAR 743 if [ X\$g4non_display = X ] ; then 744 echo "On this machine the G4LIB_USE_GRANULAR=\$G4LIB_USE_GRANULAR" 745 fi 712 746 fi 713 747 … … 726 760 # 727 761 if [ $G4WORKDIR ] ; then 762 if [ X\$g4non_display = X ] ; then 763 echo "In your environment you have the G4WORKDIR=$G4WORKDIR" 764 fi 765 else 766 # Check for Windows! 767 if test "X$G4SYSTEM" = "XWIN32-VC" -o "X$G4SYSTEM" = "XWIN32-VC7"; then 768 if [ X\$g4non_display = X ] ; then 769 echo "G4WORKDIR will be set to c:/geant4 (in "native" Windows syntax)" 770 fi 771 772 G4WORKDIR="c:/geant4" 773 export G4WORKDIR 774 775 else # if Unix 776 if [ X\$g4non_display = X ] ; then 777 echo "G4WORKDIR will be set to HOME/geant4=$HOME/geant4" 778 fi 779 780 G4WORKDIR=$HOME/geant4 781 export G4WORKDIR 782 fi # if platforms 783 fi 784 785 786 787 788 789 # 790 # *NIX Shared Libraries 791 # If we built Geant4 with shared libraries, we need to add the Gean4 792 # library directory to (DY)LD_LIBRARY_PATH. 793 # In all cases, external shared library directories should be added to 794 # (DY)LD_LIBRARY_PATH 795 796 if test "X$G4SYSTEM" != "XDarwin-g++" ; then 797 if [ $LD_LIBRARY_PATH ] ; then 798 if [ $G4LIB_BUILD_SHARED ] ; then 799 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM} 800 fi 801 802 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 803 804 if [ $G4LIB_BUILD_GDML ] ; then 805 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${XERCESCROOT}/lib 806 fi 807 808 export LD_LIBRARY_PATH 809 else 810 if [ $G4LIB_BUILD_SHARED ] ; then 811 LD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM} 812 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 813 else 814 LD_LIBRARY_PATH=${CLHEP_LIB_DIR} 815 fi 816 817 if [ $G4LIB_BUILD_GDML ] ; then 818 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${XERCESCROOT}/lib 819 fi 820 821 export LD_LIBRARY_PATH 822 fi 823 else 824 # 825 # Shared libraries for Mac 826 # 827 if [ $DYLD_LIBRARY_PATH ] ; then 828 if [ $G4LIB_BUILD_SHARED ] ; then 829 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM} 830 fi 831 832 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 833 834 if [ $G4LIB_BUILD_GDML ] ; then 835 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib 836 fi 837 838 export DYLD_LIBRARY_PATH 839 else 840 if [ $G4LIB_BUILD_SHARED ] ; then 841 DYLD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM} 842 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR} 843 else 844 DYLD_LIBRARY_PATH=${CLHEP_LIB_DIR} 845 fi 846 847 if [ $G4LIB_BUILD_GDML ] ; then 848 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib 849 fi 850 851 export DYLD_LIBRARY_PATH 852 fi 853 fi 854 855 # 856 # Warning about LD_LIBRARY_PATH 857 # NB: ONLY echo if g4non_display not set 858 if [ $G4LIB_BUILD_SHARED ] ; then 859 if test "X$G4SYSTEM" = "XDarwin-g++" ; then 860 if [ X\$g4non_display = X ] ; then 861 echo 'DYLD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. ' 862 fi 863 else 864 if [ X\$g4non_display = X ] ; then 865 echo 'LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. ' 866 fi 867 fi 868 else 869 if test "X$G4SYSTEM" = "XDarwin-g++" ; then 870 if [ X\$g4non_display = X ] ; then 871 echo 'DYLD_LIBRARY_PATH is set to include CLHEP libraries. ' 872 fi 873 else 874 if [ X\$g4non_display = X ] ; then 875 echo 'LD_LIBRARY_PATH is set to include CLHEP libraries. ' 876 fi 877 fi 878 fi 728 879 729 880 if [ X\$g4non_display = X ] ; then 730 echo "In your environment you have the G4WORKDIR=$G4WORKDIR" 731 fi 732 733 else 734 735 # Check for Windows! 736 if test "X$G4SYSTEM" = "XWIN32-VC" -o "X$G4SYSTEM" = "XWIN32-VC7"; then 737 738 if [ X\$g4non_display = X ] ; then 739 echo "G4WORKDIR will be set to c:/geant4 (in "native" Windows syntax)" 740 fi 741 742 G4WORKDIR="c:/geant4" 743 export G4WORKDIR 744 745 else # if Unix 746 747 if [ X\$g4non_display = X ] ; then 748 echo "G4WORKDIR will be set to HOME/geant4=$HOME/geant4" 749 fi 750 751 G4WORKDIR=$HOME/geant4 752 export G4WORKDIR 753 754 fi # if platforms 755 756 fi 757 758 759 760 761 # 762 # Shared libraries 763 # 764 if [ $G4LIB_BUILD_SHARED ] ; then 765 # 766 # Warning about LD_LIBRARY_PATH unless g4non_display is set! 767 # 768 if test "x\$g4non_display" = "x" ; then 881 echo 'NOTE : you should verify that the correct path for the CLHEP library' 769 882 echo '' 770 echo 'LD_LIBRARY_PATH is set to include CLHEP and Geant4 libraries. '883 echo ${CLHEP_BASE_DIR}/lib 771 884 echo '' 772 echo 'NOTE : verify that the correct path for the CLHEP library' 773 echo '- $CLHEP_BASE_DIR/lib - is included in the $LD_LIBRARY_PATH' 774 echo 'variable in your environment, and no other outdated installations' 775 echo 'of CLHEP are by chance referenced through $LD_LIBRARY_PATH and' 776 echo 'present in your system !' 885 echo 'is included in the dynamic library search path ahead of any other' 886 echo 'installations of CLHEP on your system that may be referenced by this' 887 echo 'path.' 777 888 echo '' 778 889 fi 779 890 780 if [ $LD_LIBRARY_PATH ] ; then781 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}782 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR}783 784 if [ $G4LIB_BUILD_GDML ] ; then785 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${XERCESCROOT}/lib786 fi787 export LD_LIBRARY_PATH788 789 else790 LD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM}791 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CLHEP_LIB_DIR}792 793 if [ $G4LIB_BUILD_GDML ] ; then794 LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${XERCESCROOT}/lib795 fi796 797 export LD_LIBRARY_PATH798 fi799 fi800 801 #802 # Shared libraries for Mac803 #804 if test "X$G4SYSTEM" = "XDarwin-g++" ; then805 806 if [ $G4LIB_BUILD_SHARED ] ; then807 if [ $DYLD_LIBRARY_PATH ] ; then808 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}809 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}810 811 if [ $G4LIB_BUILD_GDML ] ; then812 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib813 fi814 815 export DYLD_LIBRARY_PATH816 else817 DYLD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM}818 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${CLHEP_LIB_DIR}819 820 if [ $G4LIB_BUILD_GDML ] ; then821 DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${XERCESCROOT}/lib822 fi823 824 export DYLD_LIBRARY_PATH825 fi826 fi827 828 fi829 891 830 892 # -
trunk/config/scripts/install.sh.SH
r1213 r1337 31 31 unset CLHEP_LIB_DIR 32 32 33 unset G4ANALYSIS_USE34 33 unset G4DEBUG 35 34 unset G4INCLUDE … … 56 55 unset G4UI_NONE 57 56 unset G4UI_BUILD_WIN32_SESSION 57 unset G4UI_BUILD_XAW_SESSION 58 58 unset G4UI_BUILD_XM_SESSION 59 59 unset G4UI_BUILD_QT_SESSION 60 60 unset G4UI_USE_TCSH 61 61 unset G4UI_USE_WIN32 62 unset G4UI_USE_XAW 62 63 unset G4UI_USE_XM 63 64 unset G4UI_USE_QT … … 219 220 fi 220 221 221 #222 # g4analysis223 #224 #+225 if [ X$g4wanalysis_use = Xy ] ; then226 G4ANALYSIS_USE=1227 export G4ANALYSIS_USE228 echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE"229 fi230 222 231 223 # … … 242 234 243 235 #+ 236 if [ X$g4ui_build_xaw_session = Xy ] ; then 237 G4UI_BUILD_XAW_SESSION=1 238 export G4UI_BUILD_XAW_SESSION 239 echo "On this machine the G4UI_BUILD_XAW_SESSION=\$G4UI_BUILD_XAW_SESSION" 240 fi 241 242 #+ 243 if [ X$g4ui_use_xaw = Xy ] ; then 244 G4UI_USE_XAW=1 245 export G4UI_USE_XAW 246 echo "On this machine the G4UI_USE_XAW=\$G4UI_USE_XAW" 247 fi 248 249 #+ 244 250 if [ X$g4ui_build_xm_session = Xy ] ; then 245 251 G4UI_BUILD_XM_SESSION=1 … … 485 491 fi 486 492 fi 493 494 #+ 495 if [ X$g4ui_build_xaw_session != X ] ; then 496 XAWFLAGS="$g4ui_xawflags" 497 export XAWFLAGS 498 if [ X\$g4non_display = X ] ; then 499 echo "On this machine the XAWFLAGS=\$XAWFLAGS" 500 fi 501 fi 502 503 #+ 504 if [ X$g4ui_build_xaw_session != X ] ; then 505 XAWLIBS="$g4ui_xawlibs" 506 export XAWLIBS 507 if [ X\$g4non_display = X ] ; then 508 echo "On this machine the XAWLIBS=\$XAWLIBS" 509 fi 510 fi 511 512 487 513 488 514 # Qt Flags and Libs, messy, but needed for backward compatibility -
trunk/config/scripts/move.sh.SH
r1213 r1337 151 151 fi 152 152 153 #154 # g4analysis155 #156 #+157 if [ X$g4wanalysis_use = Xy ] ; then158 G4ANALYSIS_USE=1159 export G4ANALYSIS_USE160 echo "On this machine the G4ANALYSIS_USE=\$G4ANALYSIS_USE"161 fi162 153 163 154 # 164 155 # g4ui 165 156 # 157 #+ 158 if [ X$g4ui_build_xaw_session = Xy ] ; then 159 G4UI_BUILD_XAW_SESSION=1 160 export G4UI_BUILD_XAW_SESSION 161 echo "On this machine the G4UI_BUILD_XAW_SESSION=\$G4UI_BUILD_XAW_SESSION" 162 fi 163 164 #+ 165 if [ X$g4ui_use_xaw = Xy ] ; then 166 G4UI_USE_XAW=1 167 export G4UI_USE_XAW 168 echo "On this machine the G4UI_USE_XAW=\$G4UI_USE_XAW" 169 fi 170 166 171 #+ 167 172 if [ X$g4ui_build_xm_session = Xy ] ; then
Note: See TracChangeset
for help on using the changeset viewer.