Changeset 1092:2f57d6983f05 in roaraudio


Ignore:
Timestamp:
12/28/08 20:19:45 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added options: --without-libao, --without-xmms and --exec-helper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1091 r1092  
    3838XMMS_INST_DIR='' 
    3939 
     40LIBAO=true 
     41XMMS=true 
     42 
    4043DEFAULT_RATE='' 
    4144DEFAULT_CHANNELS='' 
     
    5053 
    5154TARGET_WIN32=false 
     55 
     56EXEC_HELPER='' 
    5257 
    5358echo -n "checking for C compiler... " 
     
    108113   echo '--without-mulaw-rw' 
    109114   echo '--without-proxy' 
     115   echo '--without-libao' 
     116   echo '--without-xmms' 
    110117   echo '--target-win32' 
     118   echo '--exec-helper HELPER' 
    111119   exit 0; 
    112120  ;; 
     
    184192   PROXY=false 
    185193  ;; 
     194  '--without-libao') 
     195   LIBAO=false 
     196   no_lib_ao=true 
     197  ;; 
     198  '--without-xmms') 
     199   XMMS=false 
     200  ;; 
    186201  '--prefix') 
    187202   PREFIX="$2" 
     
    202217  '--prefix-man') 
    203218   PREFIX_MAN="$2" 
     219   shift; 
     220  ;; 
     221  '--exec-helper') 
     222   EXEC_HELPER="$2" 
    204223   shift; 
    205224  ;; 
     
    209228   TARGET_WIN32=true 
    210229   PROXY=false 
     230   XMMS=false 
    211231  ;; 
    212232 esac; 
     
    541561if $CCTF 2> /dev/null; 
    542562then 
    543  $TF_E >&3 
     563 $EXEC_HELPER $TF_E >&3 
    544564 if [ "$?" = '0' ] 
    545565 then 
     
    572592if $CCTF 2> /dev/null; 
    573593then 
    574  $TF_E >&3 
     594 $EXEC_HELPER $TF_E >&3 
    575595else 
    576596 echo 'error, can not compile' 
     
    607627if $CCTF 2> /dev/null; 
    608628then 
    609  $TF_E >&3 
     629 $EXEC_HELPER $TF_E >&3 
    610630else 
    611631 echo 'error, can not compile' 
     
    670690EOF 
    671691 
    672 echo 'running libao plugin configure...' 
    673  cd plugins/ao/ 
    674 if [ "$AO_INST_DIR" = '' ] 
    675 then 
    676  ./configure --force-have-roar 
    677 else 
    678  ./configure --force-have-roar --inst-dir "$AO_INST_DIR" 
    679 fi 
    680  
    681 echo 'running xmms plugin configure...' 
    682  cd ../xmms/ 
    683 if [ "$XMMS_INST_DIR" = '' ] 
    684 then 
    685  ./configure --force-have-roar 
    686 else 
    687  ./configure --force-have-roar --inst-dir "$XMMS_INST_DIR" 
    688 fi 
    689  
    690 cd ../.. 
     692cd plugins 
     693 
     694if $LIBAO 
     695then 
     696 echo 'running libao plugin configure...' 
     697  cd ao/ 
     698 if [ "$AO_INST_DIR" = '' ] 
     699 then 
     700  ./configure --force-have-roar 
     701 else 
     702  ./configure --force-have-roar --inst-dir "$AO_INST_DIR" 
     703 fi 
     704 cd .. 
     705else 
     706 echo "running libao plugin configure... disabled by user" 
     707fi 
     708 
     709if $XMMS 
     710then 
     711 echo 'running xmms plugin configure...' 
     712  cd xmms/ 
     713 if [ "$XMMS_INST_DIR" = '' ] 
     714 then 
     715  ./configure --force-have-roar 
     716 else 
     717  ./configure --force-have-roar --inst-dir "$XMMS_INST_DIR" 
     718 fi 
     719 cd .. 
     720else 
     721 echo "running xmms plugin configure... disabled by user" 
     722fi 
     723 
     724cd .. 
    691725 
    692726rm -f $TF_C $TF_E 
Note: See TracChangeset for help on using the changeset viewer.