Revision 3250003c configure

View differences:

configure
269 269
}
270 270

  
271 271
enabled(){
272
    eval test "x\$$1" = "xyes"
272
    test "${1#!}" = "$1" && op== || op=!=
273
    eval test "x\$${1#!}" $op "xyes"
273 274
}
274 275

  
275 276
disabled(){
276
    eval test "x\$$1" = "xno"
277
    test "${1#!}" = "$1" && op== || op=!=
278
    eval test "x\$${1#!}" $op "xno"
277 279
}
278 280

  
279 281
enabled_all(){
......
317 319

  
318 320
check_deps(){
319 321
    for cfg; do
322
        cfg="${cfg#!}"
320 323
        enabled ${cfg}_checking && die "Circular dependency for $cfg."
321 324
        disabled ${cfg}_checking && continue
322 325
        enable ${cfg}_checking

Also available in: Unified diff