|
From: Tatsuro M. <tma...@ya...> - 2009-01-13 02:00:07
|
Hello Petr Mikulik Your patch worked fine. Thanks!! But I have also addressed you the following: ****************** # To compile the .hlp file you need hcw either out of Microsoft SDK or MS Help # Workshop. The latter can be obtained at www.helpmaster.com/help/devaids.htm. # Put the path to hcw here unless it is already in PATH: #HCWPATH = /c/Program\ Files/Help\ Workshop/ I found that microsoft help work shop has been no longer available from www.helpmaster.com/help/devaids.htm. that was indicated in makefile.mgw I also have found that it is now available from ftp://ftp.microsoft.com/softlib/mslfiles/hcwsetup.exe ********************* Regards Tatsuro --- Petr Mikulik <mi...@ph...> wrote: > > The current gd (gd-2.0.36RC1) has gdlib-config, which enable us to get > > information for configuration of the gd libraries and tools. Therefore it > > is better to use it for makefile,mgw. Perhaps similar modification can be > > made for makefile.cyg. > > Compiling of gd by means of ./configure did not work for me. Thus I'm > proposing the enclosed patch for makefile.mgw. Does it work for you? > > --- > PM > > --- makefile.mgw 2008-11-23 08:55:15.000000000 +0100 > +++ makefile-new.mgw 2009-01-11 22:33:57.000000000 +0100 > @@ -47,10 +47,14 @@ > # If libgd has been compiled with TrueType font support, then you can use > # scaled TrueType fonts. If not, then uncomment FREETYPE. > # Requires GD, PNG and Z libraries, optionally libfreetype. > +# In some cases, libfreetype can depend on additional libraries such as > +# fontconfig or iconv; then, uncomment GDAUTOCONFIGLIBS so that all of the > +# depending libs for linking will be taken from gdlib-config. > # > NEWGD=1 > JPEG=1 > FREETYPE=1 > +#GDAUTOCONFIGLIBS=1 > > # PDF device driver > # Requires PNG and Z libraries based on particular PDF library used, and > @@ -201,18 +205,27 @@ > > ifdef PNG > CFLAGS += -DHAVE_LIBPNG > - TERMLIBS += -lpng -lz > + ifndef GDAUTOCONFIGLIBS > + TERMLIBS += -lpng -lz > + endif > endif > > ifdef NEWGD > CFLAGS += -DHAVE_GD_GIF -DGIF_ANIMATION -DHAVE_GD_PNG > ifdef JPEG > CFLAGS += -DHAVE_GD_JPEG > - TERMLIBS += -ljpeg > + ifndef GDAUTOCONFIGLIBS > + TERMLIBS += -ljpeg > + endif > endif > ifdef FREETYPE > CFLAGS += -DHAVE_GD_TTF > - TERMLIBS += -lfreetype > + ifndef GDAUTOCONFIGLIBS > + TERMLIBS += -lfreetype > + endif > +endif > +ifdef GDAUTOCONFIGLIBS > + TERMLIBS += $(shell gdlib-config --libs) > endif > endif > > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ |