bugThe FreeType Project - Bugs: bug #26272, conditionalize PATH test in...

 
 

bug #26272: conditionalize PATH test in freetype2.m4

Submitted by:  Karl Berry <karl>
Submitted on:  Tue 21 Apr 2009 04:48:27 PM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: FixedPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: 2.3.10

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 21 Apr 2009 08:53:45 PM UTC, comment #1:

Applied to git, thanks.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 21 Apr 2009 04:48:27 PM UTC, original submission:

My experience is that specifying --with-ft-prefix does not override the
PATH search for freetype-config in builds/unix/freetype2.m4 (version 2.3.9).

The FT2_CONFIG variable is set from the prefix options, but then
overwritten by the PATH test.

Simple patch below. Hope the web form doesn't mangle it.

Thanks,
karl

2009-04-21 Karl Berry <karl@freefriends.org>

* freetype2.m4 (AC_CHECK_FT2): only check PATH for freetype-config
if we did not already find it from a prefix option.

--- freetype2.m4 (revision 12752)
+++ freetype2.m4 (working copy)
@@ -60,7 +60,9 @@
fi
fi

- AC_PATH_PROG([FT2_CONFIG], [freetype-config], [no])
+ if test "x$FT2_CONFIG" = x ; then
+ AC_PATH_PROG([FT2_CONFIG], [freetype-config], [no])
+ fi

min_ft_version=m4_if([$1], [], [7.0.1], [$1])
AC_MSG_CHECKING([for FreeType -- version >= $min_ft_version])

Karl Berry <karl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by karl (Submitted the item)
  • -unavailable- added by karl
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Apr 2009 08:53:45 PM UTCwlStatusNone=>Fixed
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>2.3.10
    Tue 21 Apr 2009 04:48:27 PM UTCkarlCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1