Mercurial > mplayer.hg
changeset 32156:68914bed3a8f
Simplify libdv test.
author | diego |
---|---|
date | Tue, 14 Sep 2010 13:07:57 +0000 |
parents | 8f87bb876b97 |
children | aae5b14d959a |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Sep 14 12:59:21 2010 +0000 +++ b/configure Tue Sep 14 13:07:57 2010 +0000 @@ -7353,11 +7353,7 @@ echocheck "libdv-0.9.5+" if test "$_libdv" = auto ; then _libdv=no - cat > $TMPC <<EOF -#include <libdv/dv.h> -int main(void) { dv_encoder_t* enc=dv_encoder_new(1,1,1); return 0; } -EOF - cc_check -ldv $_ld_pthread $_ld_lm && _libdv=yes + function_check libdv/dv.h "dv_encoder_new(1, 1, 1)" -ldv $_ld_pthread $_ld_lm && _libdv=yes fi if test "$_libdv" = yes ; then def_libdv='#define CONFIG_LIBDV095 1'