bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Error in configure line 9576?


From: Jim Segrave
Subject: Re: [Bug-gnubg] Error in configure line 9576?
Date: Tue, 17 Dec 2002 14:31:04 +0100
User-agent: Mutt/1.4i

On Tue 17 Dec 2002 (13:15 +0100), Morten Wang wrote:
> My box has freetype2 >= 6.1.0, but configure failed to find it.  I
> believe the problem lies in the mentioned line in configure,
> introduced in revision 1.82.  It reads:
> 
>     if test x$enable_fttest = xyes ; then
> 
> Changing it to
> 
>     if test $enable_fttest = xyes ; then
> 
> fixes the problem.

This seems a peculiar fix.
The purpose of the x$variable = xyes is to deal with both of the
following cases:

$variable isn't defined - this becomes

    if x = xyes 

and the test fails

or $variable is defined as 'no', 'nay', 'never'... the test becomes

    if xno = xyes

and the test fails

So only if $variable is defined and has the value 'yes' will the test 
succeed.

You've changed it to say

only if $variable is defined and has the value 'xyes' will the test
succeed. I seriously doubt that's the intention. If your problem is
that $freetype is defined to 'yes' and things don't work, then the fix
is either to findout why freetype doesn't work or do something to
configure to include a --disable-freetype option.

If freetype isn't being found, consider running configure with

--with-ft-prefix=<path to directory where freetype is installed>
--with-ft-exec-prefix=<ath to where freetype executables are installed>

-- 
Jim Segrave           address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]