Implement set_ne_test_deps() and use if for the lavfi pixdesc test.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 1 Aug 2010 23:04:10 +0000 (23:04 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 1 Aug 2010 23:04:10 +0000 (23:04 +0000)
Originally committed as revision 24653 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 4619ab1..3167d5d 100755 (executable)
--- a/configure
+++ b/configure
@@ -1408,6 +1408,11 @@ test_deps(){
     done
 }
 
+set_ne_test_deps(){
+    eval ${1}_be_test_deps="bigendian"
+    eval ${1}_le_test_deps="!bigendian"
+}
+
 test_deps _encoder _decoder                                             \
     ac3                                                                 \
     adpcm_g726=g726                                                     \
@@ -1482,8 +1487,8 @@ test_deps _muxer _demuxer                                               \
     yuv4mpegpipe=yuv4mpeg                                               \
 
 mpg_test_deps="mpeg1system_muxer mpegps_demuxer"
-pixdesc_be_test_deps="bigendian"
-pixdesc_le_test_deps="!bigendian"
+
+set_ne_test_deps pixdesc
 
 # default parameters