From 991a7470d1a997ead911ded11477c45b979e782c Mon Sep 17 00:00:00 2001 From: diego 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. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18386 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- configure | 2 ++ libavutil/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/configure b/configure index eae40c636..4178044d9 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 842734681..a8ff244b1 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 -- 2.39.2