Add a configure check for lzo1x_999_compress() and compile the lzo test program
authorDiego Biurrun <diego@biurrun.de>
Thu, 9 Apr 2009 14:55:05 +0000 (14:55 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 9 Apr 2009 14:55:05 +0000 (14:55 +0000)
in libavutil when this function is available.

Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure
libavutil/Makefile

index eae40c6..4178044 100755 (executable)
--- a/configure
+++ b/configure
@@ -895,6 +895,7 @@ HAVE_LIST="
     llrint
     lrint
     lrintf
+    lzo1x_999_compress
     machine_ioctl_bt848_h
     machine_ioctl_meteor_h
     malloc_h
@@ -1970,6 +1971,7 @@ check_func  memalign
 check_func  mkstemp
 check_func  posix_memalign
 check_func_headers io.h setmode
+check_func_headers lzo/lzo1x.h lzo1x_999_compress
 check_func_headers windows.h GetProcessTimes
 check_func_headers windows.h VirtualAlloc
 
index 8427346..a8ff244 100644 (file)
@@ -42,6 +42,7 @@ OBJS = adler32.o                                                        \
        utils.o                                                          \
 
 TESTPROGS = adler32 aes base64 crc des lls md5 pca sha1 softfloat tree
+TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
 
 DIRS = arm bfin sh4 x86