Changeset 3233:4a4b67ead57d in roaraudio


Ignore:
Timestamp:
01/27/10 15:20:13 (10 years ago)
Author:
phi
Branch:
default
Message:

test for .output_matrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/ao/configure

    r1742 r3233  
    8080fi 
    8181 
     82echo -n 'testing for libao to support mapping matrix... ' 
     83cat > tests.c << EOF 
     84#include <ao/ao.h> 
     85#include <ao/plugin.h> 
     86int main (void) { ao_device dev = {.output_matrix = ""}; return 0; } 
     87EOF 
     88 
     89$CC $AO_LIBS $AO_CFLAGS -o tests tests.c 2> /dev/null 
     90R="$?" 
     91./tests 2> /dev/null 
     92 
     93HAVE_MATRIX=false 
     94 
     95if [ "$R" = '0' -a "$?" = '0' ] 
     96then 
     97 echo yes 
     98 HAVE_MATRIX=true 
     99else 
     100 echo no. 
     101fi 
     102 
    82103check_libroar; 
    83104 
Note: See TracChangeset for help on using the changeset viewer.