On Thu, May 03, 2001 at 03:01:36AM -0500, Ian Pilcher wrote:
Here is my first cut at adding a check for the FreeType libraries and header files to the Wine configuration scripts. It's basically a copy of Marcus' CUPS stuff.
Since this is the first time I've done anything with autoconf, I figured I'd post it here for review:
diff -urN ../wine-20010502cvs/configure.in ./configure.in --- ../wine-20010502cvs/configure.in Wed May 2 12:57:30 2001 +++ ./configure.in Thu May 3 01:44:48 2001 @@ -378,6 +378,19 @@ ) AC_SUBST(CUPSLIBS)
+FREETYPELIBS=""
You need to set FREETYPEINCL="" too.
It seems to work on my system (Red Hat 7.1), although for some reason it can't even detect the FreeType library when the freetype-devel package is removed (no great loss).
At this point I have a couple of questions:
- Does anyone see anything wrong with this?
No.
- I've omitted the resulting changes to wine/configure and wine/include/config.h.in from the patch above. Is this form more convenient for final submission, or should I include the changes to those files? (If the latter is the case, I'll probably go ahead and submit the autoconf changes before I get any code written, so that wine/configure doesn't get hugely out of sync.)
No, Alexandre generates those, no need for you to submit them.
Ciao, Marcus