[Vorbis] vorbis-tools-1.1.1 build mechanism stubbornly refuses to
build with FLAC, ogg123, speex
Sergei Steshenko
sergstesh at yahoo.com
Tue Dec 12 15:42:24 PST 2006
"Jeremy C. Reed" <reed at reedmedia.net> wrote: configure has:
if test "${with_flac+set}" = set; then
withval="$with_flac"
build_flac=no
else
...
Instead of setting to "no", it should set to $enableval.
Untested but I think the configure.ac should be fixed with:
--- configure.ac.orig 2005-06-27 04:25:51.000000000 -0500
+++ configure.ac 2006-12-12 17:18:13.000000000 -0600
@@ -93,8 +93,8 @@
AC_ARG_ENABLE(ogginfo,[ --disable-ogginfo Skip building ogginfo], build_ogginfo="$enableval", build_ogginfo="yes")
AC_ARG_ENABLE(vcut, [ --disable-vcut Skip building vcut], build_vcut="$enableval", build_vcut="no")
AC_ARG_ENABLE(vorbiscomment, [ --disable-vorbiscomment Skip building vorbiscomment], build_vorbiscomment="$enableval", build_vorbiscomment="yes")
-AC_ARG_WITH(flac, [ --without-flac Do not compile FLAC support], build_flac=no, build_flac="yes")
-AC_ARG_WITH(speex, [ --without-speex Do not compile Speex support], build_speex=no, build_speex="yes")
+AC_ARG_WITH(flac, [ --without-flac Do not compile FLAC support], build_flac=$enableval, build_flac="yes")
+AC_ARG_WITH(speex, [ --without-speex Do not compile Speex support], build_speex=$enableval, build_speex="yes")
dnl --------------------------------------------------
dnl Check for generally needed libraries
As was correctly pointed out, and as I never claimed the opposite, I am not at all
an expert in GNU autotools.
However, if someone generates a new 'configure', or, better yet, a full tarball,
I can easily test it in the framework of my tool.
Regards,
Sergei.
Applications From Scratch: http://appsfromscratch.berlios.de/
---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis/attachments/20061212/83891b27/attachment.html
More information about the Vorbis
mailing list