From e46736927869057d0df5a785b5683836503409c3 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 9 Apr 2009 14:55:05 +0000 Subject: [PATCH] Add a configure check for lzo1x_999_compress() and compile the lzo test program in libavutil when this function is available. Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 2 ++ libavutil/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/configure b/configure index eae40c6367..4178044d97 100755 --- 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 diff --git a/libavutil/Makefile b/libavutil/Makefile index 8427346813..a8ff244b13 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -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