[Bug 134355] configure script fails '--without-akode' option
Michael Pyne
michael.pyne at kdemail.net
Sat Sep 23 23:41:41 BST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=134355
michael.pyne kdemail net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From michael.pyne kdemail net 2006-09-24 00:41 -------
SVN commit 587757 by mpyne:
Fix bug 134355 (configure script fails when using --without-akode option) by using the
patches provided by Rex Dieter and Juuso Alasuutari.
The AM_CONDITIONAL checks for whether to install the aKode .mcopclass files must always
be run it seems, even if aKode is configured to not install, otherwise a autoconf
sanity check will fail when running configure.
I've also taken the liberty of moving the aKode stuff to akode_artsplugin since that is
the Makefile.am that uses these particular AM_CONDITIONALS(). (This was the Rex Dieter
patch).
P.S. Bug 116958 wasn't really a duplicate of 134355, 134355 was caused by the fix for
116958. ;)
BUG:134355
M +13 -1 akode_artsplugin/configure.in.in
M +0 -12 configure.in.in
--- branches/KDE/3.5/kdemultimedia/akode_artsplugin/configure.in.in #587756:587757
@ -1,4 +1,16 @
if test x$build_arts != xyes || test x$have_akode != xyes
then
-DO_NOT_COMPILE="$DO_NOT_COMPILE akode_artsplugin"
+ DO_NOT_COMPILE="$DO_NOT_COMPILE akode_artsplugin"
+else
+ KDE_CHECK_LIB(akode_mpeg_decoder, mpeg_decoder, have_akode_mpeg=yes, have_akode_mpeg=no, -lakode)
+ KDE_CHECK_LIB(akode_mpc_decoder, mpc_decoder, have_akode_mpc=yes, have_akode_mpc=no, -lakode)
+ KDE_CHECK_LIB(akode_xiph_decoder, xiph_decoder, have_akode_xiph=yes, have_akode_xiph=no, -lakode)
+ KDE_CHECK_LIB(akode_ffmpeg_decoder, ffmpeg_decoder, have_akode_ffmpeg=yes, have_akode_ffmpeg=no, -lakode)
fi
+
+# This must always be called to handle the --without-akode case, as autoconf
+# will check these conditionals values it seems.
+AM_CONDITIONAL(include_akode_mpeg, test x$have_akode_mpeg = xyes)
+AM_CONDITIONAL(include_akode_mpc, test x$have_akode_mpc = xyes)
+AM_CONDITIONAL(include_akode_xiph, test x$have_akode_xiph = xyes)
+AM_CONDITIONAL(include_akode_ffmpeg, test x$have_akode_ffmpeg = xyes)
--- branches/KDE/3.5/kdemultimedia/configure.in.in #587756:587757
@ -367,20 +367,8 @
AC_SUBST(akode_includes)
AC_SUBST(akode_libs)
-
- KDE_CHECK_LIB(akode_mpeg_decoder, mpeg_decoder, have_akode_mpeg=yes, have_akode_mpeg=no, -lakode)
- KDE_CHECK_LIB(akode_mpc_decoder, mpc_decoder, have_akode_mpc=yes, have_akode_mpc=no, -lakode)
- KDE_CHECK_LIB(akode_xiph_decoder, xiph_decoder, have_akode_xiph=yes, have_akode_xiph=no, -lakode)
- KDE_CHECK_LIB(akode_ffmpeg_decoder, ffmpeg_decoder, have_akode_ffmpeg=yes, have_akode_ffmpeg=no, -lakode)
-
- AM_CONDITIONAL(include_akode_mpeg, test x$have_akode_mpeg = xyes)
- AM_CONDITIONAL(include_akode_mpc, test x$have_akode_mpc = xyes)
- AM_CONDITIONAL(include_akode_xiph, test x$have_akode_xiph = xyes)
- AM_CONDITIONAL(include_akode_ffmpeg, test x$have_akode_ffmpeg = xyes)
-
])
-
AC_DEFUN([KDE_CHECK_MPEGLIB_ARTS],
[
MPEGLIB_ARTS_MAJOR_VERSION=0
More information about the kde-multimedia
mailing list