Problem 1477

Summary: Bug in geant4-config.in for --has-feature clhep
Product: Geant4 Reporter: nanjo
Component: cmakeAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED FIXED    
Severity: trivial    
Priority: P5    
Version: 9.6   
Hardware: All   
OS: Linux   

Description nanjo 2013-06-13 10:04:07 CEST
Dear geant4 developers,

There is a trivial bug at line 310 in cmake/Templates/geant4-config.in.
    305     --has-feature)
    306       shift
    307 
    308       case "$1" in
    309         clhep)
    310           echo ${have_gdml}
    311           ;;

${have_gdml} should be {have_clhep}.
It makes "geant4-config --has-feature clhep" wrong.

Best,
Hajime
Comment 1 Ben Morgan 2013-06-13 15:23:38 CEST
Fixed in SVN with tag cmake-V09-06-17. Will be in 10.0 beta and next patch of 9.6