Problem 1477 - Bug in geant4-config.in for --has-feature clhep
Summary: Bug in geant4-config.in for --has-feature clhep
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 9.6
Hardware: All Linux
: P5 trivial
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2013-06-13 10:04 CEST by nanjo
Modified: 2013-06-13 15:23 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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