Changeset 1199:6eb25a4ffe7a in roaraudio for configure


Ignore:
Timestamp:
02/04/09 16:55:06 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support to disable cmd codecfilter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1180 r1199  
    5252PROXY=true 
    5353 
     54WITHOUT_CF='' 
     55 
    5456MINIMAL=false 
    5557 
     
    126128   echo '--without-proxy             - Disable support for proxys' 
    127129   echo 
     130   echo '--without-cf-cmd            - Disable support for command codecfilter' 
     131   echo 
    128132   echo '--without-libao             - Disable build of libao plugin' 
    129133   echo '--without-xmms              - Disable build of XMMS plugin' 
     
    211215  '--without-proxy') 
    212216   PROXY=false 
     217  ;; 
     218  '--without-cf-'*) 
     219   WITHOUT_CF="$WITHOUT_CF"' '$(echo "$1" | cut -d- -f5) 
    213220  ;; 
    214221  '--without-libao') 
     
    451458 $MULAW_RW && echo '#define ROAR_SUPPORT_MULAW_RW' 
    452459 $PROXY    && echo '#define ROAR_SUPPORT_PROXY' 
     460 echo 
     461 
     462 for i in $WITHOUT_CF 
     463 do 
     464  i=$(echo $i | tr /a-z/ /A-Z/); 
     465  echo '#define ROAR_WITHOUT_CF_'$i 
     466 done 
     467 
    453468 echo 
    454469 $TARGET_WIN32 && echo '#define ROAR_TARGET_WIN32' 
Note: See TracChangeset for help on using the changeset viewer.