[MPlayer-cvslog] r32316 - trunk/configure
diego
subversion at mplayerhq.hu
Mon Sep 20 09:54:06 CEST 2010
Author: diego
Date: Mon Sep 20 09:54:06 2010
New Revision: 32316
Log:
Simplify libbluray test with function_check().
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon Sep 20 09:42:06 2010 (r32315)
+++ trunk/configure Mon Sep 20 09:54:06 2010 (r32316)
@@ -5919,12 +5919,7 @@ echores "$_vcd"
echocheck "Blu-ray support"
if test "$_bluray" = auto ; then
_bluray=no
-
- cat > $TMPC << EOF
-#include <libbluray/bluray.h>
-int main(void) { BLURAY_TITLE_INFO *i = bd_get_title_info(NULL, 0); return 0; }
-EOF
- compile_check $TMPC -lbluray && _bluray=yes
+ function_check libbluray/bluray.h 'bd_get_title_info(0, 0)' -lbluray && _bluray=yes
fi
if test "$_bluray" = yes ; then
def_bluray='#define CONFIG_LIBBLURAY 1'
More information about the MPlayer-cvslog
mailing list