Revision 3d7453e0 configure

View differences:

configure
450 450
        eval dep_any="\$${cfg}_deps_any"
451 451
        eval dep_sel="\$${cfg}_select"
452 452
        eval dep_sgs="\$${cfg}_suggest"
453
        eval dep_ifa="\$${cfg}_if"
454
        eval dep_ifn="\$${cfg}_if_any"
453 455

  
454
        pushvar cfg dep_all dep_any dep_sel dep_sgs
455
        check_deps $dep_all $dep_any $dep_sel $dep_sgs
456
        popvar cfg dep_all dep_any dep_sel dep_sgs
456
        pushvar cfg dep_all dep_any dep_sel dep_sgs dep_ifa dep_ifn
457
        check_deps $dep_all $dep_any $dep_sel $dep_sgs $dep_ifa $dep_ifn
458
        popvar cfg dep_all dep_any dep_sel dep_sgs dep_ifa dep_ifn
457 459

  
460
        [ -n "$dep_ifa" ] && { enabled_all $dep_ifa && enable_weak $cfg; }
461
        [ -n "$dep_ifn" ] && { enabled_any $dep_ifn && enable_weak $cfg; }
458 462
        enabled_all  $dep_all || disable $cfg
459 463
        enabled_any  $dep_any || disable $cfg
460 464
        disabled_any $dep_sel && disable $cfg

Also available in: Unified diff