Print

Print


Commit in SimDist on MAIN
configure[binary]1.110 -> 1.111
build/geant4.m4+26-11.16 -> 1.17
+26-1
2 modified files
add option to turn G4DEBUG on or off; default is off

SimDist/build
geant4.m4 1.16 -> 1.17
diff -u -r1.16 -r1.17
--- geant4.m4	29 Jun 2011 21:40:20 -0000	1.16
+++ geant4.m4	13 Jul 2012 21:59:27 -0000	1.17
@@ -79,6 +79,28 @@
 ])
 
 dnl
+dnl Enable or disable debugging symbols in Geant4 compilation.
+dnl
+AC_DEFUN(ENABLE_G4DEBUG, [
+
+AC_MSG_CHECKING(whether to set G4DEBUG in Geant4 build)
+
+AC_ARG_ENABLE([g4debug],
+              AC_HELP_STRING([--enable-g4debug],
+                             [include debug symbols in Geant4 build])
+             )
+
+dnl Check only for 'yes' option as this is off by default.
+if test "${enable_g4debug}" == "yes"; then
+  G4DEBUG=1
+  AC_MSG_RESULT(yes)
+else
+  AC_MSG_RESULT(no)
+fi
+
+])
+
+dnl
 dnl Check if G4's embedded GDML should be enabled.  
 dnl This has no effect on standalone GDML package used by LCDD.
 dnl
@@ -88,7 +110,7 @@
 
 AC_ARG_ENABLE([g4gdml],
               AC_HELP_STRING([--enable-g4gdml],
-                             [Enable or disable embedded Geant4 GDML lib.])
+                             [build embedded GDML lib in Geant4])
              )
 
 if test "${enable_g4gdml}" != "no"; then
@@ -185,6 +207,9 @@
     export G4LIB_BUILD_STATIC=1
 fi
 
+dnl Debugging support.
+ENABLE_G4DEBUG
+
 dnl Variable substitutions for Geant4 environment.
 AC_SUBST(G4SYSTEM)
 AC_SUBST(G4INSTALL)
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1