Hi,

Bruno Angeles wrote
> Hi,
>
> I'm trying to build gmerlin_avdecoder and I get the following error
> message
> in the configure script:
>
> configure: error: conditional "HAVE_VDPAU" was never defined.
> Usually this means the macro was only invoked conditionally.
>
> I tried calling ./configure --without-doxygen --disable-vdpau, as well as
> following the tips in the INSTALL file, but nothing seems to work.
> I'm not the first to have such an issue:
> http://hirntier.blogspot.com/2010/02/avchd-timecode-update.html (see user
> comments)
>
> Please find attached the log file. I'm guessing the problem is:
> HAVE_VDPAU_FALSE=''
> HAVE_VDPAU_TRUE=''
>
> I'm not sure what to change in the configure file, and it seems that this
> could be a worthy fix in the main branch.
>
> Thank you for any help!

Looks like this problem only shows up if no X11-headers are installed.
Can you try the attached patch (against current SVN)?
If this fixes your problem, I'll apply it.

Burkhard
Index: m4/check_funcs.m4
===================================================================
--- m4/check_funcs.m4	(Revision 2775)
+++ m4/check_funcs.m4	(Arbeitskopie)
@@ -1811,6 +1811,7 @@
 esac],[test_vdpau=true])
 
 if test x$test_vdpau = xtrue; then
+if test x$have_x = xtrue; then
    
 OLD_CFLAGS=$CFLAGS
 OLD_LIBS=$LIBS
@@ -1839,6 +1840,7 @@
 LIBS=$OLD_LIBS
 
 fi
+fi
 
 AC_SUBST(VDPAU_CFLAGS)
 AC_SUBST(VDPAU_LIBS)
Index: configure.ac
===================================================================
--- configure.ac	(Revision 2775)
+++ configure.ac	(Arbeitskopie)
@@ -267,6 +267,7 @@
 
 if test x$have_x = xtrue; then
   X_LIBS="$X_LIBS -lXext"
+fi
 
 dnl
 dnl VDPAU
@@ -274,8 +275,6 @@
 
 GMERLIN_CHECK_VDPAU
 
-fi
-
 dnl
 dnl Check for theora
 dnl
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Gmerlin-general mailing list
Gmerlin-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to