On Sun, 09 Jul 2006, Francesco Romani wrote: > > The error message is: > > > > ./configure: line 30314: syntax error near unexpected token `}' > > ./configure: line 30314: `echo "${ECHO_T}no" >&6; }' > > autoconf version? You are on debian, I guess. > Looks like we must fix the autoconf issue. Grumph.
Hello. I'm seeing this as well, there must be a typoe in autotools stuff (see attachment). This fixes it for me. And while we're at it, another small one, if I may. This goes to detection of liba52 and ffmpeg (both from cvs) with pkg-config. Cheers.
Index: acinclude.m4 =================================================================== RCS file: /cvstc/transcode/acinclude.m4,v retrieving revision 1.72 diff -u -r1.72 acinclude.m4 --- acinclude.m4 6 Jun 2006 02:10:52 -0000 1.72 +++ acinclude.m4 26 Jul 2006 16:25:43 -0000 @@ -191,7 +191,7 @@ ], [AC_DEFINE([HAVE_STRUCT_V4L2_BUFFER], 1, [define if your videodev2 header has struct v4l2_buffer]) AC_MSG_RESULT([yes])], - [v4l2=no AC_MSG_RESULT([no])]) + [AC_MSG_RESULT([no])]) fi if test x"$v4l" = x"yes" -o x"$v4l2" = x"yes" ; then
Index: configure.in =================================================================== RCS file: /cvstc/transcode/configure.in,v retrieving revision 1.184 diff -u -r1.184 configure.in --- configure.in 9 Jul 2006 10:14:14 -0000 1.184 +++ configure.in 26 Jul 2006 16:25:53 -0000 @@ -542,7 +541,7 @@ [tc_libavutil=-lavutil], [tc_libavutil=""], []) LIBAVCODEC_EXTRA_LIBS="$LIBAVCODEC_EXTRA_LIBS $tc_libavutil -lm -lz $PTHREAD_LIBS" TC_PKG_CHECK(libavcodec, required, LIBAVCODEC, no, [ffmpeg/avcodec.h], - avcodec, avcodec_thread_init, FFMpeg, [http://www.ffmpeg.org/]) + avcodec, avcodec_thread_init, libavcodec, [http://www.ffmpeg.org/]) if test x"$have_libavcodec" = x"yes" ; then save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $LIBAVCODEC_CFLAGS" @@ -673,8 +672,8 @@ dnl dnl libpostproc dnl -TC_PKG_CHECK(libpostproc, no, LIBPOSTPROC, no, postprocess.h, - postproc, pp_postprocess, FFmpeg, [http://www.ffmpeg.org/]) +TC_PKG_CHECK(libpostproc, no, LIBPOSTPROC, no, [postproc/postprocess.h], + postproc, pp_postprocess, libpostproc, [http://www.ffmpeg.org/]) TC_PKG_HAVE(libpostproc, LIBPOSTPROC) dnl @@ -911,7 +910,7 @@ dnl A52 dnl A52_EXTRA_LIBS="$A52_EXTRA_LIBS -lm" -TC_PKG_CHECK(a52, no, A52, no, [a52dec/a52.h], a52, a52_init, a52dec, +TC_PKG_CHECK(a52, no, A52, no, [a52dec/a52.h], a52, a52_init, liba52, [http://liba52.sourceforge.net/]) TC_PKG_HAVE(a52, A52)