• N.Sukegawa's avatar
    Make configure fail on invalid (-no)-feature options · f1aafb59
    N.Sukegawa authored
    
    configure script has been silently accepting whatever flags that begin
    with "-feature-" even if the feature name does not exist at all.
    
    Since the script validates many other flags, this behavior can make
    users believe flags they supply is valid when it isn't.
    Besides, this option is currently not protected against typo in any way.
    
    This commit verifies those flags against content of
    "qtbase/src/corelib/global/qfeatures.txt" and fails if supplied
    flag is not a valid feature name.
    
    Change-Id: Ib19ec66dd5558fb5491e8e080ce07d4807d94c1f
    Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
    f1aafb59