1.1 --- a/common/autoconf/help.m4 Tue Apr 17 09:33:36 2018 -0700 1.2 +++ b/common/autoconf/help.m4 Wed Apr 18 02:21:14 2018 -0700 1.3 @@ -75,20 +75,18 @@ 1.4 HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'." 1.5 ;; 1.6 freetype) 1.7 - if test "x$OPENJDK_TARGET_CPU_BITS" = x32; then 1.8 - HELP_MSG="To install freetype, run: 1.9 -wget \"http://gnuwin32.sourceforge.net/downlinks/freetype.php\" -O /tmp/freetype-setup.exe 1.10 -chmod +x /tmp/freetype-setup.exe 1.11 -/tmp/freetype-setup.exe 1.12 -Follow GUI prompts, and install to default directory \"C:\Program Files (x86)\GnuWin32\". 1.13 -After installation, locate lib/libfreetype.dll.a and make a copy with the name freetype.dll." 1.14 - else 1.15 - HELP_MSG="You need to build a 64-bit version of freetype. 1.16 -This is not readily available. 1.17 -You can find source code and build instructions on 1.18 -http://www.freetype.org/ 1.19 -If you put the resulting build in \"C:\Program Files\GnuWin32\", it will be found automatically." 1.20 - fi 1.21 + HELP_MSG=" 1.22 +The freetype library can now be build during the configure process. 1.23 +Download the freetype sources and unpack them into an arbitrary directory: 1.24 + 1.25 +wget http://download.savannah.gnu.org/releases/freetype/freetype-2.5.3.tar.gz 1.26 +tar -xzf freetype-2.5.3.tar.gz 1.27 + 1.28 +Then run configure with '--with-freetype-src=<freetype_src>'. This will 1.29 +automatically build the freetype library into '<freetype_src>/lib64' for 64-bit 1.30 +builds or into '<freetype_src>/lib32' for 32-bit builds. 1.31 +Afterwards you can always use '--with-freetype-include=<freetype_src>/include' 1.32 +and '--with-freetype-lib=<freetype_src>/lib[32|64]' for other builds." 1.33 ;; 1.34 esac 1.35 }