[vorbis-dev] ogg.m4 and vorbis.m4

volsung at asu.edu volsung at asu.edu
Sun Aug 19 20:59:37 PDT 2001



On Sun, 19 Aug 2001, Jeff Squyres wrote:

> 2. The test in ogg.m4:
> 
> 	if test "x$ogg_prefix" != "xNONE"
> 
> is not sufficient.  If you do not specify --with-ogg-prefix, $ogg_prefix
> will be "", not "NONE".  I don't know where "NONE" came from, although
> $ogg_prefix will be "no" if you specify --without-ogg-prefix (autoconf
> 2.13 and 2.52).
> 
> Is there some version of autoconf that will set $ogg_prefix to "NONE" in
> some cases?  We could hedge our bets and make the test be:
> 
> 	if test "x$ogg_prefix" != "xNONE" -a "$ogg_prefix" != "no" \
> 		-a "$ogg_prefix" != ""

I'm currently banging on this problem.  It was brought up to me by some people
who use autoconf 2.50.  I'm reasonably certain that these macros are broken
currently.  I think I have ao.m4 fix (which makes fixing the others trivial),
but I need more info on autoconf 2.50 (I have 2.13) before I can be sure:

2.13 sets $prefix to "NONE" if not set.  Does 2.50 make $prefix equal the
empty string?

(Incidentally, $ogg_prefix is the empty string in 2.13 if not set.  As far as
I can tell, it is never "NONE".  That's the other oopsie.)


---
Stan Seibert

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis-dev mailing list