[Vorbis] vorbis-tools-1.1.1 build mechanism stubbornly refuses to build with FLAC, ogg123, speex

Jeremy C. Reed reed at reedmedia.net
Tue Dec 12 15:20:46 PST 2006


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




More information about the Vorbis mailing list