summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-16 01:04:51 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-16 01:04:51 +0000
commiteacd1b8f5c8024296c6fa4b19b3b99bd24de91a1 (patch)
treec0350d7eba85bcb5c01342bfef2f21d34b83c8bd /Build/source/libs/gd
parent08bed0cad41932663940d45d7fcc96986c2cca3c (diff)
libs/gd: new convention
git-svn-id: svn://tug.org/texlive/trunk@39737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/gd')
-rw-r--r--Build/source/libs/gd/ChangeLog4
-rw-r--r--Build/source/libs/gd/Makefile.am2
-rw-r--r--Build/source/libs/gd/Makefile.in2
-rwxr-xr-xBuild/source/libs/gd/configure4
-rw-r--r--Build/source/libs/gd/configure.ac4
-rw-r--r--Build/source/libs/gd/libgd-PATCHES/ChangeLog (renamed from Build/source/libs/gd/libgd-2.1.1-PATCHES/ChangeLog)0
-rw-r--r--Build/source/libs/gd/libgd-PATCHES/TL-Changes (renamed from Build/source/libs/gd/libgd-2.1.1-PATCHES/TL-Changes)0
-rw-r--r--Build/source/libs/gd/libgd-PATCHES/patch-01-win32 (renamed from Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-01-win32)0
-rw-r--r--Build/source/libs/gd/libgd-PATCHES/patch-02-no-stdcall (renamed from Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-02-no-stdcall)0
-rw-r--r--Build/source/libs/gd/libgd-PATCHES/patch-03-ceill (renamed from Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-03-ceill)0
-rw-r--r--Build/source/libs/gd/libgd-PATCHES/patch-04-double-semicolon (renamed from Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-04-double-semicolon)0
-rw-r--r--Build/source/libs/gd/libgd-src/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/CONTRIBUTORS (renamed from Build/source/libs/gd/libgd-2.1.1/CONTRIBUTORS)0
-rw-r--r--Build/source/libs/gd/libgd-src/COPYING (renamed from Build/source/libs/gd/libgd-2.1.1/COPYING)0
-rw-r--r--Build/source/libs/gd/libgd-src/ChangeLog (renamed from Build/source/libs/gd/libgd-2.1.1/ChangeLog)0
-rw-r--r--Build/source/libs/gd/libgd-src/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.1/Makefile.am)6
-rw-r--r--Build/source/libs/gd/libgd-src/NEWS (renamed from Build/source/libs/gd/libgd-2.1.1/NEWS)0
-rw-r--r--Build/source/libs/gd/libgd-src/README (renamed from Build/source/libs/gd/libgd-2.1.1/README)20
-rw-r--r--Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM (renamed from Build/source/libs/gd/libgd-2.1.1/VMS/CONFIGURE.COM)2686
-rw-r--r--Build/source/libs/gd/libgd-src/VMS/README.VMS (renamed from Build/source/libs/gd/libgd-2.1.1/VMS/README.VMS)142
-rwxr-xr-xBuild/source/libs/gd/libgd-src/bootstrap.sh (renamed from Build/source/libs/gd/libgd-2.1.1/bootstrap.sh)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/AC_HEADER_STDC.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/AC_HEADER_STDC.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/CMakeParseArguments.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/CMakeParseArguments.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/CheckDIRSymbolExists.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/CheckDIRSymbolExists.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/CheckPrototypeExists.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/CheckPrototypeExists.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindFontConfig.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindFontConfig.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindFreetype.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindFreetype.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindGD.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindGD.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindICONV.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindICONV.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindJPEG.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindJPEG.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindLIQ.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindPNG.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPNG.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindPTHREAD.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPTHREAD.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindPackageHandleStandardArgs.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPackageHandleStandardArgs.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindVPX.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindVPX.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/FindXPM.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindXPM.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/TestForHighBitCharacters.c (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForHighBitCharacters.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/TestForHighBitCharacters.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForHighBitCharacters.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/TestForStandardHeaderwait.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForStandardHeaderwait.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/cmake/modules/gd.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/cmake/modules/gd.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/config/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.1/config/Makefile.am)14
-rw-r--r--Build/source/libs/gd/libgd-src/config/gdlib-config.in (renamed from Build/source/libs/gd/libgd-2.1.1/config/gdlib-config.in)192
-rw-r--r--Build/source/libs/gd/libgd-src/config/gdlib.pc.in (renamed from Build/source/libs/gd/libgd-2.1.1/config/gdlib.pc.in)22
-rw-r--r--Build/source/libs/gd/libgd-src/configure.ac (renamed from Build/source/libs/gd/libgd-2.1.1/configure.ac)926
-rw-r--r--Build/source/libs/gd/libgd-src/docs/INSTALL (renamed from Build/source/libs/gd/libgd-2.1.1/docs/INSTALL)0
-rw-r--r--Build/source/libs/gd/libgd-src/docs/INSTALL.Solaris (renamed from Build/source/libs/gd/libgd-2.1.1/docs/INSTALL.Solaris)0
-rw-r--r--Build/source/libs/gd/libgd-src/docs/README.CMAKE (renamed from Build/source/libs/gd/libgd-2.1.1/docs/README.CMAKE)78
-rw-r--r--Build/source/libs/gd/libgd-src/docs/README.JPN (renamed from Build/source/libs/gd/libgd-2.1.1/docs/README.JPN)78
-rw-r--r--Build/source/libs/gd/libgd-src/docs/README.TESTING (renamed from Build/source/libs/gd/libgd-2.1.1/docs/README.TESTING)124
-rw-r--r--Build/source/libs/gd/libgd-src/docs/README.TXT (renamed from Build/source/libs/gd/libgd-2.1.1/docs/README.TXT)0
-rw-r--r--Build/source/libs/gd/libgd-src/docs/naturaldocs/license.txt (renamed from Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/license.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/docs/naturaldocs/nobgd.pl (renamed from Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/nobgd.pl)116
-rw-r--r--Build/source/libs/gd/libgd-src/docs/naturaldocs/preamble.txt (renamed from Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/preamble.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/docs/naturaldocs/project/Languages.txt (renamed from Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/project/Languages.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/docs/naturaldocs/project/Topics.txt (renamed from Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/project/Topics.txt)0
-rwxr-xr-xBuild/source/libs/gd/libgd-src/docs/naturaldocs/run_docs.sh (renamed from Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/run_docs.sh)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/examples/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/arc.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/arc.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/copyrotated.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/copyrotated.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/crop.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/crop.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/flip.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/flip.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/gif.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/gif.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/nnquant.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/nnquant.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/noIcon.pic (renamed from Build/source/libs/gd/libgd-2.1.1/examples/noIcon.pic)bin63486 -> 63486 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/examples/noIcon.sgi (renamed from Build/source/libs/gd/libgd-2.1.1/examples/noIcon.sgi)bin66605 -> 66605 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/examples/noIcon.tga (renamed from Build/source/libs/gd/libgd-2.1.1/examples/noIcon.tga)bin153682 -> 153682 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/examples/noIconAlpha.tga (renamed from Build/source/libs/gd/libgd-2.1.1/examples/noIconAlpha.tga)bin153682 -> 153682 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/examples/resize.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/resize.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/test_crop_threshold.png (renamed from Build/source/libs/gd/libgd-2.1.1/examples/test_crop_threshold.png)bin7919 -> 7919 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/examples/tgaread.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/tgaread.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/tiffread.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/tiffread.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/examples/windows.c (renamed from Build/source/libs/gd/libgd-2.1.1/examples/windows.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/m4/ax_pthread.m4 (renamed from Build/source/libs/gd/libgd-2.1.1/m4/ax_pthread.m4)634
-rw-r--r--Build/source/libs/gd/libgd-src/m4/visibility.m4 (renamed from Build/source/libs/gd/libgd-2.1.1/m4/visibility.m4)104
-rw-r--r--Build/source/libs/gd/libgd-src/m4/w32.m4 (renamed from Build/source/libs/gd/libgd-2.1.1/m4/w32.m4)22
-rw-r--r--Build/source/libs/gd/libgd-src/netware/Makefile.netware (renamed from Build/source/libs/gd/libgd-2.1.1/netware/Makefile.netware)0
-rw-r--r--Build/source/libs/gd/libgd-src/netware/get_exp.awk (renamed from Build/source/libs/gd/libgd-2.1.1/netware/get_exp.awk)74
-rw-r--r--Build/source/libs/gd/libgd-src/netware/get_ver.awk (renamed from Build/source/libs/gd/libgd-2.1.1/netware/get_ver.awk)56
-rw-r--r--Build/source/libs/gd/libgd-src/netware/keepscreen.c (renamed from Build/source/libs/gd/libgd-2.1.1/netware/keepscreen.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/netware/nwlibc.c (renamed from Build/source/libs/gd/libgd-2.1.1/netware/nwlibc.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/netware/tests/Makefile.netware (renamed from Build/source/libs/gd/libgd-2.1.1/netware/tests/Makefile.netware)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/src/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/COPYING (renamed from Build/source/libs/gd/libgd-2.1.1/src/COPYING)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.1/src/Makefile.am)116
-rw-r--r--Build/source/libs/gd/libgd-src/src/annotate.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/annotate.c)0
-rw-r--r--[-rwxr-xr-x]Build/source/libs/gd/libgd-src/src/bdftogd (renamed from Build/source/libs/gd/libgd-2.1.1/src/bdftogd)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/bmp.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/bmp.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/circletexttest.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/circletexttest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/config.h.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/src/config.h.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/config.hin (renamed from Build/source/libs/gd/libgd-2.1.1/src/config.hin)266
-rw-r--r--Build/source/libs/gd/libgd-src/src/demoin.png (renamed from Build/source/libs/gd/libgd-2.1.1/src/demoin.png)bin10027 -> 10027 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/src/entities.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/entities.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/entities.html (renamed from Build/source/libs/gd/libgd-2.1.1/src/entities.html)1362
-rw-r--r--Build/source/libs/gd/libgd-src/src/entities.tcl (renamed from Build/source/libs/gd/libgd-2.1.1/src/entities.tcl)100
-rw-r--r--Build/source/libs/gd/libgd-src/src/fontconfigtest.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/fontconfigtest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/fontsizetest.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/fontsizetest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/fontwheeltest.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/fontwheeltest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd2copypal.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd2copypal.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd2time.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd2time.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd2togif.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd2togif.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd2topng.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd2topng.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_bmp.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_bmp.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_color.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_color.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_color.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_color.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_color_map.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_color_map.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_color_map.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_color_map.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_color_map_test.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_color_map_test.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_color_match.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_color_match.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_crop.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_crop.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_errors.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_errors.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_filename.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_filename.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_filter.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_filter.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_gd.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_gd.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_gd2.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_gd2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_gif_in.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_gif_in.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_gif_out.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_gif_out.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_intern.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_intern.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_interpolation.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_interpolation.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_io.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_io.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_io.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_io.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_io_dp.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_io_dp.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_io_file.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_io_file.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_io_ss.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_io_ss.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_io_stream.cxx (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_io_stream.cxx)290
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_io_stream.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_io_stream.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_jpeg.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_jpeg.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_matrix.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_matrix.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_nnquant.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_nnquant.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_nnquant.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_nnquant.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_png.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_png.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_rotate.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_rotate.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_security.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_security.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_ss.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_ss.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_tga.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_tga.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_tga.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_tga.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_tiff.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_tiff.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_topal.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_topal.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_transform.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_transform.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_version.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_version.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_wbmp.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_wbmp.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_webp.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_webp.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gd_xbm.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gd_xbm.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdcache.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdcache.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdcache.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdcache.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdcmpgif.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdcmpgif.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gddemo.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gddemo.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontg.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontg.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontg.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontg.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontl.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontl.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontl.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontl.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontmb.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontmb.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontmb.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontmb.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfonts.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfonts.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfonts.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfonts.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontt.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontt.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfontt.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfontt.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdft.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdft.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfx.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfx.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdfx.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdfx.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdhelpers.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdhelpers.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdhelpers.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdhelpers.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdkanji.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdkanji.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdparttopng.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdparttopng.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdpp.cxx (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdpp.cxx)544
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdpp.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdpp.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdtables.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdtables.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdtest.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdtest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdtestft.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdtestft.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdtopng.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdtopng.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gdxpm.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gdxpm.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/gifanimtest.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/gifanimtest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/giftogd2.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/giftogd2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/jisx0208.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/jisx0208.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/msinttypes/inttypes.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/msinttypes/inttypes.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/msinttypes/stdint.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/msinttypes/stdint.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/pngtogd.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/pngtogd.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/pngtogd2.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/pngtogd2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/testac.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/testac.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/testtr.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/testtr.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/wbmp.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/wbmp.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/wbmp.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/wbmp.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/webpimg.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/webpimg.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/webpimg.h (renamed from Build/source/libs/gd/libgd-2.1.1/src/webpimg.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/src/webpng.c (renamed from Build/source/libs/gd/libgd-2.1.1/src/webpng.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/test/gdtest.gd2 (renamed from Build/source/libs/gd/libgd-2.1.1/test/gdtest.gd2)bin28661 -> 28661 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/test/gdtest.png (renamed from Build/source/libs/gd/libgd-2.1.1/test/gdtest.png)bin26658 -> 26658 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/test/gdtest_200_300_150_100.png (renamed from Build/source/libs/gd/libgd-2.1.1/test/gdtest_200_300_150_100.png)bin1776 -> 1776 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/test/gdtest_merge.png (renamed from Build/source/libs/gd/libgd-2.1.1/test/gdtest_merge.png)bin30372 -> 30372 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/test/gdtest_wbmp_to_png.png (renamed from Build/source/libs/gd/libgd-2.1.1/test/gdtest_wbmp_to_png.png)bin286 -> 286 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/Makefile.am (renamed from Build/source/libs/gd/libgd-2.1.1/tests/Makefile.am)736
-rw-r--r--Build/source/libs/gd/libgd-src/tests/bmp/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/bmp/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/bmp/bmp_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/bmp/bmp_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/bmp/bmp_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/bmp/bmp_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/freetype/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/freetype/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/freetype/DejaVuSans.ttf (renamed from Build/source/libs/gd/libgd-2.1.1/tests/freetype/DejaVuSans.ttf)bin569008 -> 569008 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/freetype/bug00132.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/freetype/bug00132.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/freetype/bug00132_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/freetype/bug00132_exp.png)bin217 -> 217 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd/crafted_num_colors.gd (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd/crafted_num_colors.gd)bin1039 -> 1039 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd/gd_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd/gd_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd/gd_num_colors.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_num_colors.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd/gd_versiontest.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_versiontest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/conv_gd2_exp.gd2 (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_gd2_exp.gd2)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/conv_test.gd2 (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_test.gd2)bin423 -> 423 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/conv_test_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_test_exp.png)bin87 -> 87 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/empty.gd2 (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/empty.gd2)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/gd2_empty_file.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_empty_file.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/gd2_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/gd2_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gd2/gd2_read.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_read.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagearc/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagearc/bug00079.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/bug00079.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagearc/bug00079_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/bug00079_exp.png)bin2127 -> 2127 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorclosest/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorclosest/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorclosest/gdimagecolorclosest.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorclosest/gdimagecolorclosest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolordeallocate/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolordeallocate/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolordeallocate/gdimagecolordeallocate.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolordeallocate/gdimagecolordeallocate.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorexact/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorexact/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorexact/gdimagecolorexact.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorexact/gdimagecolorexact.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorreplace/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorreplace/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorreplace/gdimagecolorreplace.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorreplace/gdimagecolorreplace.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorresolve/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorresolve/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolorresolve/gdimagecolorresolve.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorresolve/gdimagecolorresolve.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolortransparent/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolortransparent/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecolortransparent/gdimagecolortransparent.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolortransparent/gdimagecolortransparent.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecopy/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00007.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00007.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00081.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00081.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00081_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00081_exp.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/bug00020.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/bug00020.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/bug00020_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/bug00020_exp.png)bin402 -> 402 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefile/gdnametest.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/gdnametest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.tga (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.tga)bin9018 -> 9018 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.xbm (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.xbm)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.xpm (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_1.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_1.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_1_exp.png)bin289 -> 289 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_2.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_2_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_2_exp.png)bin393 -> 393 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_3.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_3.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_3_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_3_exp.png)bin410 -> 410 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_4.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_4.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_4_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_4_exp.png)bin192 -> 192 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00010.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00010.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00010_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00010_exp.png)bin479 -> 479 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00191.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00191.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00191.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00191.png)bin143 -> 143 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/bug00100.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/bug00100.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/bug00100.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/bug00100.png)bin2124 -> 2124 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png)bin140 -> 140 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png)bin269 -> 269 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00004.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00004.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00078.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00078.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilltoborder/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilltoborder/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilltoborder/bug00037.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilltoborder/bug00037.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagefilter/gdCopyBlurred.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilter/gdCopyBlurred.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/bug00072.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00072.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/bug00072_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00072_exp.png)bin133 -> 133 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/bug00077.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00077.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/bug00077_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00077_exp.png)bin97 -> 97 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/bug00111.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00111.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/bug00111_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00111_exp.png)bin79 -> 79 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdImageAALine_thickness.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdImageAALine_thickness.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdImageAALine_thickness_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdImageAALine_thickness_exp.png)bin534 -> 534 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_a_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_a_0_exp.png)bin198 -> 198 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_a_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_a_1_exp.png)bin202 -> 202 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_b_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_b_0_exp.png)bin343 -> 343 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_b_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_b_1_exp.png)bin197 -> 197 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_c_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_c_0_exp.png)bin200 -> 200 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_c_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_c_1_exp.png)bin194 -> 194 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_d_0_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_d_0_exp.png)bin200 -> 200 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_d_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_d_1_exp.png)bin216 -> 216 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_outofrange.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_outofrange.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_bug5.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_bug5.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon0.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon0.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon0.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon0.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon1.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon1.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon1.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon1.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon2.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon2.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon2.png)bin140 -> 140 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon3.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon3.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon3.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon3.png)bin237 -> 237 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepixelate/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepixelate/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepixelate/gdimagepixelate.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepixelate/gdimagepixelate.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon0.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon0.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon0.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon0.png)bin95 -> 95 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon1.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon1.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon1.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon1.png)bin99 -> 99 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon2.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon2.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon2.png)bin140 -> 140 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon3.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon3.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon3.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon3.png)bin271 -> 271 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerectangle/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerectangle/bug00003.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/bug00003.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerectangle/bug00106_gdimagerectangle.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/bug00106_gdimagerectangle.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_000_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_000_exp.png)bin30195 -> 30195 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_015_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_015_exp.png)bin34731 -> 34731 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_030_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_030_exp.png)bin36734 -> 36734 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_045_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_045_exp.png)bin36631 -> 36631 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_060_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_060_exp.png)bin36759 -> 36759 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_075_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_075_exp.png)bin34775 -> 34775 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_090_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_090_exp.png)bin30955 -> 30955 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_105_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_105_exp.png)bin35010 -> 35010 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_120_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_120_exp.png)bin36899 -> 36899 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_135_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_135_exp.png)bin37111 -> 37111 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_150_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_150_exp.png)bin36771 -> 36771 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_165_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_165_exp.png)bin34593 -> 34593 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_180_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_180_exp.png)bin30299 -> 30299 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898.png)bin1191 -> 1191 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898_exp.png)bin6363 -> 6363 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagerotate/remirh128.jpg (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/remirh128.jpg)bin10619 -> 10619 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagescatterex/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208.png)bin14179 -> 14179 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_1.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_1.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_1.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_1.png)bin22719 -> 22719 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_2.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_2.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_2.png)bin18296 -> 18296 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagesetpixel/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagesetpixel/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagesetpixel/bug00186.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagesetpixel/bug00186.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagestringft/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringft/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagestringft/gdimagestringft_bbox.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringft/gdimagestringft_bbox.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagestringftex/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringftex/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdinterpolatedscale/gdModesAndPalettes.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdinterpolatedscale/gdModesAndPalettes.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdinterpolatedscale/gdTrivialResize.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdinterpolatedscale/gdTrivialResize.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdnewfilectx/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdnewfilectx/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdnewfilectx/gdnewfilectx_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdnewfilectx/gdnewfilectx_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdtest/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdtest/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdtest/gdtest.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdtest/gdtest.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdtest/gdtest.h (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdtest/gdtest.h)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdtest/test_config.h.cmake (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdtest/test_config.h.cmake)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdtiled/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdtiled/bug00032.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/bug00032.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gdtiled/bug00032_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/bug00032_exp.png)bin233 -> 233 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00005.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00005_0.gif (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_0.gif)bin7332 -> 7332 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00005_1.gif (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_1.gif)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00005_2.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00005_2.gif (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2.gif)bin65646 -> 65646 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00005_2_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2_exp.png)bin10515 -> 10515 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00005_3.gif (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_3.gif)bin18276 -> 18276 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00006.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00006.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00060.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00060.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00060.gif (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00060.gif)bin16821 -> 16821 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00066.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00066.gif (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066.gif)bin25489 -> 25489 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00066_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066_exp.png)bin12247 -> 12247 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00181.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00181.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/bug00227.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00227.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/gif_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/gif_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/gif/gif_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/gif/gif_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/conv_test.jpeg (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/conv_test.jpeg)bin2317 -> 2317 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/conv_test_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/conv_test_exp.png)bin39678 -> 39678 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/empty.jpeg (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/empty.jpeg)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_empty_file.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_empty_file.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_read.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_read.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_resolution.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_resolution.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00011.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00011.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00033.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00033.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00033.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00033.png)bin393216 -> 393216 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00086.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00086.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00088.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00088_1.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_1.png)bin1892 -> 1892 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00088_1_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_1_exp.png)bin2791 -> 2791 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00088_2.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_2.png)bin238 -> 238 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00088_2_exp.png (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_2_exp.png)bin284 -> 284 bytes
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/bug00193.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/bug00193.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/emptyfile (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/emptyfile)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/png_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/png_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/png_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/png_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/png/png_resolution.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/png/png_resolution.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/test_config.h.in (renamed from Build/source/libs/gd/libgd-2.1.1/tests/test_config.h.in)6
-rw-r--r--Build/source/libs/gd/libgd-src/tests/tga/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/tga/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/tga/tga_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/tga/tga_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/tiff/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/tiff/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/tiff/tiff_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/tiff/tiff_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/tiff/tiff_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/tiff/tiff_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/wbmp/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/wbmp/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/wbmp/wbmp_im2im.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/wbmp/wbmp_im2im.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/wbmp/wbmp_null.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/wbmp/wbmp_null.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/CMakeLists.txt (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/CMakeLists.txt)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/bug00166.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00166.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/bug00166.xpm (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00166.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/bug00185.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/bug00185.xpm (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/bug00185_damaged.xpm (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185_damaged.xpm)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/color_name.c (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/color_name.c)0
-rw-r--r--Build/source/libs/gd/libgd-src/tests/xpm/color_name.xpm (renamed from Build/source/libs/gd/libgd-2.1.1/tests/xpm/color_name.xpm)0
-rw-r--r--[-rwxr-xr-x]Build/source/libs/gd/libgd-src/thumbs.bat (renamed from Build/source/libs/gd/libgd-2.1.1/thumbs.bat)0
-rwxr-xr-xBuild/source/libs/gd/libgd-src/thumbs.sh (renamed from Build/source/libs/gd/libgd-2.1.1/thumbs.sh)0
-rw-r--r--Build/source/libs/gd/libgd-src/windows/Makefile.vc (renamed from Build/source/libs/gd/libgd-2.1.1/windows/Makefile.vc)364
-rw-r--r--Build/source/libs/gd/libgd-src/windows/libgd.rc (renamed from Build/source/libs/gd/libgd-2.1.1/windows/libgd.rc)118
-rw-r--r--Build/source/libs/gd/libgd-src/windows/msys/Makefile (renamed from Build/source/libs/gd/libgd-2.1.1/windows/msys/Makefile)0
-rw-r--r--Build/source/libs/gd/libgd-src/windows/msys/README.MSYS.md (renamed from Build/source/libs/gd/libgd-2.1.1/windows/msys/README.MSYS.md)130
-rw-r--r--Build/source/libs/gd/libgd-src/windows/msys/deps.mk (renamed from Build/source/libs/gd/libgd-2.1.1/windows/msys/deps.mk)2
-rwxr-xr-xBuild/source/libs/gd/libgd-src/windows/msys/run_tests.sh (renamed from Build/source/libs/gd/libgd-2.1.1/windows/msys/run_tests.sh)0
-rw-r--r--Build/source/libs/gd/libgd-src/windows/readme.md (renamed from Build/source/libs/gd/libgd-2.1.1/windows/readme.md)20
-rw-r--r--[-rwxr-xr-x]Build/source/libs/gd/libgd-src/windows/run_tests.bat (renamed from Build/source/libs/gd/libgd-2.1.1/windows/run_tests.bat)0
426 files changed, 4684 insertions, 4680 deletions
diff --git a/Build/source/libs/gd/ChangeLog b/Build/source/libs/gd/ChangeLog
index edde32ae5bf..7afcc5167f1 100644
--- a/Build/source/libs/gd/ChangeLog
+++ b/Build/source/libs/gd/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-16 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * Makefile.am, configure.ac: New convention.
+
2015-07-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Better dependencies for 'make check'.
diff --git a/Build/source/libs/gd/Makefile.am b/Build/source/libs/gd/Makefile.am
index cc2ac94e9de..da84cea3366 100644
--- a/Build/source/libs/gd/Makefile.am
+++ b/Build/source/libs/gd/Makefile.am
@@ -12,7 +12,7 @@ EXTRA_DIST = $(GD_TREE)
## Changes applied to the original source tree
##
-EXTRA_DIST += $(GD_TREE)-PATCHES
+EXTRA_DIST += libgd-PATCHES
# Files not to be distributed
include $(srcdir)/../../am/dist_hook.am
diff --git a/Build/source/libs/gd/Makefile.in b/Build/source/libs/gd/Makefile.in
index 6131ea8ceaa..07e2e0643d8 100644
--- a/Build/source/libs/gd/Makefile.in
+++ b/Build/source/libs/gd/Makefile.in
@@ -610,7 +610,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-EXTRA_DIST = $(GD_TREE) $(GD_TREE)-PATCHES
+EXTRA_DIST = $(GD_TREE) libgd-PATCHES
NEVER_DIST = `find . $(NEVER_NAMES)`
# Files not to be distributed
diff --git a/Build/source/libs/gd/configure b/Build/source/libs/gd/configure
index 30ec79e18e1..e94f95ac41f 100755
--- a/Build/source/libs/gd/configure
+++ b/Build/source/libs/gd/configure
@@ -585,7 +585,7 @@ PACKAGE_STRING='gd (TeX Live) 2.1.1'
PACKAGE_BUGREPORT='tex-k@tug.org'
PACKAGE_URL=''
-ac_unique_file="libgd-2.1.1/src/gd.c"
+ac_unique_file="libgd-src/src/gd.c"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -5961,7 +5961,7 @@ $as_echo "#define HAVE_LIBFREETYPE 1" >>confdefs.h
$as_echo "#define HAVE_FT2BUILD_H 1" >>confdefs.h
-GD_TREE=libgd-2.1.1
+GD_TREE=libgd-src
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
diff --git a/Build/source/libs/gd/configure.ac b/Build/source/libs/gd/configure.ac
index 7ace49280e6..eed982ca521 100644
--- a/Build/source/libs/gd/configure.ac
+++ b/Build/source/libs/gd/configure.ac
@@ -9,7 +9,7 @@ dnl
m4_include([version.ac])[] dnl define gd_version
AC_INIT([gd (TeX Live)], gd_version, [tex-k@tug.org])
AC_PREREQ([2.65])
-AC_CONFIG_SRCDIR([libgd-]gd_version[/src/gd.c])
+AC_CONFIG_SRCDIR([libgd-src/src/gd.c])
AC_CONFIG_AUX_DIR([../../build-aux])
AC_CONFIG_MACRO_DIR([../../m4])
@@ -65,7 +65,7 @@ AC_DEFINE([HAVE_PNG_H], 1)
AC_DEFINE([HAVE_LIBFREETYPE], 1, [ Define if you have the freetype library.])
AC_DEFINE([HAVE_FT2BUILD_H], 1)
-AC_SUBST([GD_TREE], [libgd-]gd_version)
+AC_SUBST([GD_TREE], [libgd-src])
KPSE_COND_WIN32
diff --git a/Build/source/libs/gd/libgd-2.1.1-PATCHES/ChangeLog b/Build/source/libs/gd/libgd-PATCHES/ChangeLog
index bb889a51005..bb889a51005 100644
--- a/Build/source/libs/gd/libgd-2.1.1-PATCHES/ChangeLog
+++ b/Build/source/libs/gd/libgd-PATCHES/ChangeLog
diff --git a/Build/source/libs/gd/libgd-2.1.1-PATCHES/TL-Changes b/Build/source/libs/gd/libgd-PATCHES/TL-Changes
index 4e822ab3e8b..4e822ab3e8b 100644
--- a/Build/source/libs/gd/libgd-2.1.1-PATCHES/TL-Changes
+++ b/Build/source/libs/gd/libgd-PATCHES/TL-Changes
diff --git a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-01-win32 b/Build/source/libs/gd/libgd-PATCHES/patch-01-win32
index 66c6d4fe915..66c6d4fe915 100644
--- a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-01-win32
+++ b/Build/source/libs/gd/libgd-PATCHES/patch-01-win32
diff --git a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-02-no-stdcall b/Build/source/libs/gd/libgd-PATCHES/patch-02-no-stdcall
index f493ede7614..f493ede7614 100644
--- a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-02-no-stdcall
+++ b/Build/source/libs/gd/libgd-PATCHES/patch-02-no-stdcall
diff --git a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-03-ceill b/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill
index 574ccf0a805..574ccf0a805 100644
--- a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-03-ceill
+++ b/Build/source/libs/gd/libgd-PATCHES/patch-03-ceill
diff --git a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-04-double-semicolon b/Build/source/libs/gd/libgd-PATCHES/patch-04-double-semicolon
index bd6cbb16e41..bd6cbb16e41 100644
--- a/Build/source/libs/gd/libgd-2.1.1-PATCHES/patch-04-double-semicolon
+++ b/Build/source/libs/gd/libgd-PATCHES/patch-04-double-semicolon
diff --git a/Build/source/libs/gd/libgd-2.1.1/CMakeLists.txt b/Build/source/libs/gd/libgd-src/CMakeLists.txt
index 5bec7043208..5bec7043208 100644
--- a/Build/source/libs/gd/libgd-2.1.1/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/CONTRIBUTORS b/Build/source/libs/gd/libgd-src/CONTRIBUTORS
index 37ae474b6c3..37ae474b6c3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/CONTRIBUTORS
+++ b/Build/source/libs/gd/libgd-src/CONTRIBUTORS
diff --git a/Build/source/libs/gd/libgd-2.1.1/COPYING b/Build/source/libs/gd/libgd-src/COPYING
index 5e17d03e861..5e17d03e861 100644
--- a/Build/source/libs/gd/libgd-2.1.1/COPYING
+++ b/Build/source/libs/gd/libgd-src/COPYING
diff --git a/Build/source/libs/gd/libgd-2.1.1/ChangeLog b/Build/source/libs/gd/libgd-src/ChangeLog
index 8668226ee13..8668226ee13 100644
--- a/Build/source/libs/gd/libgd-2.1.1/ChangeLog
+++ b/Build/source/libs/gd/libgd-src/ChangeLog
diff --git a/Build/source/libs/gd/libgd-2.1.1/Makefile.am b/Build/source/libs/gd/libgd-src/Makefile.am
index 17c5b0537e7..d1f3b89ce1a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/Makefile.am
+++ b/Build/source/libs/gd/libgd-src/Makefile.am
@@ -1,3 +1,3 @@
-ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = src config tests
-EXTRA_DIST = test docs examples windows VMS cmake netware bootstrap.sh CMakeLists.txt thumbs.bat thumbs.sh CONTRIBUTORS README
+ACLOCAL_AMFLAGS = -I m4
+SUBDIRS = src config tests
+EXTRA_DIST = test docs examples windows VMS cmake netware bootstrap.sh CMakeLists.txt thumbs.bat thumbs.sh CONTRIBUTORS README
diff --git a/Build/source/libs/gd/libgd-2.1.1/NEWS b/Build/source/libs/gd/libgd-src/NEWS
index 8bf38434add..8bf38434add 100644
--- a/Build/source/libs/gd/libgd-2.1.1/NEWS
+++ b/Build/source/libs/gd/libgd-src/NEWS
diff --git a/Build/source/libs/gd/libgd-2.1.1/README b/Build/source/libs/gd/libgd-src/README
index 457b9c1f027..1c5b35b51b9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/README
+++ b/Build/source/libs/gd/libgd-src/README
@@ -1,10 +1,10 @@
-GD is an open source code library for the dynamic creation of images by programmers.
-
-GD is written in C, and "wrappers" are available for Perl, PHP and other languages. GD creates PNG,
-JPEG, GIF, WebP, XPM, BMP images, among other formats. GD is commonly used to generate charts,
-graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web.
-
-The most common applications of GD involve website development.
-
-The library was originally developped by Thomas Boutell and is now maintained by many contributors (see the CONTRIBUTORS file)
-under the umbrella of PHP.net.
+GD is an open source code library for the dynamic creation of images by programmers.
+
+GD is written in C, and "wrappers" are available for Perl, PHP and other languages. GD creates PNG,
+JPEG, GIF, WebP, XPM, BMP images, among other formats. GD is commonly used to generate charts,
+graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web.
+
+The most common applications of GD involve website development.
+
+The library was originally developped by Thomas Boutell and is now maintained by many contributors (see the CONTRIBUTORS file)
+under the umbrella of PHP.net.
diff --git a/Build/source/libs/gd/libgd-2.1.1/VMS/CONFIGURE.COM b/Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM
index a2e42c5b223..aa120875fad 100644
--- a/Build/source/libs/gd/libgd-2.1.1/VMS/CONFIGURE.COM
+++ b/Build/source/libs/gd/libgd-src/VMS/CONFIGURE.COM
@@ -1,1343 +1,1343 @@
-$! (c) Alexey Chupahin 18-APR-2006, 15-DEC-2007
-$! OpenVMS 8.2 Alpha DEC 2000 model 300
-$! OpenVMS 8.3 Itanium rx1620
-$! GNU
-$!
-$!
-$DEF SYS$ERROR _NL0:
-$ SET NOON
-$WRITE SYS$OUTPUT " "
-$WRITE SYS$OUTPUT "Configuring GD library for OpenVMS"
-$WRITE SYS$OUTPUT "(c) Alexey Chupahin "
-$! Checking architecture
-$! Checking architecture
-$ IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX"
-$ IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha"
-$ IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64"
-$ OS = F$GETSYI("VERSION")
-$WRITE SYS$OUTPUT "Checking architecture ... ", CPU
-$WRITE SYS$OUTPUT "Checking OS ... OpenVMS ",OS
-$SHARED=0
-$IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64") )
-$ THEN
-$ SHARED=64
-$ ELSE
-$ SHARED=32
-$ENDIF
-$DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. ""
-$IF (DECC) THEN $WRITE SYS$OUTPUT "Compiler ... DEC C"
-$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT
-$MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. ""
-$MMK = F$TYPE(MMK)
-$IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES
-$WRITE SYS$OUTPUT "Please install MMS from DECSET or MMK"
-$! I cant find any make tool
-$GOTO EXIT
-$!
-$!
-$TEST_LIBRARIES:
-$! Setting as MAKE utility one of MMS or MMK. I prefer MMS.
-$IF (MMK.NES."") THEN MAKE="MMK/IGN=WAR"
-$IF (MMS) THEN MAKE="MMS/IGN=WAR"
-$WRITE SYS$OUTPUT "Checking build utility ... ''MAKE'"
-$WRITE SYS$OUTPUT " "
-$!
-$IF (P1.EQS."STATIC") .OR. (P1.EQS."static")
-$ THEN
-$ WRITE SYS$OUTPUT "Configuring for static only"
-$ SHARED=0
-$ENDIF
-$!
-$! Is it package root directory? If no, go to [-]
-$ IF (F$SEARCH("[]VMS.DIR").EQS."") .AND. (F$SEARCH("[]vms.dir").EQS."")
-$ THEN
-$ SET DEF [-]
-$ ENDIF
-$!
-$!Checking for iconv
-$!
-$ DEFINE SYS$OUTPUT _NLA0:
-$ CC/OBJECT=TEST.OBJ SYS$INPUT
- #include <iconv.h>
- int main()
- {
- iconv_t cd;
- cd = iconv_open ((const char *)0, (const char *)0);
- }
-$TMP = $STATUS
-$DEAS SYS$OUTPUT
-$IF (TMP .NE. %X10B90001)
-$ THEN
-$ HAVE_ICONV=0
-$ENDIF
-$DEFINE SYS$OUTPUT _NLA0:
-$LINK/EXE=TEST TEST
-$TMP = $STATUS
-$!WRITE SYS$OUTPUT TMP
-$IF (TMP .NE. %X10000001)
-$ THEN
-$ HAVE_ICONV=0
-$ ELSE
-$ HAVE_ICONV=1
-$ENDIF
-$DEAS SYS$OUTPUT
-$IF (HAVE_ICONV.EQ.1)
-$ THEN
-$ WRITE SYS$OUTPUT "Checking for system iconv library... Yes"
-$ ELSE
-$ WRITE SYS$OUTPUT "Checking for system iconv library... No"
-$ENDIF
-$!
-$!"Checking for correct zlib library "
-$ ZLIB_STATIC=0
-$ DEFINE SYS$OUTPUT _NLA0:
-$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
- #include <stdlib.h>
- #include <stdio.h>
- #include <zlib.h>
- int main()
- {
- printf("checking version zlib: %s\n",zlibVersion());
- }
-$TMP = $STATUS
-$DEAS SYS$OUTPUT
-$IF (TMP .NE. %X10B90001)
-$ THEN
-$ HAVE_ZLIB=0
-$ GOTO NEXT1
-$ENDIF
-$DEFINE SYS$OUTPUT _NLA0:
-$!Testing for shared ZLIB
-$COPY SYS$INPUT [.SRC]OPT.OPT
-SYS$SHARE:LIBZSHR/SHARE
-$LINK/EXE=TEST TEST,[.SRC]OPT/OPT
-$TMP = $STATUS
-$DEL [.SRC]OPT.OPT;*
-$!WRITE SYS$OUTPUT TMP
-$IF (TMP .NE. %X10000001)
-$ THEN
-$ LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB
-$ TMP = $STATUS
-$ IF (TMP .NE. %X10000001)
-$ THEN
-$ HAVE_ZLIB=0
-$ ELSE
-$ HAVE_ZLIB=1
-$ ZLIB_STATIC=1
-$ ENDIF
-$ ELSE
-$ HAVE_ZLIB=1
-$ENDIF
-$NEXT1:
-$DEAS SYS$OUTPUT
-$IF (HAVE_ZLIB.EQ.1)
-$ THEN
-$ WRITE SYS$OUTPUT "Checking for correct zlib library ... Yes"
-$ ELSE
-$ WRITE SYS$OUTPUT "Checking for correct zlib library ... No"
-$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
-$ GOTO EXIT
-$ENDIF
-$RUN TEST
-$!
-$!
-$FREETYPE_STATIC=0
-$!"Checking for correct Freetype2 library"
-$ DEFINE SYS$OUTPUT _NLA0:
-$ CC/OBJECT=TEST.OBJ/INCLUDE=(FREETYPE2) SYS$INPUT
-#include <ft2build.h>
-#include <freetype/freetype.h>
-int main(int argc, char *argv[])
-{
-
-#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR <= 1
- printf("This version is too old. Please get newest\n");
- printf("From fafner.dyndns.org/~alexey/libsdl/required.html\n");
- exit(2);
-#endif
- printf("checking version FreeType : %d.%d.%d\n",
- FREETYPE_MAJOR,
- FREETYPE_MINOR,
- FREETYPE_PATCH);
- return(0);
-}
-$TMP = $STATUS
-$DEAS SYS$OUTPUT
-$IF (TMP .NE. %X10B90001)
-$ THEN
-$ HAVE_FREETYPE=0
-$ GOTO NEXT0
-$ENDIF
-$DEAS SYS$OUTPUT
-$DEFINE SYS$OUTPUT _NLA0:
-$LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/OPT
-$TMP = $STATUS
-$IF (TMP .NE. %X10000001)
-$ THEN
-$ LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/LIB,ZLIB:LIBZ/LIB
-$ TMP = $STATUS
-$ IF (TMP .NE. %X10000001)
-$ THEN
-$ TMP = $STATUS
-$ HAVE_FREETYPE=0
-$ GOTO NEXT0
-$ ELSE
-$ FREETYPE_STATIC=1
-$ ENDIF
-$ENDIF
-$!
-$RUN TEST
-$IF ($STATUS .NE. %X00000001)
-$ THEN
-$ HAVE_FREETYPE=0
-$ GOTO NEXT0
-$ ELSE
-$ HAVE_FREETYPE=1
-$ENDIF
-$NEXT0:
-$DEAS SYS$OUTPUT
-$IF (HAVE_FREETYPE.EQ.1)
-$ THEN
-$ WRITE SYS$OUTPUT "Checking for correct FreeType ... Yes"
-$ RUN TEST
-$ ELSE
-$ WRITE SYS$OUTPUT "Checking for correct FreeType ... No"
-$ WRITE SYS$OUTPUT "This is required library "
-$ WRITE SYS$OUTPUT "install it first from fafner.dyndns.org/~alexey/libsdl/required.html"
-$ GOTO EXIT
-$ENDIF
-$!
-$!
-$HAVE_TIFF=0
-$!"Checking for libPNG "
-$ DEFINE SYS$OUTPUT _NLA0:
-$ CC/OBJECT=TEST.OBJ/INCLUDE=(PNG,ZLIB) SYS$INPUT
- #include <stdlib.h>
- #include <png.h>
- int main()
- {
- png_uint_32 n,n1,n2,n3;
- n=png_access_version_number();
- n3=n%100; n=n/100;
- n2=n%100; n=n/100;
- n1=n%100;
- if ( (n1<=1)&&(n2<2) )
- { printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3);
- printf("This version is too old. Please get newest\n");
- printf("From fafner.dyndns.org/~alexey/libsdl/public.html\n");
- exit(2);
- }
- printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3);
- }
-$!
-$TMP = $STATUS
-$DEAS SYS$OUTPUT
-$IF (TMP .NE. %X10B90001)
-$ THEN
-$ HAVE_LIBPNG=0
-$ GOTO NEXT2
-$ENDIF
-$DEFINE SYS$OUTPUT _NLA0:
-$LINK/EXE=TEST TEST,PNG:LIBPNG$SHR/OPT,ZLIB:LIBZ/LIB
-$TMP = $STATUS
-$!WRITE SYS$OUTPUT TMP
-$IF (TMP .NE. %X10000001)
-$ THEN
-$! Trying for static libpng
-$ LINK/EXE=TEST TEST,PNG:LIBPNG/LIB,ZLIB:LIBZ/LIB
-$ TMP = $STATUS
-$ IF (TMP .NE. %X10000001)
-$ THEN
-$ LIBPNG_STATIC=0
-$ HAVE_LIBPNG=0
-$ GOTO NEXT2
-$ ELSE
-$ HAVE_LIBPNG=1
-$ LIBPNG_STATIC=1
-$ ENDIF
-$ ELSE
-$ HAVE_LIBPNG=1
-$ LIBPNG_STATIC=0
-$ENDIF
-$!
-$RUN TEST
-$IF ($STATUS .NE. %X00000001)
-$ THEN
-$ HAVE_LIBPNG=0
-$ ELSE
-$ HAVE_LIBPNG=1
-$ENDIF
-$NEXT2:
-$DEAS SYS$OUTPUT
-$IF (HAVE_LIBPNG.EQ.1)
-$ THEN
-$ WRITE SYS$OUTPUT "Checking for correct libPNG ... Yes"
-$ RUN TEST
-$ ELSE
-$ WRITE SYS$OUTPUT "Checking for correct libPNG ... No"
-$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
-$ GOTO EXIT
-$ENDIF
-$!
-$!
-$!
-$! Checking for JPEG ...
-$ DEFINE SYS$OUTPUT _NLA0:
-$ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT
- #include <stdlib.h>
- #include <stdio.h>
- #include <jpeglib.h>
- #include <jversion.h>
- int main()
- {
- printf("checking version jpeg: %s\n",JVERSION);
- jpeg_quality_scaling(0);
- return 0;
- }
-$TMP = $STATUS
-$DEAS SYS$OUTPUT
-$!WRITE SYS$OUTPUT TMP
-$IF (TMP .NE. %X10B90001)
-$ THEN
-$ HAVE_JPEG=0
-$ GOTO NEXT3
-$ENDIF
-$DEFINE SYS$OUTPUT _NLA0:
-$LINK/EXE=TEST TEST,JPEG:LIBJPEG$SHR/OPT
-$TMP = $STATUS
-$!WRITE SYS$OUTPUT TMP
-$IF (TMP .NE. %X10000001)
-$ THEN
-$ LINK/EXE=TEST TEST,JPEG:LIBJPEG/OPT
-$ TMP = $STATUS
-$ IF (TMP .NE. %X10000001)
-$ THEN
-$ HAVE_JPEG=0
-$ JPEG_STATIC=0
-$ GOTO NEXT3
-$ ELSE
-$ HAVE_JPEG=1
-$ JPEG_STATIC=1
-$ ENDIF
-$ ELSE
-$ HAVE_JPEG=1
-$ JPEG_STATIC=0
-$ENDIF
-$!
-$NEXT3:
-$DEAS SYS$OUTPUT
-$IF (HAVE_JPEG.EQ.1)
-$ THEN
-$ WRITE SYS$OUTPUT "Checking for correct jpeg library ... Yes"
-$ ELSE
-$ WRITE SYS$OUTPUT "Checking for correct jpeg library ... No"
-$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
-$ GOTO EXIT
-$ENDIF
-$RUN TEST
-$!
-$!
-$!Checking for libTIFF
-$ DEFINE SYS$OUTPUT _NLA0:
-$ DEL TEST.*;*
-$ CC/OBJECT=TEST.OBJ/INCLUDE=(TIFF) SYS$INPUT
- #include <stdlib.h>
- #include <stdio.h>
- #include <tiffio.h>
- int main()
- {
- printf("checking libTIFF version:\t%s\n\n", TIFFGetVersion());
- return 0;
- }
-$!
-$TMP = $STATUS
-$DEAS SYS$OUTPUT
-$IF (TMP .NE. %X10B90001)
-$ THEN
-$ HAVE_TIFF=0
-$ GOTO NEXT4
-$ENDIF
-$DEFINE SYS$OUTPUT _NLA0:
-$LINK TEST, TIFF:LIBTIFF/OPT, ZLIB:LIBZ/LIB
-$TMP = $STATUS
-$!WRITE SYS$OUTPUT TMP
-$IF (TMP .NE. %X10000001)
-$ THEN
-$ HAVE_TIFF=0
-$ ELSE
-$ HAVE_TIFF=1
-$ENDIF
-$NEXT4:
-$DEAS SYS$OUTPUT
-$IF (HAVE_TIFF.EQ.1)
-$ THEN
-$ WRITE SYS$OUTPUT "Checking for TIFF library ... Yes"
-$ TIFF_LIBRARY_PATH="TIFF:LIBTIFF/OPT"
-$ RUN TEST
-$ ELSE
-$ WRITE SYS$OUTPUT "Checking for TIFF library ... No"
-$ WRITE SYS$OUTPUT "No TIFF library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
-$ GOTO EXIT
-$ENDIF
-$!
-$!
-$!WRITING BUILD FILES
-$!
-$IF (SHARED.EQ.64)
-$ THEN
-$ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT
-SYMBOL_VECTOR= (-
-gdAlphaBlend=PROCEDURE,-
-gdImageCreate=PROCEDURE,-
-gdImageCreateTrueColor=PROCEDURE,-
-gdImageCreateFromPng=PROCEDURE,-
-gdImageCreateFromPngCtx=PROCEDURE,-
-gdImageCreateFromPngPtr=PROCEDURE,-
-gdImageCreateFromGif=PROCEDURE,-
-gdImageCreateFromGifCtx=PROCEDURE,-
-gdImageCreateFromGifPtr=PROCEDURE,-
-gdImageCreateFromWBMP=PROCEDURE,-
-gdImageCreateFromWBMPCtx=PROCEDURE,-
-gdImageCreateFromWBMPPtr=PROCEDURE,-
-gdImageCreateFromJpeg=PROCEDURE,-
-gdImageCreateFromJpegCtx=PROCEDURE,-
-gdImageCreateFromJpegPtr=PROCEDURE,-
-gdImageCreateFromPngSource=PROCEDURE,-
-gdImageCreateFromGd=PROCEDURE,-
-gdImageCreateFromGdCtx=PROCEDURE,-
-gdImageCreateFromGdPtr=PROCEDURE,-
-gdImageCreateFromGd2=PROCEDURE,-
-gdImageCreateFromGd2Ctx=PROCEDURE,-
-gdImageCreateFromGd2Ptr=PROCEDURE,-
-gdImageCreateFromGd2Part=PROCEDURE,-
-gdImageCreateFromGd2PartCtx=PROCEDURE,-
-gdImageCreateFromGd2PartPtr=PROCEDURE,-
-gdImageCreateFromXbm=PROCEDURE,-
-gdImageCreateFromXpm=PROCEDURE,-
-gdImageStringFTCircle=PROCEDURE,-
-gdImageDestroy=PROCEDURE,-
-gdImageSetPixel=PROCEDURE,-
-gdImageGetPixel=PROCEDURE,-
-gdImageGetTrueColorPixel=PROCEDURE,-
-gdImageAABlend=PROCEDURE,-
-gdImageLine=PROCEDURE,-
-gdImageDashedLine=PROCEDURE,-
-gdImageRectangle=PROCEDURE,-
-gdImageFilledRectangle=PROCEDURE,-
-gdImageSetClip=PROCEDURE,-
-gdImageGetClip=PROCEDURE,-
-gdImageBoundsSafe=PROCEDURE,-
-gdImageChar=PROCEDURE,-
-gdImageCharUp=PROCEDURE,-
-gdImageString=PROCEDURE,-
-gdImageStringUp=PROCEDURE,-
-gdImageString16=PROCEDURE,-
-gdImageStringUp16=PROCEDURE,-
-gdFontCacheSetup=PROCEDURE,-
-gdFontCacheShutdown=PROCEDURE,-
-gdFreeFontCache=PROCEDURE,-
-gdImageStringTTF=PROCEDURE,-
-gdImageStringFT=PROCEDURE,-
-gdFTUseFontConfig=PROCEDURE,-
-gdImageStringFTEx=PROCEDURE,-
-gdImagePolygon=PROCEDURE,-
-gdImageOpenPolygon=PROCEDURE,-
-gdImageFilledPolygon=PROCEDURE,-
-gdImageColorAllocate=PROCEDURE,-
-gdImageColorAllocateAlpha=PROCEDURE,-
-gdImageColorClosest=PROCEDURE,-
-gdImageColorClosestAlpha=PROCEDURE,-
-gdImageColorClosestHWB=PROCEDURE,-
-gdImageColorExact=PROCEDURE,-
-gdImageColorExactAlpha=PROCEDURE,-
-gdImageColorResolve=PROCEDURE,-
-gdImageColorResolveAlpha=PROCEDURE,-
-gdImageColorDeallocate=PROCEDURE,-
-gdImageCreatePaletteFromTrueCol=PROCEDURE,-
-gdImageTrueColorToPalette=PROCEDURE,-
-gdImageColorTransparent=PROCEDURE,-
-gdImagePaletteCopy=PROCEDURE,-
-gdImageGif=PROCEDURE,-
-gdImagePng=PROCEDURE,-
-gdImagePngCtx=PROCEDURE,-
-gdImageGifCtx=PROCEDURE,-
-gdImagePngEx=PROCEDURE,-
-gdImagePngCtxEx=PROCEDURE,-
-gdImageWBMP=PROCEDURE,-
-gdImageWBMPCtx=PROCEDURE,-
-gdFree=PROCEDURE,-
-gdImageWBMPPtr=PROCEDURE,-
-gdImageJpeg=PROCEDURE,-
-gdImageJpegCtx=PROCEDURE,-
-gdImageJpegPtr=PROCEDURE,-
-gdImageGifAnimBegin=PROCEDURE,-
-gdImageGifAnimAdd=PROCEDURE,-
-gdImageGifAnimEnd=PROCEDURE,-
-gdImageGifAnimBeginCtx=PROCEDURE,-
-gdImageGifAnimAddCtx=PROCEDURE,-
-gdImageGifAnimEndCtx=PROCEDURE,-
-gdImageGifAnimBeginPtr=PROCEDURE,-
-gdImageGifAnimAddPtr=PROCEDURE,-
-gdImageGifAnimEndPtr=PROCEDURE,-
-gdImagePngToSink=PROCEDURE,-
-gdImageGd=PROCEDURE,-
-gdImageGd2=PROCEDURE,-
-gdImageGifPtr=PROCEDURE,-
-gdImagePngPtr=PROCEDURE,-
-gdImagePngPtrEx=PROCEDURE,-
-gdImageGdPtr=PROCEDURE,-
-gdImageGd2Ptr=PROCEDURE,-
-gdImageFilledArc=PROCEDURE,-
-gdImageArc=PROCEDURE,-
-gdImageFilledEllipse=PROCEDURE,-
-gdImageFillToBorder=PROCEDURE,-
-gdImageFill=PROCEDURE,-
-gdImageCopy=PROCEDURE,-
-gdImageCopyMerge=PROCEDURE,-
-gdImageCopyMergeGray=PROCEDURE,-
-gdImageCopyResized=PROCEDURE,-
-gdImageCopyResampled=PROCEDURE,-
-gdImageCopyRotated=PROCEDURE,-
-gdImageSetBrush=PROCEDURE,-
-gdImageSetTile=PROCEDURE,-
-gdImageSetAntiAliased=PROCEDURE,-
-gdImageSetAntiAliasedDontBlend=PROCEDURE,-
-gdImageSetStyle=PROCEDURE,-
-gdImageSetThickness=PROCEDURE,-
-gdImageInterlace=PROCEDURE,-
-gdImageAlphaBlending=PROCEDURE,-
-gdImageSaveAlpha=PROCEDURE,-
-gdNewFileCtx=PROCEDURE,-
-gdNewDynamicCtx=PROCEDURE,-
-gdNewDynamicCtxEx=PROCEDURE,-
-gdNewSSCtx=PROCEDURE,-
-gdDPExtractData=PROCEDURE,-
-gdFontGetGiant=PROCEDURE,-
-gdFontGetLarge=PROCEDURE,-
-gdFontGetMediumBold=PROCEDURE,-
-gdFontGetSmall=PROCEDURE,-
-gdFontGetTiny=PROCEDURE,-
-gdImageCompare=PROCEDURE,-
-gdImageCreateFromTiff=PROCEDURE,-
-gdImageCreateFromTiffCtx=PROCEDURE,-
-gdImageCreateFromTiffPtr=PROCEDURE,-
-gdImageCreateFromTga=PROCEDURE,-
-gdImageCreateFromTgaCtx=PROCEDURE,-
-gdImageCreateFromTgaPtr=PROCEDURE,-
-gdImageTiff=PROCEDURE,-
-gdImageTiffPtr=PROCEDURE,-
-gdImageTiffCtx=PROCEDURE,-
-gdImageCrop=PROCEDURE,-
-gdImageAutoCrop=PROCEDURE,-
-gdImageThresholdCrop=PROCEDURE,-
-gdFontGiant=DATA,-
-GDFONTLARGE=DATA,-
-GDFONTMEDIUMBOLD=DATA,-
-GDFONTSMALL=DATA,-
-GDFONTTINY=DATA-
-)
-$ENDIF
-$!
-$IF (SHARED.EQ.32)
-$ THEN
-$ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT
-UNIVERSAL=gdAlphaBlend
-UNIVERSAL=gdImageCreate
-UNIVERSAL=gdImageCreateTrueColor
-UNIVERSAL=gdImageCreateFromPng
-UNIVERSAL=gdImageCreateFromPngCtx
-UNIVERSAL=gdImageCreateFromPngPtr
-UNIVERSAL=gdImageCreateFromGif
-UNIVERSAL=gdImageCreateFromGifCtx
-UNIVERSAL=gdImageCreateFromGifPtr
-UNIVERSAL=gdImageCreateFromWBMP
-UNIVERSAL=gdImageCreateFromWBMPCtx
-UNIVERSAL=gdImageCreateFromWBMPPtr
-UNIVERSAL=gdImageCreateFromJpeg
-UNIVERSAL=gdImageStringFTCircle
-UNIVERSAL=gdImageCreateFromJpegCtx
-UNIVERSAL=gdImageCreateFromJpegPtr
-UNIVERSAL=gdImageCreateFromPngSource
-UNIVERSAL=gdImageCreateFromGd
-UNIVERSAL=gdImageCreateFromGdCtx
-UNIVERSAL=gdImageCreateFromGdPtr
-UNIVERSAL=gdImageCreateFromGd2
-UNIVERSAL=gdImageCreateFromGd2Ctx
-UNIVERSAL=gdImageCreateFromGd2Ptr
-UNIVERSAL=gdImageCreateFromGd2Part
-UNIVERSAL=gdImageCreateFromGd2PartCtx
-UNIVERSAL=gdImageCreateFromGd2PartPtr
-UNIVERSAL=gdImageCreateFromXbm
-UNIVERSAL=gdImageCreateFromXpm
-UNIVERSAL=gdImageDestroy
-UNIVERSAL=gdImageSetPixel
-UNIVERSAL=gdImageGetPixel
-UNIVERSAL=gdImageGetTrueColorPixel
-UNIVERSAL=gdImageAABlend
-UNIVERSAL=gdImageLine
-UNIVERSAL=gdImageDashedLine
-UNIVERSAL=gdImageRectangle
-UNIVERSAL=gdImageFilledRectangle
-UNIVERSAL=gdImageSetClip
-UNIVERSAL=gdImageGetClip
-UNIVERSAL=gdImageBoundsSafe
-UNIVERSAL=gdImageChar
-UNIVERSAL=gdImageCharUp
-UNIVERSAL=gdImageString
-UNIVERSAL=gdImageStringUp
-UNIVERSAL=gdImageString16
-UNIVERSAL=gdImageStringUp16
-UNIVERSAL=gdFontCacheSetup
-UNIVERSAL=gdFontCacheShutdown
-UNIVERSAL=gdFreeFontCache
-UNIVERSAL=gdImageStringTTF
-UNIVERSAL=gdImageStringFT
-UNIVERSAL=gdFTUseFontConfig
-UNIVERSAL=gdImageStringFTEx
-UNIVERSAL=gdImagePolygon
-UNIVERSAL=gdImageOpenPolygon
-UNIVERSAL=gdImageFilledPolygon
-UNIVERSAL=gdImageColorAllocate
-UNIVERSAL=gdImageColorAllocateAlpha
-UNIVERSAL=gdImageColorClosest
-UNIVERSAL=gdImageColorClosestAlpha
-UNIVERSAL=gdImageColorClosestHWB
-UNIVERSAL=gdImageColorExact
-UNIVERSAL=gdImageColorExactAlpha
-UNIVERSAL=gdImageColorResolve
-UNIVERSAL=gdImageColorResolveAlpha
-UNIVERSAL=gdImageColorDeallocate
-UNIVERSAL=gdImageCreatePaletteFromTrueCol
-UNIVERSAL=gdImageTrueColorToPalette
-UNIVERSAL=gdImageColorTransparent
-UNIVERSAL=gdImagePaletteCopy
-UNIVERSAL=gdImageGif
-UNIVERSAL=gdImagePng
-UNIVERSAL=gdImagePngCtx
-UNIVERSAL=gdImageGifCtx
-UNIVERSAL=gdImagePngEx
-UNIVERSAL=gdImagePngCtxEx
-UNIVERSAL=gdImageWBMP
-UNIVERSAL=gdImageWBMPCtx
-UNIVERSAL=gdFree
-UNIVERSAL=gdImageWBMPPtr
-UNIVERSAL=gdImageJpeg
-UNIVERSAL=gdImageJpegCtx
-UNIVERSAL=gdImageJpegPtr
-UNIVERSAL=gdImageGifAnimBegin
-UNIVERSAL=gdImageGifAnimAdd
-UNIVERSAL=gdImageGifAnimEnd
-UNIVERSAL=gdImageGifAnimBeginCtx
-UNIVERSAL=gdImageGifAnimAddCtx
-UNIVERSAL=gdImageGifAnimEndCtx
-UNIVERSAL=gdImageGifAnimBeginPtr
-UNIVERSAL=gdImageGifAnimAddPtr
-UNIVERSAL=gdImageGifAnimEndPtr
-UNIVERSAL=gdImagePngToSink
-UNIVERSAL=gdImageGd
-UNIVERSAL=gdImageGd2
-UNIVERSAL=gdImageGifPtr
-UNIVERSAL=gdImagePngPtr
-UNIVERSAL=gdImagePngPtrEx
-UNIVERSAL=gdImageGdPtr
-UNIVERSAL=gdImageGd2Ptr
-UNIVERSAL=gdImageFilledArc
-UNIVERSAL=gdImageArc
-UNIVERSAL=gdImageFilledEllipse
-UNIVERSAL=gdImageFillToBorder
-UNIVERSAL=gdImageFill
-UNIVERSAL=gdImageCopy
-UNIVERSAL=gdImageCopyMerge
-UNIVERSAL=gdImageCopyMergeGray
-UNIVERSAL=gdImageCopyResized
-UNIVERSAL=gdImageCopyResampled
-UNIVERSAL=gdImageCopyRotated
-UNIVERSAL=gdImageSetBrush
-UNIVERSAL=gdImageSetTile
-UNIVERSAL=gdImageSetAntiAliased
-UNIVERSAL=gdImageSetAntiAliasedDontBlend
-UNIVERSAL=gdImageSetStyle
-UNIVERSAL=gdImageSetThickness
-UNIVERSAL=gdImageInterlace
-UNIVERSAL=gdImageAlphaBlending
-UNIVERSAL=gdImageSaveAlpha
-UNIVERSAL=gdNewFileCtx
-UNIVERSAL=gdNewDynamicCtx
-UNIVERSAL=gdNewDynamicCtxEx
-UNIVERSAL=gdNewSSCtx
-UNIVERSAL=gdDPExtractData
-UNIVERSAL=gdFontGetGiant
-UNIVERSAL=gdFontGetLarge
-UNIVERSAL=gdFontGetMediumBold
-UNIVERSAL=gdFontGetSmall
-UNIVERSAL=gdFontGetTiny
-UNIVERSAL=gdImageCompare
-UNIVERSAL=gdFontGiant
-UNIVERSAL=gdImageCreateFromTiff
-UNIVERSAL=gdImageCreateFromTiffCtx
-UNIVERSAL=gdImageCreateFromTiffPtr
-UNIVERSAL=gdImageCreateFromTga
-UNIVERSAL=gdImageCreateFromTgaCtx
-UNIVERSAL=gdImageCreateFromTgaPtr
-UNIVERSAL=gdImageTiff
-UNIVERSAL=gdImageTiffPtr
-UNIVERSAL=gdImageTiffCtx
-UNIVERSAL=gdImageCrop
-UNIVERSAL=gdImageAutoCrop
-UNIVERSAL=gdImageThresholdCrop
-UNIVERSAL=GDFONTLARGE
-UNIVERSAL=GDFONTMEDIUMBOLD
-UNIVERSAL=GDFONTSMALL
-UNIVERSAL=GDFONTTINY
-
-$ENDIF
-$!
-$!
-$DEF SYS$OUTPUT _NL0:
-$!
-$!Making OPT file for GD$SHR.EXE, i.e without reference to himself
-$COPY SYS$INPUT [.SRC]OPT.OPT
-[]GD/LIB
-$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1))
-$ THEN
-$ APP SYS$INPUT [.SRC]OPT.OPT
-PNG:LIBPNG/LIB
-$ENDIF
-$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0))
-$ THEN
-$ APP PNG:LIBPNG$SHR.OPT [.SRC]OPT.OPT
-$ENDIF
-$!
-$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.1) .AND. (HAVE_TIFF.NE.1))
-$ THEN
-$ APP SYS$INPUT [.SRC]OPT.OPT
-JPEG:LIBJPEG/LIB
-$ENDIF
-$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1))
-$ THEN
-$ APP JPEG:LIBJPEG$SHR.OPT [.SRC]OPT.OPT
-$ENDIF
-$!
-$IF (HAVE_TIFF.EQ.1)
-$ THEN
-$ APP TIFF:LIBTIFF.OPT [.SRC]OPT.OPT
-$ENDIF
-$!
-$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1)
-$ THEN
-$ APP SYS$INPUT [.SRC]OPT.OPT
- FREETYPE2:FREETYPE/LIB
- ZLIB:LIBZ/LIB
-$ENDIF
-$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0)
-$ THEN
-$ APP FREETYPE2:FREETYPE.OPT [.SRC]OPT.OPT
-$ENDIF
-$!
-$IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1))
-$ THEN
-$ IF (ZLIB_STATIC.EQ.0)
-$ THEN
-$ APP SYS$INPUT [.SRC]OPT.OPT
- SYS$SHARE:LIBZSHR/SHARE
-$ ELSE
-$ APP SYS$INPUT [.SRC]OPT.OPT
- ZLIB:LIBZ/LIB
-$ ENDIF
-$ ELSE
-$ APP SYS$INPUT [.SRC]OPT.OPT
- ZLIB:LIBZ/LIB
-$ENDIF
-$!
-$!
-$PURGE [.SRC]OPT.OPT
-$!
-$!
-$!Making working LIBGD.OPT file
-$!
-$IF (SHARED.GT.0)
-$ THEN
- $COPY SYS$INPUT [.SRC]LIBGD.OPT
- SYS$SHARE:GD$SHR/SHARE
-$ ELSE
- $COPY SYS$INPUT [.SRC]LIBGD.OPT
- LIBGD:GD/LIB
-$ENDIF
-$!
-$!Append OPT files to LIBGD.OPT
-$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1))
-$ THEN
-$ APP SYS$INPUT [.SRC]LIBGD.OPT
-PNG:LIBPNG/LIB
-$ENDIF
-$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0))
-$ THEN
-$ APP PNG:LIBPNG$SHR.OPT [.SRC]LIBGD.OPT
-$ENDIF
-$!
-$IF ((HAVE_JPEG.EQ.1) .AND. (HAVE_TIFF.NE.1) .AND. (JPEG_STATIC.EQ.1))
-$ THEN
-$ APP JPEG:LIBJPEG.OPT [.SRC]LIBGD.OPT
-$ENDIF
-$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1))
-$ THEN
-$ APP JPEG:LIBJPEG$SHR.OPT [.SRC]LIBGD.OPT
-$ENDIF
-$!
-$IF (HAVE_TIFF.EQ.1)
-$ THEN
-$ APP TIFF:LIBTIFF.OPT [.SRC]LIBGD.OPT
-$ENDIF
-$!
-$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1)
-$ THEN
-$ APP SYS$INPUT [.SRC]LIBGD.OPT
- FREETYPE2:FREETYPE/LIB
- ZLIB:LIBZ/LIB
-$ENDIF
-$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0)
-$ THEN
-$ APP FREETYPE2:FREETYPE.OPT [.SRC]LIBGD.OPT
-$ENDIF
-$!
-$IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1))
-$ THEN
-$ IF (ZLIB_STATIC.EQ.0)
-$ THEN
-$ APP SYS$INPUT [.SRC]LIBGD.OPT
- SYS$SHARE:LIBZSHR/SHARE
-$ ELSE
-$ APP SYS$INPUT [.SRC]LIBGD.OPT
- ZLIB:LIBZ/LIB
-$ ENDIF
-$ENDIF
-$!
-$PURGE LIBGD.OPT
-$!
-$DEAS SYS$OUTPUT
-$!
-$OPEN/WRITE OUT BUILD.COM
-$ WRITE OUT "$SET DEF [.SRC]"
-$ WRITE OUT "$",MAKE
-$ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") "
-$ WRITE OUT "$TMP=CURRENT"
-$ WRITE OUT "$OPEN/WRITE OUTT [-]LIBGD$STARTUP.COM"
-$ WRITE OUT "$WRITE OUTT ""DEFINE LIBGD """"", "'","'","TMP'"""""""
-$ WRITE OUT "$WRITE OUTT ""GD2COPYPAL==""""$","'","'","TMP'"",""GD2COPYPAL"""" "
-$ WRITE OUT "$WRITE OUTT ""GD2TIME==""""$","'","'","TMP'"",""GD2TIME"""" "
-$ WRITE OUT "$WRITE OUTT ""GD2TOGIF==""""$","'","'","TMP'"",""GD2TOGIF"""" "
-$ WRITE OUT "$WRITE OUTT ""GD2TOPNG==""""$","'","'","TMP'"",""GD2TOPNG"""" "
-$ WRITE OUT "$WRITE OUTT ""GDCMPGIF==""""$","'","'","TMP'"",""GDCMPGIF"""" "
-$ WRITE OUT "$WRITE OUTT ""GDTOPNG==""""$","'","'","TMP'"",""GDTOPNG"""" "
-$ WRITE OUT "$WRITE OUTT ""GIFTOGD2==""""$","'","'","TMP'"",""GIFTOGD2"""" "
-$ WRITE OUT "$WRITE OUTT ""PNGTOGD==""""$","'","'","TMP'"",""PNGTOGD"""" "
-$ WRITE OUT "$WRITE OUTT ""PNGTOGD2==""""$","'","'","TMP'"",""PNGTOGD2"""" "
-$ WRITE OUT "$WRITE OUTT ""WEBPNG==""""$","'","'","TMP'"",""WEBPNG"""" "
-$ WRITE OUT "$CLOSE OUTT"
-$!
-$ WRITE OUT "$WRITE SYS$OUTPUT "" "" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""LIBGD$STARTUP.COM has been created. "" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using "" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" "
-$ WRITE OUT "$WRITE SYS$OUTPUT """" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""Using:"" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INCL=LIBGD PROG"" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""LINK PROG, LIBGD:LIBGD/OPT"" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
-$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
-$ WRITE OUT "$SET DEF [-]"
-$CLOSE OUT
-$!
-$!
-$!Writing config.h
-$COPY SYS$INPUT [.SRC]CONFIG.H
-/* Generated by configure.com for OpenVMS */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if you have the <errno.h> header file. */
-#define HAVE_ERRNO_H 1
-
-
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-
-#define PACKAGE_NAME "GD"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GD 2.1.0"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "GD"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "2.1.0"
-
-/* Define to necessary symbol if this constant uses a non-standard name on
- * your system. */
-/* #undef PTHREAD_CREATE_JOINABLE */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "2.1.0"
-
-/* Define to 1 if you have the `m' library (-lm). */
-#define HAVE_LIBM 1
-
-
-/* Define to 1 if you have the <libpng/png.h> header file. */
-/* #undef HAVE_LIBPNG_PNG_H */
-
-
-
-/* Define to 1 if you have the <limits.h> header file. */
-//#define HAVE_LIMITS_H 1
-
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-
-/* Define if you have POSIX threads libraries and header files. */
-#define HAVE_PTHREAD 1
-
-/* Define to 1 if you have the <stddef.h> header file. */
-#define HAVE_STDDEF_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-//#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define as const if the declaration of iconv() needs const. */
-//#define ICONV_CONST
-
-/* Name of package */
-#define PACKAGE "gd"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "http://bugs.libgd.org"
-
-/* Define to the full name of this package. */
-
-
-
-$IF HAVE_ICONV.EQ.1
-$ THEN
-$ APP SYS$INPUT [.SRC]CONFIG.H
- /* Define if you have the iconv() function. */
- #define HAVE_ICONV 1
- /* Define to 1 if you have the <iconv.h> header file. */
- #define HAVE_ICONV_H 1
- /* Define if <iconv.h> defines iconv_t. */
- #define HAVE_ICONV_T_DEF 1
-$ENDIF
-$IF HAVE_TIFF.EQ.1
-$ THEN
-$ APP SYS$INPUT [.SRC]CONFIG.H
- #define HAVE_LIBTIFF 1
-$ENDIF
-$IF HAVE_LIBPNG.EQ.1
-$ THEN
-$ APP SYS$INPUT [.SRC]CONFIG.H
- #define HAVE_LIBPNG 1
- #define HAVE_PNG_H 1
-$ENDIF
-$IF HAVE_FREETYPE.EQ.1
-$ THEN
-$ APP SYS$INPUT [.SRC]CONFIG.H
- #define HAVE_LIBFREETYPE 1
- #define HAVE_FT2BUILD_H 1
-$ENDIF
-$IF HAVE_JPEG.EQ.1
-$ THEN
-$ APP SYS$INPUT [.SRC]CONFIG.H
- #define HAVE_LIBJPEG 1
-$ENDIF
-$IF HAVE_ZLIB.EQ.1
-$ THEN
-$ APP SYS$INPUT [.SRC]CONFIG.H
- #define HAVE_LIBZ 1
-$ENDIF
-$IF HAVE_TIFF.EQ.1
-$ THEN
-$ APP SYS$INPUT [.SRC]CONFIG.H
- #define HAVE_LIBTIFF 1
-$ENDIF
-$!
-$!
-$!
-$!
-$COP SYS$INPUT [.SRC]DESCRIP.MMS
-# Generated by CONFIGURE.COM
-# Alexey Chupahin elvis_75@mail.ru
-# OpenVMS 7.3-1,8.2 DEC 2000 mod.300
-# OpenVMS 8.3 HP rx1620
-
-
-.FIRST
- DEF LIBGD []
-
-CC=cc
-CFLAGS=/OPT=(INLINE=SPEED) /INCL=([],JPEG,PNG,FREETYPE2,ZLIB,TIFF) /DEF=(HAVE_CONFIG_H)/WARN=(DIS=MACROREDEF)
-LIBS=[]LIBGD/OPT
-
-
-ALL : \
-gd.olb,\
-$IF (SHARED.GT.0)
-$ THEN
-$ APP SYS$INPUT [.SRC]DESCRIP.MMS
-gd$shr.exe,\
-$ENDIF
-$!
-$APP SYS$INPUT [.SRC]DESCRIP.MMS
-annotate.exe,\
-circletexttest.exe,\
-fontconfigtest.exe,\
-circletexttest.exe,\
-fontconfigtest.exe,\
-fontsizetest.exe,\
-fontwheeltest.exe,\
-gd2copypal.exe,\
-gd2time.exe,\
-gd2togif.exe,\
-gd2topng.exe,\
-gdcmpgif.exe,\
-gddemo.exe,\
-gdtest.exe,\
-gdtestft.exe,\
-gdtopng.exe,\
-gifanimtest.exe,\
-giftogd2.exe,\
-pngtogd.exe,\
-pngtogd2.exe,\
-testac.exe,\
-testtr.exe,\
-webpng.exe,\
-gdparttopng.exe
- $!
-
-annotate.exe : annotate.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-circletexttest.exe : circletexttest.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-fontconfigtest.exe : fontconfigtest.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-fontsizetest.exe : fontsizetest.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-fontwheeltest.exe : fontwheeltest.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-gd2copypal.exe : gd2copypal.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-gd2time.exe : gd2time.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-gd2togif.exe : gd2togif.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-gd2topng.exe : gd2topng.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-gdcmpgif.exe : gdcmpgif.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-gddemo.exe : gddemo.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-gdtest.exe : gdtest.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-gdtestft.exe : gdtestft.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-gdtopng.exe : gdtopng.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-gifanimtest.exe : gifanimtest.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-giftogd2.exe : giftogd2.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-giftogd2.obj : giftogd2.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-pngtogd.exe : pngtogd.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-pngtogd2.exe : pngtogd2.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-testac.exe : testac.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-testtr.exe : testtr.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-webpng.exe : webpng.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-gdparttopng.exe : gdparttopng.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
- LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
- DEL TMP.OBJ;*
-
-
-OBJ=\
-gd.obj,\
-gdcache.obj,\
-gdfontg.obj,\
-gdfontl.obj,\
-gdfontmb.obj,\
-gdfonts.obj,\
-gdfontt.obj,\
-gdft.obj,\
-gdfx.obj,\
-gdhelpers.obj,\
-gdkanji.obj,\
-gdtables.obj,\
-gdxpm.obj,\
-gd_bmp.obj,\
-gd_gd.obj,\
-gd_gd2.obj,\
-gd_gif_in.obj,\
-gd_gif_out.obj,\
-gd_io.obj,\
-gd_io_dp.obj,\
-gd_io_file.obj,\
-gd_io_ss.obj,\
-gd_jpeg.obj,\
-gd_png.obj,\
-gd_security.obj,\
-gd_ss.obj,\
-gd_crop.obj,\
-gd_tga.obj,\
-gd_tiff.obj,\
-gd_transform.obj,\
-gd_topal.obj,\
-gd_wbmp.obj,\
-wbmp.obj
-
-
-gd_transform.obj : gd_transform.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_tiff.obj : gd_tiff.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_tga.obj : gd_tga.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_bmp.obj : gd_bmp.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_crop.obj : gd_crop.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd.obj : gd.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdcache.obj : gdcache.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdfontg.obj : gdfontg.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdfontl.obj : gdfontl.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdfontmb.obj : gdfontmb.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdfonts.obj : gdfonts.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdfontt.obj : gdfontt.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdft.obj : gdft.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdfx.obj : gdfx.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdhelpers.obj : gdhelpers.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdkanji.obj : gdkanji.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdtables.obj : gdtables.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gdxpm.obj : gdxpm.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_gd.obj : gd_gd.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_gd2.obj : gd_gd2.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_gif_in.obj : gd_gif_in.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_gif_out.obj : gd_gif_out.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_io.obj : gd_io.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_io_dp.obj : gd_io_dp.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_io_file.obj : gd_io_file.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_io_ss.obj : gd_io_ss.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_jpeg.obj : gd_jpeg.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_png.obj : gd_png.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_security.obj : gd_security.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_ss.obj : gd_ss.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_topal.obj : gd_topal.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-gd_wbmp.obj : gd_wbmp.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-wbmp.obj : wbmp.c
- $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
-
-
-GD.OLB : $(OBJ)
- LIB/CREA GD.OLB $(OBJ)
-
-GD$SHR.EXE : $(OBJ)
- LINK/SHARE=GD$SHR GD.OBJ,LIBGD$DEF/OPT,OPT/OPT
- COPY GD$SHR.EXE SYS$SHARE
-
-CLEAN :
- DEL [...]*.OBJ;*
- DEL [...]*.OLB;*
- DEL [...]*.EXE;*
-$!DEL TMP.MMS;*
-$!
-$IF (F$SEARCH("[.SRC]GD.H;2").EQS."")
-$ THEN
-$ WRITE SYS$OUTPUT "Patching GD.H"
-$ DEF SYS$OUTPUT "_NLA0:"
-$ COPY SYS$INPUT [.SRC]GD.H;2
-#define gdImageCreatePaletteFromTrueColor gdImageCreatePaletteFromTrueCol
-
-$ APP [.SRC]GD.H;1 [.SRC]GD.H;2
-$ DEAS SYS$INPUT
-$ENDIF
-$!
-$!
-$!
-$!
-$WRITE SYS$OUTPUT " "
-$WRITE SYS$OUTPUT " "
-$WRITE SYS$OUTPUT "Now you can type @BUILD "
-$!
-$EXIT:
-$DEFINE SYS$OUTPUT _NLA0:
-$DEL TEST.OBJ;*
-$DEL TEST.C;*
-$DEL TEST.EXE;*
-$DEAS SYS$OUTPUT
+$! (c) Alexey Chupahin 18-APR-2006, 15-DEC-2007
+$! OpenVMS 8.2 Alpha DEC 2000 model 300
+$! OpenVMS 8.3 Itanium rx1620
+$! GNU
+$!
+$!
+$DEF SYS$ERROR _NL0:
+$ SET NOON
+$WRITE SYS$OUTPUT " "
+$WRITE SYS$OUTPUT "Configuring GD library for OpenVMS"
+$WRITE SYS$OUTPUT "(c) Alexey Chupahin "
+$! Checking architecture
+$! Checking architecture
+$ IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX"
+$ IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha"
+$ IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64"
+$ OS = F$GETSYI("VERSION")
+$WRITE SYS$OUTPUT "Checking architecture ... ", CPU
+$WRITE SYS$OUTPUT "Checking OS ... OpenVMS ",OS
+$SHARED=0
+$IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64") )
+$ THEN
+$ SHARED=64
+$ ELSE
+$ SHARED=32
+$ENDIF
+$DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. ""
+$IF (DECC) THEN $WRITE SYS$OUTPUT "Compiler ... DEC C"
+$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT
+$MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. ""
+$MMK = F$TYPE(MMK)
+$IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES
+$WRITE SYS$OUTPUT "Please install MMS from DECSET or MMK"
+$! I cant find any make tool
+$GOTO EXIT
+$!
+$!
+$TEST_LIBRARIES:
+$! Setting as MAKE utility one of MMS or MMK. I prefer MMS.
+$IF (MMK.NES."") THEN MAKE="MMK/IGN=WAR"
+$IF (MMS) THEN MAKE="MMS/IGN=WAR"
+$WRITE SYS$OUTPUT "Checking build utility ... ''MAKE'"
+$WRITE SYS$OUTPUT " "
+$!
+$IF (P1.EQS."STATIC") .OR. (P1.EQS."static")
+$ THEN
+$ WRITE SYS$OUTPUT "Configuring for static only"
+$ SHARED=0
+$ENDIF
+$!
+$! Is it package root directory? If no, go to [-]
+$ IF (F$SEARCH("[]VMS.DIR").EQS."") .AND. (F$SEARCH("[]vms.dir").EQS."")
+$ THEN
+$ SET DEF [-]
+$ ENDIF
+$!
+$!Checking for iconv
+$!
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ SYS$INPUT
+ #include <iconv.h>
+ int main()
+ {
+ iconv_t cd;
+ cd = iconv_open ((const char *)0, (const char *)0);
+ }
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_ICONV=0
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_ICONV=0
+$ ELSE
+$ HAVE_ICONV=1
+$ENDIF
+$DEAS SYS$OUTPUT
+$IF (HAVE_ICONV.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for system iconv library... Yes"
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for system iconv library... No"
+$ENDIF
+$!
+$!"Checking for correct zlib library "
+$ ZLIB_STATIC=0
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <zlib.h>
+ int main()
+ {
+ printf("checking version zlib: %s\n",zlibVersion());
+ }
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_ZLIB=0
+$ GOTO NEXT1
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$!Testing for shared ZLIB
+$COPY SYS$INPUT [.SRC]OPT.OPT
+SYS$SHARE:LIBZSHR/SHARE
+$LINK/EXE=TEST TEST,[.SRC]OPT/OPT
+$TMP = $STATUS
+$DEL [.SRC]OPT.OPT;*
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_ZLIB=0
+$ ELSE
+$ HAVE_ZLIB=1
+$ ZLIB_STATIC=1
+$ ENDIF
+$ ELSE
+$ HAVE_ZLIB=1
+$ENDIF
+$NEXT1:
+$DEAS SYS$OUTPUT
+$IF (HAVE_ZLIB.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct zlib library ... Yes"
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct zlib library ... No"
+$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$RUN TEST
+$!
+$!
+$FREETYPE_STATIC=0
+$!"Checking for correct Freetype2 library"
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(FREETYPE2) SYS$INPUT
+#include <ft2build.h>
+#include <freetype/freetype.h>
+int main(int argc, char *argv[])
+{
+
+#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR <= 1
+ printf("This version is too old. Please get newest\n");
+ printf("From fafner.dyndns.org/~alexey/libsdl/required.html\n");
+ exit(2);
+#endif
+ printf("checking version FreeType : %d.%d.%d\n",
+ FREETYPE_MAJOR,
+ FREETYPE_MINOR,
+ FREETYPE_PATCH);
+ return(0);
+}
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_FREETYPE=0
+$ GOTO NEXT0
+$ENDIF
+$DEAS SYS$OUTPUT
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/OPT
+$TMP = $STATUS
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/LIB,ZLIB:LIBZ/LIB
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ TMP = $STATUS
+$ HAVE_FREETYPE=0
+$ GOTO NEXT0
+$ ELSE
+$ FREETYPE_STATIC=1
+$ ENDIF
+$ENDIF
+$!
+$RUN TEST
+$IF ($STATUS .NE. %X00000001)
+$ THEN
+$ HAVE_FREETYPE=0
+$ GOTO NEXT0
+$ ELSE
+$ HAVE_FREETYPE=1
+$ENDIF
+$NEXT0:
+$DEAS SYS$OUTPUT
+$IF (HAVE_FREETYPE.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct FreeType ... Yes"
+$ RUN TEST
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct FreeType ... No"
+$ WRITE SYS$OUTPUT "This is required library "
+$ WRITE SYS$OUTPUT "install it first from fafner.dyndns.org/~alexey/libsdl/required.html"
+$ GOTO EXIT
+$ENDIF
+$!
+$!
+$HAVE_TIFF=0
+$!"Checking for libPNG "
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(PNG,ZLIB) SYS$INPUT
+ #include <stdlib.h>
+ #include <png.h>
+ int main()
+ {
+ png_uint_32 n,n1,n2,n3;
+ n=png_access_version_number();
+ n3=n%100; n=n/100;
+ n2=n%100; n=n/100;
+ n1=n%100;
+ if ( (n1<=1)&&(n2<2) )
+ { printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3);
+ printf("This version is too old. Please get newest\n");
+ printf("From fafner.dyndns.org/~alexey/libsdl/public.html\n");
+ exit(2);
+ }
+ printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3);
+ }
+$!
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_LIBPNG=0
+$ GOTO NEXT2
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST,PNG:LIBPNG$SHR/OPT,ZLIB:LIBZ/LIB
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$! Trying for static libpng
+$ LINK/EXE=TEST TEST,PNG:LIBPNG/LIB,ZLIB:LIBZ/LIB
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ LIBPNG_STATIC=0
+$ HAVE_LIBPNG=0
+$ GOTO NEXT2
+$ ELSE
+$ HAVE_LIBPNG=1
+$ LIBPNG_STATIC=1
+$ ENDIF
+$ ELSE
+$ HAVE_LIBPNG=1
+$ LIBPNG_STATIC=0
+$ENDIF
+$!
+$RUN TEST
+$IF ($STATUS .NE. %X00000001)
+$ THEN
+$ HAVE_LIBPNG=0
+$ ELSE
+$ HAVE_LIBPNG=1
+$ENDIF
+$NEXT2:
+$DEAS SYS$OUTPUT
+$IF (HAVE_LIBPNG.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct libPNG ... Yes"
+$ RUN TEST
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct libPNG ... No"
+$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$!
+$!
+$!
+$! Checking for JPEG ...
+$ DEFINE SYS$OUTPUT _NLA0:
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <jpeglib.h>
+ #include <jversion.h>
+ int main()
+ {
+ printf("checking version jpeg: %s\n",JVERSION);
+ jpeg_quality_scaling(0);
+ return 0;
+ }
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_JPEG=0
+$ GOTO NEXT3
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK/EXE=TEST TEST,JPEG:LIBJPEG$SHR/OPT
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ LINK/EXE=TEST TEST,JPEG:LIBJPEG/OPT
+$ TMP = $STATUS
+$ IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_JPEG=0
+$ JPEG_STATIC=0
+$ GOTO NEXT3
+$ ELSE
+$ HAVE_JPEG=1
+$ JPEG_STATIC=1
+$ ENDIF
+$ ELSE
+$ HAVE_JPEG=1
+$ JPEG_STATIC=0
+$ENDIF
+$!
+$NEXT3:
+$DEAS SYS$OUTPUT
+$IF (HAVE_JPEG.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for correct jpeg library ... Yes"
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for correct jpeg library ... No"
+$ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$RUN TEST
+$!
+$!
+$!Checking for libTIFF
+$ DEFINE SYS$OUTPUT _NLA0:
+$ DEL TEST.*;*
+$ CC/OBJECT=TEST.OBJ/INCLUDE=(TIFF) SYS$INPUT
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <tiffio.h>
+ int main()
+ {
+ printf("checking libTIFF version:\t%s\n\n", TIFFGetVersion());
+ return 0;
+ }
+$!
+$TMP = $STATUS
+$DEAS SYS$OUTPUT
+$IF (TMP .NE. %X10B90001)
+$ THEN
+$ HAVE_TIFF=0
+$ GOTO NEXT4
+$ENDIF
+$DEFINE SYS$OUTPUT _NLA0:
+$LINK TEST, TIFF:LIBTIFF/OPT, ZLIB:LIBZ/LIB
+$TMP = $STATUS
+$!WRITE SYS$OUTPUT TMP
+$IF (TMP .NE. %X10000001)
+$ THEN
+$ HAVE_TIFF=0
+$ ELSE
+$ HAVE_TIFF=1
+$ENDIF
+$NEXT4:
+$DEAS SYS$OUTPUT
+$IF (HAVE_TIFF.EQ.1)
+$ THEN
+$ WRITE SYS$OUTPUT "Checking for TIFF library ... Yes"
+$ TIFF_LIBRARY_PATH="TIFF:LIBTIFF/OPT"
+$ RUN TEST
+$ ELSE
+$ WRITE SYS$OUTPUT "Checking for TIFF library ... No"
+$ WRITE SYS$OUTPUT "No TIFF library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html"
+$ GOTO EXIT
+$ENDIF
+$!
+$!
+$!WRITING BUILD FILES
+$!
+$IF (SHARED.EQ.64)
+$ THEN
+$ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT
+SYMBOL_VECTOR= (-
+gdAlphaBlend=PROCEDURE,-
+gdImageCreate=PROCEDURE,-
+gdImageCreateTrueColor=PROCEDURE,-
+gdImageCreateFromPng=PROCEDURE,-
+gdImageCreateFromPngCtx=PROCEDURE,-
+gdImageCreateFromPngPtr=PROCEDURE,-
+gdImageCreateFromGif=PROCEDURE,-
+gdImageCreateFromGifCtx=PROCEDURE,-
+gdImageCreateFromGifPtr=PROCEDURE,-
+gdImageCreateFromWBMP=PROCEDURE,-
+gdImageCreateFromWBMPCtx=PROCEDURE,-
+gdImageCreateFromWBMPPtr=PROCEDURE,-
+gdImageCreateFromJpeg=PROCEDURE,-
+gdImageCreateFromJpegCtx=PROCEDURE,-
+gdImageCreateFromJpegPtr=PROCEDURE,-
+gdImageCreateFromPngSource=PROCEDURE,-
+gdImageCreateFromGd=PROCEDURE,-
+gdImageCreateFromGdCtx=PROCEDURE,-
+gdImageCreateFromGdPtr=PROCEDURE,-
+gdImageCreateFromGd2=PROCEDURE,-
+gdImageCreateFromGd2Ctx=PROCEDURE,-
+gdImageCreateFromGd2Ptr=PROCEDURE,-
+gdImageCreateFromGd2Part=PROCEDURE,-
+gdImageCreateFromGd2PartCtx=PROCEDURE,-
+gdImageCreateFromGd2PartPtr=PROCEDURE,-
+gdImageCreateFromXbm=PROCEDURE,-
+gdImageCreateFromXpm=PROCEDURE,-
+gdImageStringFTCircle=PROCEDURE,-
+gdImageDestroy=PROCEDURE,-
+gdImageSetPixel=PROCEDURE,-
+gdImageGetPixel=PROCEDURE,-
+gdImageGetTrueColorPixel=PROCEDURE,-
+gdImageAABlend=PROCEDURE,-
+gdImageLine=PROCEDURE,-
+gdImageDashedLine=PROCEDURE,-
+gdImageRectangle=PROCEDURE,-
+gdImageFilledRectangle=PROCEDURE,-
+gdImageSetClip=PROCEDURE,-
+gdImageGetClip=PROCEDURE,-
+gdImageBoundsSafe=PROCEDURE,-
+gdImageChar=PROCEDURE,-
+gdImageCharUp=PROCEDURE,-
+gdImageString=PROCEDURE,-
+gdImageStringUp=PROCEDURE,-
+gdImageString16=PROCEDURE,-
+gdImageStringUp16=PROCEDURE,-
+gdFontCacheSetup=PROCEDURE,-
+gdFontCacheShutdown=PROCEDURE,-
+gdFreeFontCache=PROCEDURE,-
+gdImageStringTTF=PROCEDURE,-
+gdImageStringFT=PROCEDURE,-
+gdFTUseFontConfig=PROCEDURE,-
+gdImageStringFTEx=PROCEDURE,-
+gdImagePolygon=PROCEDURE,-
+gdImageOpenPolygon=PROCEDURE,-
+gdImageFilledPolygon=PROCEDURE,-
+gdImageColorAllocate=PROCEDURE,-
+gdImageColorAllocateAlpha=PROCEDURE,-
+gdImageColorClosest=PROCEDURE,-
+gdImageColorClosestAlpha=PROCEDURE,-
+gdImageColorClosestHWB=PROCEDURE,-
+gdImageColorExact=PROCEDURE,-
+gdImageColorExactAlpha=PROCEDURE,-
+gdImageColorResolve=PROCEDURE,-
+gdImageColorResolveAlpha=PROCEDURE,-
+gdImageColorDeallocate=PROCEDURE,-
+gdImageCreatePaletteFromTrueCol=PROCEDURE,-
+gdImageTrueColorToPalette=PROCEDURE,-
+gdImageColorTransparent=PROCEDURE,-
+gdImagePaletteCopy=PROCEDURE,-
+gdImageGif=PROCEDURE,-
+gdImagePng=PROCEDURE,-
+gdImagePngCtx=PROCEDURE,-
+gdImageGifCtx=PROCEDURE,-
+gdImagePngEx=PROCEDURE,-
+gdImagePngCtxEx=PROCEDURE,-
+gdImageWBMP=PROCEDURE,-
+gdImageWBMPCtx=PROCEDURE,-
+gdFree=PROCEDURE,-
+gdImageWBMPPtr=PROCEDURE,-
+gdImageJpeg=PROCEDURE,-
+gdImageJpegCtx=PROCEDURE,-
+gdImageJpegPtr=PROCEDURE,-
+gdImageGifAnimBegin=PROCEDURE,-
+gdImageGifAnimAdd=PROCEDURE,-
+gdImageGifAnimEnd=PROCEDURE,-
+gdImageGifAnimBeginCtx=PROCEDURE,-
+gdImageGifAnimAddCtx=PROCEDURE,-
+gdImageGifAnimEndCtx=PROCEDURE,-
+gdImageGifAnimBeginPtr=PROCEDURE,-
+gdImageGifAnimAddPtr=PROCEDURE,-
+gdImageGifAnimEndPtr=PROCEDURE,-
+gdImagePngToSink=PROCEDURE,-
+gdImageGd=PROCEDURE,-
+gdImageGd2=PROCEDURE,-
+gdImageGifPtr=PROCEDURE,-
+gdImagePngPtr=PROCEDURE,-
+gdImagePngPtrEx=PROCEDURE,-
+gdImageGdPtr=PROCEDURE,-
+gdImageGd2Ptr=PROCEDURE,-
+gdImageFilledArc=PROCEDURE,-
+gdImageArc=PROCEDURE,-
+gdImageFilledEllipse=PROCEDURE,-
+gdImageFillToBorder=PROCEDURE,-
+gdImageFill=PROCEDURE,-
+gdImageCopy=PROCEDURE,-
+gdImageCopyMerge=PROCEDURE,-
+gdImageCopyMergeGray=PROCEDURE,-
+gdImageCopyResized=PROCEDURE,-
+gdImageCopyResampled=PROCEDURE,-
+gdImageCopyRotated=PROCEDURE,-
+gdImageSetBrush=PROCEDURE,-
+gdImageSetTile=PROCEDURE,-
+gdImageSetAntiAliased=PROCEDURE,-
+gdImageSetAntiAliasedDontBlend=PROCEDURE,-
+gdImageSetStyle=PROCEDURE,-
+gdImageSetThickness=PROCEDURE,-
+gdImageInterlace=PROCEDURE,-
+gdImageAlphaBlending=PROCEDURE,-
+gdImageSaveAlpha=PROCEDURE,-
+gdNewFileCtx=PROCEDURE,-
+gdNewDynamicCtx=PROCEDURE,-
+gdNewDynamicCtxEx=PROCEDURE,-
+gdNewSSCtx=PROCEDURE,-
+gdDPExtractData=PROCEDURE,-
+gdFontGetGiant=PROCEDURE,-
+gdFontGetLarge=PROCEDURE,-
+gdFontGetMediumBold=PROCEDURE,-
+gdFontGetSmall=PROCEDURE,-
+gdFontGetTiny=PROCEDURE,-
+gdImageCompare=PROCEDURE,-
+gdImageCreateFromTiff=PROCEDURE,-
+gdImageCreateFromTiffCtx=PROCEDURE,-
+gdImageCreateFromTiffPtr=PROCEDURE,-
+gdImageCreateFromTga=PROCEDURE,-
+gdImageCreateFromTgaCtx=PROCEDURE,-
+gdImageCreateFromTgaPtr=PROCEDURE,-
+gdImageTiff=PROCEDURE,-
+gdImageTiffPtr=PROCEDURE,-
+gdImageTiffCtx=PROCEDURE,-
+gdImageCrop=PROCEDURE,-
+gdImageAutoCrop=PROCEDURE,-
+gdImageThresholdCrop=PROCEDURE,-
+gdFontGiant=DATA,-
+GDFONTLARGE=DATA,-
+GDFONTMEDIUMBOLD=DATA,-
+GDFONTSMALL=DATA,-
+GDFONTTINY=DATA-
+)
+$ENDIF
+$!
+$IF (SHARED.EQ.32)
+$ THEN
+$ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT
+UNIVERSAL=gdAlphaBlend
+UNIVERSAL=gdImageCreate
+UNIVERSAL=gdImageCreateTrueColor
+UNIVERSAL=gdImageCreateFromPng
+UNIVERSAL=gdImageCreateFromPngCtx
+UNIVERSAL=gdImageCreateFromPngPtr
+UNIVERSAL=gdImageCreateFromGif
+UNIVERSAL=gdImageCreateFromGifCtx
+UNIVERSAL=gdImageCreateFromGifPtr
+UNIVERSAL=gdImageCreateFromWBMP
+UNIVERSAL=gdImageCreateFromWBMPCtx
+UNIVERSAL=gdImageCreateFromWBMPPtr
+UNIVERSAL=gdImageCreateFromJpeg
+UNIVERSAL=gdImageStringFTCircle
+UNIVERSAL=gdImageCreateFromJpegCtx
+UNIVERSAL=gdImageCreateFromJpegPtr
+UNIVERSAL=gdImageCreateFromPngSource
+UNIVERSAL=gdImageCreateFromGd
+UNIVERSAL=gdImageCreateFromGdCtx
+UNIVERSAL=gdImageCreateFromGdPtr
+UNIVERSAL=gdImageCreateFromGd2
+UNIVERSAL=gdImageCreateFromGd2Ctx
+UNIVERSAL=gdImageCreateFromGd2Ptr
+UNIVERSAL=gdImageCreateFromGd2Part
+UNIVERSAL=gdImageCreateFromGd2PartCtx
+UNIVERSAL=gdImageCreateFromGd2PartPtr
+UNIVERSAL=gdImageCreateFromXbm
+UNIVERSAL=gdImageCreateFromXpm
+UNIVERSAL=gdImageDestroy
+UNIVERSAL=gdImageSetPixel
+UNIVERSAL=gdImageGetPixel
+UNIVERSAL=gdImageGetTrueColorPixel
+UNIVERSAL=gdImageAABlend
+UNIVERSAL=gdImageLine
+UNIVERSAL=gdImageDashedLine
+UNIVERSAL=gdImageRectangle
+UNIVERSAL=gdImageFilledRectangle
+UNIVERSAL=gdImageSetClip
+UNIVERSAL=gdImageGetClip
+UNIVERSAL=gdImageBoundsSafe
+UNIVERSAL=gdImageChar
+UNIVERSAL=gdImageCharUp
+UNIVERSAL=gdImageString
+UNIVERSAL=gdImageStringUp
+UNIVERSAL=gdImageString16
+UNIVERSAL=gdImageStringUp16
+UNIVERSAL=gdFontCacheSetup
+UNIVERSAL=gdFontCacheShutdown
+UNIVERSAL=gdFreeFontCache
+UNIVERSAL=gdImageStringTTF
+UNIVERSAL=gdImageStringFT
+UNIVERSAL=gdFTUseFontConfig
+UNIVERSAL=gdImageStringFTEx
+UNIVERSAL=gdImagePolygon
+UNIVERSAL=gdImageOpenPolygon
+UNIVERSAL=gdImageFilledPolygon
+UNIVERSAL=gdImageColorAllocate
+UNIVERSAL=gdImageColorAllocateAlpha
+UNIVERSAL=gdImageColorClosest
+UNIVERSAL=gdImageColorClosestAlpha
+UNIVERSAL=gdImageColorClosestHWB
+UNIVERSAL=gdImageColorExact
+UNIVERSAL=gdImageColorExactAlpha
+UNIVERSAL=gdImageColorResolve
+UNIVERSAL=gdImageColorResolveAlpha
+UNIVERSAL=gdImageColorDeallocate
+UNIVERSAL=gdImageCreatePaletteFromTrueCol
+UNIVERSAL=gdImageTrueColorToPalette
+UNIVERSAL=gdImageColorTransparent
+UNIVERSAL=gdImagePaletteCopy
+UNIVERSAL=gdImageGif
+UNIVERSAL=gdImagePng
+UNIVERSAL=gdImagePngCtx
+UNIVERSAL=gdImageGifCtx
+UNIVERSAL=gdImagePngEx
+UNIVERSAL=gdImagePngCtxEx
+UNIVERSAL=gdImageWBMP
+UNIVERSAL=gdImageWBMPCtx
+UNIVERSAL=gdFree
+UNIVERSAL=gdImageWBMPPtr
+UNIVERSAL=gdImageJpeg
+UNIVERSAL=gdImageJpegCtx
+UNIVERSAL=gdImageJpegPtr
+UNIVERSAL=gdImageGifAnimBegin
+UNIVERSAL=gdImageGifAnimAdd
+UNIVERSAL=gdImageGifAnimEnd
+UNIVERSAL=gdImageGifAnimBeginCtx
+UNIVERSAL=gdImageGifAnimAddCtx
+UNIVERSAL=gdImageGifAnimEndCtx
+UNIVERSAL=gdImageGifAnimBeginPtr
+UNIVERSAL=gdImageGifAnimAddPtr
+UNIVERSAL=gdImageGifAnimEndPtr
+UNIVERSAL=gdImagePngToSink
+UNIVERSAL=gdImageGd
+UNIVERSAL=gdImageGd2
+UNIVERSAL=gdImageGifPtr
+UNIVERSAL=gdImagePngPtr
+UNIVERSAL=gdImagePngPtrEx
+UNIVERSAL=gdImageGdPtr
+UNIVERSAL=gdImageGd2Ptr
+UNIVERSAL=gdImageFilledArc
+UNIVERSAL=gdImageArc
+UNIVERSAL=gdImageFilledEllipse
+UNIVERSAL=gdImageFillToBorder
+UNIVERSAL=gdImageFill
+UNIVERSAL=gdImageCopy
+UNIVERSAL=gdImageCopyMerge
+UNIVERSAL=gdImageCopyMergeGray
+UNIVERSAL=gdImageCopyResized
+UNIVERSAL=gdImageCopyResampled
+UNIVERSAL=gdImageCopyRotated
+UNIVERSAL=gdImageSetBrush
+UNIVERSAL=gdImageSetTile
+UNIVERSAL=gdImageSetAntiAliased
+UNIVERSAL=gdImageSetAntiAliasedDontBlend
+UNIVERSAL=gdImageSetStyle
+UNIVERSAL=gdImageSetThickness
+UNIVERSAL=gdImageInterlace
+UNIVERSAL=gdImageAlphaBlending
+UNIVERSAL=gdImageSaveAlpha
+UNIVERSAL=gdNewFileCtx
+UNIVERSAL=gdNewDynamicCtx
+UNIVERSAL=gdNewDynamicCtxEx
+UNIVERSAL=gdNewSSCtx
+UNIVERSAL=gdDPExtractData
+UNIVERSAL=gdFontGetGiant
+UNIVERSAL=gdFontGetLarge
+UNIVERSAL=gdFontGetMediumBold
+UNIVERSAL=gdFontGetSmall
+UNIVERSAL=gdFontGetTiny
+UNIVERSAL=gdImageCompare
+UNIVERSAL=gdFontGiant
+UNIVERSAL=gdImageCreateFromTiff
+UNIVERSAL=gdImageCreateFromTiffCtx
+UNIVERSAL=gdImageCreateFromTiffPtr
+UNIVERSAL=gdImageCreateFromTga
+UNIVERSAL=gdImageCreateFromTgaCtx
+UNIVERSAL=gdImageCreateFromTgaPtr
+UNIVERSAL=gdImageTiff
+UNIVERSAL=gdImageTiffPtr
+UNIVERSAL=gdImageTiffCtx
+UNIVERSAL=gdImageCrop
+UNIVERSAL=gdImageAutoCrop
+UNIVERSAL=gdImageThresholdCrop
+UNIVERSAL=GDFONTLARGE
+UNIVERSAL=GDFONTMEDIUMBOLD
+UNIVERSAL=GDFONTSMALL
+UNIVERSAL=GDFONTTINY
+
+$ENDIF
+$!
+$!
+$DEF SYS$OUTPUT _NL0:
+$!
+$!Making OPT file for GD$SHR.EXE, i.e without reference to himself
+$COPY SYS$INPUT [.SRC]OPT.OPT
+[]GD/LIB
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1))
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+PNG:LIBPNG/LIB
+$ENDIF
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0))
+$ THEN
+$ APP PNG:LIBPNG$SHR.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.1) .AND. (HAVE_TIFF.NE.1))
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+JPEG:LIBJPEG/LIB
+$ENDIF
+$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1))
+$ THEN
+$ APP JPEG:LIBJPEG$SHR.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF (HAVE_TIFF.EQ.1)
+$ THEN
+$ APP TIFF:LIBTIFF.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1)
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ FREETYPE2:FREETYPE/LIB
+ ZLIB:LIBZ/LIB
+$ENDIF
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0)
+$ THEN
+$ APP FREETYPE2:FREETYPE.OPT [.SRC]OPT.OPT
+$ENDIF
+$!
+$IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1))
+$ THEN
+$ IF (ZLIB_STATIC.EQ.0)
+$ THEN
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ SYS$SHARE:LIBZSHR/SHARE
+$ ELSE
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ ZLIB:LIBZ/LIB
+$ ENDIF
+$ ELSE
+$ APP SYS$INPUT [.SRC]OPT.OPT
+ ZLIB:LIBZ/LIB
+$ENDIF
+$!
+$!
+$PURGE [.SRC]OPT.OPT
+$!
+$!
+$!Making working LIBGD.OPT file
+$!
+$IF (SHARED.GT.0)
+$ THEN
+ $COPY SYS$INPUT [.SRC]LIBGD.OPT
+ SYS$SHARE:GD$SHR/SHARE
+$ ELSE
+ $COPY SYS$INPUT [.SRC]LIBGD.OPT
+ LIBGD:GD/LIB
+$ENDIF
+$!
+$!Append OPT files to LIBGD.OPT
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1))
+$ THEN
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+PNG:LIBPNG/LIB
+$ENDIF
+$IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0))
+$ THEN
+$ APP PNG:LIBPNG$SHR.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF ((HAVE_JPEG.EQ.1) .AND. (HAVE_TIFF.NE.1) .AND. (JPEG_STATIC.EQ.1))
+$ THEN
+$ APP JPEG:LIBJPEG.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1))
+$ THEN
+$ APP JPEG:LIBJPEG$SHR.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF (HAVE_TIFF.EQ.1)
+$ THEN
+$ APP TIFF:LIBTIFF.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1)
+$ THEN
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+ FREETYPE2:FREETYPE/LIB
+ ZLIB:LIBZ/LIB
+$ENDIF
+$IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0)
+$ THEN
+$ APP FREETYPE2:FREETYPE.OPT [.SRC]LIBGD.OPT
+$ENDIF
+$!
+$IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1))
+$ THEN
+$ IF (ZLIB_STATIC.EQ.0)
+$ THEN
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+ SYS$SHARE:LIBZSHR/SHARE
+$ ELSE
+$ APP SYS$INPUT [.SRC]LIBGD.OPT
+ ZLIB:LIBZ/LIB
+$ ENDIF
+$ENDIF
+$!
+$PURGE LIBGD.OPT
+$!
+$DEAS SYS$OUTPUT
+$!
+$OPEN/WRITE OUT BUILD.COM
+$ WRITE OUT "$SET DEF [.SRC]"
+$ WRITE OUT "$",MAKE
+$ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") "
+$ WRITE OUT "$TMP=CURRENT"
+$ WRITE OUT "$OPEN/WRITE OUTT [-]LIBGD$STARTUP.COM"
+$ WRITE OUT "$WRITE OUTT ""DEFINE LIBGD """"", "'","'","TMP'"""""""
+$ WRITE OUT "$WRITE OUTT ""GD2COPYPAL==""""$","'","'","TMP'"",""GD2COPYPAL"""" "
+$ WRITE OUT "$WRITE OUTT ""GD2TIME==""""$","'","'","TMP'"",""GD2TIME"""" "
+$ WRITE OUT "$WRITE OUTT ""GD2TOGIF==""""$","'","'","TMP'"",""GD2TOGIF"""" "
+$ WRITE OUT "$WRITE OUTT ""GD2TOPNG==""""$","'","'","TMP'"",""GD2TOPNG"""" "
+$ WRITE OUT "$WRITE OUTT ""GDCMPGIF==""""$","'","'","TMP'"",""GDCMPGIF"""" "
+$ WRITE OUT "$WRITE OUTT ""GDTOPNG==""""$","'","'","TMP'"",""GDTOPNG"""" "
+$ WRITE OUT "$WRITE OUTT ""GIFTOGD2==""""$","'","'","TMP'"",""GIFTOGD2"""" "
+$ WRITE OUT "$WRITE OUTT ""PNGTOGD==""""$","'","'","TMP'"",""PNGTOGD"""" "
+$ WRITE OUT "$WRITE OUTT ""PNGTOGD2==""""$","'","'","TMP'"",""PNGTOGD2"""" "
+$ WRITE OUT "$WRITE OUTT ""WEBPNG==""""$","'","'","TMP'"",""WEBPNG"""" "
+$ WRITE OUT "$CLOSE OUTT"
+$!
+$ WRITE OUT "$WRITE SYS$OUTPUT "" "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""LIBGD$STARTUP.COM has been created. "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT """" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""Using:"" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INCL=LIBGD PROG"" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""LINK PROG, LIBGD:LIBGD/OPT"" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
+$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" "
+$ WRITE OUT "$SET DEF [-]"
+$CLOSE OUT
+$!
+$!
+$!Writing config.h
+$COPY SYS$INPUT [.SRC]CONFIG.H
+/* Generated by configure.com for OpenVMS */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+
+#define PACKAGE_NAME "GD"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "GD 2.1.0"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "GD"
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "2.1.0"
+
+/* Define to necessary symbol if this constant uses a non-standard name on
+ * your system. */
+/* #undef PTHREAD_CREATE_JOINABLE */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "2.1.0"
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+
+/* Define to 1 if you have the <libpng/png.h> header file. */
+/* #undef HAVE_LIBPNG_PNG_H */
+
+
+
+/* Define to 1 if you have the <limits.h> header file. */
+//#define HAVE_LIMITS_H 1
+
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+
+/* Define if you have POSIX threads libraries and header files. */
+#define HAVE_PTHREAD 1
+
+/* Define to 1 if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+//#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define as const if the declaration of iconv() needs const. */
+//#define ICONV_CONST
+
+/* Name of package */
+#define PACKAGE "gd"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "http://bugs.libgd.org"
+
+/* Define to the full name of this package. */
+
+
+
+$IF HAVE_ICONV.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ /* Define if you have the iconv() function. */
+ #define HAVE_ICONV 1
+ /* Define to 1 if you have the <iconv.h> header file. */
+ #define HAVE_ICONV_H 1
+ /* Define if <iconv.h> defines iconv_t. */
+ #define HAVE_ICONV_T_DEF 1
+$ENDIF
+$IF HAVE_TIFF.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBTIFF 1
+$ENDIF
+$IF HAVE_LIBPNG.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBPNG 1
+ #define HAVE_PNG_H 1
+$ENDIF
+$IF HAVE_FREETYPE.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBFREETYPE 1
+ #define HAVE_FT2BUILD_H 1
+$ENDIF
+$IF HAVE_JPEG.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBJPEG 1
+$ENDIF
+$IF HAVE_ZLIB.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBZ 1
+$ENDIF
+$IF HAVE_TIFF.EQ.1
+$ THEN
+$ APP SYS$INPUT [.SRC]CONFIG.H
+ #define HAVE_LIBTIFF 1
+$ENDIF
+$!
+$!
+$!
+$!
+$COP SYS$INPUT [.SRC]DESCRIP.MMS
+# Generated by CONFIGURE.COM
+# Alexey Chupahin elvis_75@mail.ru
+# OpenVMS 7.3-1,8.2 DEC 2000 mod.300
+# OpenVMS 8.3 HP rx1620
+
+
+.FIRST
+ DEF LIBGD []
+
+CC=cc
+CFLAGS=/OPT=(INLINE=SPEED) /INCL=([],JPEG,PNG,FREETYPE2,ZLIB,TIFF) /DEF=(HAVE_CONFIG_H)/WARN=(DIS=MACROREDEF)
+LIBS=[]LIBGD/OPT
+
+
+ALL : \
+gd.olb,\
+$IF (SHARED.GT.0)
+$ THEN
+$ APP SYS$INPUT [.SRC]DESCRIP.MMS
+gd$shr.exe,\
+$ENDIF
+$!
+$APP SYS$INPUT [.SRC]DESCRIP.MMS
+annotate.exe,\
+circletexttest.exe,\
+fontconfigtest.exe,\
+circletexttest.exe,\
+fontconfigtest.exe,\
+fontsizetest.exe,\
+fontwheeltest.exe,\
+gd2copypal.exe,\
+gd2time.exe,\
+gd2togif.exe,\
+gd2topng.exe,\
+gdcmpgif.exe,\
+gddemo.exe,\
+gdtest.exe,\
+gdtestft.exe,\
+gdtopng.exe,\
+gifanimtest.exe,\
+giftogd2.exe,\
+pngtogd.exe,\
+pngtogd2.exe,\
+testac.exe,\
+testtr.exe,\
+webpng.exe,\
+gdparttopng.exe
+ $!
+
+annotate.exe : annotate.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+circletexttest.exe : circletexttest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+fontconfigtest.exe : fontconfigtest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+fontsizetest.exe : fontsizetest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+fontwheeltest.exe : fontwheeltest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+gd2copypal.exe : gd2copypal.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+gd2time.exe : gd2time.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+gd2togif.exe : gd2togif.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+gd2topng.exe : gd2topng.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+gdcmpgif.exe : gdcmpgif.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+gddemo.exe : gddemo.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+gdtest.exe : gdtest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+gdtestft.exe : gdtestft.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+gdtopng.exe : gdtopng.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+gifanimtest.exe : gifanimtest.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+giftogd2.exe : giftogd2.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+giftogd2.obj : giftogd2.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+pngtogd.exe : pngtogd.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+pngtogd2.exe : pngtogd2.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+testac.exe : testac.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+testtr.exe : testtr.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+webpng.exe : webpng.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+gdparttopng.exe : gdparttopng.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ
+ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS)
+ DEL TMP.OBJ;*
+
+
+OBJ=\
+gd.obj,\
+gdcache.obj,\
+gdfontg.obj,\
+gdfontl.obj,\
+gdfontmb.obj,\
+gdfonts.obj,\
+gdfontt.obj,\
+gdft.obj,\
+gdfx.obj,\
+gdhelpers.obj,\
+gdkanji.obj,\
+gdtables.obj,\
+gdxpm.obj,\
+gd_bmp.obj,\
+gd_gd.obj,\
+gd_gd2.obj,\
+gd_gif_in.obj,\
+gd_gif_out.obj,\
+gd_io.obj,\
+gd_io_dp.obj,\
+gd_io_file.obj,\
+gd_io_ss.obj,\
+gd_jpeg.obj,\
+gd_png.obj,\
+gd_security.obj,\
+gd_ss.obj,\
+gd_crop.obj,\
+gd_tga.obj,\
+gd_tiff.obj,\
+gd_transform.obj,\
+gd_topal.obj,\
+gd_wbmp.obj,\
+wbmp.obj
+
+
+gd_transform.obj : gd_transform.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_tiff.obj : gd_tiff.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_tga.obj : gd_tga.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_bmp.obj : gd_bmp.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_crop.obj : gd_crop.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd.obj : gd.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdcache.obj : gdcache.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdfontg.obj : gdfontg.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdfontl.obj : gdfontl.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdfontmb.obj : gdfontmb.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdfonts.obj : gdfonts.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdfontt.obj : gdfontt.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdft.obj : gdft.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdfx.obj : gdfx.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdhelpers.obj : gdhelpers.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdkanji.obj : gdkanji.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdtables.obj : gdtables.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gdxpm.obj : gdxpm.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_gd.obj : gd_gd.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_gd2.obj : gd_gd2.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_gif_in.obj : gd_gif_in.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_gif_out.obj : gd_gif_out.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_io.obj : gd_io.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_io_dp.obj : gd_io_dp.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_io_file.obj : gd_io_file.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_io_ss.obj : gd_io_ss.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_jpeg.obj : gd_jpeg.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_png.obj : gd_png.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_security.obj : gd_security.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_ss.obj : gd_ss.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_topal.obj : gd_topal.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+gd_wbmp.obj : gd_wbmp.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+wbmp.obj : wbmp.c
+ $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET)
+
+
+GD.OLB : $(OBJ)
+ LIB/CREA GD.OLB $(OBJ)
+
+GD$SHR.EXE : $(OBJ)
+ LINK/SHARE=GD$SHR GD.OBJ,LIBGD$DEF/OPT,OPT/OPT
+ COPY GD$SHR.EXE SYS$SHARE
+
+CLEAN :
+ DEL [...]*.OBJ;*
+ DEL [...]*.OLB;*
+ DEL [...]*.EXE;*
+$!DEL TMP.MMS;*
+$!
+$IF (F$SEARCH("[.SRC]GD.H;2").EQS."")
+$ THEN
+$ WRITE SYS$OUTPUT "Patching GD.H"
+$ DEF SYS$OUTPUT "_NLA0:"
+$ COPY SYS$INPUT [.SRC]GD.H;2
+#define gdImageCreatePaletteFromTrueColor gdImageCreatePaletteFromTrueCol
+
+$ APP [.SRC]GD.H;1 [.SRC]GD.H;2
+$ DEAS SYS$INPUT
+$ENDIF
+$!
+$!
+$!
+$!
+$WRITE SYS$OUTPUT " "
+$WRITE SYS$OUTPUT " "
+$WRITE SYS$OUTPUT "Now you can type @BUILD "
+$!
+$EXIT:
+$DEFINE SYS$OUTPUT _NLA0:
+$DEL TEST.OBJ;*
+$DEL TEST.C;*
+$DEL TEST.EXE;*
+$DEAS SYS$OUTPUT
diff --git a/Build/source/libs/gd/libgd-2.1.1/VMS/README.VMS b/Build/source/libs/gd/libgd-src/VMS/README.VMS
index cdeee561654..18346685876 100644
--- a/Build/source/libs/gd/libgd-2.1.1/VMS/README.VMS
+++ b/Build/source/libs/gd/libgd-src/VMS/README.VMS
@@ -1,71 +1,71 @@
-Dear OpenVMS user,
-
-Installation process is identical to one in *nix* world and consist to
-four simple steps:
-1. Installing required libraries
-2. Configuration
-3. Compiling
-4. Installation.
-
-
-1. Please install required libraries first:
-
-1. ZLIB 1.2 or newer
-2. PNG 1.2.12 or newer
-3. FreeType 2
-4. JPEG 6B
-
-All may be found at OpenVMS libSDL porting project site
-http://fafner.dyndns.org/~alexey/libsdl/required.html
-
-Also, system should have MMS make utility from DEC or
-free analogue MMK. And C compiler with runtime, of course. ;)
-
-
-2. Configuration is doing automatically by a configuration script:
-
-$@[.VMS]CONFIGURE
-
-The script detects hardware,system and required libraries have been installed.
-Compilation stage will be prepeared to create shared and static libraries.
-Alpha,IA64 or VAX platform are supported. Optional argument "static"
-tells to configurator to make static libraries only:
-
-$@[.VMS]CONFIGURE STATIC
-
-CONFIGURE script checks your ZLIB, FREETYPE, JPEG, PNG libraries.
-If it detects any troubles, you may get and install good and tested ones
-from OpenVMS libSDL porting project site:
-http://fafner.dyndns.org/~alexey/libsdl/required.html
-
-When success, it creates a building script named BUILD.COM
-
-3. Compilation:
-
-$@BUILD
-
-It should be error-free.
-
-When success, it creates a setup script named LIBGD$STARTUP.COM
-
-4. Setup OpenVMS environment before using libGD:
-
-$@LIBGD$STARTUP
-
-LIBGD and its utilites are ready to using.
-
-Optionally you may insert this startup file into your LOGIN.COM
-to set libGD environment every time you login automatically.
-
-To learn libGD please refer libGD official documentation.
-Compiling with library should be:
-
-$CC/INCL=LIBGD PROG
-$LINK PROG, LIBGD:LIBGD/OPT
-
-
-
-yours,
-Alexey Chupahin
-Rostov-on-Don, Russia
-elvis_75@mail.ru alex@rostov.rs-ultra.ru
+Dear OpenVMS user,
+
+Installation process is identical to one in *nix* world and consist to
+four simple steps:
+1. Installing required libraries
+2. Configuration
+3. Compiling
+4. Installation.
+
+
+1. Please install required libraries first:
+
+1. ZLIB 1.2 or newer
+2. PNG 1.2.12 or newer
+3. FreeType 2
+4. JPEG 6B
+
+All may be found at OpenVMS libSDL porting project site
+http://fafner.dyndns.org/~alexey/libsdl/required.html
+
+Also, system should have MMS make utility from DEC or
+free analogue MMK. And C compiler with runtime, of course. ;)
+
+
+2. Configuration is doing automatically by a configuration script:
+
+$@[.VMS]CONFIGURE
+
+The script detects hardware,system and required libraries have been installed.
+Compilation stage will be prepeared to create shared and static libraries.
+Alpha,IA64 or VAX platform are supported. Optional argument "static"
+tells to configurator to make static libraries only:
+
+$@[.VMS]CONFIGURE STATIC
+
+CONFIGURE script checks your ZLIB, FREETYPE, JPEG, PNG libraries.
+If it detects any troubles, you may get and install good and tested ones
+from OpenVMS libSDL porting project site:
+http://fafner.dyndns.org/~alexey/libsdl/required.html
+
+When success, it creates a building script named BUILD.COM
+
+3. Compilation:
+
+$@BUILD
+
+It should be error-free.
+
+When success, it creates a setup script named LIBGD$STARTUP.COM
+
+4. Setup OpenVMS environment before using libGD:
+
+$@LIBGD$STARTUP
+
+LIBGD and its utilites are ready to using.
+
+Optionally you may insert this startup file into your LOGIN.COM
+to set libGD environment every time you login automatically.
+
+To learn libGD please refer libGD official documentation.
+Compiling with library should be:
+
+$CC/INCL=LIBGD PROG
+$LINK PROG, LIBGD:LIBGD/OPT
+
+
+
+yours,
+Alexey Chupahin
+Rostov-on-Don, Russia
+elvis_75@mail.ru alex@rostov.rs-ultra.ru
diff --git a/Build/source/libs/gd/libgd-2.1.1/bootstrap.sh b/Build/source/libs/gd/libgd-src/bootstrap.sh
index dac639eeaa4..dac639eeaa4 100755
--- a/Build/source/libs/gd/libgd-2.1.1/bootstrap.sh
+++ b/Build/source/libs/gd/libgd-src/bootstrap.sh
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/AC_HEADER_STDC.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/AC_HEADER_STDC.cmake
index cf4fff83ba5..cf4fff83ba5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/AC_HEADER_STDC.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/AC_HEADER_STDC.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/CMakeParseArguments.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/CMakeParseArguments.cmake
index b57b0296d3f..b57b0296d3f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/CMakeParseArguments.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/CMakeParseArguments.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/CheckDIRSymbolExists.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/CheckDIRSymbolExists.cmake
index dde6c7f3af8..dde6c7f3af8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/CheckDIRSymbolExists.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/CheckDIRSymbolExists.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/CheckPrototypeExists.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/CheckPrototypeExists.cmake
index 85a171758bc..85a171758bc 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/CheckPrototypeExists.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/CheckPrototypeExists.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindFontConfig.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindFontConfig.cmake
index 23d0020c52e..23d0020c52e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindFontConfig.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindFontConfig.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindFreetype.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindFreetype.cmake
index 3d2a8a48088..3d2a8a48088 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindFreetype.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindFreetype.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindGD.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindGD.cmake
index 2860d6cc77f..2860d6cc77f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindGD.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindGD.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindICONV.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindICONV.cmake
index 49d5f6b95a0..49d5f6b95a0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindICONV.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindICONV.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindJPEG.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindJPEG.cmake
index bb310d65dcb..bb310d65dcb 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindJPEG.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindJPEG.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindLIQ.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake
index 08713f51704..08713f51704 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindLIQ.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindLIQ.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPNG.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindPNG.cmake
index a44affcfcc0..a44affcfcc0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPNG.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindPNG.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPTHREAD.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindPTHREAD.cmake
index 0627c6d0a44..0627c6d0a44 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPTHREAD.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindPTHREAD.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPackageHandleStandardArgs.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindPackageHandleStandardArgs.cmake
index de124acce43..de124acce43 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindPackageHandleStandardArgs.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindPackageHandleStandardArgs.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindVPX.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindVPX.cmake
index 3a8c45ed196..3a8c45ed196 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindVPX.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindVPX.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindXPM.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/FindXPM.cmake
index 9b59feaa10e..9b59feaa10e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/FindXPM.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/FindXPM.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForHighBitCharacters.c b/Build/source/libs/gd/libgd-src/cmake/modules/TestForHighBitCharacters.c
index 2be51745ac8..2be51745ac8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForHighBitCharacters.c
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/TestForHighBitCharacters.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForHighBitCharacters.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/TestForHighBitCharacters.cmake
index b1a1b908223..b1a1b908223 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForHighBitCharacters.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/TestForHighBitCharacters.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForStandardHeaderwait.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/TestForStandardHeaderwait.cmake
index d3df427f9c8..d3df427f9c8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/TestForStandardHeaderwait.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/TestForStandardHeaderwait.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/gd.cmake b/Build/source/libs/gd/libgd-src/cmake/modules/gd.cmake
index 1e846dd855d..1e846dd855d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/cmake/modules/gd.cmake
+++ b/Build/source/libs/gd/libgd-src/cmake/modules/gd.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/config/Makefile.am b/Build/source/libs/gd/libgd-src/config/Makefile.am
index 7ec5849fb68..9eac9290f2e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/config/Makefile.am
+++ b/Build/source/libs/gd/libgd-src/config/Makefile.am
@@ -1,7 +1,7 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-
-EXTRA_DIST = gdlib-config.in gdlib.pc.in
-
-bin_SCRIPTS = gdlib-config
-
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gdlib.pc
+## Process this file with automake to produce Makefile.in -*-Makefile-*-
+EXTRA_DIST = gdlib-config.in gdlib.pc.in
+
+bin_SCRIPTS = gdlib-config
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gdlib.pc
diff --git a/Build/source/libs/gd/libgd-2.1.1/config/gdlib-config.in b/Build/source/libs/gd/libgd-src/config/gdlib-config.in
index 70af36b5359..036ef726e9c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/config/gdlib-config.in
+++ b/Build/source/libs/gd/libgd-src/config/gdlib-config.in
@@ -1,96 +1,96 @@
-#!/bin/sh
-#
-# Return information about the local GD library installation
-#
-# Modeled after pdflib-config
-
-# installation directories
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-bindir=@bindir@
-
-usage()
-{
- cat <<EOF
-Print information on GD library's version, configuration, and use.
-Usage: gdlib-config [options]
-Options:
- --libdir # directory where GD library is installed
- --includedir # directory where GD library headers are installed
- --version # complete GD library version string
- --majorversion # GD library major version number
- --minorversion # GD library minor version number
- --revision # GD library revision version number
- --ldflags # options required for linking against GD library
- --libs # libs required for linking against GD library
- --cflags # options required for compiling GD library apps
- --includes # same as --cflags
- --features # lists features compiled into gd, separated by spaces.
- # Currently (as of @VERSION@) the optional features
- # are GD_PNG, GD_JPEG, GD_XPM, GD_FREETYPE, and
- # GD_FONTCONFIG. When these features are reported by
- # --features, it is safe to include calls to the
- # related functions in your code.
- --all # print a summary of all GD library configure options
-EOF
- exit $1
-}
-
-if test $# -eq 0; then
- usage 1 1>&2
-fi
-
-while test $# -gt 0; do
- case "$1" in
- -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- *) optarg= ;;
- esac
-
- case $1 in
- --libdir)
- echo $libdir
- ;;
- --includedir)
- echo $includedir
- ;;
- --version)
- echo @VERSION@
- ;;
- --majorversion)
- echo @GDLIB_MAJOR@
- ;;
- --minorversion)
- echo @GDLIB_MINOR@
- ;;
- --revision)
- echo @GDLIB_REVISION@
- ;;
- --ldflags)
- echo @LDFLAGS@
- ;;
- --libs)
- echo -lgd @LIBS@ @LIBICONV@
- ;;
- --cflags|--includes)
- echo -I@includedir@
- ;;
- --features)
- echo @FEATURES@
- ;;
- --all)
- echo "GD library @VERSION@"
- echo "includedir: $includedir"
- echo "cflags: -I@includedir@"
- echo "ldflags: @LDFLAGS@"
- echo "libs: @LIBS@ @LIBICONV@"
- echo "libdir: $libdir"
- echo "features: @FEATURES@"
- ;;
- *)
- usage 1 1>&2
- ;;
- esac
- shift
-done
+#!/bin/sh
+#
+# Return information about the local GD library installation
+#
+# Modeled after pdflib-config
+
+# installation directories
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+bindir=@bindir@
+
+usage()
+{
+ cat <<EOF
+Print information on GD library's version, configuration, and use.
+Usage: gdlib-config [options]
+Options:
+ --libdir # directory where GD library is installed
+ --includedir # directory where GD library headers are installed
+ --version # complete GD library version string
+ --majorversion # GD library major version number
+ --minorversion # GD library minor version number
+ --revision # GD library revision version number
+ --ldflags # options required for linking against GD library
+ --libs # libs required for linking against GD library
+ --cflags # options required for compiling GD library apps
+ --includes # same as --cflags
+ --features # lists features compiled into gd, separated by spaces.
+ # Currently (as of @VERSION@) the optional features
+ # are GD_PNG, GD_JPEG, GD_XPM, GD_FREETYPE, and
+ # GD_FONTCONFIG. When these features are reported by
+ # --features, it is safe to include calls to the
+ # related functions in your code.
+ --all # print a summary of all GD library configure options
+EOF
+ exit $1
+}
+
+if test $# -eq 0; then
+ usage 1 1>&2
+fi
+
+while test $# -gt 0; do
+ case "$1" in
+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+ esac
+
+ case $1 in
+ --libdir)
+ echo $libdir
+ ;;
+ --includedir)
+ echo $includedir
+ ;;
+ --version)
+ echo @VERSION@
+ ;;
+ --majorversion)
+ echo @GDLIB_MAJOR@
+ ;;
+ --minorversion)
+ echo @GDLIB_MINOR@
+ ;;
+ --revision)
+ echo @GDLIB_REVISION@
+ ;;
+ --ldflags)
+ echo @LDFLAGS@
+ ;;
+ --libs)
+ echo -lgd @LIBS@ @LIBICONV@
+ ;;
+ --cflags|--includes)
+ echo -I@includedir@
+ ;;
+ --features)
+ echo @FEATURES@
+ ;;
+ --all)
+ echo "GD library @VERSION@"
+ echo "includedir: $includedir"
+ echo "cflags: -I@includedir@"
+ echo "ldflags: @LDFLAGS@"
+ echo "libs: @LIBS@ @LIBICONV@"
+ echo "libdir: $libdir"
+ echo "features: @FEATURES@"
+ ;;
+ *)
+ usage 1 1>&2
+ ;;
+ esac
+ shift
+done
diff --git a/Build/source/libs/gd/libgd-2.1.1/config/gdlib.pc.in b/Build/source/libs/gd/libgd-src/config/gdlib.pc.in
index b980a606902..c01336c1f44 100644
--- a/Build/source/libs/gd/libgd-2.1.1/config/gdlib.pc.in
+++ b/Build/source/libs/gd/libgd-src/config/gdlib.pc.in
@@ -1,11 +1,11 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-
-Name: gd
-Description: GD graphics library
-Version: @VERSION@
-Cflags: -I${includedir}
-Libs.private: @LIBS@ @LIBICONV@
-Libs: -L${libdir} -lgd
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: gd
+Description: GD graphics library
+Version: @VERSION@
+Cflags: -I${includedir}
+Libs.private: @LIBS@ @LIBICONV@
+Libs: -L${libdir} -lgd
diff --git a/Build/source/libs/gd/libgd-2.1.1/configure.ac b/Build/source/libs/gd/libgd-src/configure.ac
index 1024a3a5ad6..50acc00c6a0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/configure.ac
+++ b/Build/source/libs/gd/libgd-src/configure.ac
@@ -1,463 +1,463 @@
-# Process this file with autoconf to produce a configure script.
-# Configure template for gd library
-
-AC_PREREQ(2.54)
-
-# We extract version numbers from src/versions.h
-define([gv],[perl config/getver.pl ]$1)
-
-m4_define([gd_MAJOR],esyscmd(gv(MAJOR)))dnl
-m4_define([gd_MINOR],esyscmd(gv(MINOR)))dnl
-m4_define([gd_REVISION],esyscmd(gv(RELEASE)))dnl
-m4_define([gd_EXTRA],esyscmd(gv(EXTRA)))dnl
-m4_define([gd_PKG_VERSION],[gd_MAJOR.gd_MINOR.gd_REVISION]gd_EXTRA)]dnl
-
-AC_INIT([GD], gd_PKG_VERSION, [https://bitbucket.org/libgd/gd-libgd/issues], [libgd], [http://lib.gd])
-AC_CONFIG_SRCDIR([src/gd.c])
-AC_CONFIG_AUX_DIR(config)
-AC_CONFIG_MACRO_DIR([m4])
-AC_CANONICAL_HOST
-
-# This is not used anywhere. However, Makefile.netware searches
-# through configure for these definitions to find the version numbers.
-# (Assuming anyone still uses Netware, that should be changed to use
-# gd.h via getver.pl instead.)
-GDLIB_MAJOR=gd_MAJOR
-GDLIB_MINOR=gd_MINOR
-GDLIB_REVISION=gd_REVISION
-GDLIB_EXTRA=gd_EXTRA
-GDLIB_VERSION=gd_PKG_VERSION
-
-# Dynamic library version information
-# See http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
-
-GDLIB_CURRENT=3
-GDLIB_REVISION=0
-GDLIB_AGE=0
-AC_SUBST(GDLIB_CURRENT)
-AC_SUBST(GDLIB_REVISION)
-AC_SUBST(GDLIB_AGE)
-
-#Expanded by tests later in this file. TBB 2.0.26
-#2.0.28: GIF is standard now. Doesn't depend on anything else,
-#so we always build it.
-FEATURES="GD_GIF GD_GIFANIM GD_OPENPOLYGON"
-AC_SUBST(FEATURES)
-
-AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-xz -Wall -Werror subdir-objects])
-AC_CONFIG_HEADERS([src/config.h:src/config.hin])
-
-dnl newer automake wants this, but we still want to work with older
-m4_ifndef([AM_PROG_AR],[m4_define([AM_PROG_AR],[:])])
-AM_PROG_AR
-
-AC_PROG_CC_STDC
-AM_PROG_CC_C_O
-AC_PROG_INSTALL
-AC_PROG_LIBTOOL
-AC_PROG_LN_S
-AC_PROG_MAKE_SET
-LT_INIT([win32-dll])
-PKG_PROG_PKG_CONFIG
-
-dnl may be required for freetype and Xpm
-AC_PATH_X
-
-if test -n "$x_includes" && test "x$x_includes" != xNONE ; then
- CFLAGS="$CFLAGS -I$x_includes"
-fi
-if test -n "$x_libraries" && test "x$x_libraries" != xNONE ; then
- LDFLAGS="$LDFLAGS -L$x_libraries"
-fi
-
-AC_HEADER_STDC
-AC_CHECK_HEADERS([errno.h limits.h stddef.h stdlib.h string.h unistd.h])
-
-dnl if we're configuring on a system w/out gettext, don't fall over
-m4_ifndef([AM_ICONV],[m4_define([AM_ICONV],[:])])
-AM_ICONV
-# if test -n "$LIBICONV" ; then
-# LIBS="$LIBS $LIBICONV"
-# fi
-
-AC_CHECK_HEADERS(iconv.h,
- [AC_MSG_CHECKING(whether iconv.h defines iconv_t)
- AC_EGREP_HEADER([typedef.*iconv_t],iconv.h,
- [AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_ICONV_T_DEF, 1,
- [Define if <iconv.h> defines iconv_t.])],
- AC_MSG_RESULT(no))])
-
-# Checks for typedefs, structures, and compiler characteristics.
-#AC_C_CONST
-#AC_TYPE_SIZE_T
-
-# Checks for library functions.
-#AC_FUNC_ERROR_AT_LINE
-#AC_FUNC_MALLOC
-#AC_FUNC_REALLOC
-#AC_FUNC_VPRINTF
-#AC_CHECK_FUNCS([floor memset sqrt strchr strdup strtol])
-
-dnl do we need to specify -lm explicitly?
-AC_CHECK_FUNC(sin,,[AC_CHECK_LIB(m,sin)])
-
-dnl zlib is required
-AC_ARG_WITH(zlib,
-[ --with-zlib=DIR where to find the zlib library])
-if test "$with_zlib" != no; then
- AC_CHECK_LIB(z,deflate,
- [LIBS="-lz $LIBS"
- AC_DEFINE(HAVE_LIBZ, 1, [Define if you have zlib.])
- with_zlib=yes],
- [AC_MSG_WARN([zlib is required - see http://www.gzip.org/zlib/])
- with_zlib=no])
-fi
-AM_CONDITIONAL([HAVE_LIBZ], test "$with_zlib" = yes)
-
-dnl libpng is required
-AC_ARG_WITH(png,dnl
-[ --with-png=DIR where to find the png library])
-
-case $with_png in
-no) ;;
-yes|"")
- PKG_CHECK_MODULES([LIBPNG], libpng, [
- with_png=yes
- ],[
- if test "$with_png" = yes; then
- AC_MSG_ERROR([png support requested, but not found - see http://www.libpng.org/pub/png/])
- fi
- with_png=no
- ])
- ;;
-*)
- AC_MSG_CHECKING([libpng-config script])
- LIBPNG_CONFIG=$with_png/bin/libpng-config
- if test -e "$LIBPNG_CONFIG"; then
- LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags`
- LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags`
- with_png=yes
- AC_MSG_RESULT([$LIBPNG_CONFIG, cflags: $LIBPNG_CFLAGS, libs: $LIBPNG_LIBS])
- else
- AC_MSG_ERROR([png support requested, but not found at requested location: $LIBPNG_CONFIG])
- fi
- ;;
-esac
-if test "$with_png" != no; then
- CPPFLAGS="$CPPFLAGS $LIBPNG_CFLAGS"
- LIBS="$LIBS $LIBPNG_LIBS"
- FEATURES="GD_PNG $FEATURES"
- AC_DEFINE(HAVE_LIBPNG, 1, [Define if you have the png library.])
-fi
-AM_CONDITIONAL([HAVE_LIBPNG], test "$with_png" = yes)
-
-dnl FreeType configure tests snarfed from libwmf ..
-AC_ARG_WITH(freetype,dnl
-[ --with-freetype=DIR where to find the freetype 2.x library]])
-
-case $with_freetype in
-no) ;;
-yes|"")
- dnl All freetype2 versions are numerically much larger than the actual
- dnl version number you see in the tarball. This is because the number
- dnl corresponds to the shared library version rather than the release.
- dnl 9.8.3 is the version that freetype2-2.1.10 used.
- PKG_CHECK_MODULES([LIBFREETYPE], [freetype2 >= 9.8.3], [
- with_freetype=yes
- ],[
- if test "$with_freetype" = yes; then
- AC_MSG_ERROR([freetype support requested, but not found])
- fi
- with_freetype=no
- ])
- ;;
-*)
- FREETYPE_CONFIG=$with_freetype/bin/freetype-config
- if test -e "$FREETYPE_CONFIG"; then
- LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
- LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
- with_freetype=yes
- else
- AC_MSG_ERROR([freetype support requested, but not found: $FREETYPE_CONFIG])
- fi
- ;;
-esac
-if test "$with_freetype" = yes; then
- CPPFLAGS="$CPPFLAGS $LIBFREETYPE_CFLAGS"
- LIBS="$LIBS $LIBFREETYPE_LIBS"
- FEATURES="GD_FREETYPE $FEATURES"
- AC_DEFINE(HAVE_LIBFREETYPE, 1, [Define if you have the freetype library.])
- AC_DEFINE(HAVE_FT2BUILD_H, 1, [Define if you have the ft2build.h header.])
-fi
-AM_CONDITIONAL([HAVE_LIBFREETYPE], test "$with_freetype" = yes)
-
-dnl check for libfontconfig by default
-AC_ARG_WITH(fontconfig,dnl
-[ --with-fontconfig=DIR where to find the fontconfig library])
-
-case $with_fontconfig in
-no) ;;
-yes|"")
- PKG_CHECK_MODULES([LIBFONTCONFIG], fontconfig, [with_fontconfig=yes],
- [
- if test "$with_fontconfig" = yes; then
- AC_MSG_ERROR([fontconfig support requested, but not found])
- fi
- with_fontconfig=no
- ])
- ;;
-*)
- save_LIBS="$LIBS"
- save_CPPFLAGS="$CPPFLAGS"
-
- if test -d "$with_fontconfig"; then
- LIBFONTCONFIG_CFLAGS="-I$with_fontconfig/include"
- LIBFONTCONFIG_LIBS="-L$with_fontconfig/lib"
- fi
-
- CPPFLAGS="$CPPFLAGS $LIBFONTCONFIG_CFLAGS"
- LIBS="$LIBS $LIBFONTCONFIG_LIBS"
-
- AC_CHECK_LIB(fontconfig, FcInit,
- [
- LIBFONTCONFIG_LIBS="$LIBFONTCONFIG_LIBS -lfontconfig"
- with_fontconfig=yes
- ],[
- if test "$with_fontconfig" != ""; then
- AC_MSG_ERROR([fontconfig support requested, but not found])
- else
- with_fontconfig=no
- fi
- ])
-
- CPPFLAGS="$save_CPPFLAGS"
- LIBS="$save_LIBS"
- ;;
-esac
-
-if test "$with_fontconfig" != no; then
- CPPFLAGS="$CPPFLAGS $LIBFONTCONFIG_CFLAGS"
- LIBS="$LIBS $LIBFONTCONFIG_LIBS -lfontconfig"
- FEATURES="GD_FONTCONFIG $FEATURES"
- AC_DEFINE(HAVE_LIBFONTCONFIG, 1, [ Define if you have the fontconfig library. ])
-fi
-AM_CONDITIONAL([HAVE_LIBFONTCONFIG], test "$with_fontconfig" = yes)
-
-dnl check for libjpeg by default
-AC_ARG_WITH(jpeg,dnl
-[ --with-jpeg=DIR where to find the jpeg library],
- [if test -d "$withval"; then
- LDFLAGS="$LDFLAGS -L$withval/lib"
- CFLAGS="$CFLAGS -I$withval/include"
- fi],
- withval=yes)
-
-if test "$withval" != no; then
- AC_CHECK_LIB(jpeg,jpeg_set_defaults,
- [LIBS="-ljpeg $LIBS"
- FEATURES="GD_JPEG $FEATURES"
- AC_DEFINE(HAVE_LIBJPEG, 1, [ Define if you have the jpeg library. ])])
-else
- ac_cv_lib_jpeg_jpeg_set_defaults=no
-fi
-AM_CONDITIONAL([HAVE_LIBJPEG], test "$ac_cv_lib_jpeg_jpeg_set_defaults" = yes)
-
-dnl check for libXpm by default
-AC_ARG_WITH(xpm,dnl
-[ --with-xpm=DIR where to find the xpm library])
-
-case $with_xpm in
-no) ;;
-yes|"")
- PKG_CHECK_MODULES([LIBXPM], xpm, [with_xpm=yes],
- [
- if test "$with_xpm" = yes; then
- AC_MSG_ERROR([Xpm support requested, but not found])
- fi
- with_xpm=no
- ])
- ;;
-*)
- save_LIBS="$LIBS"
- save_CPPFLAGS="$CPPFLAGS"
-
- if test -d "$with_xpm"; then
- LIBXPM_CFLAGS="-I$with_xpm/include"
- LIBXPM_LIBS="-L$with_xpm/lib -lXpm"
- fi
-
- CPPFLAGS="$CPPFLAGS $LIBXPM_CFLAGS"
- LIBS="$LIBS $LIBXPM_LIBS"
-
- AC_CHECK_LIB(Xpm,XpmReadFileToXpmImage,
- [
- if test -z "$LIBXPM_LIBS"; then
- LIBXPM_LIBS="-lXpm"
- fi
- with_xpm=yes
- ],[
- if test "$with_xpm" != ""; then
- AC_MSG_ERROR([Xpm support requested, but not found])
- else
- with_xpm=no
- fi
- ])
-
- CPPFLAGS="$save_CPPFLAGS"
- LIBS="$save_LIBS"
- ;;
-esac
-
-if test "$with_xpm" != no; then
- CPPFLAGS="$CPPFLAGS $LIBXPM_CFLAGS"
- LIBS="$LIBS $LIBXPM_LIBS"
- FEATURES="GD_XPM $FEATURES"
- AC_DEFINE(HAVE_LIBXPM, 1, [ Define if you have the Xpm library. ])
-fi
-AM_CONDITIONAL([HAVE_LIBXPM], test "$with_xpm" = yes)
-
-dnl check for libvpx by default
-AC_ARG_WITH(vpx,dnl
-[ --with-vpx=DIR where to find the vpx library])
-
-case $with_vpx in
-no) ;;
-yes|"")
- PKG_CHECK_MODULES([LIBVPX], vpx, [with_vpx=yes],
- [
- PKG_CHECK_MODULES([LIBVPX], libvpx, [with_vpx=yes],
- [
- if test "$with_vpx" = yes; then
- AC_MSG_ERROR([VPX support requested, but not found])
- fi
- with_vpx=no
- ])
- ])
- ;;
-*)
- save_LIBS="$LIBS"
- save_CPPFLAGS="$CPPFLAGS"
-
- if test -d "$with_vpx"; then
- LIBVPX_CFLAGS="-I$with_vpx/include"
- LIBVPX_LIBS="-L$with_vpx/lib -lvpx"
- fi
-
- CPPFLAGS="$CPPFLAGS $LIBVPX_CFLAGS"
- LIBS="$LIBS $LIBVPX_LIBS"
-
- AC_CHECK_LIB(vpx,vpx_codec_destroy,
- [
- if test -z "$LIBVPX_LIBS"; then
- LIBVPX_LIBS="-lvpx"
- fi
- with_vpx=yes
- ],[
- if test "$with_vpx" != ""; then
- AC_MSG_ERROR([vpx support requested, but not found])
- else
- with_vpx=no
- fi
- ])
-
- CPPFLAGS="$save_CPPFLAGS"
- LIBS="$save_LIBS"
- ;;
-esac
-
-if test "$with_vpx" != no; then
- CPPFLAGS="$CPPFLAGS $LIBVPX_CFLAGS"
- LIBS="$LIBS $LIBVPX_LIBS"
- FEATURES="GD_VPX $FEATURES"
- AC_DEFINE(HAVE_LIBVPX, 1, [ Define if you have the VPX library. ])
-fi
-AM_CONDITIONAL([HAVE_LIBVPX], test "$with_vpx" = yes)
-
-dnl check for libtiff by default
-AC_ARG_WITH(tiff,dnl
-[ --with-tiff=DIR where to find the TIFF library])
-
-case $with_tiff in
-no) ;;
-yes|"")
- PKG_CHECK_MODULES([LIBTIFF], libtiff-4, [with_tiff=yes],
- [
- if test "$with_tiff" = yes; then
- AC_MSG_ERROR([TIFF support requested, but not found])
- fi
- with_tiff=no
- ])
- ;;
-*)
- save_CPPFLAGS="$CPPFLAGS"
- save_LIBS="$LIBS"
-
- if test -d "$with_tiff"; then
- LIBTIFF_CFLAGS="-I$with_tiff/include"
- LIBTIFF_LIBS="-L$with_tiff/lib"
- fi
-
- CPPFLAGS="$CPPFLAGS $LIBTIFF_CFLAGS"
- LIBS="$LIBS $LIBTIFF_LIBS"
-
- AC_CHECK_LIB(tiff,TIFFClientOpen,
- [
- LIBTIFF_LIBS="$LIBTIFF_LIBS -ltiff"
- with_tiff=yes
- ],[
- if test "$with_tiff" != ""; then
- AC_MSG_ERROR([tiff support requested, but not found])
- else
- with_tiff=no
- fi
- ])
-
- CPPFLAGS="$save_CPPFLAGS"
- LIBS="$save_LIBS"
- ;;
-esac
-
-if test "$with_tiff" != no; then
- CPPFLAGS="$CPPFLAGS $LIBTIFF_CFLAGS"
- LIBS="$LIBS $LIBTIFF_LIBS"
- FEATURES="GD_TIFF $FEATURES"
- AC_DEFINE(HAVE_LIBTIFF, 1, [ Define if you have the Tiff library. ])
-fi
-AM_CONDITIONAL([HAVE_LIBTIFF], test "$with_tiff" = yes)
-
-gl_VISIBILITY()
-CFLAGS="$CFLAGS $CFLAG_VISIBILITY"
-
-AX_PTHREAD()
-
-MINGW_AC_WIN32_NATIVE_HOST()
-
-if test "$mingw_cv_win32_host" = yes; then
-AC_DEFINE([BGDWIN32], [], [Define is you are building for Win32 API])
-fi
-
-dnl report configuration
-AC_MSG_RESULT([
-** Configuration summary for $PACKAGE $VERSION:
-
- Support for Zlib: $with_zlib
- Support for PNG library: $with_png
- Support for JPEG library: $ac_cv_lib_jpeg_jpeg_set_defaults
- Support for VPX library: $with_vpx
- Support for TIFF library: $with_tiff
- Support for Freetype 2.x library: $with_freetype
- Support for Fontconfig library: $with_fontconfig
- Support for Xpm library: $with_xpm
- Support for pthreads: $ax_pthread_ok
-])
-
-AC_CONFIG_FILES([Makefile
- src/Makefile
- tests/Makefile
- tests/test_config.h
- config/Makefile
- config/gdlib-config
- config/gdlib.pc])
-
-AC_OUTPUT
+# Process this file with autoconf to produce a configure script.
+# Configure template for gd library
+
+AC_PREREQ(2.54)
+
+# We extract version numbers from src/versions.h
+define([gv],[perl config/getver.pl ]$1)
+
+m4_define([gd_MAJOR],esyscmd(gv(MAJOR)))dnl
+m4_define([gd_MINOR],esyscmd(gv(MINOR)))dnl
+m4_define([gd_REVISION],esyscmd(gv(RELEASE)))dnl
+m4_define([gd_EXTRA],esyscmd(gv(EXTRA)))dnl
+m4_define([gd_PKG_VERSION],[gd_MAJOR.gd_MINOR.gd_REVISION]gd_EXTRA)]dnl
+
+AC_INIT([GD], gd_PKG_VERSION, [https://bitbucket.org/libgd/gd-libgd/issues], [libgd], [http://lib.gd])
+AC_CONFIG_SRCDIR([src/gd.c])
+AC_CONFIG_AUX_DIR(config)
+AC_CONFIG_MACRO_DIR([m4])
+AC_CANONICAL_HOST
+
+# This is not used anywhere. However, Makefile.netware searches
+# through configure for these definitions to find the version numbers.
+# (Assuming anyone still uses Netware, that should be changed to use
+# gd.h via getver.pl instead.)
+GDLIB_MAJOR=gd_MAJOR
+GDLIB_MINOR=gd_MINOR
+GDLIB_REVISION=gd_REVISION
+GDLIB_EXTRA=gd_EXTRA
+GDLIB_VERSION=gd_PKG_VERSION
+
+# Dynamic library version information
+# See http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
+
+GDLIB_CURRENT=3
+GDLIB_REVISION=0
+GDLIB_AGE=0
+AC_SUBST(GDLIB_CURRENT)
+AC_SUBST(GDLIB_REVISION)
+AC_SUBST(GDLIB_AGE)
+
+#Expanded by tests later in this file. TBB 2.0.26
+#2.0.28: GIF is standard now. Doesn't depend on anything else,
+#so we always build it.
+FEATURES="GD_GIF GD_GIFANIM GD_OPENPOLYGON"
+AC_SUBST(FEATURES)
+
+AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-xz -Wall -Werror subdir-objects])
+AC_CONFIG_HEADERS([src/config.h:src/config.hin])
+
+dnl newer automake wants this, but we still want to work with older
+m4_ifndef([AM_PROG_AR],[m4_define([AM_PROG_AR],[:])])
+AM_PROG_AR
+
+AC_PROG_CC_STDC
+AM_PROG_CC_C_O
+AC_PROG_INSTALL
+AC_PROG_LIBTOOL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+LT_INIT([win32-dll])
+PKG_PROG_PKG_CONFIG
+
+dnl may be required for freetype and Xpm
+AC_PATH_X
+
+if test -n "$x_includes" && test "x$x_includes" != xNONE ; then
+ CFLAGS="$CFLAGS -I$x_includes"
+fi
+if test -n "$x_libraries" && test "x$x_libraries" != xNONE ; then
+ LDFLAGS="$LDFLAGS -L$x_libraries"
+fi
+
+AC_HEADER_STDC
+AC_CHECK_HEADERS([errno.h limits.h stddef.h stdlib.h string.h unistd.h])
+
+dnl if we're configuring on a system w/out gettext, don't fall over
+m4_ifndef([AM_ICONV],[m4_define([AM_ICONV],[:])])
+AM_ICONV
+# if test -n "$LIBICONV" ; then
+# LIBS="$LIBS $LIBICONV"
+# fi
+
+AC_CHECK_HEADERS(iconv.h,
+ [AC_MSG_CHECKING(whether iconv.h defines iconv_t)
+ AC_EGREP_HEADER([typedef.*iconv_t],iconv.h,
+ [AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_ICONV_T_DEF, 1,
+ [Define if <iconv.h> defines iconv_t.])],
+ AC_MSG_RESULT(no))])
+
+# Checks for typedefs, structures, and compiler characteristics.
+#AC_C_CONST
+#AC_TYPE_SIZE_T
+
+# Checks for library functions.
+#AC_FUNC_ERROR_AT_LINE
+#AC_FUNC_MALLOC
+#AC_FUNC_REALLOC
+#AC_FUNC_VPRINTF
+#AC_CHECK_FUNCS([floor memset sqrt strchr strdup strtol])
+
+dnl do we need to specify -lm explicitly?
+AC_CHECK_FUNC(sin,,[AC_CHECK_LIB(m,sin)])
+
+dnl zlib is required
+AC_ARG_WITH(zlib,
+[ --with-zlib=DIR where to find the zlib library])
+if test "$with_zlib" != no; then
+ AC_CHECK_LIB(z,deflate,
+ [LIBS="-lz $LIBS"
+ AC_DEFINE(HAVE_LIBZ, 1, [Define if you have zlib.])
+ with_zlib=yes],
+ [AC_MSG_WARN([zlib is required - see http://www.gzip.org/zlib/])
+ with_zlib=no])
+fi
+AM_CONDITIONAL([HAVE_LIBZ], test "$with_zlib" = yes)
+
+dnl libpng is required
+AC_ARG_WITH(png,dnl
+[ --with-png=DIR where to find the png library])
+
+case $with_png in
+no) ;;
+yes|"")
+ PKG_CHECK_MODULES([LIBPNG], libpng, [
+ with_png=yes
+ ],[
+ if test "$with_png" = yes; then
+ AC_MSG_ERROR([png support requested, but not found - see http://www.libpng.org/pub/png/])
+ fi
+ with_png=no
+ ])
+ ;;
+*)
+ AC_MSG_CHECKING([libpng-config script])
+ LIBPNG_CONFIG=$with_png/bin/libpng-config
+ if test -e "$LIBPNG_CONFIG"; then
+ LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags`
+ LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags`
+ with_png=yes
+ AC_MSG_RESULT([$LIBPNG_CONFIG, cflags: $LIBPNG_CFLAGS, libs: $LIBPNG_LIBS])
+ else
+ AC_MSG_ERROR([png support requested, but not found at requested location: $LIBPNG_CONFIG])
+ fi
+ ;;
+esac
+if test "$with_png" != no; then
+ CPPFLAGS="$CPPFLAGS $LIBPNG_CFLAGS"
+ LIBS="$LIBS $LIBPNG_LIBS"
+ FEATURES="GD_PNG $FEATURES"
+ AC_DEFINE(HAVE_LIBPNG, 1, [Define if you have the png library.])
+fi
+AM_CONDITIONAL([HAVE_LIBPNG], test "$with_png" = yes)
+
+dnl FreeType configure tests snarfed from libwmf ..
+AC_ARG_WITH(freetype,dnl
+[ --with-freetype=DIR where to find the freetype 2.x library]])
+
+case $with_freetype in
+no) ;;
+yes|"")
+ dnl All freetype2 versions are numerically much larger than the actual
+ dnl version number you see in the tarball. This is because the number
+ dnl corresponds to the shared library version rather than the release.
+ dnl 9.8.3 is the version that freetype2-2.1.10 used.
+ PKG_CHECK_MODULES([LIBFREETYPE], [freetype2 >= 9.8.3], [
+ with_freetype=yes
+ ],[
+ if test "$with_freetype" = yes; then
+ AC_MSG_ERROR([freetype support requested, but not found])
+ fi
+ with_freetype=no
+ ])
+ ;;
+*)
+ FREETYPE_CONFIG=$with_freetype/bin/freetype-config
+ if test -e "$FREETYPE_CONFIG"; then
+ LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags`
+ LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs`
+ with_freetype=yes
+ else
+ AC_MSG_ERROR([freetype support requested, but not found: $FREETYPE_CONFIG])
+ fi
+ ;;
+esac
+if test "$with_freetype" = yes; then
+ CPPFLAGS="$CPPFLAGS $LIBFREETYPE_CFLAGS"
+ LIBS="$LIBS $LIBFREETYPE_LIBS"
+ FEATURES="GD_FREETYPE $FEATURES"
+ AC_DEFINE(HAVE_LIBFREETYPE, 1, [Define if you have the freetype library.])
+ AC_DEFINE(HAVE_FT2BUILD_H, 1, [Define if you have the ft2build.h header.])
+fi
+AM_CONDITIONAL([HAVE_LIBFREETYPE], test "$with_freetype" = yes)
+
+dnl check for libfontconfig by default
+AC_ARG_WITH(fontconfig,dnl
+[ --with-fontconfig=DIR where to find the fontconfig library])
+
+case $with_fontconfig in
+no) ;;
+yes|"")
+ PKG_CHECK_MODULES([LIBFONTCONFIG], fontconfig, [with_fontconfig=yes],
+ [
+ if test "$with_fontconfig" = yes; then
+ AC_MSG_ERROR([fontconfig support requested, but not found])
+ fi
+ with_fontconfig=no
+ ])
+ ;;
+*)
+ save_LIBS="$LIBS"
+ save_CPPFLAGS="$CPPFLAGS"
+
+ if test -d "$with_fontconfig"; then
+ LIBFONTCONFIG_CFLAGS="-I$with_fontconfig/include"
+ LIBFONTCONFIG_LIBS="-L$with_fontconfig/lib"
+ fi
+
+ CPPFLAGS="$CPPFLAGS $LIBFONTCONFIG_CFLAGS"
+ LIBS="$LIBS $LIBFONTCONFIG_LIBS"
+
+ AC_CHECK_LIB(fontconfig, FcInit,
+ [
+ LIBFONTCONFIG_LIBS="$LIBFONTCONFIG_LIBS -lfontconfig"
+ with_fontconfig=yes
+ ],[
+ if test "$with_fontconfig" != ""; then
+ AC_MSG_ERROR([fontconfig support requested, but not found])
+ else
+ with_fontconfig=no
+ fi
+ ])
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+esac
+
+if test "$with_fontconfig" != no; then
+ CPPFLAGS="$CPPFLAGS $LIBFONTCONFIG_CFLAGS"
+ LIBS="$LIBS $LIBFONTCONFIG_LIBS -lfontconfig"
+ FEATURES="GD_FONTCONFIG $FEATURES"
+ AC_DEFINE(HAVE_LIBFONTCONFIG, 1, [ Define if you have the fontconfig library. ])
+fi
+AM_CONDITIONAL([HAVE_LIBFONTCONFIG], test "$with_fontconfig" = yes)
+
+dnl check for libjpeg by default
+AC_ARG_WITH(jpeg,dnl
+[ --with-jpeg=DIR where to find the jpeg library],
+ [if test -d "$withval"; then
+ LDFLAGS="$LDFLAGS -L$withval/lib"
+ CFLAGS="$CFLAGS -I$withval/include"
+ fi],
+ withval=yes)
+
+if test "$withval" != no; then
+ AC_CHECK_LIB(jpeg,jpeg_set_defaults,
+ [LIBS="-ljpeg $LIBS"
+ FEATURES="GD_JPEG $FEATURES"
+ AC_DEFINE(HAVE_LIBJPEG, 1, [ Define if you have the jpeg library. ])])
+else
+ ac_cv_lib_jpeg_jpeg_set_defaults=no
+fi
+AM_CONDITIONAL([HAVE_LIBJPEG], test "$ac_cv_lib_jpeg_jpeg_set_defaults" = yes)
+
+dnl check for libXpm by default
+AC_ARG_WITH(xpm,dnl
+[ --with-xpm=DIR where to find the xpm library])
+
+case $with_xpm in
+no) ;;
+yes|"")
+ PKG_CHECK_MODULES([LIBXPM], xpm, [with_xpm=yes],
+ [
+ if test "$with_xpm" = yes; then
+ AC_MSG_ERROR([Xpm support requested, but not found])
+ fi
+ with_xpm=no
+ ])
+ ;;
+*)
+ save_LIBS="$LIBS"
+ save_CPPFLAGS="$CPPFLAGS"
+
+ if test -d "$with_xpm"; then
+ LIBXPM_CFLAGS="-I$with_xpm/include"
+ LIBXPM_LIBS="-L$with_xpm/lib -lXpm"
+ fi
+
+ CPPFLAGS="$CPPFLAGS $LIBXPM_CFLAGS"
+ LIBS="$LIBS $LIBXPM_LIBS"
+
+ AC_CHECK_LIB(Xpm,XpmReadFileToXpmImage,
+ [
+ if test -z "$LIBXPM_LIBS"; then
+ LIBXPM_LIBS="-lXpm"
+ fi
+ with_xpm=yes
+ ],[
+ if test "$with_xpm" != ""; then
+ AC_MSG_ERROR([Xpm support requested, but not found])
+ else
+ with_xpm=no
+ fi
+ ])
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+esac
+
+if test "$with_xpm" != no; then
+ CPPFLAGS="$CPPFLAGS $LIBXPM_CFLAGS"
+ LIBS="$LIBS $LIBXPM_LIBS"
+ FEATURES="GD_XPM $FEATURES"
+ AC_DEFINE(HAVE_LIBXPM, 1, [ Define if you have the Xpm library. ])
+fi
+AM_CONDITIONAL([HAVE_LIBXPM], test "$with_xpm" = yes)
+
+dnl check for libvpx by default
+AC_ARG_WITH(vpx,dnl
+[ --with-vpx=DIR where to find the vpx library])
+
+case $with_vpx in
+no) ;;
+yes|"")
+ PKG_CHECK_MODULES([LIBVPX], vpx, [with_vpx=yes],
+ [
+ PKG_CHECK_MODULES([LIBVPX], libvpx, [with_vpx=yes],
+ [
+ if test "$with_vpx" = yes; then
+ AC_MSG_ERROR([VPX support requested, but not found])
+ fi
+ with_vpx=no
+ ])
+ ])
+ ;;
+*)
+ save_LIBS="$LIBS"
+ save_CPPFLAGS="$CPPFLAGS"
+
+ if test -d "$with_vpx"; then
+ LIBVPX_CFLAGS="-I$with_vpx/include"
+ LIBVPX_LIBS="-L$with_vpx/lib -lvpx"
+ fi
+
+ CPPFLAGS="$CPPFLAGS $LIBVPX_CFLAGS"
+ LIBS="$LIBS $LIBVPX_LIBS"
+
+ AC_CHECK_LIB(vpx,vpx_codec_destroy,
+ [
+ if test -z "$LIBVPX_LIBS"; then
+ LIBVPX_LIBS="-lvpx"
+ fi
+ with_vpx=yes
+ ],[
+ if test "$with_vpx" != ""; then
+ AC_MSG_ERROR([vpx support requested, but not found])
+ else
+ with_vpx=no
+ fi
+ ])
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+esac
+
+if test "$with_vpx" != no; then
+ CPPFLAGS="$CPPFLAGS $LIBVPX_CFLAGS"
+ LIBS="$LIBS $LIBVPX_LIBS"
+ FEATURES="GD_VPX $FEATURES"
+ AC_DEFINE(HAVE_LIBVPX, 1, [ Define if you have the VPX library. ])
+fi
+AM_CONDITIONAL([HAVE_LIBVPX], test "$with_vpx" = yes)
+
+dnl check for libtiff by default
+AC_ARG_WITH(tiff,dnl
+[ --with-tiff=DIR where to find the TIFF library])
+
+case $with_tiff in
+no) ;;
+yes|"")
+ PKG_CHECK_MODULES([LIBTIFF], libtiff-4, [with_tiff=yes],
+ [
+ if test "$with_tiff" = yes; then
+ AC_MSG_ERROR([TIFF support requested, but not found])
+ fi
+ with_tiff=no
+ ])
+ ;;
+*)
+ save_CPPFLAGS="$CPPFLAGS"
+ save_LIBS="$LIBS"
+
+ if test -d "$with_tiff"; then
+ LIBTIFF_CFLAGS="-I$with_tiff/include"
+ LIBTIFF_LIBS="-L$with_tiff/lib"
+ fi
+
+ CPPFLAGS="$CPPFLAGS $LIBTIFF_CFLAGS"
+ LIBS="$LIBS $LIBTIFF_LIBS"
+
+ AC_CHECK_LIB(tiff,TIFFClientOpen,
+ [
+ LIBTIFF_LIBS="$LIBTIFF_LIBS -ltiff"
+ with_tiff=yes
+ ],[
+ if test "$with_tiff" != ""; then
+ AC_MSG_ERROR([tiff support requested, but not found])
+ else
+ with_tiff=no
+ fi
+ ])
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+esac
+
+if test "$with_tiff" != no; then
+ CPPFLAGS="$CPPFLAGS $LIBTIFF_CFLAGS"
+ LIBS="$LIBS $LIBTIFF_LIBS"
+ FEATURES="GD_TIFF $FEATURES"
+ AC_DEFINE(HAVE_LIBTIFF, 1, [ Define if you have the Tiff library. ])
+fi
+AM_CONDITIONAL([HAVE_LIBTIFF], test "$with_tiff" = yes)
+
+gl_VISIBILITY()
+CFLAGS="$CFLAGS $CFLAG_VISIBILITY"
+
+AX_PTHREAD()
+
+MINGW_AC_WIN32_NATIVE_HOST()
+
+if test "$mingw_cv_win32_host" = yes; then
+AC_DEFINE([BGDWIN32], [], [Define is you are building for Win32 API])
+fi
+
+dnl report configuration
+AC_MSG_RESULT([
+** Configuration summary for $PACKAGE $VERSION:
+
+ Support for Zlib: $with_zlib
+ Support for PNG library: $with_png
+ Support for JPEG library: $ac_cv_lib_jpeg_jpeg_set_defaults
+ Support for VPX library: $with_vpx
+ Support for TIFF library: $with_tiff
+ Support for Freetype 2.x library: $with_freetype
+ Support for Fontconfig library: $with_fontconfig
+ Support for Xpm library: $with_xpm
+ Support for pthreads: $ax_pthread_ok
+])
+
+AC_CONFIG_FILES([Makefile
+ src/Makefile
+ tests/Makefile
+ tests/test_config.h
+ config/Makefile
+ config/gdlib-config
+ config/gdlib.pc])
+
+AC_OUTPUT
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/INSTALL b/Build/source/libs/gd/libgd-src/docs/INSTALL
index a1e89e18ad2..a1e89e18ad2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/INSTALL
+++ b/Build/source/libs/gd/libgd-src/docs/INSTALL
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/INSTALL.Solaris b/Build/source/libs/gd/libgd-src/docs/INSTALL.Solaris
index d6b5bd1adac..d6b5bd1adac 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/INSTALL.Solaris
+++ b/Build/source/libs/gd/libgd-src/docs/INSTALL.Solaris
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/README.CMAKE b/Build/source/libs/gd/libgd-src/docs/README.CMAKE
index baf583c3ba6..884f6b2bf1b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/README.CMAKE
+++ b/Build/source/libs/gd/libgd-src/docs/README.CMAKE
@@ -1,39 +1,39 @@
-|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-$Id$
-Tobuild GD using CMake, all you need is (add the cmake options if you need any
-or if the default libs and include paths are not the default) :
-
-In a sub directory:
-$ mkdir bld
-$ cd bld
-$ cmake -DBUILD_TEST=1 <options>
-
-The available options are:
-ENABLE_PNG=1
-ENABLE_JPEG=1
-ENABLE_TIFF=1
-ENABLE_FREETYPE=1
-ENABLE_FONTCONFIG=1
-ENABLE_XPM=1
-
-You can optionnally run our tests suite using:
-$ ctest .
-
-Or if you like to build in the source tree:
-$ cmake -DBUILD_TEST=1 .
-$ ctest .
-
-Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version.
-
-
-Typical usage with only PNG enabled:
-
-This command generates VS7 project files and add some custom libraries and includes directories (libpng in this case):
-
-cmake -DCMAKE_GENERATOR="Visual Studio 7 .NET 2003" -DENABLE_PNG=1 -DCMAKE_LIBRARY_PATH=c:\gd_build\gd_deps\lib -DCMAKE_INCLUDE_PATH=c:\gd_build\gd_deps\include c:\libgd_src
-
-A typical CMake call to build using the MinGW tools:
-
-cmake -G"MinGW Makefiles" -DCMAKE_LIBRARY_PATH=c:\mingw\lib -DCMAKE_INCLUDE_PATH=c:\MinGW\include -DENABLE_JPEG=On -DBUILD_TEST=On -DCMAKE_RELEASE_TYPE=DEBUG ..\libgd_head
-
-Given that your MinGW install is under c:\mingw and that you install all libraries using the /usr prefix
+|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+$Id$
+Tobuild GD using CMake, all you need is (add the cmake options if you need any
+or if the default libs and include paths are not the default) :
+
+In a sub directory:
+$ mkdir bld
+$ cd bld
+$ cmake -DBUILD_TEST=1 <options>
+
+The available options are:
+ENABLE_PNG=1
+ENABLE_JPEG=1
+ENABLE_TIFF=1
+ENABLE_FREETYPE=1
+ENABLE_FONTCONFIG=1
+ENABLE_XPM=1
+
+You can optionnally run our tests suite using:
+$ ctest .
+
+Or if you like to build in the source tree:
+$ cmake -DBUILD_TEST=1 .
+$ ctest .
+
+Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version.
+
+
+Typical usage with only PNG enabled:
+
+This command generates VS7 project files and add some custom libraries and includes directories (libpng in this case):
+
+cmake -DCMAKE_GENERATOR="Visual Studio 7 .NET 2003" -DENABLE_PNG=1 -DCMAKE_LIBRARY_PATH=c:\gd_build\gd_deps\lib -DCMAKE_INCLUDE_PATH=c:\gd_build\gd_deps\include c:\libgd_src
+
+A typical CMake call to build using the MinGW tools:
+
+cmake -G"MinGW Makefiles" -DCMAKE_LIBRARY_PATH=c:\mingw\lib -DCMAKE_INCLUDE_PATH=c:\MinGW\include -DENABLE_JPEG=On -DBUILD_TEST=On -DCMAKE_RELEASE_TYPE=DEBUG ..\libgd_head
+
+Given that your MinGW install is under c:\mingw and that you install all libraries using the /usr prefix
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/README.JPN b/Build/source/libs/gd/libgd-src/docs/README.JPN
index 65db00b5534..ed7a2a8285c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/README.JPN
+++ b/Build/source/libs/gd/libgd-src/docs/README.JPN
@@ -1,39 +1,39 @@
- gd $B%i%$%V%i%j$GF|K\8lJ8;zNs$r;H$&>e$G$NCm0U;v9`(B
-
- $B;32l@5?M(B (ma@yama-ga.com)
-
-
-gd-1.7.0 $B$+$i$O$=$N$^$^$G(B gdImageStringTTF() $B$KBP$7$F(B
-SJIS encoding $B$N%U%)%s%H$,;HMQ$G$-$^$9!#(B
-
- $B"((B Unicode encoding $B$N%U%)%s%H$KBP$7$F$OF|K\8lJ8;zNs$r(B UTF-8 $B$G(B
- $B;XDj$9$l$PF|K\8l$,I=<($G$-$^$9!#(B
-
-$B$D$^$j(B gdImageStringTTF() $B$G(B SJIS encoding $B$N%U%)%s%H$r;XDj$9$k$H(B
-$BJ8;zNs$OL5>r7o$KF|K\8l$G$"$k$H2r<a$5$l!"4A;z%3!<%I(B (EUC, SJIS, 7bit JIS)
-$B$,<+F0H=JL$5$l$FE,@Z$K=hM}$5$l$^$9!#(B
-
-$B99$K(B UNICODE encoding $B$N%U%)%s%H$KBP$7$F$b(B JIS $B7O$NF|K\8l(B (EUC, SJIS, 7bit JIS)
-$B$r;HMQ$9$k>l9g$O!"%3%s%Q%$%k;~$K(B -DJISX0208 $B$rIU$1$F%3%s%Q%$%k$7$F$/$@$5$$!#(B
-$B$3$&$9$k$H(B gdImageStringTTF() $B$G;XDj$5$l$?J8;zNs$K(B ASCII $B0J30$NJ8;z$,$"$k$H(B
-$BL5>r7o$KF|K\8lJ8;zNs$G$"$k$H2r<a$5$l!"4A;z%3!<%I$r<+F0H=JL8e$K(B
-$BE,@Z$K=hM}$5$l$^$9!#(B
-
-$B$?$@$7$3$N>l9g$O(B UTF-8 $B$NF|K\8lJ8;zNs$r07$($J$/$J$j$^$9$N$G!"(B
-$B$4MxMQ$N4D6-Ey$K1~$8$F(B -DJISX0208 $B$rIU$1$k$+H]$+$r7h$a$F$/$@$5$$!#(B
-
-$B4A;z%3!<%I$NJQ49$K(B OS $BIUB0$N(B iconv() $B$r;H$&>l9g$O(B
-CFLAGS $B$K(B -DHAVE_ICONV $B$rIU$1$F%3%s%Q%$%k$7$F$/$@$5$$!#(B
-$B$3$N>l9g$K(B -DHAVE_STDARG_H $B$H(B -DHAVE_ERRNO_H $B$bIU$1$F$*$/$H(B
-$B4A;z%3!<%IJQ49$N:]$K%(%i!<$,H/@8$7$?>l9g$KE,@Z$J%a%C%;!<%8$r(B
-$BI=<($9$k$h$&$K$J$j$^$9!#(B
-
-
-$B!y(B EUC $B$+(B SJIS $B$+H=JL$G$-$J$+$C$?>l9g$N4A;z%3!<%I$NH=JLJ}K!(B
-
- (1) $B4D6-JQ?t(B LC_ALL, LC_CTYPE, LANG $B$r$3$N=gHV$G%A%'%C%/$9$k(B
- (2) $B4D6-JQ?t$+$i$bH=JL$G$-$J$+$C$?>l9g$O(B UNIX $B$J$i$P(B EUC$B!"(B
- Win32 $B$J$i$P(B SJIS $B$H8+$J$9(B
-
-$B%3%s%Q%$%k;~$K(B -DSJISPRE $B$rIU$1$F%3%s%Q%$%k$9$l$P!"(BUNIX $B$G$"$C$F$b(B
-SJIS $B$rM%@h$9$k$h$&$K$J$j$^$9!#(B
+ gd $B%i%$%V%i%j$GF|K\8lJ8;zNs$r;H$&>e$G$NCm0U;v9`(B
+
+ $B;32l@5?M(B (ma@yama-ga.com)
+
+
+gd-1.7.0 $B$+$i$O$=$N$^$^$G(B gdImageStringTTF() $B$KBP$7$F(B
+SJIS encoding $B$N%U%)%s%H$,;HMQ$G$-$^$9!#(B
+
+ $B"((B Unicode encoding $B$N%U%)%s%H$KBP$7$F$OF|K\8lJ8;zNs$r(B UTF-8 $B$G(B
+ $B;XDj$9$l$PF|K\8l$,I=<($G$-$^$9!#(B
+
+$B$D$^$j(B gdImageStringTTF() $B$G(B SJIS encoding $B$N%U%)%s%H$r;XDj$9$k$H(B
+$BJ8;zNs$OL5>r7o$KF|K\8l$G$"$k$H2r<a$5$l!"4A;z%3!<%I(B (EUC, SJIS, 7bit JIS)
+$B$,<+F0H=JL$5$l$FE,@Z$K=hM}$5$l$^$9!#(B
+
+$B99$K(B UNICODE encoding $B$N%U%)%s%H$KBP$7$F$b(B JIS $B7O$NF|K\8l(B (EUC, SJIS, 7bit JIS)
+$B$r;HMQ$9$k>l9g$O!"%3%s%Q%$%k;~$K(B -DJISX0208 $B$rIU$1$F%3%s%Q%$%k$7$F$/$@$5$$!#(B
+$B$3$&$9$k$H(B gdImageStringTTF() $B$G;XDj$5$l$?J8;zNs$K(B ASCII $B0J30$NJ8;z$,$"$k$H(B
+$BL5>r7o$KF|K\8lJ8;zNs$G$"$k$H2r<a$5$l!"4A;z%3!<%I$r<+F0H=JL8e$K(B
+$BE,@Z$K=hM}$5$l$^$9!#(B
+
+$B$?$@$7$3$N>l9g$O(B UTF-8 $B$NF|K\8lJ8;zNs$r07$($J$/$J$j$^$9$N$G!"(B
+$B$4MxMQ$N4D6-Ey$K1~$8$F(B -DJISX0208 $B$rIU$1$k$+H]$+$r7h$a$F$/$@$5$$!#(B
+
+$B4A;z%3!<%I$NJQ49$K(B OS $BIUB0$N(B iconv() $B$r;H$&>l9g$O(B
+CFLAGS $B$K(B -DHAVE_ICONV $B$rIU$1$F%3%s%Q%$%k$7$F$/$@$5$$!#(B
+$B$3$N>l9g$K(B -DHAVE_STDARG_H $B$H(B -DHAVE_ERRNO_H $B$bIU$1$F$*$/$H(B
+$B4A;z%3!<%IJQ49$N:]$K%(%i!<$,H/@8$7$?>l9g$KE,@Z$J%a%C%;!<%8$r(B
+$BI=<($9$k$h$&$K$J$j$^$9!#(B
+
+
+$B!y(B EUC $B$+(B SJIS $B$+H=JL$G$-$J$+$C$?>l9g$N4A;z%3!<%I$NH=JLJ}K!(B
+
+ (1) $B4D6-JQ?t(B LC_ALL, LC_CTYPE, LANG $B$r$3$N=gHV$G%A%'%C%/$9$k(B
+ (2) $B4D6-JQ?t$+$i$bH=JL$G$-$J$+$C$?>l9g$O(B UNIX $B$J$i$P(B EUC$B!"(B
+ Win32 $B$J$i$P(B SJIS $B$H8+$J$9(B
+
+$B%3%s%Q%$%k;~$K(B -DSJISPRE $B$rIU$1$F%3%s%Q%$%k$9$l$P!"(BUNIX $B$G$"$C$F$b(B
+SJIS $B$rM%@h$9$k$h$&$K$J$j$^$9!#(B
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/README.TESTING b/Build/source/libs/gd/libgd-src/docs/README.TESTING
index a4c50efe3e6..506ea4249ea 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/README.TESTING
+++ b/Build/source/libs/gd/libgd-src/docs/README.TESTING
@@ -1,62 +1,62 @@
-|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-
-To run the tests suite, all you need is (add the cmake options if you need any
-or if the default libs and include paths are not the default) :
-
-In a sub directory:
-$ mkdir bld
-$ cd bld
-$ cmake -DBUILD_TEST=1 ..
-$ ctest .
-
-Or if you like to build in the source tree:
-$ cmake -DBUILD_TEST=1 .
-$ ctest .
-
-Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version.
-
-If you like to run the tests against a installed GD library, set the following
-environment variables:
-
-export CMAKE_INCLUDE_PATH=/path/to/the/gd/include
-export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib
-
-then call cmake using:
-
-$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1
-$ make
-and finally:
-
-$ ctest .
-
-I will certainly add a nice CMake option to give prefix later.
-
-What to do if tests fail on your platform and you use the last GD release?
-either from your favourite distributions or from http://www.libgd.org or git?
-
-If you use a packaged version of the GD Library (installed from RPM, deb or
-ports, gentoo packages or any other packages format or distribution), please try
-to run the tests using the source releases available at:
-
-http://www.libgd.org/Downloads
-
-If the tests fail using our source release, please report a bug here:
-
-http://bugs.libgd.org
-
-You can attach the two files available in:
-
-./Testing/Temporary
-
-Later versions will have an automatic post mode.
-
-If the tests run successfully, please report a bug to the maintainer of the
-packages (debian, bsd, ubuntu or whoever is responsible for the packages).
-
-Reasons of failures:
-Exception: SegFault: self explaining
-Failed test failed, check the log to know where
-timeout the default timeout is 5 seconds. Some test may
- have infinite loops when compiled against old versions
- of the GD library (esp. 2.0.33 or earlier)
-
+|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+
+To run the tests suite, all you need is (add the cmake options if you need any
+or if the default libs and include paths are not the default) :
+
+In a sub directory:
+$ mkdir bld
+$ cd bld
+$ cmake -DBUILD_TEST=1 ..
+$ ctest .
+
+Or if you like to build in the source tree:
+$ cmake -DBUILD_TEST=1 .
+$ ctest .
+
+Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version.
+
+If you like to run the tests against a installed GD library, set the following
+environment variables:
+
+export CMAKE_INCLUDE_PATH=/path/to/the/gd/include
+export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib
+
+then call cmake using:
+
+$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1
+$ make
+and finally:
+
+$ ctest .
+
+I will certainly add a nice CMake option to give prefix later.
+
+What to do if tests fail on your platform and you use the last GD release?
+either from your favourite distributions or from http://www.libgd.org or git?
+
+If you use a packaged version of the GD Library (installed from RPM, deb or
+ports, gentoo packages or any other packages format or distribution), please try
+to run the tests using the source releases available at:
+
+http://www.libgd.org/Downloads
+
+If the tests fail using our source release, please report a bug here:
+
+http://bugs.libgd.org
+
+You can attach the two files available in:
+
+./Testing/Temporary
+
+Later versions will have an automatic post mode.
+
+If the tests run successfully, please report a bug to the maintainer of the
+packages (debian, bsd, ubuntu or whoever is responsible for the packages).
+
+Reasons of failures:
+Exception: SegFault: self explaining
+Failed test failed, check the log to know where
+timeout the default timeout is 5 seconds. Some test may
+ have infinite loops when compiled against old versions
+ of the GD library (esp. 2.0.33 or earlier)
+
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/README.TXT b/Build/source/libs/gd/libgd-src/docs/README.TXT
index 39725dd62c1..39725dd62c1 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/README.TXT
+++ b/Build/source/libs/gd/libgd-src/docs/README.TXT
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/license.txt b/Build/source/libs/gd/libgd-src/docs/naturaldocs/license.txt
index 4164bce4bc7..4164bce4bc7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/license.txt
+++ b/Build/source/libs/gd/libgd-src/docs/naturaldocs/license.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/nobgd.pl b/Build/source/libs/gd/libgd-src/docs/naturaldocs/nobgd.pl
index e1c34624a81..bcccabe8929 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/nobgd.pl
+++ b/Build/source/libs/gd/libgd-src/docs/naturaldocs/nobgd.pl
@@ -1,58 +1,58 @@
-#!/usr/bin/env perl
-
-# Copy C source files (i.e. *.[ch]) from $src to $dest, first
-# stripping out uses of the macro BGD_DECLARE(<type>). A line must
-# begin with 'BGD_DECLARE' for it to be considered a use.
-
-use strict;
-use warnings;
-
-use File::Basename;
-
-my ($src, $dest) = @ARGV;
-
-die "Invalid arguments: nobgd.pl <src-dir> <dest-dir>\n"
- unless ($src && $dest && -d $src && -d $dest);
-
-for my $file (glob("$src/*.c"), glob("$src/*.h")) {
- do {local $| = 1; print "."};
- fixup($file, $dest);
-}
-print "\n";
-
-sub fixup {
- my ($src, $destDir) = @_;
- my $dest = $destDir . "/" . basename($src);
-
- my $content = slurp($src);
- $content =~ s{^ BGD_DECLARE \( ([^)]+) \)}{$1}gmx;
- unslurp($dest, $content);
-}
-
-
-sub slurp {
- my ($filename) = @_;
- local $/; # no file separator
- my $data;
-
- open my $fh, "<", $filename
- or die "Unable to read file '$filename'.\n";
- $data = <$fh>;
- close($fh);
-
- return $data;
-}
-
-
-sub unslurp {
- my ($filename, $data) = @_;
-
- die "Refusing to overwrite file '$filename'\n" if -f $filename;
-
- open my $fh, ">", $filename
- or die "Unable to open '$filename' for writing.\n";
- print {$fh} $data
- or die "Error writing file '$filename'\n";
- close ($fh);
-}
-
+#!/usr/bin/env perl
+
+# Copy C source files (i.e. *.[ch]) from $src to $dest, first
+# stripping out uses of the macro BGD_DECLARE(<type>). A line must
+# begin with 'BGD_DECLARE' for it to be considered a use.
+
+use strict;
+use warnings;
+
+use File::Basename;
+
+my ($src, $dest) = @ARGV;
+
+die "Invalid arguments: nobgd.pl <src-dir> <dest-dir>\n"
+ unless ($src && $dest && -d $src && -d $dest);
+
+for my $file (glob("$src/*.c"), glob("$src/*.h")) {
+ do {local $| = 1; print "."};
+ fixup($file, $dest);
+}
+print "\n";
+
+sub fixup {
+ my ($src, $destDir) = @_;
+ my $dest = $destDir . "/" . basename($src);
+
+ my $content = slurp($src);
+ $content =~ s{^ BGD_DECLARE \( ([^)]+) \)}{$1}gmx;
+ unslurp($dest, $content);
+}
+
+
+sub slurp {
+ my ($filename) = @_;
+ local $/; # no file separator
+ my $data;
+
+ open my $fh, "<", $filename
+ or die "Unable to read file '$filename'.\n";
+ $data = <$fh>;
+ close($fh);
+
+ return $data;
+}
+
+
+sub unslurp {
+ my ($filename, $data) = @_;
+
+ die "Refusing to overwrite file '$filename'\n" if -f $filename;
+
+ open my $fh, ">", $filename
+ or die "Unable to open '$filename' for writing.\n";
+ print {$fh} $data
+ or die "Error writing file '$filename'\n";
+ close ($fh);
+}
+
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/preamble.txt b/Build/source/libs/gd/libgd-src/docs/naturaldocs/preamble.txt
index ca2e43f9db1..ca2e43f9db1 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/preamble.txt
+++ b/Build/source/libs/gd/libgd-src/docs/naturaldocs/preamble.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/project/Languages.txt b/Build/source/libs/gd/libgd-src/docs/naturaldocs/project/Languages.txt
index 85d5fde477b..85d5fde477b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/project/Languages.txt
+++ b/Build/source/libs/gd/libgd-src/docs/naturaldocs/project/Languages.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/project/Topics.txt b/Build/source/libs/gd/libgd-src/docs/naturaldocs/project/Topics.txt
index 21530908d76..21530908d76 100644
--- a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/project/Topics.txt
+++ b/Build/source/libs/gd/libgd-src/docs/naturaldocs/project/Topics.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/run_docs.sh b/Build/source/libs/gd/libgd-src/docs/naturaldocs/run_docs.sh
index dfe1e62ebf8..dfe1e62ebf8 100755
--- a/Build/source/libs/gd/libgd-2.1.1/docs/naturaldocs/run_docs.sh
+++ b/Build/source/libs/gd/libgd-src/docs/naturaldocs/run_docs.sh
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/CMakeLists.txt b/Build/source/libs/gd/libgd-src/examples/CMakeLists.txt
index e31e67d408a..e31e67d408a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/examples/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/arc.c b/Build/source/libs/gd/libgd-src/examples/arc.c
index 8e862833855..8e862833855 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/arc.c
+++ b/Build/source/libs/gd/libgd-src/examples/arc.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/copyrotated.c b/Build/source/libs/gd/libgd-src/examples/copyrotated.c
index 03e493d0ce0..03e493d0ce0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/copyrotated.c
+++ b/Build/source/libs/gd/libgd-src/examples/copyrotated.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/crop.c b/Build/source/libs/gd/libgd-src/examples/crop.c
index bafb6df849c..bafb6df849c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/crop.c
+++ b/Build/source/libs/gd/libgd-src/examples/crop.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/flip.c b/Build/source/libs/gd/libgd-src/examples/flip.c
index 2399457b81b..2399457b81b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/flip.c
+++ b/Build/source/libs/gd/libgd-src/examples/flip.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/gif.c b/Build/source/libs/gd/libgd-src/examples/gif.c
index d5103f086b3..d5103f086b3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/gif.c
+++ b/Build/source/libs/gd/libgd-src/examples/gif.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/nnquant.c b/Build/source/libs/gd/libgd-src/examples/nnquant.c
index 33ed523266e..33ed523266e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/nnquant.c
+++ b/Build/source/libs/gd/libgd-src/examples/nnquant.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/noIcon.pic b/Build/source/libs/gd/libgd-src/examples/noIcon.pic
index 8335d3a2a28..8335d3a2a28 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/noIcon.pic
+++ b/Build/source/libs/gd/libgd-src/examples/noIcon.pic
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/noIcon.sgi b/Build/source/libs/gd/libgd-src/examples/noIcon.sgi
index 98aac523c10..98aac523c10 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/noIcon.sgi
+++ b/Build/source/libs/gd/libgd-src/examples/noIcon.sgi
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/noIcon.tga b/Build/source/libs/gd/libgd-src/examples/noIcon.tga
index 7063fac97bf..7063fac97bf 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/noIcon.tga
+++ b/Build/source/libs/gd/libgd-src/examples/noIcon.tga
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/noIconAlpha.tga b/Build/source/libs/gd/libgd-src/examples/noIconAlpha.tga
index 3af87b47b67..3af87b47b67 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/noIconAlpha.tga
+++ b/Build/source/libs/gd/libgd-src/examples/noIconAlpha.tga
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/resize.c b/Build/source/libs/gd/libgd-src/examples/resize.c
index 84543cd434b..84543cd434b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/resize.c
+++ b/Build/source/libs/gd/libgd-src/examples/resize.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/test_crop_threshold.png b/Build/source/libs/gd/libgd-src/examples/test_crop_threshold.png
index 4a9dff1a815..4a9dff1a815 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/test_crop_threshold.png
+++ b/Build/source/libs/gd/libgd-src/examples/test_crop_threshold.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/tgaread.c b/Build/source/libs/gd/libgd-src/examples/tgaread.c
index a8e080782b2..a8e080782b2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/tgaread.c
+++ b/Build/source/libs/gd/libgd-src/examples/tgaread.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/tiffread.c b/Build/source/libs/gd/libgd-src/examples/tiffread.c
index fe63ce00b2c..fe63ce00b2c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/tiffread.c
+++ b/Build/source/libs/gd/libgd-src/examples/tiffread.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/examples/windows.c b/Build/source/libs/gd/libgd-src/examples/windows.c
index 55976386f4e..55976386f4e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/examples/windows.c
+++ b/Build/source/libs/gd/libgd-src/examples/windows.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/m4/ax_pthread.m4 b/Build/source/libs/gd/libgd-src/m4/ax_pthread.m4
index 6d400ed4e8e..8295a86efb7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/m4/ax_pthread.m4
+++ b/Build/source/libs/gd/libgd-src/m4/ax_pthread.m4
@@ -1,317 +1,317 @@
-# ===========================================================================
-# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
-# ===========================================================================
-#
-# SYNOPSIS
-#
-# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
-#
-# DESCRIPTION
-#
-# This macro figures out how to build C programs using POSIX threads. It
-# sets the PTHREAD_LIBS output variable to the threads library and linker
-# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
-# flags that are needed. (The user can also force certain compiler
-# flags/libs to be tested by setting these environment variables.)
-#
-# Also sets PTHREAD_CC to any special C compiler that is needed for
-# multi-threaded programs (defaults to the value of CC otherwise). (This
-# is necessary on AIX to use the special cc_r compiler alias.)
-#
-# NOTE: You are assumed to not only compile your program with these flags,
-# but also link it with them as well. e.g. you should link with
-# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
-#
-# If you are only building threads programs, you may wish to use these
-# variables in your default LIBS, CFLAGS, and CC:
-#
-# LIBS="$PTHREAD_LIBS $LIBS"
-# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-# CC="$PTHREAD_CC"
-#
-# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
-# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
-# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
-#
-# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
-# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
-# PTHREAD_CFLAGS.
-#
-# ACTION-IF-FOUND is a list of shell commands to run if a threads library
-# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
-# is not found. If ACTION-IF-FOUND is not specified, the default action
-# will define HAVE_PTHREAD.
-#
-# Please let the authors know if this macro fails on any platform, or if
-# you have any other suggestions or comments. This macro was based on work
-# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
-# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
-# Alejandro Forero Cuervo to the autoconf macro repository. We are also
-# grateful for the helpful feedback of numerous users.
-#
-# Updated for Autoconf 2.68 by Daniel Richard G.
-#
-# LICENSE
-#
-# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
-# Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
-#
-# This program is free software: you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the
-# Free Software Foundation, either version 3 of the License, or (at your
-# option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
-# Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-# As a special exception, the respective Autoconf Macro's copyright owner
-# gives unlimited permission to copy, distribute and modify the configure
-# scripts that are the output of Autoconf when processing the Macro. You
-# need not follow the terms of the GNU General Public License when using
-# or distributing such scripts, even though portions of the text of the
-# Macro appear in them. The GNU General Public License (GPL) does govern
-# all other use of the material that constitutes the Autoconf Macro.
-#
-# This special exception to the GPL applies to versions of the Autoconf
-# Macro released by the Autoconf Archive. When you make and distribute a
-# modified version of the Autoconf Macro, you may extend this special
-# exception to the GPL to apply to your modified version as well.
-
-#serial 20
-
-AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
-AC_DEFUN([AX_PTHREAD], [
-AC_REQUIRE([AC_CANONICAL_HOST])
-AC_LANG_PUSH([C])
-ax_pthread_ok=no
-
-# We used to check for pthread.h first, but this fails if pthread.h
-# requires special compiler flags (e.g. on True64 or Sequent).
-# It gets checked for in the link test anyway.
-
-# First of all, check if the user has set any of the PTHREAD_LIBS,
-# etcetera environment variables, and if threads linking works using
-# them:
-if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
- save_LIBS="$LIBS"
- LIBS="$PTHREAD_LIBS $LIBS"
- AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
- AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
- AC_MSG_RESULT($ax_pthread_ok)
- if test x"$ax_pthread_ok" = xno; then
- PTHREAD_LIBS=""
- PTHREAD_CFLAGS=""
- fi
- LIBS="$save_LIBS"
- CFLAGS="$save_CFLAGS"
-fi
-
-# We must check for the threads library under a number of different
-# names; the ordering is very important because some systems
-# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
-# libraries is broken (non-POSIX).
-
-# Create a list of thread flags to try. Items starting with a "-" are
-# C compiler flags, and other items are library names, except for "none"
-# which indicates that we try without any flags at all, and "pthread-config"
-# which is a program returning the flags for the Pth emulation library.
-
-ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
-
-# The ordering *is* (sometimes) important. Some notes on the
-# individual items follow:
-
-# pthreads: AIX (must check this before -lpthread)
-# none: in case threads are in libc; should be tried before -Kthread and
-# other compiler flags to prevent continual compiler warnings
-# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
-# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
-# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
-# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
-# -pthreads: Solaris/gcc
-# -mthreads: Mingw32/gcc, Lynx/gcc
-# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
-# doesn't hurt to check since this sometimes defines pthreads too;
-# also defines -D_REENTRANT)
-# ... -mt is also the pthreads flag for HP/aCC
-# pthread: Linux, etcetera
-# --thread-safe: KAI C++
-# pthread-config: use pthread-config program (for GNU Pth library)
-
-case ${host_os} in
- solaris*)
-
- # On Solaris (at least, for some versions), libc contains stubbed
- # (non-functional) versions of the pthreads routines, so link-based
- # tests will erroneously succeed. (We need to link with -pthreads/-mt/
- # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
- # a function called by this macro, so we could check for that, but
- # who knows whether they'll stub that too in a future libc.) So,
- # we'll just look for -pthreads and -lpthread first:
-
- ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
- ;;
-
- darwin*)
- ax_pthread_flags="-pthread $ax_pthread_flags"
- ;;
-esac
-
-if test x"$ax_pthread_ok" = xno; then
-for flag in $ax_pthread_flags; do
-
- case $flag in
- none)
- AC_MSG_CHECKING([whether pthreads work without any flags])
- ;;
-
- -*)
- AC_MSG_CHECKING([whether pthreads work with $flag])
- PTHREAD_CFLAGS="$flag"
- ;;
-
- pthread-config)
- AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
- if test x"$ax_pthread_config" = xno; then continue; fi
- PTHREAD_CFLAGS="`pthread-config --cflags`"
- PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
- ;;
-
- *)
- AC_MSG_CHECKING([for the pthreads library -l$flag])
- PTHREAD_LIBS="-l$flag"
- ;;
- esac
-
- save_LIBS="$LIBS"
- save_CFLAGS="$CFLAGS"
- LIBS="$PTHREAD_LIBS $LIBS"
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-
- # Check for various functions. We must include pthread.h,
- # since some functions may be macros. (On the Sequent, we
- # need a special flag -Kthread to make this header compile.)
- # We check for pthread_join because it is in -lpthread on IRIX
- # while pthread_create is in libc. We check for pthread_attr_init
- # due to DEC craziness with -lpthreads. We check for
- # pthread_cleanup_push because it is one of the few pthread
- # functions on Solaris that doesn't have a non-functional libc stub.
- # We try pthread_create on general principles.
- AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
- static void routine(void *a) { a = 0; }
- static void *start_routine(void *a) { return a; }],
- [pthread_t th; pthread_attr_t attr;
- pthread_create(&th, 0, start_routine, 0);
- pthread_join(th, 0);
- pthread_attr_init(&attr);
- pthread_cleanup_push(routine, 0);
- pthread_cleanup_pop(0) /* ; */])],
- [ax_pthread_ok=yes],
- [])
-
- LIBS="$save_LIBS"
- CFLAGS="$save_CFLAGS"
-
- AC_MSG_RESULT($ax_pthread_ok)
- if test "x$ax_pthread_ok" = xyes; then
- break;
- fi
-
- PTHREAD_LIBS=""
- PTHREAD_CFLAGS=""
-done
-fi
-
-# Various other checks:
-if test "x$ax_pthread_ok" = xyes; then
- save_LIBS="$LIBS"
- LIBS="$PTHREAD_LIBS $LIBS"
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-
- # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
- AC_MSG_CHECKING([for joinable pthread attribute])
- attr_name=unknown
- for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
- AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
- [int attr = $attr; return attr /* ; */])],
- [attr_name=$attr; break],
- [])
- done
- AC_MSG_RESULT($attr_name)
- if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
- AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name,
- [Define to necessary symbol if this constant
- uses a non-standard name on your system.])
- fi
-
- AC_MSG_CHECKING([if more special flags are required for pthreads])
- flag=no
- case ${host_os} in
- aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
- osf* | hpux*) flag="-D_REENTRANT";;
- solaris*)
- if test "$GCC" = "yes"; then
- flag="-D_REENTRANT"
- else
- flag="-mt -D_REENTRANT"
- fi
- ;;
- esac
- AC_MSG_RESULT(${flag})
- if test "x$flag" != xno; then
- PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
- fi
-
- AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
- ax_cv_PTHREAD_PRIO_INHERIT, [
- AC_LINK_IFELSE([
- AC_LANG_PROGRAM([[#include <pthread.h>]], [[int i = PTHREAD_PRIO_INHERIT;]])],
- [ax_cv_PTHREAD_PRIO_INHERIT=yes],
- [ax_cv_PTHREAD_PRIO_INHERIT=no])
- ])
- AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"],
- AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.]))
-
- LIBS="$save_LIBS"
- CFLAGS="$save_CFLAGS"
-
- # More AIX lossage: compile with *_r variant
- if test "x$GCC" != xyes; then
- case $host_os in
- aix*)
- AS_CASE(["x/$CC"],
- [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
- [#handle absolute path differently from PATH based program lookup
- AS_CASE(["x$CC"],
- [x/*],
- [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
- [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
- ;;
- esac
- fi
-fi
-
-test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
-
-AC_SUBST(PTHREAD_LIBS)
-AC_SUBST(PTHREAD_CFLAGS)
-AC_SUBST(PTHREAD_CC)
-
-# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
-if test x"$ax_pthread_ok" = xyes; then
- ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
- :
-else
- ax_pthread_ok=no
- $2
-fi
-AC_LANG_POP
-])dnl AX_PTHREAD
+# ===========================================================================
+# http://www.gnu.org/software/autoconf-archive/ax_pthread.html
+# ===========================================================================
+#
+# SYNOPSIS
+#
+# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
+#
+# DESCRIPTION
+#
+# This macro figures out how to build C programs using POSIX threads. It
+# sets the PTHREAD_LIBS output variable to the threads library and linker
+# flags, and the PTHREAD_CFLAGS output variable to any special C compiler
+# flags that are needed. (The user can also force certain compiler
+# flags/libs to be tested by setting these environment variables.)
+#
+# Also sets PTHREAD_CC to any special C compiler that is needed for
+# multi-threaded programs (defaults to the value of CC otherwise). (This
+# is necessary on AIX to use the special cc_r compiler alias.)
+#
+# NOTE: You are assumed to not only compile your program with these flags,
+# but also link it with them as well. e.g. you should link with
+# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
+#
+# If you are only building threads programs, you may wish to use these
+# variables in your default LIBS, CFLAGS, and CC:
+#
+# LIBS="$PTHREAD_LIBS $LIBS"
+# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+# CC="$PTHREAD_CC"
+#
+# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
+# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name
+# (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
+#
+# Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
+# PTHREAD_PRIO_INHERIT symbol is defined when compiling with
+# PTHREAD_CFLAGS.
+#
+# ACTION-IF-FOUND is a list of shell commands to run if a threads library
+# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
+# is not found. If ACTION-IF-FOUND is not specified, the default action
+# will define HAVE_PTHREAD.
+#
+# Please let the authors know if this macro fails on any platform, or if
+# you have any other suggestions or comments. This macro was based on work
+# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
+# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
+# Alejandro Forero Cuervo to the autoconf macro repository. We are also
+# grateful for the helpful feedback of numerous users.
+#
+# Updated for Autoconf 2.68 by Daniel Richard G.
+#
+# LICENSE
+#
+# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
+# Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
+#
+# This program is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation, either version 3 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+# Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+# As a special exception, the respective Autoconf Macro's copyright owner
+# gives unlimited permission to copy, distribute and modify the configure
+# scripts that are the output of Autoconf when processing the Macro. You
+# need not follow the terms of the GNU General Public License when using
+# or distributing such scripts, even though portions of the text of the
+# Macro appear in them. The GNU General Public License (GPL) does govern
+# all other use of the material that constitutes the Autoconf Macro.
+#
+# This special exception to the GPL applies to versions of the Autoconf
+# Macro released by the Autoconf Archive. When you make and distribute a
+# modified version of the Autoconf Macro, you may extend this special
+# exception to the GPL to apply to your modified version as well.
+
+#serial 20
+
+AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
+AC_DEFUN([AX_PTHREAD], [
+AC_REQUIRE([AC_CANONICAL_HOST])
+AC_LANG_PUSH([C])
+ax_pthread_ok=no
+
+# We used to check for pthread.h first, but this fails if pthread.h
+# requires special compiler flags (e.g. on True64 or Sequent).
+# It gets checked for in the link test anyway.
+
+# First of all, check if the user has set any of the PTHREAD_LIBS,
+# etcetera environment variables, and if threads linking works using
+# them:
+if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ save_LIBS="$LIBS"
+ LIBS="$PTHREAD_LIBS $LIBS"
+ AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
+ AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
+ AC_MSG_RESULT($ax_pthread_ok)
+ if test x"$ax_pthread_ok" = xno; then
+ PTHREAD_LIBS=""
+ PTHREAD_CFLAGS=""
+ fi
+ LIBS="$save_LIBS"
+ CFLAGS="$save_CFLAGS"
+fi
+
+# We must check for the threads library under a number of different
+# names; the ordering is very important because some systems
+# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
+# libraries is broken (non-POSIX).
+
+# Create a list of thread flags to try. Items starting with a "-" are
+# C compiler flags, and other items are library names, except for "none"
+# which indicates that we try without any flags at all, and "pthread-config"
+# which is a program returning the flags for the Pth emulation library.
+
+ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
+
+# The ordering *is* (sometimes) important. Some notes on the
+# individual items follow:
+
+# pthreads: AIX (must check this before -lpthread)
+# none: in case threads are in libc; should be tried before -Kthread and
+# other compiler flags to prevent continual compiler warnings
+# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
+# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
+# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
+# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
+# -pthreads: Solaris/gcc
+# -mthreads: Mingw32/gcc, Lynx/gcc
+# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
+# doesn't hurt to check since this sometimes defines pthreads too;
+# also defines -D_REENTRANT)
+# ... -mt is also the pthreads flag for HP/aCC
+# pthread: Linux, etcetera
+# --thread-safe: KAI C++
+# pthread-config: use pthread-config program (for GNU Pth library)
+
+case ${host_os} in
+ solaris*)
+
+ # On Solaris (at least, for some versions), libc contains stubbed
+ # (non-functional) versions of the pthreads routines, so link-based
+ # tests will erroneously succeed. (We need to link with -pthreads/-mt/
+ # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
+ # a function called by this macro, so we could check for that, but
+ # who knows whether they'll stub that too in a future libc.) So,
+ # we'll just look for -pthreads and -lpthread first:
+
+ ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
+ ;;
+
+ darwin*)
+ ax_pthread_flags="-pthread $ax_pthread_flags"
+ ;;
+esac
+
+if test x"$ax_pthread_ok" = xno; then
+for flag in $ax_pthread_flags; do
+
+ case $flag in
+ none)
+ AC_MSG_CHECKING([whether pthreads work without any flags])
+ ;;
+
+ -*)
+ AC_MSG_CHECKING([whether pthreads work with $flag])
+ PTHREAD_CFLAGS="$flag"
+ ;;
+
+ pthread-config)
+ AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
+ if test x"$ax_pthread_config" = xno; then continue; fi
+ PTHREAD_CFLAGS="`pthread-config --cflags`"
+ PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
+ ;;
+
+ *)
+ AC_MSG_CHECKING([for the pthreads library -l$flag])
+ PTHREAD_LIBS="-l$flag"
+ ;;
+ esac
+
+ save_LIBS="$LIBS"
+ save_CFLAGS="$CFLAGS"
+ LIBS="$PTHREAD_LIBS $LIBS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+
+ # Check for various functions. We must include pthread.h,
+ # since some functions may be macros. (On the Sequent, we
+ # need a special flag -Kthread to make this header compile.)
+ # We check for pthread_join because it is in -lpthread on IRIX
+ # while pthread_create is in libc. We check for pthread_attr_init
+ # due to DEC craziness with -lpthreads. We check for
+ # pthread_cleanup_push because it is one of the few pthread
+ # functions on Solaris that doesn't have a non-functional libc stub.
+ # We try pthread_create on general principles.
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
+ static void routine(void *a) { a = 0; }
+ static void *start_routine(void *a) { return a; }],
+ [pthread_t th; pthread_attr_t attr;
+ pthread_create(&th, 0, start_routine, 0);
+ pthread_join(th, 0);
+ pthread_attr_init(&attr);
+ pthread_cleanup_push(routine, 0);
+ pthread_cleanup_pop(0) /* ; */])],
+ [ax_pthread_ok=yes],
+ [])
+
+ LIBS="$save_LIBS"
+ CFLAGS="$save_CFLAGS"
+
+ AC_MSG_RESULT($ax_pthread_ok)
+ if test "x$ax_pthread_ok" = xyes; then
+ break;
+ fi
+
+ PTHREAD_LIBS=""
+ PTHREAD_CFLAGS=""
+done
+fi
+
+# Various other checks:
+if test "x$ax_pthread_ok" = xyes; then
+ save_LIBS="$LIBS"
+ LIBS="$PTHREAD_LIBS $LIBS"
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+
+ # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
+ AC_MSG_CHECKING([for joinable pthread attribute])
+ attr_name=unknown
+ for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
+ [int attr = $attr; return attr /* ; */])],
+ [attr_name=$attr; break],
+ [])
+ done
+ AC_MSG_RESULT($attr_name)
+ if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
+ AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name,
+ [Define to necessary symbol if this constant
+ uses a non-standard name on your system.])
+ fi
+
+ AC_MSG_CHECKING([if more special flags are required for pthreads])
+ flag=no
+ case ${host_os} in
+ aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
+ osf* | hpux*) flag="-D_REENTRANT";;
+ solaris*)
+ if test "$GCC" = "yes"; then
+ flag="-D_REENTRANT"
+ else
+ flag="-mt -D_REENTRANT"
+ fi
+ ;;
+ esac
+ AC_MSG_RESULT(${flag})
+ if test "x$flag" != xno; then
+ PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
+ fi
+
+ AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
+ ax_cv_PTHREAD_PRIO_INHERIT, [
+ AC_LINK_IFELSE([
+ AC_LANG_PROGRAM([[#include <pthread.h>]], [[int i = PTHREAD_PRIO_INHERIT;]])],
+ [ax_cv_PTHREAD_PRIO_INHERIT=yes],
+ [ax_cv_PTHREAD_PRIO_INHERIT=no])
+ ])
+ AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"],
+ AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.]))
+
+ LIBS="$save_LIBS"
+ CFLAGS="$save_CFLAGS"
+
+ # More AIX lossage: compile with *_r variant
+ if test "x$GCC" != xyes; then
+ case $host_os in
+ aix*)
+ AS_CASE(["x/$CC"],
+ [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
+ [#handle absolute path differently from PATH based program lookup
+ AS_CASE(["x$CC"],
+ [x/*],
+ [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
+ [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
+ ;;
+ esac
+ fi
+fi
+
+test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
+
+AC_SUBST(PTHREAD_LIBS)
+AC_SUBST(PTHREAD_CFLAGS)
+AC_SUBST(PTHREAD_CC)
+
+# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
+if test x"$ax_pthread_ok" = xyes; then
+ ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
+ :
+else
+ ax_pthread_ok=no
+ $2
+fi
+AC_LANG_POP
+])dnl AX_PTHREAD
diff --git a/Build/source/libs/gd/libgd-2.1.1/m4/visibility.m4 b/Build/source/libs/gd/libgd-src/m4/visibility.m4
index 2ff6330aa42..a9172478669 100644
--- a/Build/source/libs/gd/libgd-2.1.1/m4/visibility.m4
+++ b/Build/source/libs/gd/libgd-src/m4/visibility.m4
@@ -1,52 +1,52 @@
-# visibility.m4 serial 1 (gettext-0.15)
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-dnl From Bruno Haible.
-
-dnl Tests whether the compiler supports the command-line option
-dnl -fvisibility=hidden and the function and variable attributes
-dnl __attribute__((__visibility__("hidden"))) and
-dnl __attribute__((__visibility__("default"))).
-dnl Does *not* test for __visibility__("protected") - which has tricky
-dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
-dnl MacOS X.
-dnl Does *not* test for __visibility__("internal") - which has processor
-dnl dependent semantics.
-dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
-dnl "really only recommended for legacy code".
-dnl Set the variable CFLAG_VISIBILITY.
-dnl Defines and sets the variable HAVE_VISIBILITY.
-
-AC_DEFUN([gl_VISIBILITY],
-[
- AC_REQUIRE([AC_PROG_CC])
- CFLAG_VISIBILITY=
- HAVE_VISIBILITY=0
- if test -n "$GCC"; then
- AC_MSG_CHECKING([for simple visibility declarations])
- AC_CACHE_VAL(gl_cv_cc_visibility, [
- gl_save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -fvisibility=hidden"
- AC_TRY_COMPILE(
- [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
- extern __attribute__((__visibility__("default"))) int exportedvar;
- extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
- extern __attribute__((__visibility__("default"))) int exportedfunc (void);],
- [],
- gl_cv_cc_visibility=yes,
- gl_cv_cc_visibility=no)
- CFLAGS="$gl_save_CFLAGS"])
- AC_MSG_RESULT([$gl_cv_cc_visibility])
- if test $gl_cv_cc_visibility = yes; then
- CFLAG_VISIBILITY="-fvisibility=hidden"
- HAVE_VISIBILITY=1
- fi
- fi
- AC_SUBST([CFLAG_VISIBILITY])
- AC_SUBST([HAVE_VISIBILITY])
- AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
- [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
-])
+# visibility.m4 serial 1 (gettext-0.15)
+dnl Copyright (C) 2005 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl From Bruno Haible.
+
+dnl Tests whether the compiler supports the command-line option
+dnl -fvisibility=hidden and the function and variable attributes
+dnl __attribute__((__visibility__("hidden"))) and
+dnl __attribute__((__visibility__("default"))).
+dnl Does *not* test for __visibility__("protected") - which has tricky
+dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
+dnl MacOS X.
+dnl Does *not* test for __visibility__("internal") - which has processor
+dnl dependent semantics.
+dnl Does *not* test for #pragma GCC visibility push(hidden) - which is
+dnl "really only recommended for legacy code".
+dnl Set the variable CFLAG_VISIBILITY.
+dnl Defines and sets the variable HAVE_VISIBILITY.
+
+AC_DEFUN([gl_VISIBILITY],
+[
+ AC_REQUIRE([AC_PROG_CC])
+ CFLAG_VISIBILITY=
+ HAVE_VISIBILITY=0
+ if test -n "$GCC"; then
+ AC_MSG_CHECKING([for simple visibility declarations])
+ AC_CACHE_VAL(gl_cv_cc_visibility, [
+ gl_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -fvisibility=hidden"
+ AC_TRY_COMPILE(
+ [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
+ extern __attribute__((__visibility__("default"))) int exportedvar;
+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
+ extern __attribute__((__visibility__("default"))) int exportedfunc (void);],
+ [],
+ gl_cv_cc_visibility=yes,
+ gl_cv_cc_visibility=no)
+ CFLAGS="$gl_save_CFLAGS"])
+ AC_MSG_RESULT([$gl_cv_cc_visibility])
+ if test $gl_cv_cc_visibility = yes; then
+ CFLAG_VISIBILITY="-fvisibility=hidden"
+ HAVE_VISIBILITY=1
+ fi
+ fi
+ AC_SUBST([CFLAG_VISIBILITY])
+ AC_SUBST([HAVE_VISIBILITY])
+ AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
+ [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
+])
diff --git a/Build/source/libs/gd/libgd-2.1.1/m4/w32.m4 b/Build/source/libs/gd/libgd-src/m4/w32.m4
index fbcc541d969..95a992acb88 100644
--- a/Build/source/libs/gd/libgd-2.1.1/m4/w32.m4
+++ b/Build/source/libs/gd/libgd-src/m4/w32.m4
@@ -1,11 +1,11 @@
-# MINGW_AC_WIN32_NATIVE_HOST
-# --------------------------
-# Check if the runtime platform is a native Win32 host.
-#
-AC_DEFUN([MINGW_AC_WIN32_NATIVE_HOST],
-[AC_CACHE_CHECK([whether we are building for a Win32 host], [mingw_cv_win32_host],
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
-#ifdef _WIN32
- choke me
-#endif]])], [mingw_cv_win32_host=no], [mingw_cv_win32_host=yes]))dnl
-])# MINGW_AC_WIN32_NATIVE_HOST
+# MINGW_AC_WIN32_NATIVE_HOST
+# --------------------------
+# Check if the runtime platform is a native Win32 host.
+#
+AC_DEFUN([MINGW_AC_WIN32_NATIVE_HOST],
+[AC_CACHE_CHECK([whether we are building for a Win32 host], [mingw_cv_win32_host],
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
+#ifdef _WIN32
+ choke me
+#endif]])], [mingw_cv_win32_host=no], [mingw_cv_win32_host=yes]))dnl
+])# MINGW_AC_WIN32_NATIVE_HOST
diff --git a/Build/source/libs/gd/libgd-2.1.1/netware/Makefile.netware b/Build/source/libs/gd/libgd-src/netware/Makefile.netware
index 3da624349f5..3da624349f5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/netware/Makefile.netware
+++ b/Build/source/libs/gd/libgd-src/netware/Makefile.netware
diff --git a/Build/source/libs/gd/libgd-2.1.1/netware/get_exp.awk b/Build/source/libs/gd/libgd-src/netware/get_exp.awk
index 5428bf63ca7..724f245d8a8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/netware/get_exp.awk
+++ b/Build/source/libs/gd/libgd-src/netware/get_exp.awk
@@ -1,37 +1,37 @@
-#!awk
-# awk hack to fetch libgd export functions from header
-# and write them to STDOUT. Here you can get an awk version for Win32:
-# http://www.gknw.net/development/prgtools/awk.zip
-# $Id$
-#
-BEGIN {
- print "# Exports extracted from " ARGV[1] "";
- print "# Do not edit this file - it is created by make!";
- print "# All your changes will be lost!!";
- if (EPREFIX) {
- print " (" EPREFIX ")";
- }
- print " gdFontGetGiant,";
- print " gdFontGetLarge,";
- print " gdFontGetMediumBold,";
- print " gdFontGetSmall,";
- print " gdFontGetTiny,";
- print " gdImageSquareToCircle,";
- print " gdImageStringFTCircle,";
- print " gdImageSharpen,";
-}
-
-# try to catch the function names from lines like:
-# BGD_DECLARE(gdImagePtr) function ...
-# BGD_DECLARE(void *) function ...
-#
-/^[ \t]*BGD_DECLARE\([^\)]*\) +(gd[A-Za-z0-9_]+)/ {
- sub(/^[ \t]*BGD_DECLARE\([^\)]+\) +/, "");
- sub(/[ \t]*\(.*$/, "");
- # hack to filter gdImageEllipse() since we have no C implementation.
- if ($0 != "gdImageEllipse") {
- print " " $0 ",";
- }
-}
-
-
+#!awk
+# awk hack to fetch libgd export functions from header
+# and write them to STDOUT. Here you can get an awk version for Win32:
+# http://www.gknw.net/development/prgtools/awk.zip
+# $Id$
+#
+BEGIN {
+ print "# Exports extracted from " ARGV[1] "";
+ print "# Do not edit this file - it is created by make!";
+ print "# All your changes will be lost!!";
+ if (EPREFIX) {
+ print " (" EPREFIX ")";
+ }
+ print " gdFontGetGiant,";
+ print " gdFontGetLarge,";
+ print " gdFontGetMediumBold,";
+ print " gdFontGetSmall,";
+ print " gdFontGetTiny,";
+ print " gdImageSquareToCircle,";
+ print " gdImageStringFTCircle,";
+ print " gdImageSharpen,";
+}
+
+# try to catch the function names from lines like:
+# BGD_DECLARE(gdImagePtr) function ...
+# BGD_DECLARE(void *) function ...
+#
+/^[ \t]*BGD_DECLARE\([^\)]*\) +(gd[A-Za-z0-9_]+)/ {
+ sub(/^[ \t]*BGD_DECLARE\([^\)]+\) +/, "");
+ sub(/[ \t]*\(.*$/, "");
+ # hack to filter gdImageEllipse() since we have no C implementation.
+ if ($0 != "gdImageEllipse") {
+ print " " $0 ",";
+ }
+}
+
+
diff --git a/Build/source/libs/gd/libgd-2.1.1/netware/get_ver.awk b/Build/source/libs/gd/libgd-src/netware/get_ver.awk
index 8747a338a57..f533efed88e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/netware/get_ver.awk
+++ b/Build/source/libs/gd/libgd-src/netware/get_ver.awk
@@ -1,28 +1,28 @@
-#!awk
-# awk script which fetches libgd version number and string from input file
-# and writes them to STDOUT. Here you can get an awk version for Win32:
-# http://www.gknw.net/development/prgtools/awk.zip
-# $Id$
-#
-BEGIN {
- while ((getline < ARGV[1]) > 0) {
- if (match ($0, /^GDLIB_MAJOR=([0-9]*)$/)) {
- split($1, t, "=");
- v_maj = t[2];
- }
- if (match ($0, /^GDLIB_MINOR=([0-9]*)$/)) {
- split($1, t, "=");
- v_min = t[2];
- }
- if (match ($0, /^GDLIB_REVISION=([0-9]*)$/)) {
- split($1, t, "=");
- v_rev = t[2];
- }
- }
- libgd_ver = v_maj "," v_min "," v_rev;
- libgd_ver_str = v_maj "." v_min "." v_rev;
- print "LIBGD_VERSION = " libgd_ver "";
- print "LIBGD_VERSION_STR = " libgd_ver_str "";
-}
-
-
+#!awk
+# awk script which fetches libgd version number and string from input file
+# and writes them to STDOUT. Here you can get an awk version for Win32:
+# http://www.gknw.net/development/prgtools/awk.zip
+# $Id$
+#
+BEGIN {
+ while ((getline < ARGV[1]) > 0) {
+ if (match ($0, /^GDLIB_MAJOR=([0-9]*)$/)) {
+ split($1, t, "=");
+ v_maj = t[2];
+ }
+ if (match ($0, /^GDLIB_MINOR=([0-9]*)$/)) {
+ split($1, t, "=");
+ v_min = t[2];
+ }
+ if (match ($0, /^GDLIB_REVISION=([0-9]*)$/)) {
+ split($1, t, "=");
+ v_rev = t[2];
+ }
+ }
+ libgd_ver = v_maj "," v_min "," v_rev;
+ libgd_ver_str = v_maj "." v_min "." v_rev;
+ print "LIBGD_VERSION = " libgd_ver "";
+ print "LIBGD_VERSION_STR = " libgd_ver_str "";
+}
+
+
diff --git a/Build/source/libs/gd/libgd-2.1.1/netware/keepscreen.c b/Build/source/libs/gd/libgd-src/netware/keepscreen.c
index 0ff85628524..0ff85628524 100644
--- a/Build/source/libs/gd/libgd-2.1.1/netware/keepscreen.c
+++ b/Build/source/libs/gd/libgd-src/netware/keepscreen.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/netware/nwlibc.c b/Build/source/libs/gd/libgd-src/netware/nwlibc.c
index b981a554773..b981a554773 100644
--- a/Build/source/libs/gd/libgd-2.1.1/netware/nwlibc.c
+++ b/Build/source/libs/gd/libgd-src/netware/nwlibc.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/netware/tests/Makefile.netware b/Build/source/libs/gd/libgd-src/netware/tests/Makefile.netware
index 74cc234cba7..74cc234cba7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/netware/tests/Makefile.netware
+++ b/Build/source/libs/gd/libgd-src/netware/tests/Makefile.netware
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/CMakeLists.txt b/Build/source/libs/gd/libgd-src/src/CMakeLists.txt
index e27467dba0d..e27467dba0d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/src/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/COPYING b/Build/source/libs/gd/libgd-src/src/COPYING
index 90ef1c867ef..90ef1c867ef 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/COPYING
+++ b/Build/source/libs/gd/libgd-src/src/COPYING
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/Makefile.am b/Build/source/libs/gd/libgd-src/src/Makefile.am
index ac66c79e082..7dc4151134f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/Makefile.am
+++ b/Build/source/libs/gd/libgd-src/src/Makefile.am
@@ -1,58 +1,58 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-
-
-bin_PROGRAMS = gdcmpgif
-check_PROGRAMS = gifanimtest gd_color_map_test
-
-if HAVE_LIBPNG
-bin_PROGRAMS += gdtopng pngtogd webpng
-check_PROGRAMS += circletexttest fontsizetest fontwheeltest gddemo testac
-if HAVE_LIBZ
-bin_PROGRAMS += gdparttopng gd2topng pngtogd2
-check_PROGRAMS += gdtest
-endif
-endif
-
-if HAVE_LIBJPEG
-if !HAVE_LIBPNG
-check_PROGRAMS += fontsizetest fontwheeltest
-endif
-endif
-
-if HAVE_LIBFONTCONFIG
-check_PROGRAMS += fontconfigtest
-endif
-
-if HAVE_LIBFREETYPE
-bin_PROGRAMS += annotate
-check_PROGRAMS += gdtestft testtr
-endif
-
-if HAVE_LIBZ
-bin_PROGRAMS += gd2copypal gd2togif giftogd2
-endif
-
-bin_SCRIPTS = bdftogd
-
-if HAVE_LIBZ
-check_PROGRAMS += gd2time
-endif
-
-EXTRA_DIST = bdftogd demoin.png entities.html entities.tcl CMakeLists.txt config.h.cmake gd_io_stream.cxx gdpp.cxx msinttypes/inttypes.h msinttypes/stdint.h
-
-include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h gd_color_map.h gd_errors.h gdpp.h
-
-lib_LTLIBRARIES = libgd.la
-
-libgd_la_SOURCES = gd.c gd_color.c gd_color_map.c gd_transform.c gdfx.c gd_security.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_gif_in.c \
- gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c \
- gdfontmb.c gdfonts.c gdfontt.c gdft.c gdhelpers.c gdhelpers.h gdkanji.c gdtables.c gdxpm.c jisx0208.h wbmp.c wbmp.h \
- gd_filter.c gd_nnquant.c gd_rotate.c gd_matrix.c gd_interpolation.c gd_crop.c webpimg.c webpimg.h gd_webp.c gd_tiff.c \
- gd_tga.c gd_tga.h gd_bmp.c bmp.h gd_color.h gd_nnquant.h gd_tga.h gd_intern.h gd_io_stream.h gd_xbm.c \
- gd_color_match.c gd_version.c gd_filename.c
-
-libgd_la_LDFLAGS = -version-info $(GDLIB_CURRENT):$(GDLIB_REVISION):$(GDLIB_AGE) -no-undefined
-
-libgd_la_LIBADD = $(LTLIBICONV)
-
-LDADD = libgd.la $(LIBICONV)
-
+## Process this file with automake to produce Makefile.in -*-Makefile-*-
+
+bin_PROGRAMS = gdcmpgif
+check_PROGRAMS = gifanimtest gd_color_map_test
+
+if HAVE_LIBPNG
+bin_PROGRAMS += gdtopng pngtogd webpng
+check_PROGRAMS += circletexttest fontsizetest fontwheeltest gddemo testac
+if HAVE_LIBZ
+bin_PROGRAMS += gdparttopng gd2topng pngtogd2
+check_PROGRAMS += gdtest
+endif
+endif
+
+if HAVE_LIBJPEG
+if !HAVE_LIBPNG
+check_PROGRAMS += fontsizetest fontwheeltest
+endif
+endif
+
+if HAVE_LIBFONTCONFIG
+check_PROGRAMS += fontconfigtest
+endif
+
+if HAVE_LIBFREETYPE
+bin_PROGRAMS += annotate
+check_PROGRAMS += gdtestft testtr
+endif
+
+if HAVE_LIBZ
+bin_PROGRAMS += gd2copypal gd2togif giftogd2
+endif
+
+bin_SCRIPTS = bdftogd
+
+if HAVE_LIBZ
+check_PROGRAMS += gd2time
+endif
+
+EXTRA_DIST = bdftogd demoin.png entities.html entities.tcl CMakeLists.txt config.h.cmake gd_io_stream.cxx gdpp.cxx msinttypes/inttypes.h msinttypes/stdint.h
+
+include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h gd_color_map.h gd_errors.h gdpp.h
+
+lib_LTLIBRARIES = libgd.la
+
+libgd_la_SOURCES = gd.c gd_color.c gd_color_map.c gd_transform.c gdfx.c gd_security.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_gif_in.c \
+ gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c \
+ gdfontmb.c gdfonts.c gdfontt.c gdft.c gdhelpers.c gdhelpers.h gdkanji.c gdtables.c gdxpm.c jisx0208.h wbmp.c wbmp.h \
+ gd_filter.c gd_nnquant.c gd_rotate.c gd_matrix.c gd_interpolation.c gd_crop.c webpimg.c webpimg.h gd_webp.c gd_tiff.c \
+ gd_tga.c gd_tga.h gd_bmp.c bmp.h gd_color.h gd_nnquant.h gd_tga.h gd_intern.h gd_io_stream.h gd_xbm.c \
+ gd_color_match.c gd_version.c gd_filename.c
+
+libgd_la_LDFLAGS = -version-info $(GDLIB_CURRENT):$(GDLIB_REVISION):$(GDLIB_AGE) -no-undefined
+
+libgd_la_LIBADD = $(LTLIBICONV)
+
+LDADD = libgd.la $(LIBICONV)
+
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/annotate.c b/Build/source/libs/gd/libgd-src/src/annotate.c
index c66e3311306..c66e3311306 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/annotate.c
+++ b/Build/source/libs/gd/libgd-src/src/annotate.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/bdftogd b/Build/source/libs/gd/libgd-src/src/bdftogd
index 66ffcc9ae88..66ffcc9ae88 100755..100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/bdftogd
+++ b/Build/source/libs/gd/libgd-src/src/bdftogd
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/bmp.h b/Build/source/libs/gd/libgd-src/src/bmp.h
index cecde0383f5..cecde0383f5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/bmp.h
+++ b/Build/source/libs/gd/libgd-src/src/bmp.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/circletexttest.c b/Build/source/libs/gd/libgd-src/src/circletexttest.c
index 55e0970c1a3..55e0970c1a3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/circletexttest.c
+++ b/Build/source/libs/gd/libgd-src/src/circletexttest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/config.h.cmake b/Build/source/libs/gd/libgd-src/src/config.h.cmake
index a8e6f00b64d..a8e6f00b64d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/config.h.cmake
+++ b/Build/source/libs/gd/libgd-src/src/config.h.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/config.hin b/Build/source/libs/gd/libgd-src/src/config.hin
index 54aeb524284..5393c70ef94 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/config.hin
+++ b/Build/source/libs/gd/libgd-src/src/config.hin
@@ -1,133 +1,133 @@
-/* src/config.hin. Generated from configure.ac by autoheader. */
-
-/* Define is you are building for Win32 API */
-#undef BGDWIN32
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
-/* Define to 1 if you have the <errno.h> header file. */
-#undef HAVE_ERRNO_H
-
-/* Define if you have the ft2build.h header. */
-#undef HAVE_FT2BUILD_H
-
-/* Define if you have the iconv() function and it works. */
-#undef HAVE_ICONV
-
-/* Define to 1 if you have the <iconv.h> header file. */
-#undef HAVE_ICONV_H
-
-/* Define if <iconv.h> defines iconv_t. */
-#undef HAVE_ICONV_T_DEF
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define if you have the fontconfig library. */
-#undef HAVE_LIBFONTCONFIG
-
-/* Define if you have the freetype library. */
-#undef HAVE_LIBFREETYPE
-
-/* Define if you have the jpeg library. */
-#undef HAVE_LIBJPEG
-
-/* Define to 1 if you have the `m' library (-lm). */
-#undef HAVE_LIBM
-
-/* Define if you have the png library. */
-#undef HAVE_LIBPNG
-
-/* Define if you have the Tiff library. */
-#undef HAVE_LIBTIFF
-
-/* Define if you have the VPX library. */
-#undef HAVE_LIBVPX
-
-/* Define if you have the Xpm library. */
-#undef HAVE_LIBXPM
-
-/* Define if you have zlib. */
-#undef HAVE_LIBZ
-
-/* Define to 1 if you have the <limits.h> header file. */
-#undef HAVE_LIMITS_H
-
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
-/* Define if you have POSIX threads libraries and header files. */
-#undef HAVE_PTHREAD
-
-/* Have PTHREAD_PRIO_INHERIT. */
-#undef HAVE_PTHREAD_PRIO_INHERIT
-
-/* Define to 1 if you have the <stddef.h> header file. */
-#undef HAVE_STDDEF_H
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Define to 1 or 0, depending whether the compiler supports simple visibility
- declarations. */
-#undef HAVE_VISIBILITY
-
-/* Define as const if the declaration of iconv() needs const. */
-#undef ICONV_CONST
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#undef LT_OBJDIR
-
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-#undef NO_MINUS_C_MINUS_O
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* Define to necessary symbol if this constant uses a non-standard name on
- your system. */
-#undef PTHREAD_CREATE_JOINABLE
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Version number of package */
-#undef VERSION
+/* src/config.hin. Generated from configure.ac by autoheader. */
+
+/* Define is you are building for Win32 API */
+#undef BGDWIN32
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <errno.h> header file. */
+#undef HAVE_ERRNO_H
+
+/* Define if you have the ft2build.h header. */
+#undef HAVE_FT2BUILD_H
+
+/* Define if you have the iconv() function and it works. */
+#undef HAVE_ICONV
+
+/* Define to 1 if you have the <iconv.h> header file. */
+#undef HAVE_ICONV_H
+
+/* Define if <iconv.h> defines iconv_t. */
+#undef HAVE_ICONV_T_DEF
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define if you have the fontconfig library. */
+#undef HAVE_LIBFONTCONFIG
+
+/* Define if you have the freetype library. */
+#undef HAVE_LIBFREETYPE
+
+/* Define if you have the jpeg library. */
+#undef HAVE_LIBJPEG
+
+/* Define to 1 if you have the `m' library (-lm). */
+#undef HAVE_LIBM
+
+/* Define if you have the png library. */
+#undef HAVE_LIBPNG
+
+/* Define if you have the Tiff library. */
+#undef HAVE_LIBTIFF
+
+/* Define if you have the VPX library. */
+#undef HAVE_LIBVPX
+
+/* Define if you have the Xpm library. */
+#undef HAVE_LIBXPM
+
+/* Define if you have zlib. */
+#undef HAVE_LIBZ
+
+/* Define to 1 if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define if you have POSIX threads libraries and header files. */
+#undef HAVE_PTHREAD
+
+/* Have PTHREAD_PRIO_INHERIT. */
+#undef HAVE_PTHREAD_PRIO_INHERIT
+
+/* Define to 1 if you have the <stddef.h> header file. */
+#undef HAVE_STDDEF_H
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to 1 or 0, depending whether the compiler supports simple visibility
+ declarations. */
+#undef HAVE_VISIBILITY
+
+/* Define as const if the declaration of iconv() needs const. */
+#undef ICONV_CONST
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#undef LT_OBJDIR
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+#undef NO_MINUS_C_MINUS_O
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to necessary symbol if this constant uses a non-standard name on
+ your system. */
+#undef PTHREAD_CREATE_JOINABLE
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Version number of package */
+#undef VERSION
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/demoin.png b/Build/source/libs/gd/libgd-src/src/demoin.png
index c3e57b2081e..c3e57b2081e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/demoin.png
+++ b/Build/source/libs/gd/libgd-src/src/demoin.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/entities.h b/Build/source/libs/gd/libgd-src/src/entities.h
index cf24cb63e3d..cf24cb63e3d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/entities.h
+++ b/Build/source/libs/gd/libgd-src/src/entities.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/entities.html b/Build/source/libs/gd/libgd-src/src/entities.html
index 5c5d7b65a32..f6da3c63e81 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/entities.html
+++ b/Build/source/libs/gd/libgd-src/src/entities.html
@@ -1,682 +1,682 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html lang="en"><head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Character entity references in HTML 4</title>
-
-<link rel="previous" href="http://www.w3.org/TR/REC-html40/sgml/framesetdtd.html">
-<link rel="next" href="http://www.w3.org/TR/REC-html40/appendix/changes.html">
-<link rel="contents" href="http://www.w3.org/TR/REC-html40/cover.html#toc">
-<link rel="stylesheet" type="text/css" href="entities.html_files/W3C-REC.css">
-<link rel="STYLESHEET" href="entities.html_files/default.css" type="text/css"></head>
-
-<body>
-<div class="navbar" align="center">&nbsp;<a href="http://www.w3.org/TR/REC-html40/sgml/framesetdtd.html">
-previous</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/appendix/changes.html">next</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/cover.html#minitoc">contents</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/elements.html">
-elements</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/attributes.html">attributes</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/list.html">index</a>
-
-<hr></div>
-
-<h1 align="center"><a name="h-24">24</a> <a name="entities">Character entity
-references in HTML 4</a></h1>
-
-<div class="subtoc">
-<p><strong>Contents</strong></p>
-
-<ol>
-<li><a class="tocxref" href="#h-24.1">Introduction to character entity
-references</a></li>
-
-<li><a class="tocxref" href="#h-24.2">Character entity references for ISO
-8859-1 characters</a>
-
-<ol>
-<li><a class="tocxref" href="#h-24.2.1">The list of characters</a></li>
-</ol>
-</li>
-
-<li><a class="tocxref" href="#h-24.3">Character entity references for symbols,
-mathematical symbols, and Greek letters</a>
-
-<ol>
-<li><a class="tocxref" href="#h-24.3.1">The list of characters</a></li>
-</ol>
-</li>
-
-<li><a class="tocxref" href="#h-24.4">Character entity references for
-markup-significant and internationalization characters</a>
-
-<ol>
-<li><a class="tocxref" href="#h-24.4.1">The list of characters</a></li>
-</ol>
-</li>
-</ol>
-</div>
-
-<h2><a name="h-24.1">24.1</a> Introduction to character entity references</h2>
-
-A <a href="http://www.w3.org/TR/REC-html40/charset.html#entities">character entity reference</a> is an SGML
-construct that references a character of the <a href="http://www.w3.org/TR/REC-html40/charset.html">document
-character set.</a>
-
-<p>This version of HTML supports several sets of character entity
-references:</p>
-
-<ul>
-<li><a href="#iso-88591">ISO 8859-1 (Latin-1) characters</a> In accordance with
-section 14 of <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-RFC1866" class="informref">[RFC1866]</a>, the set of Latin-1 entities has been extended by
-this specification to cover the whole right part of ISO-8859-1 (all code
-positions with the high-order bit set), including the already commonly used
-&amp;nbsp;, &amp;copy; and &amp;reg;. The names of the entities are taken from
-the appendices of SGML (defined in <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO8879" class="normref">[ISO8879]</a>).</li>
-
-<li><a href="#sym">symbols, mathematical symbols, and Greek letters</a>. These
-characters may be represented by glyphs in the Adobe font "Symbol".</li>
-
-<li><a href="#misc">markup-significant and internationalization characters</a>
-(e.g., for bidirectional text).</li>
-</ul>
-
-<p>The following sections present the complete lists of character entity
-references. Although, by convention, <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> the comments
-following each entry are usually written with uppercase letters, we have
-converted them to lowercase in this specification for reasons of
-readability.</p>
-
-<h2><a name="h-24.2">24.2</a> <a name="iso-88591">Character entity references
-for ISO 8859-1 characters</a></h2>
-
-<p>The character entity references in this section produce characters whose
-numeric equivalents should already be supported by conforming HTML 2.0 user
-agents. Thus, the character entity reference &amp;divide; is a more convenient
-form than &amp;#247; for obtaining the division sign (÷).</p>
-
-<p>To support these named entities, user agents need only recognize the entity
-names and convert them to characters that lie within the repertoire of <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO88591" class="normref">
-[ISO88591]</a>.</p>
-
-<p>Character 65533 (FFFD hexadecimal) is the last valid character in UCS-2.
-65534 (FFFE hexadecimal) is unassigned and reserved as the byte-swapped version
-of ZERO WIDTH NON-BREAKING SPACE for byte-order detection purposes. 65535 (FFFF
-hexadecimal) is unassigned.</p>
-
-<h3><a name="h-24.2.1">24.2.1</a> The list of characters</h3>
-
-<div class="dtd-fragment">
-<pre>&lt;!-- Portions © International Organization for Standardization 1986
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
---&gt;
-&lt;!-- Character entity set. Typical invocation:
- &lt;!ENTITY % HTMLlat1 PUBLIC
- "-//W3C//ENTITIES Latin 1//EN//HTML"&gt;
- %HTMLlat1;
---&gt;
-
-&lt;!ENTITY nbsp CDATA "&amp;#160;" -- no-break space = non-breaking space,
- U+00A0 ISOnum --&gt;
-&lt;!ENTITY iexcl CDATA "&amp;#161;" -- inverted exclamation mark, U+00A1 ISOnum --&gt;
-&lt;!ENTITY cent CDATA "&amp;#162;" -- cent sign, U+00A2 ISOnum --&gt;
-&lt;!ENTITY pound CDATA "&amp;#163;" -- pound sign, U+00A3 ISOnum --&gt;
-&lt;!ENTITY curren CDATA "&amp;#164;" -- currency sign, U+00A4 ISOnum --&gt;
-&lt;!ENTITY yen CDATA "&amp;#165;" -- yen sign = yuan sign, U+00A5 ISOnum --&gt;
-&lt;!ENTITY brvbar CDATA "&amp;#166;" -- broken bar = broken vertical bar,
- U+00A6 ISOnum --&gt;
-&lt;!ENTITY sect CDATA "&amp;#167;" -- section sign, U+00A7 ISOnum --&gt;
-&lt;!ENTITY uml CDATA "&amp;#168;" -- diaeresis = spacing diaeresis,
- U+00A8 ISOdia --&gt;
-&lt;!ENTITY copy CDATA "&amp;#169;" -- copyright sign, U+00A9 ISOnum --&gt;
-&lt;!ENTITY ordf CDATA "&amp;#170;" -- feminine ordinal indicator, U+00AA ISOnum --&gt;
-&lt;!ENTITY laquo CDATA "&amp;#171;" -- left-pointing double angle quotation mark
- = left pointing guillemet, U+00AB ISOnum --&gt;
-&lt;!ENTITY not CDATA "&amp;#172;" -- not sign, U+00AC ISOnum --&gt;
-&lt;!ENTITY shy CDATA "&amp;#173;" -- soft hyphen = discretionary hyphen,
- U+00AD ISOnum --&gt;
-&lt;!ENTITY reg CDATA "&amp;#174;" -- registered sign = registered trade mark sign,
- U+00AE ISOnum --&gt;
-&lt;!ENTITY macr CDATA "&amp;#175;" -- macron = spacing macron = overline
- = APL overbar, U+00AF ISOdia --&gt;
-&lt;!ENTITY deg CDATA "&amp;#176;" -- degree sign, U+00B0 ISOnum --&gt;
-&lt;!ENTITY plusmn CDATA "&amp;#177;" -- plus-minus sign = plus-or-minus sign,
- U+00B1 ISOnum --&gt;
-&lt;!ENTITY sup2 CDATA "&amp;#178;" -- superscript two = superscript digit two
- = squared, U+00B2 ISOnum --&gt;
-&lt;!ENTITY sup3 CDATA "&amp;#179;" -- superscript three = superscript digit three
- = cubed, U+00B3 ISOnum --&gt;
-&lt;!ENTITY acute CDATA "&amp;#180;" -- acute accent = spacing acute,
- U+00B4 ISOdia --&gt;
-&lt;!ENTITY micro CDATA "&amp;#181;" -- micro sign, U+00B5 ISOnum --&gt;
-&lt;!ENTITY para CDATA "&amp;#182;" -- pilcrow sign = paragraph sign,
- U+00B6 ISOnum --&gt;
-&lt;!ENTITY middot CDATA "&amp;#183;" -- middle dot = Georgian comma
- = Greek middle dot, U+00B7 ISOnum --&gt;
-&lt;!ENTITY cedil CDATA "&amp;#184;" -- cedilla = spacing cedilla, U+00B8 ISOdia --&gt;
-&lt;!ENTITY sup1 CDATA "&amp;#185;" -- superscript one = superscript digit one,
- U+00B9 ISOnum --&gt;
-&lt;!ENTITY ordm CDATA "&amp;#186;" -- masculine ordinal indicator,
- U+00BA ISOnum --&gt;
-&lt;!ENTITY raquo CDATA "&amp;#187;" -- right-pointing double angle quotation mark
- = right pointing guillemet, U+00BB ISOnum --&gt;
-&lt;!ENTITY frac14 CDATA "&amp;#188;" -- vulgar fraction one quarter
- = fraction one quarter, U+00BC ISOnum --&gt;
-&lt;!ENTITY frac12 CDATA "&amp;#189;" -- vulgar fraction one half
- = fraction one half, U+00BD ISOnum --&gt;
-&lt;!ENTITY frac34 CDATA "&amp;#190;" -- vulgar fraction three quarters
- = fraction three quarters, U+00BE ISOnum --&gt;
-&lt;!ENTITY iquest CDATA "&amp;#191;" -- inverted question mark
- = turned question mark, U+00BF ISOnum --&gt;
-&lt;!ENTITY Agrave CDATA "&amp;#192;" -- latin capital letter A with grave
- = latin capital letter A grave,
- U+00C0 ISOlat1 --&gt;
-&lt;!ENTITY Aacute CDATA "&amp;#193;" -- latin capital letter A with acute,
- U+00C1 ISOlat1 --&gt;
-&lt;!ENTITY Acirc CDATA "&amp;#194;" -- latin capital letter A with circumflex,
- U+00C2 ISOlat1 --&gt;
-&lt;!ENTITY Atilde CDATA "&amp;#195;" -- latin capital letter A with tilde,
- U+00C3 ISOlat1 --&gt;
-&lt;!ENTITY Auml CDATA "&amp;#196;" -- latin capital letter A with diaeresis,
- U+00C4 ISOlat1 --&gt;
-&lt;!ENTITY Aring CDATA "&amp;#197;" -- latin capital letter A with ring above
- = latin capital letter A ring,
- U+00C5 ISOlat1 --&gt;
-&lt;!ENTITY AElig CDATA "&amp;#198;" -- latin capital letter AE
- = latin capital ligature AE,
- U+00C6 ISOlat1 --&gt;
-&lt;!ENTITY Ccedil CDATA "&amp;#199;" -- latin capital letter C with cedilla,
- U+00C7 ISOlat1 --&gt;
-&lt;!ENTITY Egrave CDATA "&amp;#200;" -- latin capital letter E with grave,
- U+00C8 ISOlat1 --&gt;
-&lt;!ENTITY Eacute CDATA "&amp;#201;" -- latin capital letter E with acute,
- U+00C9 ISOlat1 --&gt;
-&lt;!ENTITY Ecirc CDATA "&amp;#202;" -- latin capital letter E with circumflex,
- U+00CA ISOlat1 --&gt;
-&lt;!ENTITY Euml CDATA "&amp;#203;" -- latin capital letter E with diaeresis,
- U+00CB ISOlat1 --&gt;
-&lt;!ENTITY Igrave CDATA "&amp;#204;" -- latin capital letter I with grave,
- U+00CC ISOlat1 --&gt;
-&lt;!ENTITY Iacute CDATA "&amp;#205;" -- latin capital letter I with acute,
- U+00CD ISOlat1 --&gt;
-&lt;!ENTITY Icirc CDATA "&amp;#206;" -- latin capital letter I with circumflex,
- U+00CE ISOlat1 --&gt;
-&lt;!ENTITY Iuml CDATA "&amp;#207;" -- latin capital letter I with diaeresis,
- U+00CF ISOlat1 --&gt;
-&lt;!ENTITY ETH CDATA "&amp;#208;" -- latin capital letter ETH, U+00D0 ISOlat1 --&gt;
-&lt;!ENTITY Ntilde CDATA "&amp;#209;" -- latin capital letter N with tilde,
- U+00D1 ISOlat1 --&gt;
-&lt;!ENTITY Ograve CDATA "&amp;#210;" -- latin capital letter O with grave,
- U+00D2 ISOlat1 --&gt;
-&lt;!ENTITY Oacute CDATA "&amp;#211;" -- latin capital letter O with acute,
- U+00D3 ISOlat1 --&gt;
-&lt;!ENTITY Ocirc CDATA "&amp;#212;" -- latin capital letter O with circumflex,
- U+00D4 ISOlat1 --&gt;
-&lt;!ENTITY Otilde CDATA "&amp;#213;" -- latin capital letter O with tilde,
- U+00D5 ISOlat1 --&gt;
-&lt;!ENTITY Ouml CDATA "&amp;#214;" -- latin capital letter O with diaeresis,
- U+00D6 ISOlat1 --&gt;
-&lt;!ENTITY times CDATA "&amp;#215;" -- multiplication sign, U+00D7 ISOnum --&gt;
-&lt;!ENTITY Oslash CDATA "&amp;#216;" -- latin capital letter O with stroke
- = latin capital letter O slash,
- U+00D8 ISOlat1 --&gt;
-&lt;!ENTITY Ugrave CDATA "&amp;#217;" -- latin capital letter U with grave,
- U+00D9 ISOlat1 --&gt;
-&lt;!ENTITY Uacute CDATA "&amp;#218;" -- latin capital letter U with acute,
- U+00DA ISOlat1 --&gt;
-&lt;!ENTITY Ucirc CDATA "&amp;#219;" -- latin capital letter U with circumflex,
- U+00DB ISOlat1 --&gt;
-&lt;!ENTITY Uuml CDATA "&amp;#220;" -- latin capital letter U with diaeresis,
- U+00DC ISOlat1 --&gt;
-&lt;!ENTITY Yacute CDATA "&amp;#221;" -- latin capital letter Y with acute,
- U+00DD ISOlat1 --&gt;
-&lt;!ENTITY THORN CDATA "&amp;#222;" -- latin capital letter THORN,
- U+00DE ISOlat1 --&gt;
-&lt;!ENTITY szlig CDATA "&amp;#223;" -- latin small letter sharp s = ess-zed,
- U+00DF ISOlat1 --&gt;
-&lt;!ENTITY agrave CDATA "&amp;#224;" -- latin small letter a with grave
- = latin small letter a grave,
- U+00E0 ISOlat1 --&gt;
-&lt;!ENTITY aacute CDATA "&amp;#225;" -- latin small letter a with acute,
- U+00E1 ISOlat1 --&gt;
-&lt;!ENTITY acirc CDATA "&amp;#226;" -- latin small letter a with circumflex,
- U+00E2 ISOlat1 --&gt;
-&lt;!ENTITY atilde CDATA "&amp;#227;" -- latin small letter a with tilde,
- U+00E3 ISOlat1 --&gt;
-&lt;!ENTITY auml CDATA "&amp;#228;" -- latin small letter a with diaeresis,
- U+00E4 ISOlat1 --&gt;
-&lt;!ENTITY aring CDATA "&amp;#229;" -- latin small letter a with ring above
- = latin small letter a ring,
- U+00E5 ISOlat1 --&gt;
-&lt;!ENTITY aelig CDATA "&amp;#230;" -- latin small letter ae
- = latin small ligature ae, U+00E6 ISOlat1 --&gt;
-&lt;!ENTITY ccedil CDATA "&amp;#231;" -- latin small letter c with cedilla,
- U+00E7 ISOlat1 --&gt;
-&lt;!ENTITY egrave CDATA "&amp;#232;" -- latin small letter e with grave,
- U+00E8 ISOlat1 --&gt;
-&lt;!ENTITY eacute CDATA "&amp;#233;" -- latin small letter e with acute,
- U+00E9 ISOlat1 --&gt;
-&lt;!ENTITY ecirc CDATA "&amp;#234;" -- latin small letter e with circumflex,
- U+00EA ISOlat1 --&gt;
-&lt;!ENTITY euml CDATA "&amp;#235;" -- latin small letter e with diaeresis,
- U+00EB ISOlat1 --&gt;
-&lt;!ENTITY igrave CDATA "&amp;#236;" -- latin small letter i with grave,
- U+00EC ISOlat1 --&gt;
-&lt;!ENTITY iacute CDATA "&amp;#237;" -- latin small letter i with acute,
- U+00ED ISOlat1 --&gt;
-&lt;!ENTITY icirc CDATA "&amp;#238;" -- latin small letter i with circumflex,
- U+00EE ISOlat1 --&gt;
-&lt;!ENTITY iuml CDATA "&amp;#239;" -- latin small letter i with diaeresis,
- U+00EF ISOlat1 --&gt;
-&lt;!ENTITY eth CDATA "&amp;#240;" -- latin small letter eth, U+00F0 ISOlat1 --&gt;
-&lt;!ENTITY ntilde CDATA "&amp;#241;" -- latin small letter n with tilde,
- U+00F1 ISOlat1 --&gt;
-&lt;!ENTITY ograve CDATA "&amp;#242;" -- latin small letter o with grave,
- U+00F2 ISOlat1 --&gt;
-&lt;!ENTITY oacute CDATA "&amp;#243;" -- latin small letter o with acute,
- U+00F3 ISOlat1 --&gt;
-&lt;!ENTITY ocirc CDATA "&amp;#244;" -- latin small letter o with circumflex,
- U+00F4 ISOlat1 --&gt;
-&lt;!ENTITY otilde CDATA "&amp;#245;" -- latin small letter o with tilde,
- U+00F5 ISOlat1 --&gt;
-&lt;!ENTITY ouml CDATA "&amp;#246;" -- latin small letter o with diaeresis,
- U+00F6 ISOlat1 --&gt;
-&lt;!ENTITY divide CDATA "&amp;#247;" -- division sign, U+00F7 ISOnum --&gt;
-&lt;!ENTITY oslash CDATA "&amp;#248;" -- latin small letter o with stroke,
- = latin small letter o slash,
- U+00F8 ISOlat1 --&gt;
-&lt;!ENTITY ugrave CDATA "&amp;#249;" -- latin small letter u with grave,
- U+00F9 ISOlat1 --&gt;
-&lt;!ENTITY uacute CDATA "&amp;#250;" -- latin small letter u with acute,
- U+00FA ISOlat1 --&gt;
-&lt;!ENTITY ucirc CDATA "&amp;#251;" -- latin small letter u with circumflex,
- U+00FB ISOlat1 --&gt;
-&lt;!ENTITY uuml CDATA "&amp;#252;" -- latin small letter u with diaeresis,
- U+00FC ISOlat1 --&gt;
-&lt;!ENTITY yacute CDATA "&amp;#253;" -- latin small letter y with acute,
- U+00FD ISOlat1 --&gt;
-&lt;!ENTITY thorn CDATA "&amp;#254;" -- latin small letter thorn,
- U+00FE ISOlat1 --&gt;
-&lt;!ENTITY yuml CDATA "&amp;#255;" -- latin small letter y with diaeresis,
- U+00FF ISOlat1 --&gt;
-</pre>
-</div>
-
-<h2><a name="h-24.3">24.3</a> <a name="sym">Character entity references for
-symbols, mathematical symbols, and Greek letters</a></h2>
-
-<p>The character entity references in this section produce characters that may
-be represented by glyphs in the widely available Adobe Symbol font, including
-Greek characters, various bracketing symbols, and a selection of mathematical
-operators such as gradient, product, and summation symbols.</p>
-
-<p>To support these entities, user agents may support full <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> or use
-other means. Display of glyphs for these characters may be obtained by being
-able to display the relevant <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> characters or
-by other means, such as internally mapping the listed entities, numeric
-character references, and characters to the appropriate position in some font
-that contains the requisite glyphs.</p>
-
-<div class="note">
-<p><em><strong>When to use Greek entities.</strong> This entity set contains
-all the letters used in modern Greek. However, it does not include Greek
-punctuation, precomposed accented characters nor the non-spacing accents
-(tonos, dialytika) required to compose them. There are no archaic letters,
-Coptic-unique letters, or precomposed letters for Polytonic Greek. The entities
-defined here are not intended for the representation of modern Greek text and
-would not be an efficient representation; rather, they are intended for
-occasional Greek letters used in technical and mathematical works.</em></p>
-</div>
-
-<h3><a name="h-24.3.1">24.3.1</a> The list of characters</h3>
-
-<div class="dtd-fragment">
-<pre>&lt;!-- Mathematical, Greek and Symbolic characters for HTML --&gt;
-
-&lt;!-- Character entity set. Typical invocation:
- &lt;!ENTITY % HTMLsymbol PUBLIC
- "-//W3C//ENTITIES Symbols//EN//HTML"&gt;
- %HTMLsymbol; --&gt;
-
-&lt;!-- Portions © International Organization for Standardization 1986:
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
---&gt;
-
-&lt;!-- Relevant ISO entity set is given unless names are newly introduced.
- New names (i.e., not in ISO 8879 list) do not clash with any
- existing ISO 8879 entity names. ISO 10646 character numbers
- are given for each character, in hex. CDATA values are decimal
- conversions of the ISO 10646 values and refer to the document
- character set. Names are ISO 10646 names.
-
---&gt;
-
-&lt;!-- Latin Extended-B --&gt;
-&lt;!ENTITY fnof CDATA "&amp;#402;" -- latin small f with hook = function
- = florin, U+0192 ISOtech --&gt;
-
-&lt;!-- Greek --&gt;
-&lt;!ENTITY Alpha CDATA "&amp;#913;" -- greek capital letter alpha, U+0391 --&gt;
-&lt;!ENTITY Beta CDATA "&amp;#914;" -- greek capital letter beta, U+0392 --&gt;
-&lt;!ENTITY Gamma CDATA "&amp;#915;" -- greek capital letter gamma,
- U+0393 ISOgrk3 --&gt;
-&lt;!ENTITY Delta CDATA "&amp;#916;" -- greek capital letter delta,
- U+0394 ISOgrk3 --&gt;
-&lt;!ENTITY Epsilon CDATA "&amp;#917;" -- greek capital letter epsilon, U+0395 --&gt;
-&lt;!ENTITY Zeta CDATA "&amp;#918;" -- greek capital letter zeta, U+0396 --&gt;
-&lt;!ENTITY Eta CDATA "&amp;#919;" -- greek capital letter eta, U+0397 --&gt;
-&lt;!ENTITY Theta CDATA "&amp;#920;" -- greek capital letter theta,
- U+0398 ISOgrk3 --&gt;
-&lt;!ENTITY Iota CDATA "&amp;#921;" -- greek capital letter iota, U+0399 --&gt;
-&lt;!ENTITY Kappa CDATA "&amp;#922;" -- greek capital letter kappa, U+039A --&gt;
-&lt;!ENTITY Lambda CDATA "&amp;#923;" -- greek capital letter lambda,
- U+039B ISOgrk3 --&gt;
-&lt;!ENTITY Mu CDATA "&amp;#924;" -- greek capital letter mu, U+039C --&gt;
-&lt;!ENTITY Nu CDATA "&amp;#925;" -- greek capital letter nu, U+039D --&gt;
-&lt;!ENTITY Xi CDATA "&amp;#926;" -- greek capital letter xi, U+039E ISOgrk3 --&gt;
-&lt;!ENTITY Omicron CDATA "&amp;#927;" -- greek capital letter omicron, U+039F --&gt;
-&lt;!ENTITY Pi CDATA "&amp;#928;" -- greek capital letter pi, U+03A0 ISOgrk3 --&gt;
-&lt;!ENTITY Rho CDATA "&amp;#929;" -- greek capital letter rho, U+03A1 --&gt;
-&lt;!-- there is no Sigmaf, and no U+03A2 character either --&gt;
-&lt;!ENTITY Sigma CDATA "&amp;#931;" -- greek capital letter sigma,
- U+03A3 ISOgrk3 --&gt;
-&lt;!ENTITY Tau CDATA "&amp;#932;" -- greek capital letter tau, U+03A4 --&gt;
-&lt;!ENTITY Upsilon CDATA "&amp;#933;" -- greek capital letter upsilon,
- U+03A5 ISOgrk3 --&gt;
-&lt;!ENTITY Phi CDATA "&amp;#934;" -- greek capital letter phi,
- U+03A6 ISOgrk3 --&gt;
-&lt;!ENTITY Chi CDATA "&amp;#935;" -- greek capital letter chi, U+03A7 --&gt;
-&lt;!ENTITY Psi CDATA "&amp;#936;" -- greek capital letter psi,
- U+03A8 ISOgrk3 --&gt;
-&lt;!ENTITY Omega CDATA "&amp;#937;" -- greek capital letter omega,
- U+03A9 ISOgrk3 --&gt;
-
-&lt;!ENTITY alpha CDATA "&amp;#945;" -- greek small letter alpha,
- U+03B1 ISOgrk3 --&gt;
-&lt;!ENTITY beta CDATA "&amp;#946;" -- greek small letter beta, U+03B2 ISOgrk3 --&gt;
-&lt;!ENTITY gamma CDATA "&amp;#947;" -- greek small letter gamma,
- U+03B3 ISOgrk3 --&gt;
-&lt;!ENTITY delta CDATA "&amp;#948;" -- greek small letter delta,
- U+03B4 ISOgrk3 --&gt;
-&lt;!ENTITY epsilon CDATA "&amp;#949;" -- greek small letter epsilon,
- U+03B5 ISOgrk3 --&gt;
-&lt;!ENTITY zeta CDATA "&amp;#950;" -- greek small letter zeta, U+03B6 ISOgrk3 --&gt;
-&lt;!ENTITY eta CDATA "&amp;#951;" -- greek small letter eta, U+03B7 ISOgrk3 --&gt;
-&lt;!ENTITY theta CDATA "&amp;#952;" -- greek small letter theta,
- U+03B8 ISOgrk3 --&gt;
-&lt;!ENTITY iota CDATA "&amp;#953;" -- greek small letter iota, U+03B9 ISOgrk3 --&gt;
-&lt;!ENTITY kappa CDATA "&amp;#954;" -- greek small letter kappa,
- U+03BA ISOgrk3 --&gt;
-&lt;!ENTITY lambda CDATA "&amp;#955;" -- greek small letter lambda,
- U+03BB ISOgrk3 --&gt;
-&lt;!ENTITY mu CDATA "&amp;#956;" -- greek small letter mu, U+03BC ISOgrk3 --&gt;
-&lt;!ENTITY nu CDATA "&amp;#957;" -- greek small letter nu, U+03BD ISOgrk3 --&gt;
-&lt;!ENTITY xi CDATA "&amp;#958;" -- greek small letter xi, U+03BE ISOgrk3 --&gt;
-&lt;!ENTITY omicron CDATA "&amp;#959;" -- greek small letter omicron, U+03BF NEW --&gt;
-&lt;!ENTITY pi CDATA "&amp;#960;" -- greek small letter pi, U+03C0 ISOgrk3 --&gt;
-&lt;!ENTITY rho CDATA "&amp;#961;" -- greek small letter rho, U+03C1 ISOgrk3 --&gt;
-&lt;!ENTITY sigmaf CDATA "&amp;#962;" -- greek small letter final sigma,
- U+03C2 ISOgrk3 --&gt;
-&lt;!ENTITY sigma CDATA "&amp;#963;" -- greek small letter sigma,
- U+03C3 ISOgrk3 --&gt;
-&lt;!ENTITY tau CDATA "&amp;#964;" -- greek small letter tau, U+03C4 ISOgrk3 --&gt;
-&lt;!ENTITY upsilon CDATA "&amp;#965;" -- greek small letter upsilon,
- U+03C5 ISOgrk3 --&gt;
-&lt;!ENTITY phi CDATA "&amp;#966;" -- greek small letter phi, U+03C6 ISOgrk3 --&gt;
-&lt;!ENTITY chi CDATA "&amp;#967;" -- greek small letter chi, U+03C7 ISOgrk3 --&gt;
-&lt;!ENTITY psi CDATA "&amp;#968;" -- greek small letter psi, U+03C8 ISOgrk3 --&gt;
-&lt;!ENTITY omega CDATA "&amp;#969;" -- greek small letter omega,
- U+03C9 ISOgrk3 --&gt;
-&lt;!ENTITY thetasym CDATA "&amp;#977;" -- greek small letter theta symbol,
- U+03D1 NEW --&gt;
-&lt;!ENTITY upsih CDATA "&amp;#978;" -- greek upsilon with hook symbol,
- U+03D2 NEW --&gt;
-&lt;!ENTITY piv CDATA "&amp;#982;" -- greek pi symbol, U+03D6 ISOgrk3 --&gt;
-
-&lt;!-- General Punctuation --&gt;
-&lt;!ENTITY bull CDATA "&amp;#8226;" -- bullet = black small circle,
- U+2022 ISOpub --&gt;
-&lt;!-- bullet is NOT the same as bullet operator, U+2219 --&gt;
-&lt;!ENTITY hellip CDATA "&amp;#8230;" -- horizontal ellipsis = three dot leader,
- U+2026 ISOpub --&gt;
-&lt;!ENTITY prime CDATA "&amp;#8242;" -- prime = minutes = feet, U+2032 ISOtech --&gt;
-&lt;!ENTITY Prime CDATA "&amp;#8243;" -- double prime = seconds = inches,
- U+2033 ISOtech --&gt;
-&lt;!ENTITY oline CDATA "&amp;#8254;" -- overline = spacing overscore,
- U+203E NEW --&gt;
-&lt;!ENTITY frasl CDATA "&amp;#8260;" -- fraction slash, U+2044 NEW --&gt;
-
-&lt;!-- Letterlike Symbols --&gt;
-&lt;!ENTITY weierp CDATA "&amp;#8472;" -- script capital P = power set
- = Weierstrass p, U+2118 ISOamso --&gt;
-&lt;!ENTITY image CDATA "&amp;#8465;" -- blackletter capital I = imaginary part,
- U+2111 ISOamso --&gt;
-&lt;!ENTITY real CDATA "&amp;#8476;" -- blackletter capital R = real part symbol,
- U+211C ISOamso --&gt;
-&lt;!ENTITY trade CDATA "&amp;#8482;" -- trade mark sign, U+2122 ISOnum --&gt;
-&lt;!ENTITY alefsym CDATA "&amp;#8501;" -- alef symbol = first transfinite cardinal,
- U+2135 NEW --&gt;
-&lt;!-- alef symbol is NOT the same as hebrew letter alef,
- U+05D0 although the same glyph could be used to depict both characters --&gt;
-
-&lt;!-- Arrows --&gt;
-&lt;!ENTITY larr CDATA "&amp;#8592;" -- leftwards arrow, U+2190 ISOnum --&gt;
-&lt;!ENTITY uarr CDATA "&amp;#8593;" -- upwards arrow, U+2191 ISOnum--&gt;
-&lt;!ENTITY rarr CDATA "&amp;#8594;" -- rightwards arrow, U+2192 ISOnum --&gt;
-&lt;!ENTITY darr CDATA "&amp;#8595;" -- downwards arrow, U+2193 ISOnum --&gt;
-&lt;!ENTITY harr CDATA "&amp;#8596;" -- left right arrow, U+2194 ISOamsa --&gt;
-&lt;!ENTITY crarr CDATA "&amp;#8629;" -- downwards arrow with corner leftwards
- = carriage return, U+21B5 NEW --&gt;
-&lt;!ENTITY lArr CDATA "&amp;#8656;" -- leftwards double arrow, U+21D0 ISOtech --&gt;
-&lt;!-- ISO 10646 does not say that lArr is the same as the 'is implied by' arrow
- but also does not have any other character for that function. So ? lArr can
- be used for 'is implied by' as ISOtech suggests --&gt;
-&lt;!ENTITY uArr CDATA "&amp;#8657;" -- upwards double arrow, U+21D1 ISOamsa --&gt;
-&lt;!ENTITY rArr CDATA "&amp;#8658;" -- rightwards double arrow,
- U+21D2 ISOtech --&gt;
-&lt;!-- ISO 10646 does not say this is the 'implies' character but does not have
- another character with this function so ?
- rArr can be used for 'implies' as ISOtech suggests --&gt;
-&lt;!ENTITY dArr CDATA "&amp;#8659;" -- downwards double arrow, U+21D3 ISOamsa --&gt;
-&lt;!ENTITY hArr CDATA "&amp;#8660;" -- left right double arrow,
- U+21D4 ISOamsa --&gt;
-
-&lt;!-- Mathematical Operators --&gt;
-&lt;!ENTITY forall CDATA "&amp;#8704;" -- for all, U+2200 ISOtech --&gt;
-&lt;!ENTITY part CDATA "&amp;#8706;" -- partial differential, U+2202 ISOtech --&gt;
-&lt;!ENTITY exist CDATA "&amp;#8707;" -- there exists, U+2203 ISOtech --&gt;
-&lt;!ENTITY empty CDATA "&amp;#8709;" -- empty set = null set = diameter,
- U+2205 ISOamso --&gt;
-&lt;!ENTITY nabla CDATA "&amp;#8711;" -- nabla = backward difference,
- U+2207 ISOtech --&gt;
-&lt;!ENTITY isin CDATA "&amp;#8712;" -- element of, U+2208 ISOtech --&gt;
-&lt;!ENTITY notin CDATA "&amp;#8713;" -- not an element of, U+2209 ISOtech --&gt;
-&lt;!ENTITY ni CDATA "&amp;#8715;" -- contains as member, U+220B ISOtech --&gt;
-&lt;!-- should there be a more memorable name than 'ni'? --&gt;
-&lt;!ENTITY prod CDATA "&amp;#8719;" -- n-ary product = product sign,
- U+220F ISOamsb --&gt;
-&lt;!-- prod is NOT the same character as U+03A0 'greek capital letter pi' though
- the same glyph might be used for both --&gt;
-&lt;!ENTITY sum CDATA "&amp;#8721;" -- n-ary sumation, U+2211 ISOamsb --&gt;
-&lt;!-- sum is NOT the same character as U+03A3 'greek capital letter sigma'
- though the same glyph might be used for both --&gt;
-&lt;!ENTITY minus CDATA "&amp;#8722;" -- minus sign, U+2212 ISOtech --&gt;
-&lt;!ENTITY lowast CDATA "&amp;#8727;" -- asterisk operator, U+2217 ISOtech --&gt;
-&lt;!ENTITY radic CDATA "&amp;#8730;" -- square root = radical sign,
- U+221A ISOtech --&gt;
-&lt;!ENTITY prop CDATA "&amp;#8733;" -- proportional to, U+221D ISOtech --&gt;
-&lt;!ENTITY infin CDATA "&amp;#8734;" -- infinity, U+221E ISOtech --&gt;
-&lt;!ENTITY ang CDATA "&amp;#8736;" -- angle, U+2220 ISOamso --&gt;
-&lt;!ENTITY and CDATA "&amp;#8743;" -- logical and = wedge, U+2227 ISOtech --&gt;
-&lt;!ENTITY or CDATA "&amp;#8744;" -- logical or = vee, U+2228 ISOtech --&gt;
-&lt;!ENTITY cap CDATA "&amp;#8745;" -- intersection = cap, U+2229 ISOtech --&gt;
-&lt;!ENTITY cup CDATA "&amp;#8746;" -- union = cup, U+222A ISOtech --&gt;
-&lt;!ENTITY int CDATA "&amp;#8747;" -- integral, U+222B ISOtech --&gt;
-&lt;!ENTITY there4 CDATA "&amp;#8756;" -- therefore, U+2234 ISOtech --&gt;
-&lt;!ENTITY sim CDATA "&amp;#8764;" -- tilde operator = varies with = similar to,
- U+223C ISOtech --&gt;
-&lt;!-- tilde operator is NOT the same character as the tilde, U+007E,
- although the same glyph might be used to represent both --&gt;
-&lt;!ENTITY cong CDATA "&amp;#8773;" -- approximately equal to, U+2245 ISOtech --&gt;
-&lt;!ENTITY asymp CDATA "&amp;#8776;" -- almost equal to = asymptotic to,
- U+2248 ISOamsr --&gt;
-&lt;!ENTITY ne CDATA "&amp;#8800;" -- not equal to, U+2260 ISOtech --&gt;
-&lt;!ENTITY equiv CDATA "&amp;#8801;" -- identical to, U+2261 ISOtech --&gt;
-&lt;!ENTITY le CDATA "&amp;#8804;" -- less-than or equal to, U+2264 ISOtech --&gt;
-&lt;!ENTITY ge CDATA "&amp;#8805;" -- greater-than or equal to,
- U+2265 ISOtech --&gt;
-&lt;!ENTITY sub CDATA "&amp;#8834;" -- subset of, U+2282 ISOtech --&gt;
-&lt;!ENTITY sup CDATA "&amp;#8835;" -- superset of, U+2283 ISOtech --&gt;
-&lt;!-- note that nsup, 'not a superset of, U+2283' is not covered by the Symbol
- font encoding and is not included. Should it be, for symmetry?
- It is in ISOamsn --&gt;
-&lt;!ENTITY nsub CDATA "&amp;#8836;" -- not a subset of, U+2284 ISOamsn --&gt;
-&lt;!ENTITY sube CDATA "&amp;#8838;" -- subset of or equal to, U+2286 ISOtech --&gt;
-&lt;!ENTITY supe CDATA "&amp;#8839;" -- superset of or equal to,
- U+2287 ISOtech --&gt;
-&lt;!ENTITY oplus CDATA "&amp;#8853;" -- circled plus = direct sum,
- U+2295 ISOamsb --&gt;
-&lt;!ENTITY otimes CDATA "&amp;#8855;" -- circled times = vector product,
- U+2297 ISOamsb --&gt;
-&lt;!ENTITY perp CDATA "&amp;#8869;" -- up tack = orthogonal to = perpendicular,
- U+22A5 ISOtech --&gt;
-&lt;!ENTITY sdot CDATA "&amp;#8901;" -- dot operator, U+22C5 ISOamsb --&gt;
-&lt;!-- dot operator is NOT the same character as U+00B7 middle dot --&gt;
-
-&lt;!-- Miscellaneous Technical --&gt;
-&lt;!ENTITY lceil CDATA "&amp;#8968;" -- left ceiling = apl upstile,
- U+2308 ISOamsc --&gt;
-&lt;!ENTITY rceil CDATA "&amp;#8969;" -- right ceiling, U+2309 ISOamsc --&gt;
-&lt;!ENTITY lfloor CDATA "&amp;#8970;" -- left floor = apl downstile,
- U+230A ISOamsc --&gt;
-&lt;!ENTITY rfloor CDATA "&amp;#8971;" -- right floor, U+230B ISOamsc --&gt;
-&lt;!ENTITY lang CDATA "&amp;#9001;" -- left-pointing angle bracket = bra,
- U+2329 ISOtech --&gt;
-&lt;!-- lang is NOT the same character as U+003C 'less than'
- or U+2039 'single left-pointing angle quotation mark' --&gt;
-&lt;!ENTITY rang CDATA "&amp;#9002;" -- right-pointing angle bracket = ket,
- U+232A ISOtech --&gt;
-&lt;!-- rang is NOT the same character as U+003E 'greater than'
- or U+203A 'single right-pointing angle quotation mark' --&gt;
-
-&lt;!-- Geometric Shapes --&gt;
-&lt;!ENTITY loz CDATA "&amp;#9674;" -- lozenge, U+25CA ISOpub --&gt;
-
-&lt;!-- Miscellaneous Symbols --&gt;
-&lt;!ENTITY spades CDATA "&amp;#9824;" -- black spade suit, U+2660 ISOpub --&gt;
-&lt;!-- black here seems to mean filled as opposed to hollow --&gt;
-&lt;!ENTITY clubs CDATA "&amp;#9827;" -- black club suit = shamrock,
- U+2663 ISOpub --&gt;
-&lt;!ENTITY hearts CDATA "&amp;#9829;" -- black heart suit = valentine,
- U+2665 ISOpub --&gt;
-&lt;!ENTITY diams CDATA "&amp;#9830;" -- black diamond suit, U+2666 ISOpub --&gt;
-</pre>
-</div>
-
-<h2><a name="h-24.4">24.4</a> <a name="misc">Character entity references for
-markup-significant and internationalization characters</a></h2>
-
-<p>The character entity references in this section are for escaping
-markup-significant characters (these are the same as those in HTML 2.0 and
-3.2), for denoting spaces and dashes. Other characters in this section apply to
-internationalization issues such as the disambiguation of bidirectional text
-(see the section on <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#bidirection">bidirectional
-text</a> for details).</p>
-
-<p>Entities have also been added for the remaining characters occurring in
-CP-1252 which do not occur in the HTMLlat1 or HTMLsymbol entity sets. These all
-occur in the 128 to 159 range within the CP-1252 charset. These entities permit
-the characters to be denoted in a platform-independent manner.</p>
-
-<p>To support these entities, user agents may support full <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> or use
-other means. Display of glyphs for these characters may be obtained by being
-able to display the relevant <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> characters or
-by other means, such as internally mapping the listed entities, numeric
-character references, and characters to the appropriate position in some font
-that contains the requisite glyphs.</p>
-
-<h3><a name="h-24.4.1">24.4.1</a> The list of characters</h3>
-
-<div class="dtd-fragment">
-<pre>&lt;!-- Special characters for HTML --&gt;
-
-&lt;!-- Character entity set. Typical invocation:
- &lt;!ENTITY % HTMLspecial PUBLIC
- "-//W3C//ENTITIES Special//EN//HTML"&gt;
- %HTMLspecial; --&gt;
-
-&lt;!-- Portions © International Organization for Standardization 1986:
- Permission to copy in any form is granted for use with
- conforming SGML systems and applications as defined in
- ISO 8879, provided this notice is included in all copies.
---&gt;
-
-&lt;!-- Relevant ISO entity set is given unless names are newly introduced.
- New names (i.e., not in ISO 8879 list) do not clash with any
- existing ISO 8879 entity names. ISO 10646 character numbers
- are given for each character, in hex. CDATA values are decimal
- conversions of the ISO 10646 values and refer to the document
- character set. Names are ISO 10646 names.
-
---&gt;
-
-&lt;!-- C0 Controls and Basic Latin --&gt;
-&lt;!ENTITY quot CDATA "&amp;#34;" -- quotation mark = APL quote,
- U+0022 ISOnum --&gt;
-&lt;!ENTITY amp CDATA "&amp;#38;" -- ampersand, U+0026 ISOnum --&gt;
-&lt;!ENTITY lt CDATA "&amp;#60;" -- less-than sign, U+003C ISOnum --&gt;
-&lt;!ENTITY gt CDATA "&amp;#62;" -- greater-than sign, U+003E ISOnum --&gt;
-
-&lt;!-- Latin Extended-A --&gt;
-&lt;!ENTITY OElig CDATA "&amp;#338;" -- latin capital ligature OE,
- U+0152 ISOlat2 --&gt;
-&lt;!ENTITY oelig CDATA "&amp;#339;" -- latin small ligature oe, U+0153 ISOlat2 --&gt;
-&lt;!-- ligature is a misnomer, this is a separate character in some languages --&gt;
-&lt;!ENTITY Scaron CDATA "&amp;#352;" -- latin capital letter S with caron,
- U+0160 ISOlat2 --&gt;
-&lt;!ENTITY scaron CDATA "&amp;#353;" -- latin small letter s with caron,
- U+0161 ISOlat2 --&gt;
-&lt;!ENTITY Yuml CDATA "&amp;#376;" -- latin capital letter Y with diaeresis,
- U+0178 ISOlat2 --&gt;
-
-&lt;!-- Spacing Modifier Letters --&gt;
-&lt;!ENTITY circ CDATA "&amp;#710;" -- modifier letter circumflex accent,
- U+02C6 ISOpub --&gt;
-&lt;!ENTITY tilde CDATA "&amp;#732;" -- small tilde, U+02DC ISOdia --&gt;
-
-&lt;!-- General Punctuation --&gt;
-&lt;!ENTITY ensp CDATA "&amp;#8194;" -- en space, U+2002 ISOpub --&gt;
-&lt;!ENTITY emsp CDATA "&amp;#8195;" -- em space, U+2003 ISOpub --&gt;
-&lt;!ENTITY thinsp CDATA "&amp;#8201;" -- thin space, U+2009 ISOpub --&gt;
-&lt;!ENTITY zwnj CDATA "&amp;#8204;" -- zero width non-joiner,
- U+200C NEW RFC 2070 --&gt;
-&lt;!ENTITY zwj CDATA "&amp;#8205;" -- zero width joiner, U+200D NEW RFC 2070 --&gt;
-&lt;!ENTITY lrm CDATA "&amp;#8206;" -- left-to-right mark, U+200E NEW RFC 2070 --&gt;
-&lt;!ENTITY rlm CDATA "&amp;#8207;" -- right-to-left mark, U+200F NEW RFC 2070 --&gt;
-&lt;!ENTITY ndash CDATA "&amp;#8211;" -- en dash, U+2013 ISOpub --&gt;
-&lt;!ENTITY mdash CDATA "&amp;#8212;" -- em dash, U+2014 ISOpub --&gt;
-&lt;!ENTITY lsquo CDATA "&amp;#8216;" -- left single quotation mark,
- U+2018 ISOnum --&gt;
-&lt;!ENTITY rsquo CDATA "&amp;#8217;" -- right single quotation mark,
- U+2019 ISOnum --&gt;
-&lt;!ENTITY sbquo CDATA "&amp;#8218;" -- single low-9 quotation mark, U+201A NEW --&gt;
-&lt;!ENTITY ldquo CDATA "&amp;#8220;" -- left double quotation mark,
- U+201C ISOnum --&gt;
-&lt;!ENTITY rdquo CDATA "&amp;#8221;" -- right double quotation mark,
- U+201D ISOnum --&gt;
-&lt;!ENTITY bdquo CDATA "&amp;#8222;" -- double low-9 quotation mark, U+201E NEW --&gt;
-&lt;!ENTITY dagger CDATA "&amp;#8224;" -- dagger, U+2020 ISOpub --&gt;
-&lt;!ENTITY Dagger CDATA "&amp;#8225;" -- double dagger, U+2021 ISOpub --&gt;
-&lt;!ENTITY permil CDATA "&amp;#8240;" -- per mille sign, U+2030 ISOtech --&gt;
-&lt;!ENTITY lsaquo CDATA "&amp;#8249;" -- single left-pointing angle quotation mark,
- U+2039 ISO proposed --&gt;
-&lt;!-- lsaquo is proposed but not yet ISO standardized --&gt;
-&lt;!ENTITY rsaquo CDATA "&amp;#8250;" -- single right-pointing angle quotation mark,
- U+203A ISO proposed --&gt;
-&lt;!-- rsaquo is proposed but not yet ISO standardized --&gt;
-&lt;!ENTITY euro CDATA "&amp;#8364;" -- euro sign, U+20AC NEW --&gt;
-</pre>
-</div>
-
-<div class="navbar" align="center">
-<hr><a href="http://www.w3.org/TR/REC-html40/sgml/framesetdtd.html">previous</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/appendix/changes.html">next</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/cover.html#minitoc">
-contents</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/elements.html">elements</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/attributes.html">attributes</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/list.html">index</a></div>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html lang="en"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Character entity references in HTML 4</title>
+
+<link rel="previous" href="http://www.w3.org/TR/REC-html40/sgml/framesetdtd.html">
+<link rel="next" href="http://www.w3.org/TR/REC-html40/appendix/changes.html">
+<link rel="contents" href="http://www.w3.org/TR/REC-html40/cover.html#toc">
+<link rel="stylesheet" type="text/css" href="entities.html_files/W3C-REC.css">
+<link rel="STYLESHEET" href="entities.html_files/default.css" type="text/css"></head>
+
+<body>
+<div class="navbar" align="center">&nbsp;<a href="http://www.w3.org/TR/REC-html40/sgml/framesetdtd.html">
+previous</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/appendix/changes.html">next</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/cover.html#minitoc">contents</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/elements.html">
+elements</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/attributes.html">attributes</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/list.html">index</a>
+
+<hr></div>
+
+<h1 align="center"><a name="h-24">24</a> <a name="entities">Character entity
+references in HTML 4</a></h1>
+
+<div class="subtoc">
+<p><strong>Contents</strong></p>
+
+<ol>
+<li><a class="tocxref" href="#h-24.1">Introduction to character entity
+references</a></li>
+
+<li><a class="tocxref" href="#h-24.2">Character entity references for ISO
+8859-1 characters</a>
+
+<ol>
+<li><a class="tocxref" href="#h-24.2.1">The list of characters</a></li>
+</ol>
+</li>
+
+<li><a class="tocxref" href="#h-24.3">Character entity references for symbols,
+mathematical symbols, and Greek letters</a>
+
+<ol>
+<li><a class="tocxref" href="#h-24.3.1">The list of characters</a></li>
+</ol>
+</li>
+
+<li><a class="tocxref" href="#h-24.4">Character entity references for
+markup-significant and internationalization characters</a>
+
+<ol>
+<li><a class="tocxref" href="#h-24.4.1">The list of characters</a></li>
+</ol>
+</li>
+</ol>
+</div>
+
+<h2><a name="h-24.1">24.1</a> Introduction to character entity references</h2>
+
+A <a href="http://www.w3.org/TR/REC-html40/charset.html#entities">character entity reference</a> is an SGML
+construct that references a character of the <a href="http://www.w3.org/TR/REC-html40/charset.html">document
+character set.</a>
+
+<p>This version of HTML supports several sets of character entity
+references:</p>
+
+<ul>
+<li><a href="#iso-88591">ISO 8859-1 (Latin-1) characters</a> In accordance with
+section 14 of <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-RFC1866" class="informref">[RFC1866]</a>, the set of Latin-1 entities has been extended by
+this specification to cover the whole right part of ISO-8859-1 (all code
+positions with the high-order bit set), including the already commonly used
+&amp;nbsp;, &amp;copy; and &amp;reg;. The names of the entities are taken from
+the appendices of SGML (defined in <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO8879" class="normref">[ISO8879]</a>).</li>
+
+<li><a href="#sym">symbols, mathematical symbols, and Greek letters</a>. These
+characters may be represented by glyphs in the Adobe font "Symbol".</li>
+
+<li><a href="#misc">markup-significant and internationalization characters</a>
+(e.g., for bidirectional text).</li>
+</ul>
+
+<p>The following sections present the complete lists of character entity
+references. Although, by convention, <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> the comments
+following each entry are usually written with uppercase letters, we have
+converted them to lowercase in this specification for reasons of
+readability.</p>
+
+<h2><a name="h-24.2">24.2</a> <a name="iso-88591">Character entity references
+for ISO 8859-1 characters</a></h2>
+
+<p>The character entity references in this section produce characters whose
+numeric equivalents should already be supported by conforming HTML 2.0 user
+agents. Thus, the character entity reference &amp;divide; is a more convenient
+form than &amp;#247; for obtaining the division sign (÷).</p>
+
+<p>To support these named entities, user agents need only recognize the entity
+names and convert them to characters that lie within the repertoire of <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO88591" class="normref">
+[ISO88591]</a>.</p>
+
+<p>Character 65533 (FFFD hexadecimal) is the last valid character in UCS-2.
+65534 (FFFE hexadecimal) is unassigned and reserved as the byte-swapped version
+of ZERO WIDTH NON-BREAKING SPACE for byte-order detection purposes. 65535 (FFFF
+hexadecimal) is unassigned.</p>
+
+<h3><a name="h-24.2.1">24.2.1</a> The list of characters</h3>
+
+<div class="dtd-fragment">
+<pre>&lt;!-- Portions © International Organization for Standardization 1986
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+--&gt;
+&lt;!-- Character entity set. Typical invocation:
+ &lt;!ENTITY % HTMLlat1 PUBLIC
+ "-//W3C//ENTITIES Latin 1//EN//HTML"&gt;
+ %HTMLlat1;
+--&gt;
+
+&lt;!ENTITY nbsp CDATA "&amp;#160;" -- no-break space = non-breaking space,
+ U+00A0 ISOnum --&gt;
+&lt;!ENTITY iexcl CDATA "&amp;#161;" -- inverted exclamation mark, U+00A1 ISOnum --&gt;
+&lt;!ENTITY cent CDATA "&amp;#162;" -- cent sign, U+00A2 ISOnum --&gt;
+&lt;!ENTITY pound CDATA "&amp;#163;" -- pound sign, U+00A3 ISOnum --&gt;
+&lt;!ENTITY curren CDATA "&amp;#164;" -- currency sign, U+00A4 ISOnum --&gt;
+&lt;!ENTITY yen CDATA "&amp;#165;" -- yen sign = yuan sign, U+00A5 ISOnum --&gt;
+&lt;!ENTITY brvbar CDATA "&amp;#166;" -- broken bar = broken vertical bar,
+ U+00A6 ISOnum --&gt;
+&lt;!ENTITY sect CDATA "&amp;#167;" -- section sign, U+00A7 ISOnum --&gt;
+&lt;!ENTITY uml CDATA "&amp;#168;" -- diaeresis = spacing diaeresis,
+ U+00A8 ISOdia --&gt;
+&lt;!ENTITY copy CDATA "&amp;#169;" -- copyright sign, U+00A9 ISOnum --&gt;
+&lt;!ENTITY ordf CDATA "&amp;#170;" -- feminine ordinal indicator, U+00AA ISOnum --&gt;
+&lt;!ENTITY laquo CDATA "&amp;#171;" -- left-pointing double angle quotation mark
+ = left pointing guillemet, U+00AB ISOnum --&gt;
+&lt;!ENTITY not CDATA "&amp;#172;" -- not sign, U+00AC ISOnum --&gt;
+&lt;!ENTITY shy CDATA "&amp;#173;" -- soft hyphen = discretionary hyphen,
+ U+00AD ISOnum --&gt;
+&lt;!ENTITY reg CDATA "&amp;#174;" -- registered sign = registered trade mark sign,
+ U+00AE ISOnum --&gt;
+&lt;!ENTITY macr CDATA "&amp;#175;" -- macron = spacing macron = overline
+ = APL overbar, U+00AF ISOdia --&gt;
+&lt;!ENTITY deg CDATA "&amp;#176;" -- degree sign, U+00B0 ISOnum --&gt;
+&lt;!ENTITY plusmn CDATA "&amp;#177;" -- plus-minus sign = plus-or-minus sign,
+ U+00B1 ISOnum --&gt;
+&lt;!ENTITY sup2 CDATA "&amp;#178;" -- superscript two = superscript digit two
+ = squared, U+00B2 ISOnum --&gt;
+&lt;!ENTITY sup3 CDATA "&amp;#179;" -- superscript three = superscript digit three
+ = cubed, U+00B3 ISOnum --&gt;
+&lt;!ENTITY acute CDATA "&amp;#180;" -- acute accent = spacing acute,
+ U+00B4 ISOdia --&gt;
+&lt;!ENTITY micro CDATA "&amp;#181;" -- micro sign, U+00B5 ISOnum --&gt;
+&lt;!ENTITY para CDATA "&amp;#182;" -- pilcrow sign = paragraph sign,
+ U+00B6 ISOnum --&gt;
+&lt;!ENTITY middot CDATA "&amp;#183;" -- middle dot = Georgian comma
+ = Greek middle dot, U+00B7 ISOnum --&gt;
+&lt;!ENTITY cedil CDATA "&amp;#184;" -- cedilla = spacing cedilla, U+00B8 ISOdia --&gt;
+&lt;!ENTITY sup1 CDATA "&amp;#185;" -- superscript one = superscript digit one,
+ U+00B9 ISOnum --&gt;
+&lt;!ENTITY ordm CDATA "&amp;#186;" -- masculine ordinal indicator,
+ U+00BA ISOnum --&gt;
+&lt;!ENTITY raquo CDATA "&amp;#187;" -- right-pointing double angle quotation mark
+ = right pointing guillemet, U+00BB ISOnum --&gt;
+&lt;!ENTITY frac14 CDATA "&amp;#188;" -- vulgar fraction one quarter
+ = fraction one quarter, U+00BC ISOnum --&gt;
+&lt;!ENTITY frac12 CDATA "&amp;#189;" -- vulgar fraction one half
+ = fraction one half, U+00BD ISOnum --&gt;
+&lt;!ENTITY frac34 CDATA "&amp;#190;" -- vulgar fraction three quarters
+ = fraction three quarters, U+00BE ISOnum --&gt;
+&lt;!ENTITY iquest CDATA "&amp;#191;" -- inverted question mark
+ = turned question mark, U+00BF ISOnum --&gt;
+&lt;!ENTITY Agrave CDATA "&amp;#192;" -- latin capital letter A with grave
+ = latin capital letter A grave,
+ U+00C0 ISOlat1 --&gt;
+&lt;!ENTITY Aacute CDATA "&amp;#193;" -- latin capital letter A with acute,
+ U+00C1 ISOlat1 --&gt;
+&lt;!ENTITY Acirc CDATA "&amp;#194;" -- latin capital letter A with circumflex,
+ U+00C2 ISOlat1 --&gt;
+&lt;!ENTITY Atilde CDATA "&amp;#195;" -- latin capital letter A with tilde,
+ U+00C3 ISOlat1 --&gt;
+&lt;!ENTITY Auml CDATA "&amp;#196;" -- latin capital letter A with diaeresis,
+ U+00C4 ISOlat1 --&gt;
+&lt;!ENTITY Aring CDATA "&amp;#197;" -- latin capital letter A with ring above
+ = latin capital letter A ring,
+ U+00C5 ISOlat1 --&gt;
+&lt;!ENTITY AElig CDATA "&amp;#198;" -- latin capital letter AE
+ = latin capital ligature AE,
+ U+00C6 ISOlat1 --&gt;
+&lt;!ENTITY Ccedil CDATA "&amp;#199;" -- latin capital letter C with cedilla,
+ U+00C7 ISOlat1 --&gt;
+&lt;!ENTITY Egrave CDATA "&amp;#200;" -- latin capital letter E with grave,
+ U+00C8 ISOlat1 --&gt;
+&lt;!ENTITY Eacute CDATA "&amp;#201;" -- latin capital letter E with acute,
+ U+00C9 ISOlat1 --&gt;
+&lt;!ENTITY Ecirc CDATA "&amp;#202;" -- latin capital letter E with circumflex,
+ U+00CA ISOlat1 --&gt;
+&lt;!ENTITY Euml CDATA "&amp;#203;" -- latin capital letter E with diaeresis,
+ U+00CB ISOlat1 --&gt;
+&lt;!ENTITY Igrave CDATA "&amp;#204;" -- latin capital letter I with grave,
+ U+00CC ISOlat1 --&gt;
+&lt;!ENTITY Iacute CDATA "&amp;#205;" -- latin capital letter I with acute,
+ U+00CD ISOlat1 --&gt;
+&lt;!ENTITY Icirc CDATA "&amp;#206;" -- latin capital letter I with circumflex,
+ U+00CE ISOlat1 --&gt;
+&lt;!ENTITY Iuml CDATA "&amp;#207;" -- latin capital letter I with diaeresis,
+ U+00CF ISOlat1 --&gt;
+&lt;!ENTITY ETH CDATA "&amp;#208;" -- latin capital letter ETH, U+00D0 ISOlat1 --&gt;
+&lt;!ENTITY Ntilde CDATA "&amp;#209;" -- latin capital letter N with tilde,
+ U+00D1 ISOlat1 --&gt;
+&lt;!ENTITY Ograve CDATA "&amp;#210;" -- latin capital letter O with grave,
+ U+00D2 ISOlat1 --&gt;
+&lt;!ENTITY Oacute CDATA "&amp;#211;" -- latin capital letter O with acute,
+ U+00D3 ISOlat1 --&gt;
+&lt;!ENTITY Ocirc CDATA "&amp;#212;" -- latin capital letter O with circumflex,
+ U+00D4 ISOlat1 --&gt;
+&lt;!ENTITY Otilde CDATA "&amp;#213;" -- latin capital letter O with tilde,
+ U+00D5 ISOlat1 --&gt;
+&lt;!ENTITY Ouml CDATA "&amp;#214;" -- latin capital letter O with diaeresis,
+ U+00D6 ISOlat1 --&gt;
+&lt;!ENTITY times CDATA "&amp;#215;" -- multiplication sign, U+00D7 ISOnum --&gt;
+&lt;!ENTITY Oslash CDATA "&amp;#216;" -- latin capital letter O with stroke
+ = latin capital letter O slash,
+ U+00D8 ISOlat1 --&gt;
+&lt;!ENTITY Ugrave CDATA "&amp;#217;" -- latin capital letter U with grave,
+ U+00D9 ISOlat1 --&gt;
+&lt;!ENTITY Uacute CDATA "&amp;#218;" -- latin capital letter U with acute,
+ U+00DA ISOlat1 --&gt;
+&lt;!ENTITY Ucirc CDATA "&amp;#219;" -- latin capital letter U with circumflex,
+ U+00DB ISOlat1 --&gt;
+&lt;!ENTITY Uuml CDATA "&amp;#220;" -- latin capital letter U with diaeresis,
+ U+00DC ISOlat1 --&gt;
+&lt;!ENTITY Yacute CDATA "&amp;#221;" -- latin capital letter Y with acute,
+ U+00DD ISOlat1 --&gt;
+&lt;!ENTITY THORN CDATA "&amp;#222;" -- latin capital letter THORN,
+ U+00DE ISOlat1 --&gt;
+&lt;!ENTITY szlig CDATA "&amp;#223;" -- latin small letter sharp s = ess-zed,
+ U+00DF ISOlat1 --&gt;
+&lt;!ENTITY agrave CDATA "&amp;#224;" -- latin small letter a with grave
+ = latin small letter a grave,
+ U+00E0 ISOlat1 --&gt;
+&lt;!ENTITY aacute CDATA "&amp;#225;" -- latin small letter a with acute,
+ U+00E1 ISOlat1 --&gt;
+&lt;!ENTITY acirc CDATA "&amp;#226;" -- latin small letter a with circumflex,
+ U+00E2 ISOlat1 --&gt;
+&lt;!ENTITY atilde CDATA "&amp;#227;" -- latin small letter a with tilde,
+ U+00E3 ISOlat1 --&gt;
+&lt;!ENTITY auml CDATA "&amp;#228;" -- latin small letter a with diaeresis,
+ U+00E4 ISOlat1 --&gt;
+&lt;!ENTITY aring CDATA "&amp;#229;" -- latin small letter a with ring above
+ = latin small letter a ring,
+ U+00E5 ISOlat1 --&gt;
+&lt;!ENTITY aelig CDATA "&amp;#230;" -- latin small letter ae
+ = latin small ligature ae, U+00E6 ISOlat1 --&gt;
+&lt;!ENTITY ccedil CDATA "&amp;#231;" -- latin small letter c with cedilla,
+ U+00E7 ISOlat1 --&gt;
+&lt;!ENTITY egrave CDATA "&amp;#232;" -- latin small letter e with grave,
+ U+00E8 ISOlat1 --&gt;
+&lt;!ENTITY eacute CDATA "&amp;#233;" -- latin small letter e with acute,
+ U+00E9 ISOlat1 --&gt;
+&lt;!ENTITY ecirc CDATA "&amp;#234;" -- latin small letter e with circumflex,
+ U+00EA ISOlat1 --&gt;
+&lt;!ENTITY euml CDATA "&amp;#235;" -- latin small letter e with diaeresis,
+ U+00EB ISOlat1 --&gt;
+&lt;!ENTITY igrave CDATA "&amp;#236;" -- latin small letter i with grave,
+ U+00EC ISOlat1 --&gt;
+&lt;!ENTITY iacute CDATA "&amp;#237;" -- latin small letter i with acute,
+ U+00ED ISOlat1 --&gt;
+&lt;!ENTITY icirc CDATA "&amp;#238;" -- latin small letter i with circumflex,
+ U+00EE ISOlat1 --&gt;
+&lt;!ENTITY iuml CDATA "&amp;#239;" -- latin small letter i with diaeresis,
+ U+00EF ISOlat1 --&gt;
+&lt;!ENTITY eth CDATA "&amp;#240;" -- latin small letter eth, U+00F0 ISOlat1 --&gt;
+&lt;!ENTITY ntilde CDATA "&amp;#241;" -- latin small letter n with tilde,
+ U+00F1 ISOlat1 --&gt;
+&lt;!ENTITY ograve CDATA "&amp;#242;" -- latin small letter o with grave,
+ U+00F2 ISOlat1 --&gt;
+&lt;!ENTITY oacute CDATA "&amp;#243;" -- latin small letter o with acute,
+ U+00F3 ISOlat1 --&gt;
+&lt;!ENTITY ocirc CDATA "&amp;#244;" -- latin small letter o with circumflex,
+ U+00F4 ISOlat1 --&gt;
+&lt;!ENTITY otilde CDATA "&amp;#245;" -- latin small letter o with tilde,
+ U+00F5 ISOlat1 --&gt;
+&lt;!ENTITY ouml CDATA "&amp;#246;" -- latin small letter o with diaeresis,
+ U+00F6 ISOlat1 --&gt;
+&lt;!ENTITY divide CDATA "&amp;#247;" -- division sign, U+00F7 ISOnum --&gt;
+&lt;!ENTITY oslash CDATA "&amp;#248;" -- latin small letter o with stroke,
+ = latin small letter o slash,
+ U+00F8 ISOlat1 --&gt;
+&lt;!ENTITY ugrave CDATA "&amp;#249;" -- latin small letter u with grave,
+ U+00F9 ISOlat1 --&gt;
+&lt;!ENTITY uacute CDATA "&amp;#250;" -- latin small letter u with acute,
+ U+00FA ISOlat1 --&gt;
+&lt;!ENTITY ucirc CDATA "&amp;#251;" -- latin small letter u with circumflex,
+ U+00FB ISOlat1 --&gt;
+&lt;!ENTITY uuml CDATA "&amp;#252;" -- latin small letter u with diaeresis,
+ U+00FC ISOlat1 --&gt;
+&lt;!ENTITY yacute CDATA "&amp;#253;" -- latin small letter y with acute,
+ U+00FD ISOlat1 --&gt;
+&lt;!ENTITY thorn CDATA "&amp;#254;" -- latin small letter thorn,
+ U+00FE ISOlat1 --&gt;
+&lt;!ENTITY yuml CDATA "&amp;#255;" -- latin small letter y with diaeresis,
+ U+00FF ISOlat1 --&gt;
+</pre>
+</div>
+
+<h2><a name="h-24.3">24.3</a> <a name="sym">Character entity references for
+symbols, mathematical symbols, and Greek letters</a></h2>
+
+<p>The character entity references in this section produce characters that may
+be represented by glyphs in the widely available Adobe Symbol font, including
+Greek characters, various bracketing symbols, and a selection of mathematical
+operators such as gradient, product, and summation symbols.</p>
+
+<p>To support these entities, user agents may support full <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> or use
+other means. Display of glyphs for these characters may be obtained by being
+able to display the relevant <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> characters or
+by other means, such as internally mapping the listed entities, numeric
+character references, and characters to the appropriate position in some font
+that contains the requisite glyphs.</p>
+
+<div class="note">
+<p><em><strong>When to use Greek entities.</strong> This entity set contains
+all the letters used in modern Greek. However, it does not include Greek
+punctuation, precomposed accented characters nor the non-spacing accents
+(tonos, dialytika) required to compose them. There are no archaic letters,
+Coptic-unique letters, or precomposed letters for Polytonic Greek. The entities
+defined here are not intended for the representation of modern Greek text and
+would not be an efficient representation; rather, they are intended for
+occasional Greek letters used in technical and mathematical works.</em></p>
+</div>
+
+<h3><a name="h-24.3.1">24.3.1</a> The list of characters</h3>
+
+<div class="dtd-fragment">
+<pre>&lt;!-- Mathematical, Greek and Symbolic characters for HTML --&gt;
+
+&lt;!-- Character entity set. Typical invocation:
+ &lt;!ENTITY % HTMLsymbol PUBLIC
+ "-//W3C//ENTITIES Symbols//EN//HTML"&gt;
+ %HTMLsymbol; --&gt;
+
+&lt;!-- Portions © International Organization for Standardization 1986:
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+--&gt;
+
+&lt;!-- Relevant ISO entity set is given unless names are newly introduced.
+ New names (i.e., not in ISO 8879 list) do not clash with any
+ existing ISO 8879 entity names. ISO 10646 character numbers
+ are given for each character, in hex. CDATA values are decimal
+ conversions of the ISO 10646 values and refer to the document
+ character set. Names are ISO 10646 names.
+
+--&gt;
+
+&lt;!-- Latin Extended-B --&gt;
+&lt;!ENTITY fnof CDATA "&amp;#402;" -- latin small f with hook = function
+ = florin, U+0192 ISOtech --&gt;
+
+&lt;!-- Greek --&gt;
+&lt;!ENTITY Alpha CDATA "&amp;#913;" -- greek capital letter alpha, U+0391 --&gt;
+&lt;!ENTITY Beta CDATA "&amp;#914;" -- greek capital letter beta, U+0392 --&gt;
+&lt;!ENTITY Gamma CDATA "&amp;#915;" -- greek capital letter gamma,
+ U+0393 ISOgrk3 --&gt;
+&lt;!ENTITY Delta CDATA "&amp;#916;" -- greek capital letter delta,
+ U+0394 ISOgrk3 --&gt;
+&lt;!ENTITY Epsilon CDATA "&amp;#917;" -- greek capital letter epsilon, U+0395 --&gt;
+&lt;!ENTITY Zeta CDATA "&amp;#918;" -- greek capital letter zeta, U+0396 --&gt;
+&lt;!ENTITY Eta CDATA "&amp;#919;" -- greek capital letter eta, U+0397 --&gt;
+&lt;!ENTITY Theta CDATA "&amp;#920;" -- greek capital letter theta,
+ U+0398 ISOgrk3 --&gt;
+&lt;!ENTITY Iota CDATA "&amp;#921;" -- greek capital letter iota, U+0399 --&gt;
+&lt;!ENTITY Kappa CDATA "&amp;#922;" -- greek capital letter kappa, U+039A --&gt;
+&lt;!ENTITY Lambda CDATA "&amp;#923;" -- greek capital letter lambda,
+ U+039B ISOgrk3 --&gt;
+&lt;!ENTITY Mu CDATA "&amp;#924;" -- greek capital letter mu, U+039C --&gt;
+&lt;!ENTITY Nu CDATA "&amp;#925;" -- greek capital letter nu, U+039D --&gt;
+&lt;!ENTITY Xi CDATA "&amp;#926;" -- greek capital letter xi, U+039E ISOgrk3 --&gt;
+&lt;!ENTITY Omicron CDATA "&amp;#927;" -- greek capital letter omicron, U+039F --&gt;
+&lt;!ENTITY Pi CDATA "&amp;#928;" -- greek capital letter pi, U+03A0 ISOgrk3 --&gt;
+&lt;!ENTITY Rho CDATA "&amp;#929;" -- greek capital letter rho, U+03A1 --&gt;
+&lt;!-- there is no Sigmaf, and no U+03A2 character either --&gt;
+&lt;!ENTITY Sigma CDATA "&amp;#931;" -- greek capital letter sigma,
+ U+03A3 ISOgrk3 --&gt;
+&lt;!ENTITY Tau CDATA "&amp;#932;" -- greek capital letter tau, U+03A4 --&gt;
+&lt;!ENTITY Upsilon CDATA "&amp;#933;" -- greek capital letter upsilon,
+ U+03A5 ISOgrk3 --&gt;
+&lt;!ENTITY Phi CDATA "&amp;#934;" -- greek capital letter phi,
+ U+03A6 ISOgrk3 --&gt;
+&lt;!ENTITY Chi CDATA "&amp;#935;" -- greek capital letter chi, U+03A7 --&gt;
+&lt;!ENTITY Psi CDATA "&amp;#936;" -- greek capital letter psi,
+ U+03A8 ISOgrk3 --&gt;
+&lt;!ENTITY Omega CDATA "&amp;#937;" -- greek capital letter omega,
+ U+03A9 ISOgrk3 --&gt;
+
+&lt;!ENTITY alpha CDATA "&amp;#945;" -- greek small letter alpha,
+ U+03B1 ISOgrk3 --&gt;
+&lt;!ENTITY beta CDATA "&amp;#946;" -- greek small letter beta, U+03B2 ISOgrk3 --&gt;
+&lt;!ENTITY gamma CDATA "&amp;#947;" -- greek small letter gamma,
+ U+03B3 ISOgrk3 --&gt;
+&lt;!ENTITY delta CDATA "&amp;#948;" -- greek small letter delta,
+ U+03B4 ISOgrk3 --&gt;
+&lt;!ENTITY epsilon CDATA "&amp;#949;" -- greek small letter epsilon,
+ U+03B5 ISOgrk3 --&gt;
+&lt;!ENTITY zeta CDATA "&amp;#950;" -- greek small letter zeta, U+03B6 ISOgrk3 --&gt;
+&lt;!ENTITY eta CDATA "&amp;#951;" -- greek small letter eta, U+03B7 ISOgrk3 --&gt;
+&lt;!ENTITY theta CDATA "&amp;#952;" -- greek small letter theta,
+ U+03B8 ISOgrk3 --&gt;
+&lt;!ENTITY iota CDATA "&amp;#953;" -- greek small letter iota, U+03B9 ISOgrk3 --&gt;
+&lt;!ENTITY kappa CDATA "&amp;#954;" -- greek small letter kappa,
+ U+03BA ISOgrk3 --&gt;
+&lt;!ENTITY lambda CDATA "&amp;#955;" -- greek small letter lambda,
+ U+03BB ISOgrk3 --&gt;
+&lt;!ENTITY mu CDATA "&amp;#956;" -- greek small letter mu, U+03BC ISOgrk3 --&gt;
+&lt;!ENTITY nu CDATA "&amp;#957;" -- greek small letter nu, U+03BD ISOgrk3 --&gt;
+&lt;!ENTITY xi CDATA "&amp;#958;" -- greek small letter xi, U+03BE ISOgrk3 --&gt;
+&lt;!ENTITY omicron CDATA "&amp;#959;" -- greek small letter omicron, U+03BF NEW --&gt;
+&lt;!ENTITY pi CDATA "&amp;#960;" -- greek small letter pi, U+03C0 ISOgrk3 --&gt;
+&lt;!ENTITY rho CDATA "&amp;#961;" -- greek small letter rho, U+03C1 ISOgrk3 --&gt;
+&lt;!ENTITY sigmaf CDATA "&amp;#962;" -- greek small letter final sigma,
+ U+03C2 ISOgrk3 --&gt;
+&lt;!ENTITY sigma CDATA "&amp;#963;" -- greek small letter sigma,
+ U+03C3 ISOgrk3 --&gt;
+&lt;!ENTITY tau CDATA "&amp;#964;" -- greek small letter tau, U+03C4 ISOgrk3 --&gt;
+&lt;!ENTITY upsilon CDATA "&amp;#965;" -- greek small letter upsilon,
+ U+03C5 ISOgrk3 --&gt;
+&lt;!ENTITY phi CDATA "&amp;#966;" -- greek small letter phi, U+03C6 ISOgrk3 --&gt;
+&lt;!ENTITY chi CDATA "&amp;#967;" -- greek small letter chi, U+03C7 ISOgrk3 --&gt;
+&lt;!ENTITY psi CDATA "&amp;#968;" -- greek small letter psi, U+03C8 ISOgrk3 --&gt;
+&lt;!ENTITY omega CDATA "&amp;#969;" -- greek small letter omega,
+ U+03C9 ISOgrk3 --&gt;
+&lt;!ENTITY thetasym CDATA "&amp;#977;" -- greek small letter theta symbol,
+ U+03D1 NEW --&gt;
+&lt;!ENTITY upsih CDATA "&amp;#978;" -- greek upsilon with hook symbol,
+ U+03D2 NEW --&gt;
+&lt;!ENTITY piv CDATA "&amp;#982;" -- greek pi symbol, U+03D6 ISOgrk3 --&gt;
+
+&lt;!-- General Punctuation --&gt;
+&lt;!ENTITY bull CDATA "&amp;#8226;" -- bullet = black small circle,
+ U+2022 ISOpub --&gt;
+&lt;!-- bullet is NOT the same as bullet operator, U+2219 --&gt;
+&lt;!ENTITY hellip CDATA "&amp;#8230;" -- horizontal ellipsis = three dot leader,
+ U+2026 ISOpub --&gt;
+&lt;!ENTITY prime CDATA "&amp;#8242;" -- prime = minutes = feet, U+2032 ISOtech --&gt;
+&lt;!ENTITY Prime CDATA "&amp;#8243;" -- double prime = seconds = inches,
+ U+2033 ISOtech --&gt;
+&lt;!ENTITY oline CDATA "&amp;#8254;" -- overline = spacing overscore,
+ U+203E NEW --&gt;
+&lt;!ENTITY frasl CDATA "&amp;#8260;" -- fraction slash, U+2044 NEW --&gt;
+
+&lt;!-- Letterlike Symbols --&gt;
+&lt;!ENTITY weierp CDATA "&amp;#8472;" -- script capital P = power set
+ = Weierstrass p, U+2118 ISOamso --&gt;
+&lt;!ENTITY image CDATA "&amp;#8465;" -- blackletter capital I = imaginary part,
+ U+2111 ISOamso --&gt;
+&lt;!ENTITY real CDATA "&amp;#8476;" -- blackletter capital R = real part symbol,
+ U+211C ISOamso --&gt;
+&lt;!ENTITY trade CDATA "&amp;#8482;" -- trade mark sign, U+2122 ISOnum --&gt;
+&lt;!ENTITY alefsym CDATA "&amp;#8501;" -- alef symbol = first transfinite cardinal,
+ U+2135 NEW --&gt;
+&lt;!-- alef symbol is NOT the same as hebrew letter alef,
+ U+05D0 although the same glyph could be used to depict both characters --&gt;
+
+&lt;!-- Arrows --&gt;
+&lt;!ENTITY larr CDATA "&amp;#8592;" -- leftwards arrow, U+2190 ISOnum --&gt;
+&lt;!ENTITY uarr CDATA "&amp;#8593;" -- upwards arrow, U+2191 ISOnum--&gt;
+&lt;!ENTITY rarr CDATA "&amp;#8594;" -- rightwards arrow, U+2192 ISOnum --&gt;
+&lt;!ENTITY darr CDATA "&amp;#8595;" -- downwards arrow, U+2193 ISOnum --&gt;
+&lt;!ENTITY harr CDATA "&amp;#8596;" -- left right arrow, U+2194 ISOamsa --&gt;
+&lt;!ENTITY crarr CDATA "&amp;#8629;" -- downwards arrow with corner leftwards
+ = carriage return, U+21B5 NEW --&gt;
+&lt;!ENTITY lArr CDATA "&amp;#8656;" -- leftwards double arrow, U+21D0 ISOtech --&gt;
+&lt;!-- ISO 10646 does not say that lArr is the same as the 'is implied by' arrow
+ but also does not have any other character for that function. So ? lArr can
+ be used for 'is implied by' as ISOtech suggests --&gt;
+&lt;!ENTITY uArr CDATA "&amp;#8657;" -- upwards double arrow, U+21D1 ISOamsa --&gt;
+&lt;!ENTITY rArr CDATA "&amp;#8658;" -- rightwards double arrow,
+ U+21D2 ISOtech --&gt;
+&lt;!-- ISO 10646 does not say this is the 'implies' character but does not have
+ another character with this function so ?
+ rArr can be used for 'implies' as ISOtech suggests --&gt;
+&lt;!ENTITY dArr CDATA "&amp;#8659;" -- downwards double arrow, U+21D3 ISOamsa --&gt;
+&lt;!ENTITY hArr CDATA "&amp;#8660;" -- left right double arrow,
+ U+21D4 ISOamsa --&gt;
+
+&lt;!-- Mathematical Operators --&gt;
+&lt;!ENTITY forall CDATA "&amp;#8704;" -- for all, U+2200 ISOtech --&gt;
+&lt;!ENTITY part CDATA "&amp;#8706;" -- partial differential, U+2202 ISOtech --&gt;
+&lt;!ENTITY exist CDATA "&amp;#8707;" -- there exists, U+2203 ISOtech --&gt;
+&lt;!ENTITY empty CDATA "&amp;#8709;" -- empty set = null set = diameter,
+ U+2205 ISOamso --&gt;
+&lt;!ENTITY nabla CDATA "&amp;#8711;" -- nabla = backward difference,
+ U+2207 ISOtech --&gt;
+&lt;!ENTITY isin CDATA "&amp;#8712;" -- element of, U+2208 ISOtech --&gt;
+&lt;!ENTITY notin CDATA "&amp;#8713;" -- not an element of, U+2209 ISOtech --&gt;
+&lt;!ENTITY ni CDATA "&amp;#8715;" -- contains as member, U+220B ISOtech --&gt;
+&lt;!-- should there be a more memorable name than 'ni'? --&gt;
+&lt;!ENTITY prod CDATA "&amp;#8719;" -- n-ary product = product sign,
+ U+220F ISOamsb --&gt;
+&lt;!-- prod is NOT the same character as U+03A0 'greek capital letter pi' though
+ the same glyph might be used for both --&gt;
+&lt;!ENTITY sum CDATA "&amp;#8721;" -- n-ary sumation, U+2211 ISOamsb --&gt;
+&lt;!-- sum is NOT the same character as U+03A3 'greek capital letter sigma'
+ though the same glyph might be used for both --&gt;
+&lt;!ENTITY minus CDATA "&amp;#8722;" -- minus sign, U+2212 ISOtech --&gt;
+&lt;!ENTITY lowast CDATA "&amp;#8727;" -- asterisk operator, U+2217 ISOtech --&gt;
+&lt;!ENTITY radic CDATA "&amp;#8730;" -- square root = radical sign,
+ U+221A ISOtech --&gt;
+&lt;!ENTITY prop CDATA "&amp;#8733;" -- proportional to, U+221D ISOtech --&gt;
+&lt;!ENTITY infin CDATA "&amp;#8734;" -- infinity, U+221E ISOtech --&gt;
+&lt;!ENTITY ang CDATA "&amp;#8736;" -- angle, U+2220 ISOamso --&gt;
+&lt;!ENTITY and CDATA "&amp;#8743;" -- logical and = wedge, U+2227 ISOtech --&gt;
+&lt;!ENTITY or CDATA "&amp;#8744;" -- logical or = vee, U+2228 ISOtech --&gt;
+&lt;!ENTITY cap CDATA "&amp;#8745;" -- intersection = cap, U+2229 ISOtech --&gt;
+&lt;!ENTITY cup CDATA "&amp;#8746;" -- union = cup, U+222A ISOtech --&gt;
+&lt;!ENTITY int CDATA "&amp;#8747;" -- integral, U+222B ISOtech --&gt;
+&lt;!ENTITY there4 CDATA "&amp;#8756;" -- therefore, U+2234 ISOtech --&gt;
+&lt;!ENTITY sim CDATA "&amp;#8764;" -- tilde operator = varies with = similar to,
+ U+223C ISOtech --&gt;
+&lt;!-- tilde operator is NOT the same character as the tilde, U+007E,
+ although the same glyph might be used to represent both --&gt;
+&lt;!ENTITY cong CDATA "&amp;#8773;" -- approximately equal to, U+2245 ISOtech --&gt;
+&lt;!ENTITY asymp CDATA "&amp;#8776;" -- almost equal to = asymptotic to,
+ U+2248 ISOamsr --&gt;
+&lt;!ENTITY ne CDATA "&amp;#8800;" -- not equal to, U+2260 ISOtech --&gt;
+&lt;!ENTITY equiv CDATA "&amp;#8801;" -- identical to, U+2261 ISOtech --&gt;
+&lt;!ENTITY le CDATA "&amp;#8804;" -- less-than or equal to, U+2264 ISOtech --&gt;
+&lt;!ENTITY ge CDATA "&amp;#8805;" -- greater-than or equal to,
+ U+2265 ISOtech --&gt;
+&lt;!ENTITY sub CDATA "&amp;#8834;" -- subset of, U+2282 ISOtech --&gt;
+&lt;!ENTITY sup CDATA "&amp;#8835;" -- superset of, U+2283 ISOtech --&gt;
+&lt;!-- note that nsup, 'not a superset of, U+2283' is not covered by the Symbol
+ font encoding and is not included. Should it be, for symmetry?
+ It is in ISOamsn --&gt;
+&lt;!ENTITY nsub CDATA "&amp;#8836;" -- not a subset of, U+2284 ISOamsn --&gt;
+&lt;!ENTITY sube CDATA "&amp;#8838;" -- subset of or equal to, U+2286 ISOtech --&gt;
+&lt;!ENTITY supe CDATA "&amp;#8839;" -- superset of or equal to,
+ U+2287 ISOtech --&gt;
+&lt;!ENTITY oplus CDATA "&amp;#8853;" -- circled plus = direct sum,
+ U+2295 ISOamsb --&gt;
+&lt;!ENTITY otimes CDATA "&amp;#8855;" -- circled times = vector product,
+ U+2297 ISOamsb --&gt;
+&lt;!ENTITY perp CDATA "&amp;#8869;" -- up tack = orthogonal to = perpendicular,
+ U+22A5 ISOtech --&gt;
+&lt;!ENTITY sdot CDATA "&amp;#8901;" -- dot operator, U+22C5 ISOamsb --&gt;
+&lt;!-- dot operator is NOT the same character as U+00B7 middle dot --&gt;
+
+&lt;!-- Miscellaneous Technical --&gt;
+&lt;!ENTITY lceil CDATA "&amp;#8968;" -- left ceiling = apl upstile,
+ U+2308 ISOamsc --&gt;
+&lt;!ENTITY rceil CDATA "&amp;#8969;" -- right ceiling, U+2309 ISOamsc --&gt;
+&lt;!ENTITY lfloor CDATA "&amp;#8970;" -- left floor = apl downstile,
+ U+230A ISOamsc --&gt;
+&lt;!ENTITY rfloor CDATA "&amp;#8971;" -- right floor, U+230B ISOamsc --&gt;
+&lt;!ENTITY lang CDATA "&amp;#9001;" -- left-pointing angle bracket = bra,
+ U+2329 ISOtech --&gt;
+&lt;!-- lang is NOT the same character as U+003C 'less than'
+ or U+2039 'single left-pointing angle quotation mark' --&gt;
+&lt;!ENTITY rang CDATA "&amp;#9002;" -- right-pointing angle bracket = ket,
+ U+232A ISOtech --&gt;
+&lt;!-- rang is NOT the same character as U+003E 'greater than'
+ or U+203A 'single right-pointing angle quotation mark' --&gt;
+
+&lt;!-- Geometric Shapes --&gt;
+&lt;!ENTITY loz CDATA "&amp;#9674;" -- lozenge, U+25CA ISOpub --&gt;
+
+&lt;!-- Miscellaneous Symbols --&gt;
+&lt;!ENTITY spades CDATA "&amp;#9824;" -- black spade suit, U+2660 ISOpub --&gt;
+&lt;!-- black here seems to mean filled as opposed to hollow --&gt;
+&lt;!ENTITY clubs CDATA "&amp;#9827;" -- black club suit = shamrock,
+ U+2663 ISOpub --&gt;
+&lt;!ENTITY hearts CDATA "&amp;#9829;" -- black heart suit = valentine,
+ U+2665 ISOpub --&gt;
+&lt;!ENTITY diams CDATA "&amp;#9830;" -- black diamond suit, U+2666 ISOpub --&gt;
+</pre>
+</div>
+
+<h2><a name="h-24.4">24.4</a> <a name="misc">Character entity references for
+markup-significant and internationalization characters</a></h2>
+
+<p>The character entity references in this section are for escaping
+markup-significant characters (these are the same as those in HTML 2.0 and
+3.2), for denoting spaces and dashes. Other characters in this section apply to
+internationalization issues such as the disambiguation of bidirectional text
+(see the section on <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#bidirection">bidirectional
+text</a> for details).</p>
+
+<p>Entities have also been added for the remaining characters occurring in
+CP-1252 which do not occur in the HTMLlat1 or HTMLsymbol entity sets. These all
+occur in the 128 to 159 range within the CP-1252 charset. These entities permit
+the characters to be denoted in a platform-independent manner.</p>
+
+<p>To support these entities, user agents may support full <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> or use
+other means. Display of glyphs for these characters may be obtained by being
+able to display the relevant <a rel="biblioentry" href="http://www.w3.org/TR/REC-html40/references.html#ref-ISO10646" class="normref">[ISO10646]</a> characters or
+by other means, such as internally mapping the listed entities, numeric
+character references, and characters to the appropriate position in some font
+that contains the requisite glyphs.</p>
+
+<h3><a name="h-24.4.1">24.4.1</a> The list of characters</h3>
+
+<div class="dtd-fragment">
+<pre>&lt;!-- Special characters for HTML --&gt;
+
+&lt;!-- Character entity set. Typical invocation:
+ &lt;!ENTITY % HTMLspecial PUBLIC
+ "-//W3C//ENTITIES Special//EN//HTML"&gt;
+ %HTMLspecial; --&gt;
+
+&lt;!-- Portions © International Organization for Standardization 1986:
+ Permission to copy in any form is granted for use with
+ conforming SGML systems and applications as defined in
+ ISO 8879, provided this notice is included in all copies.
+--&gt;
+
+&lt;!-- Relevant ISO entity set is given unless names are newly introduced.
+ New names (i.e., not in ISO 8879 list) do not clash with any
+ existing ISO 8879 entity names. ISO 10646 character numbers
+ are given for each character, in hex. CDATA values are decimal
+ conversions of the ISO 10646 values and refer to the document
+ character set. Names are ISO 10646 names.
+
+--&gt;
+
+&lt;!-- C0 Controls and Basic Latin --&gt;
+&lt;!ENTITY quot CDATA "&amp;#34;" -- quotation mark = APL quote,
+ U+0022 ISOnum --&gt;
+&lt;!ENTITY amp CDATA "&amp;#38;" -- ampersand, U+0026 ISOnum --&gt;
+&lt;!ENTITY lt CDATA "&amp;#60;" -- less-than sign, U+003C ISOnum --&gt;
+&lt;!ENTITY gt CDATA "&amp;#62;" -- greater-than sign, U+003E ISOnum --&gt;
+
+&lt;!-- Latin Extended-A --&gt;
+&lt;!ENTITY OElig CDATA "&amp;#338;" -- latin capital ligature OE,
+ U+0152 ISOlat2 --&gt;
+&lt;!ENTITY oelig CDATA "&amp;#339;" -- latin small ligature oe, U+0153 ISOlat2 --&gt;
+&lt;!-- ligature is a misnomer, this is a separate character in some languages --&gt;
+&lt;!ENTITY Scaron CDATA "&amp;#352;" -- latin capital letter S with caron,
+ U+0160 ISOlat2 --&gt;
+&lt;!ENTITY scaron CDATA "&amp;#353;" -- latin small letter s with caron,
+ U+0161 ISOlat2 --&gt;
+&lt;!ENTITY Yuml CDATA "&amp;#376;" -- latin capital letter Y with diaeresis,
+ U+0178 ISOlat2 --&gt;
+
+&lt;!-- Spacing Modifier Letters --&gt;
+&lt;!ENTITY circ CDATA "&amp;#710;" -- modifier letter circumflex accent,
+ U+02C6 ISOpub --&gt;
+&lt;!ENTITY tilde CDATA "&amp;#732;" -- small tilde, U+02DC ISOdia --&gt;
+
+&lt;!-- General Punctuation --&gt;
+&lt;!ENTITY ensp CDATA "&amp;#8194;" -- en space, U+2002 ISOpub --&gt;
+&lt;!ENTITY emsp CDATA "&amp;#8195;" -- em space, U+2003 ISOpub --&gt;
+&lt;!ENTITY thinsp CDATA "&amp;#8201;" -- thin space, U+2009 ISOpub --&gt;
+&lt;!ENTITY zwnj CDATA "&amp;#8204;" -- zero width non-joiner,
+ U+200C NEW RFC 2070 --&gt;
+&lt;!ENTITY zwj CDATA "&amp;#8205;" -- zero width joiner, U+200D NEW RFC 2070 --&gt;
+&lt;!ENTITY lrm CDATA "&amp;#8206;" -- left-to-right mark, U+200E NEW RFC 2070 --&gt;
+&lt;!ENTITY rlm CDATA "&amp;#8207;" -- right-to-left mark, U+200F NEW RFC 2070 --&gt;
+&lt;!ENTITY ndash CDATA "&amp;#8211;" -- en dash, U+2013 ISOpub --&gt;
+&lt;!ENTITY mdash CDATA "&amp;#8212;" -- em dash, U+2014 ISOpub --&gt;
+&lt;!ENTITY lsquo CDATA "&amp;#8216;" -- left single quotation mark,
+ U+2018 ISOnum --&gt;
+&lt;!ENTITY rsquo CDATA "&amp;#8217;" -- right single quotation mark,
+ U+2019 ISOnum --&gt;
+&lt;!ENTITY sbquo CDATA "&amp;#8218;" -- single low-9 quotation mark, U+201A NEW --&gt;
+&lt;!ENTITY ldquo CDATA "&amp;#8220;" -- left double quotation mark,
+ U+201C ISOnum --&gt;
+&lt;!ENTITY rdquo CDATA "&amp;#8221;" -- right double quotation mark,
+ U+201D ISOnum --&gt;
+&lt;!ENTITY bdquo CDATA "&amp;#8222;" -- double low-9 quotation mark, U+201E NEW --&gt;
+&lt;!ENTITY dagger CDATA "&amp;#8224;" -- dagger, U+2020 ISOpub --&gt;
+&lt;!ENTITY Dagger CDATA "&amp;#8225;" -- double dagger, U+2021 ISOpub --&gt;
+&lt;!ENTITY permil CDATA "&amp;#8240;" -- per mille sign, U+2030 ISOtech --&gt;
+&lt;!ENTITY lsaquo CDATA "&amp;#8249;" -- single left-pointing angle quotation mark,
+ U+2039 ISO proposed --&gt;
+&lt;!-- lsaquo is proposed but not yet ISO standardized --&gt;
+&lt;!ENTITY rsaquo CDATA "&amp;#8250;" -- single right-pointing angle quotation mark,
+ U+203A ISO proposed --&gt;
+&lt;!-- rsaquo is proposed but not yet ISO standardized --&gt;
+&lt;!ENTITY euro CDATA "&amp;#8364;" -- euro sign, U+20AC NEW --&gt;
+</pre>
+</div>
+
+<div class="navbar" align="center">
+<hr><a href="http://www.w3.org/TR/REC-html40/sgml/framesetdtd.html">previous</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/appendix/changes.html">next</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/cover.html#minitoc">
+contents</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/elements.html">elements</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/attributes.html">attributes</a> &nbsp; <a href="http://www.w3.org/TR/REC-html40/index/list.html">index</a></div>
</body></html> \ No newline at end of file
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/entities.tcl b/Build/source/libs/gd/libgd-src/src/entities.tcl
index 1f7c9e7e4af..29f87dbc977 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/entities.tcl
+++ b/Build/source/libs/gd/libgd-src/src/entities.tcl
@@ -1,50 +1,50 @@
-#!/usr/bin/tclsh
-
-# get names for html-4.0 characters from:
-# http://www.w3.org/TR/REC-html40/sgml/entities.html
-set f [open entities.html r]
-set entity_name_length_max 0
-set nr_of_entities 0
-while {! [eof $f]} {
- set rec [gets $f]
- if {[scan $rec {&lt;!ENTITY %s CDATA "&amp;#%d;"; --} name val] == 2} {
- set entity($name) $val
- set entity_name_length [string length $name]
- if {$entity_name_length > $entity_name_length_max} {
- set entity_name_length_max $entity_name_length
- }
- incr nr_of_entities
- }
-}
-close $f
-
-set f [open entities.h w]
-puts $f "/*"
-puts $f " * Generated file - do not edit directly."
-puts $f " *"
-puts $f " * This file was generated from:"
-puts $f " * http://www.w3.org/TR/REC-html40/sgml/entities.html"
-puts $f " * by means of the script:"
-puts $f " * entities.tcl"
-puts $f " */"
-puts $f ""
-puts $f "#ifdef __cplusplus"
-puts $f "extern \"C\" {"
-puts $f "#endif"
-puts $f ""
-puts $f "static struct entities_s {"
-puts $f " char *name;"
-puts $f " int value;"
-puts $f "} entities\[\] = {"
-foreach name [lsort [array names entity]] {
- puts $f " {\"$name\", $entity($name)},"
-}
-puts $f "};"
-puts $f ""
-puts $f "#define ENTITY_NAME_LENGTH_MAX $entity_name_length_max"
-puts $f "#define NR_OF_ENTITIES $nr_of_entities"
-puts $f ""
-puts $f "#ifdef __cplusplus"
-puts $f "}"
-puts $f "#endif"
-close $f
+#!/usr/bin/tclsh
+
+# get names for html-4.0 characters from:
+# http://www.w3.org/TR/REC-html40/sgml/entities.html
+set f [open entities.html r]
+set entity_name_length_max 0
+set nr_of_entities 0
+while {! [eof $f]} {
+ set rec [gets $f]
+ if {[scan $rec {&lt;!ENTITY %s CDATA "&amp;#%d;"; --} name val] == 2} {
+ set entity($name) $val
+ set entity_name_length [string length $name]
+ if {$entity_name_length > $entity_name_length_max} {
+ set entity_name_length_max $entity_name_length
+ }
+ incr nr_of_entities
+ }
+}
+close $f
+
+set f [open entities.h w]
+puts $f "/*"
+puts $f " * Generated file - do not edit directly."
+puts $f " *"
+puts $f " * This file was generated from:"
+puts $f " * http://www.w3.org/TR/REC-html40/sgml/entities.html"
+puts $f " * by means of the script:"
+puts $f " * entities.tcl"
+puts $f " */"
+puts $f ""
+puts $f "#ifdef __cplusplus"
+puts $f "extern \"C\" {"
+puts $f "#endif"
+puts $f ""
+puts $f "static struct entities_s {"
+puts $f " char *name;"
+puts $f " int value;"
+puts $f "} entities\[\] = {"
+foreach name [lsort [array names entity]] {
+ puts $f " {\"$name\", $entity($name)},"
+}
+puts $f "};"
+puts $f ""
+puts $f "#define ENTITY_NAME_LENGTH_MAX $entity_name_length_max"
+puts $f "#define NR_OF_ENTITIES $nr_of_entities"
+puts $f ""
+puts $f "#ifdef __cplusplus"
+puts $f "}"
+puts $f "#endif"
+close $f
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/fontconfigtest.c b/Build/source/libs/gd/libgd-src/src/fontconfigtest.c
index 47c484922db..47c484922db 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/fontconfigtest.c
+++ b/Build/source/libs/gd/libgd-src/src/fontconfigtest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/fontsizetest.c b/Build/source/libs/gd/libgd-src/src/fontsizetest.c
index 55b9209d051..55b9209d051 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/fontsizetest.c
+++ b/Build/source/libs/gd/libgd-src/src/fontsizetest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/fontwheeltest.c b/Build/source/libs/gd/libgd-src/src/fontwheeltest.c
index b2bb258fdad..b2bb258fdad 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/fontwheeltest.c
+++ b/Build/source/libs/gd/libgd-src/src/fontwheeltest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd.c b/Build/source/libs/gd/libgd-src/src/gd.c
index 053873b4d97..053873b4d97 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd.c
+++ b/Build/source/libs/gd/libgd-src/src/gd.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd.h b/Build/source/libs/gd/libgd-src/src/gd.h
index bdc479c9275..bdc479c9275 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd.h
+++ b/Build/source/libs/gd/libgd-src/src/gd.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd2copypal.c b/Build/source/libs/gd/libgd-src/src/gd2copypal.c
index eaa67b55e6f..eaa67b55e6f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd2copypal.c
+++ b/Build/source/libs/gd/libgd-src/src/gd2copypal.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd2time.c b/Build/source/libs/gd/libgd-src/src/gd2time.c
index 3c9e8af2c7b..3c9e8af2c7b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd2time.c
+++ b/Build/source/libs/gd/libgd-src/src/gd2time.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd2togif.c b/Build/source/libs/gd/libgd-src/src/gd2togif.c
index 5a0be19b378..5a0be19b378 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd2togif.c
+++ b/Build/source/libs/gd/libgd-src/src/gd2togif.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd2topng.c b/Build/source/libs/gd/libgd-src/src/gd2topng.c
index 6c0626f3b30..6c0626f3b30 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd2topng.c
+++ b/Build/source/libs/gd/libgd-src/src/gd2topng.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_bmp.c b/Build/source/libs/gd/libgd-src/src/gd_bmp.c
index 5f39b67c3e4..5f39b67c3e4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_bmp.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_bmp.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_color.c b/Build/source/libs/gd/libgd-src/src/gd_color.c
index 6d8a8466b8a..6d8a8466b8a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_color.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_color.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_color.h b/Build/source/libs/gd/libgd-src/src/gd_color.h
index 08b06cee09b..08b06cee09b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_color.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_color.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_map.c b/Build/source/libs/gd/libgd-src/src/gd_color_map.c
index ff48399a982..ff48399a982 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_map.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_color_map.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_map.h b/Build/source/libs/gd/libgd-src/src/gd_color_map.h
index 6d2275e5647..6d2275e5647 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_map.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_color_map.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_map_test.c b/Build/source/libs/gd/libgd-src/src/gd_color_map_test.c
index 26e08bd8516..26e08bd8516 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_map_test.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_color_map_test.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_match.c b/Build/source/libs/gd/libgd-src/src/gd_color_match.c
index 5f0fd0a86c2..5f0fd0a86c2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_color_match.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_color_match.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_crop.c b/Build/source/libs/gd/libgd-src/src/gd_crop.c
index 02966336d18..02966336d18 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_crop.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_crop.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_errors.h b/Build/source/libs/gd/libgd-src/src/gd_errors.h
index 4ecee94b386..4ecee94b386 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_errors.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_errors.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_filename.c b/Build/source/libs/gd/libgd-src/src/gd_filename.c
index ba636cfe0e7..ba636cfe0e7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_filename.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_filename.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_filter.c b/Build/source/libs/gd/libgd-src/src/gd_filter.c
index a3119f77f80..a3119f77f80 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_filter.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_filter.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_gd.c b/Build/source/libs/gd/libgd-src/src/gd_gd.c
index f8d39cb00ce..f8d39cb00ce 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_gd.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_gd.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_gd2.c b/Build/source/libs/gd/libgd-src/src/gd_gd2.c
index 3e70bfac673..3e70bfac673 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_gd2.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_gd2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_gif_in.c b/Build/source/libs/gd/libgd-src/src/gd_gif_in.c
index 3ae74dea523..3ae74dea523 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_gif_in.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_gif_in.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_gif_out.c b/Build/source/libs/gd/libgd-src/src/gd_gif_out.c
index 51ceb753855..51ceb753855 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_gif_out.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_gif_out.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_intern.h b/Build/source/libs/gd/libgd-src/src/gd_intern.h
index a30062b11f8..a30062b11f8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_intern.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_intern.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_interpolation.c b/Build/source/libs/gd/libgd-src/src/gd_interpolation.c
index 84cf92a0b89..84cf92a0b89 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_interpolation.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_interpolation.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_io.c b/Build/source/libs/gd/libgd-src/src/gd_io.c
index 03b83472120..03b83472120 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_io.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_io.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_io.h b/Build/source/libs/gd/libgd-src/src/gd_io.h
index 1039d597dc8..1039d597dc8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_io.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_io.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_dp.c b/Build/source/libs/gd/libgd-src/src/gd_io_dp.c
index 8dbcc62e2aa..8dbcc62e2aa 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_dp.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_io_dp.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_file.c b/Build/source/libs/gd/libgd-src/src/gd_io_file.c
index d3893e4cea2..d3893e4cea2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_file.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_io_file.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_ss.c b/Build/source/libs/gd/libgd-src/src/gd_io_ss.c
index a0cf3918f91..a0cf3918f91 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_ss.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_io_ss.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_stream.cxx b/Build/source/libs/gd/libgd-src/src/gd_io_stream.cxx
index 28021afc1ae..04c0011b3e9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_stream.cxx
+++ b/Build/source/libs/gd/libgd-src/src/gd_io_stream.cxx
@@ -1,145 +1,145 @@
-/* *****************************************************************************
-** $Id$
-** Initial file written and documented by:
-** Kevin Shepherd <kshepherd@php.net> December 2007
-** of Scarlet Line http://www.scarletline.com/
-*******************************************************************************/
-/** \file gd_io_stream.cxx
- \brief Implementation of the methods of the gdIOCtx std stream specialization.
-
- Implements the derived specializations of gdIOCtx.
- These methods are not called by users of libgd, they
- are internal implementation.
- Note that half of the below methods are trivial stubs,
- as an input stream has no need of output methods, and vice-versa.
-*/
-#ifdef __cplusplus
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "gd_io_stream.h"
-
-/** Read into buffer from stream
- Return the number of bytes successfully read.
- If an error occurs, or the end-of-file is reached, the return value
- is a short byte count (or zero).
-*/
-int istreamIOCtx::Getbuf (struct gdIOCtx * ctx, void * buf, int size)
- {
- stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
- _str->read((char * )buf, size);
- return _str->gcount();
- }
-/** Write from buffer to stream
- Return the number of bytes successfully written.
- If an error occurs, or the end-of-file is reached, the return value
- is a short byte count (or zero).
-*/
-int istreamIOCtx::Putbuf (struct gdIOCtx * , const void * , int )
- {
- return 0;
- }
-
-/** Reads the next character from stream and returns it as an
- unsigned char cast to an int, or EOF on end of file or error.
-*/
-int istreamIOCtx::Getchar (struct gdIOCtx * ctx)
- {
- stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
- return _str->get();
- }
-/** Write the character to stream
- Character is cast to unsigned char before writing
-*/
-void istreamIOCtx::Putchar (struct gdIOCtx * , int )
- {
- }
-
-/** Seek to position offset from the beginning of the stream
- must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek!
-*/
-int istreamIOCtx::Seek (struct gdIOCtx * ctx, const int pos)
- {
- stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
- _str->seekg(pos);
- return !_str->fail();
- }
-/** Obtains the current value of the stream position.
- Returns -1 on error.
-*/
-long istreamIOCtx::Tell (struct gdIOCtx * ctx)
- {
- stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
- return _str->tellg();
- }
-/** Deallocate the context
-*/
-void istreamIOCtx::FreeCtx (struct gdIOCtx * ctx)
- {
- delete (istreamIOCtx * )ctx;
- }
-
-/** Read into buffer from stream
- Return the number of bytes successfully read.
- If an error occurs, or the end-of-file is reached, the return value
- is a short byte count (or zero).
-*/
-int ostreamIOCtx::Getbuf (struct gdIOCtx * , void * , int )
- {
- return 0;
- }
-/** Write from buffer to stream
- Return the number of bytes successfully written.
- If an error occurs, or the end-of-file is reached, the return value
- is a short byte count (or zero).
-*/
-int ostreamIOCtx::Putbuf (struct gdIOCtx * ctx, const void * buf, int size)
- {
- stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
- _str->write((const char * )buf, size);
- return _str->bad()?0:size;
- }
-
-/** Reads the next character from stream and returns it as an
- unsigned char cast to an int, or EOF on end of file or error.
-*/
-int ostreamIOCtx::Getchar (struct gdIOCtx * )
- {
- return EOF;
- }
-/** Write the character to stream
- Character is cast to unsigned char before writing
-*/
-void ostreamIOCtx::Putchar (struct gdIOCtx * ctx, int c)
- {
- stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
- _str->put((char)c);
- }
-
-/** Seek to position offset from the beginning of the stream
- must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek!
-*/
-int ostreamIOCtx::Seek (struct gdIOCtx * ctx, const int pos)
- {
- stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
- _str->seekp(pos);
- return !_str->fail();
- }
-/** Obtains the current value of the stream position.
- Returns -1 on error.
-*/
-long ostreamIOCtx::Tell (struct gdIOCtx * ctx)
- {
- stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
- return _str->tellp();
- }
-/** Deallocate the context
-*/
-void ostreamIOCtx::FreeCtx (struct gdIOCtx * ctx)
- {
- delete (ostreamIOCtx * )ctx;
- }
-
-#endif /* __cplusplus */
+/* *****************************************************************************
+** $Id$
+** Initial file written and documented by:
+** Kevin Shepherd <kshepherd@php.net> December 2007
+** of Scarlet Line http://www.scarletline.com/
+*******************************************************************************/
+/** \file gd_io_stream.cxx
+ \brief Implementation of the methods of the gdIOCtx std stream specialization.
+
+ Implements the derived specializations of gdIOCtx.
+ These methods are not called by users of libgd, they
+ are internal implementation.
+ Note that half of the below methods are trivial stubs,
+ as an input stream has no need of output methods, and vice-versa.
+*/
+#ifdef __cplusplus
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gd_io_stream.h"
+
+/** Read into buffer from stream
+ Return the number of bytes successfully read.
+ If an error occurs, or the end-of-file is reached, the return value
+ is a short byte count (or zero).
+*/
+int istreamIOCtx::Getbuf (struct gdIOCtx * ctx, void * buf, int size)
+ {
+ stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
+ _str->read((char * )buf, size);
+ return _str->gcount();
+ }
+/** Write from buffer to stream
+ Return the number of bytes successfully written.
+ If an error occurs, or the end-of-file is reached, the return value
+ is a short byte count (or zero).
+*/
+int istreamIOCtx::Putbuf (struct gdIOCtx * , const void * , int )
+ {
+ return 0;
+ }
+
+/** Reads the next character from stream and returns it as an
+ unsigned char cast to an int, or EOF on end of file or error.
+*/
+int istreamIOCtx::Getchar (struct gdIOCtx * ctx)
+ {
+ stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
+ return _str->get();
+ }
+/** Write the character to stream
+ Character is cast to unsigned char before writing
+*/
+void istreamIOCtx::Putchar (struct gdIOCtx * , int )
+ {
+ }
+
+/** Seek to position offset from the beginning of the stream
+ must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek!
+*/
+int istreamIOCtx::Seek (struct gdIOCtx * ctx, const int pos)
+ {
+ stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
+ _str->seekg(pos);
+ return !_str->fail();
+ }
+/** Obtains the current value of the stream position.
+ Returns -1 on error.
+*/
+long istreamIOCtx::Tell (struct gdIOCtx * ctx)
+ {
+ stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream;
+ return _str->tellg();
+ }
+/** Deallocate the context
+*/
+void istreamIOCtx::FreeCtx (struct gdIOCtx * ctx)
+ {
+ delete (istreamIOCtx * )ctx;
+ }
+
+/** Read into buffer from stream
+ Return the number of bytes successfully read.
+ If an error occurs, or the end-of-file is reached, the return value
+ is a short byte count (or zero).
+*/
+int ostreamIOCtx::Getbuf (struct gdIOCtx * , void * , int )
+ {
+ return 0;
+ }
+/** Write from buffer to stream
+ Return the number of bytes successfully written.
+ If an error occurs, or the end-of-file is reached, the return value
+ is a short byte count (or zero).
+*/
+int ostreamIOCtx::Putbuf (struct gdIOCtx * ctx, const void * buf, int size)
+ {
+ stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
+ _str->write((const char * )buf, size);
+ return _str->bad()?0:size;
+ }
+
+/** Reads the next character from stream and returns it as an
+ unsigned char cast to an int, or EOF on end of file or error.
+*/
+int ostreamIOCtx::Getchar (struct gdIOCtx * )
+ {
+ return EOF;
+ }
+/** Write the character to stream
+ Character is cast to unsigned char before writing
+*/
+void ostreamIOCtx::Putchar (struct gdIOCtx * ctx, int c)
+ {
+ stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
+ _str->put((char)c);
+ }
+
+/** Seek to position offset from the beginning of the stream
+ must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek!
+*/
+int ostreamIOCtx::Seek (struct gdIOCtx * ctx, const int pos)
+ {
+ stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
+ _str->seekp(pos);
+ return !_str->fail();
+ }
+/** Obtains the current value of the stream position.
+ Returns -1 on error.
+*/
+long ostreamIOCtx::Tell (struct gdIOCtx * ctx)
+ {
+ stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream;
+ return _str->tellp();
+ }
+/** Deallocate the context
+*/
+void ostreamIOCtx::FreeCtx (struct gdIOCtx * ctx)
+ {
+ delete (ostreamIOCtx * )ctx;
+ }
+
+#endif /* __cplusplus */
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_stream.h b/Build/source/libs/gd/libgd-src/src/gd_io_stream.h
index 703548fec26..703548fec26 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_io_stream.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_io_stream.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_jpeg.c b/Build/source/libs/gd/libgd-src/src/gd_jpeg.c
index 925b417fac3..925b417fac3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_jpeg.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_jpeg.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_matrix.c b/Build/source/libs/gd/libgd-src/src/gd_matrix.c
index b7827a07034..b7827a07034 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_matrix.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_matrix.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_nnquant.c b/Build/source/libs/gd/libgd-src/src/gd_nnquant.c
index c4b43d6ea35..c4b43d6ea35 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_nnquant.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_nnquant.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_nnquant.h b/Build/source/libs/gd/libgd-src/src/gd_nnquant.h
index b054fb1da44..b054fb1da44 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_nnquant.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_nnquant.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_png.c b/Build/source/libs/gd/libgd-src/src/gd_png.c
index 95139e8b8b5..95139e8b8b5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_png.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_png.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_rotate.c b/Build/source/libs/gd/libgd-src/src/gd_rotate.c
index eb057e1148e..eb057e1148e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_rotate.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_rotate.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_security.c b/Build/source/libs/gd/libgd-src/src/gd_security.c
index 0051ebf4559..0051ebf4559 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_security.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_security.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_ss.c b/Build/source/libs/gd/libgd-src/src/gd_ss.c
index 9098c9bc91c..9098c9bc91c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_ss.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_ss.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_tga.c b/Build/source/libs/gd/libgd-src/src/gd_tga.c
index 756248afcea..756248afcea 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_tga.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_tga.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_tga.h b/Build/source/libs/gd/libgd-src/src/gd_tga.h
index 297f3dc99d6..297f3dc99d6 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_tga.h
+++ b/Build/source/libs/gd/libgd-src/src/gd_tga.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_tiff.c b/Build/source/libs/gd/libgd-src/src/gd_tiff.c
index ec6dd113074..ec6dd113074 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_tiff.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_tiff.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_topal.c b/Build/source/libs/gd/libgd-src/src/gd_topal.c
index 28b6503d063..28b6503d063 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_topal.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_topal.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_transform.c b/Build/source/libs/gd/libgd-src/src/gd_transform.c
index 68013ef9319..68013ef9319 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_transform.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_transform.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_version.c b/Build/source/libs/gd/libgd-src/src/gd_version.c
index 222d428ce7b..222d428ce7b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_version.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_version.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_wbmp.c b/Build/source/libs/gd/libgd-src/src/gd_wbmp.c
index 53fbdc2d1a8..53fbdc2d1a8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_wbmp.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_wbmp.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_webp.c b/Build/source/libs/gd/libgd-src/src/gd_webp.c
index fae38610999..fae38610999 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_webp.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_webp.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gd_xbm.c b/Build/source/libs/gd/libgd-src/src/gd_xbm.c
index 74d839b2667..74d839b2667 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gd_xbm.c
+++ b/Build/source/libs/gd/libgd-src/src/gd_xbm.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdcache.c b/Build/source/libs/gd/libgd-src/src/gdcache.c
index b264d6ef859..b264d6ef859 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdcache.c
+++ b/Build/source/libs/gd/libgd-src/src/gdcache.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdcache.h b/Build/source/libs/gd/libgd-src/src/gdcache.h
index bf451dc6cc3..bf451dc6cc3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdcache.h
+++ b/Build/source/libs/gd/libgd-src/src/gdcache.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdcmpgif.c b/Build/source/libs/gd/libgd-src/src/gdcmpgif.c
index 737f7ba90b8..737f7ba90b8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdcmpgif.c
+++ b/Build/source/libs/gd/libgd-src/src/gdcmpgif.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gddemo.c b/Build/source/libs/gd/libgd-src/src/gddemo.c
index 28afd3c1d12..28afd3c1d12 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gddemo.c
+++ b/Build/source/libs/gd/libgd-src/src/gddemo.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontg.c b/Build/source/libs/gd/libgd-src/src/gdfontg.c
index 37178602695..37178602695 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontg.c
+++ b/Build/source/libs/gd/libgd-src/src/gdfontg.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontg.h b/Build/source/libs/gd/libgd-src/src/gdfontg.h
index 5d85812cf42..5d85812cf42 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontg.h
+++ b/Build/source/libs/gd/libgd-src/src/gdfontg.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontl.c b/Build/source/libs/gd/libgd-src/src/gdfontl.c
index a987407aeca..a987407aeca 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontl.c
+++ b/Build/source/libs/gd/libgd-src/src/gdfontl.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontl.h b/Build/source/libs/gd/libgd-src/src/gdfontl.h
index 2fc91ca6bff..2fc91ca6bff 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontl.h
+++ b/Build/source/libs/gd/libgd-src/src/gdfontl.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontmb.c b/Build/source/libs/gd/libgd-src/src/gdfontmb.c
index 349b2dbde28..349b2dbde28 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontmb.c
+++ b/Build/source/libs/gd/libgd-src/src/gdfontmb.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontmb.h b/Build/source/libs/gd/libgd-src/src/gdfontmb.h
index e6807db4eb8..e6807db4eb8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontmb.h
+++ b/Build/source/libs/gd/libgd-src/src/gdfontmb.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfonts.c b/Build/source/libs/gd/libgd-src/src/gdfonts.c
index f7c27250362..f7c27250362 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfonts.c
+++ b/Build/source/libs/gd/libgd-src/src/gdfonts.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfonts.h b/Build/source/libs/gd/libgd-src/src/gdfonts.h
index b5127e971a6..b5127e971a6 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfonts.h
+++ b/Build/source/libs/gd/libgd-src/src/gdfonts.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontt.c b/Build/source/libs/gd/libgd-src/src/gdfontt.c
index c9c6f4a31da..c9c6f4a31da 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontt.c
+++ b/Build/source/libs/gd/libgd-src/src/gdfontt.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfontt.h b/Build/source/libs/gd/libgd-src/src/gdfontt.h
index d61b01ff4a0..d61b01ff4a0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfontt.h
+++ b/Build/source/libs/gd/libgd-src/src/gdfontt.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdft.c b/Build/source/libs/gd/libgd-src/src/gdft.c
index 03a01593660..03a01593660 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdft.c
+++ b/Build/source/libs/gd/libgd-src/src/gdft.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfx.c b/Build/source/libs/gd/libgd-src/src/gdfx.c
index 13b32fe1c06..13b32fe1c06 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfx.c
+++ b/Build/source/libs/gd/libgd-src/src/gdfx.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdfx.h b/Build/source/libs/gd/libgd-src/src/gdfx.h
index cf83d3eb46e..cf83d3eb46e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdfx.h
+++ b/Build/source/libs/gd/libgd-src/src/gdfx.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdhelpers.c b/Build/source/libs/gd/libgd-src/src/gdhelpers.c
index 3c063d95523..3c063d95523 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdhelpers.c
+++ b/Build/source/libs/gd/libgd-src/src/gdhelpers.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdhelpers.h b/Build/source/libs/gd/libgd-src/src/gdhelpers.h
index 2a96b8b4e55..2a96b8b4e55 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdhelpers.h
+++ b/Build/source/libs/gd/libgd-src/src/gdhelpers.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdkanji.c b/Build/source/libs/gd/libgd-src/src/gdkanji.c
index ab8c0df82df..ab8c0df82df 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdkanji.c
+++ b/Build/source/libs/gd/libgd-src/src/gdkanji.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdparttopng.c b/Build/source/libs/gd/libgd-src/src/gdparttopng.c
index 42d6df20368..42d6df20368 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdparttopng.c
+++ b/Build/source/libs/gd/libgd-src/src/gdparttopng.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdpp.cxx b/Build/source/libs/gd/libgd-src/src/gdpp.cxx
index a8101fca29f..64581247b4a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdpp.cxx
+++ b/Build/source/libs/gd/libgd-src/src/gdpp.cxx
@@ -1,272 +1,272 @@
-/* *****************************************************************************
-** $Id$
-** Initial file written and documented by:
-** Kevin Shepherd <kshepherd@php.net> December 2007
-** of Scarlet Line http://www.scarletline.com/
-*******************************************************************************/
-/** \file gdpp.cxx
- \brief Implements the non-trivial methods of GD::Image.
-
- Implementation of the more complex methods defined
- in gdpp.h.
- Notably includes the methods which determine the image file
- format of a file before reading it into memory.
-*/
-#ifdef __cplusplus
-#include "gdpp.h"
-
-namespace GD
- {
- /**
- Load an image from a file, after attempting to
- determine it's image file format.
- Invoke CreateFrom with an already opened
- pointer to a file containing the desired image.
- CreateFrom does not close the file.
- \param[in] in An opened FILE * pointer.
- \return true for success, or false if unable to load the image (most often because the
- file is corrupt or does not contain a recognized image format).
- You can call Width() and Height() member functions of the image to determine its size.
- */
- bool Image::CreateFrom(FILE * in)
- {
- bool rtn;
- int c = fgetc(in);
- ungetc(c, in);
- switch (c)
- {
- /* PNG
- The first eight bytes of a PNG file always contain the following (decimal) values:
- 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A
- == .PNG\r\n.\n
- */
-#ifdef HAVE_LIBPNG
- case 0x89: // PNG
- rtn = CreateFromPng(in);
- break;
-#endif
- /* GIF
- 0x47 0x49 0x46
- */
- case 0x47: // GIF
- rtn = CreateFromGif(in);
- break;
-#ifdef HAVE_LIBJPEG
- /* JPEG
- A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0,
- followed by two variable bytes (often hex 00 10), followed by 'JFIF'.
- */
- case 0xFF: // JPEG
- rtn = CreateFromJpeg(in);
- break;
-#endif
- /* WBMP
- WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type
- */
- case 0x00: // WBMP
- rtn = CreateFromWBMP(in);
- break;
- /* GD2
- 0x67 0x64 0x32 0x00
- == GD2\0
- Starts with gd2
- */
- case 0x67: // GD2
- rtn = CreateFromGd2(in);
- break;
- /* GD
- 0xFF 0xFE
- or
- 0xFF 0xFF
- Conflicts with Jpeg
- */
- /* XBM
- #define test_width 16
- #define test_height 7
- */
- case 0x23: // XBM
- rtn = CreateFromXbm(in);
- break;
- default:
- rtn = false;
- break;
- }
- return rtn;
- }
-
- /**
- Load an image from a standard input stream, after attempting to
- determine it's image file format.
- Invoke CreateFrom with an already opened stream
- containing the desired image.
- CreateFrom does not close the stream.
- \param[in] in An opened standard library input stream.
- \return true for success, or false if unable to load the image (most often because the
- file is corrupt or does not contain a recognized image format).
- You can call Width() and Height() member functions of the image to determine its size.
- Example usage, convert anything to gif:
- #include <fstream>
- #include <gdpp.h>
-
- std::ifstream in("image.xxx", std::ios_base::in | std::ios_base::binary );
- GD::Image im;
- im.CreateFrom(in);
- if (im.good())
- {
- std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary );
- im.Gif(out);
- }
- */
- bool Image::CreateFrom(std::istream & in)
- {
- bool rtn;
- switch (in.peek())
- {
-#ifdef HAVE_LIBPNG
- /* PNG
- The first eight bytes of a PNG file always contain the following (decimal) values:
- 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A
- == .PNG\r\n.\n
- */
- case 0x89: // PNG
- rtn = CreateFromPng(in);
- break;
-#endif
-
- /* GIF
- 0x47 0x49 0x46
- */
- case 0x47: // GIF
- rtn = CreateFromGif(in);
- break;
-
-#ifdef HAVE_LIBJPEG
- /* JPEG
- A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0,
- followed by two variable bytes (often hex 00 10), followed by 'JFIF'.
- */
- case 0xFF: // JPEG
- rtn = CreateFromJpeg(in);
- break;
-#endif
-
- /* WBMP
- WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type
- */
- case 0x00: // WBMP
- rtn = CreateFromWBMP(in);
- break;
- /* GD2
- 0x67 0x64 0x32 0x00
- == GD2\0
- Starts with gd2
- */
- case 0x67: // GD2
- rtn = CreateFromGd2(in);
- break;
- /* GD
- 0xFF 0xFE
- or
- 0xFF 0xFF
- Conflicts with Jpeg
- */
- default:
- rtn = false;
- break;
- }
- return rtn;
- }
-
- /**
- Load an image from an in-RAM memory block, after attempting to
- determine it's image format.
- CreateFrom does not de-allocate the memory.
- \param[in] size The byte count of the memory block.
- \param[in] data A pointer to the memory block.
- \return true for success, or false if unable to load the image (most often because the
- formatting is corrupt or does not contain a recognized image format).
- You can call Width() and Height() member functions of the image to determine its size.
- */
- bool Image::CreateFrom(int size, void * data)
- {
- bool rtn;
- switch (((unsigned char * )data)[0])
- {
-
-#ifdef HAVE_LIBPNG
- /* PNG
- The first eight bytes of a PNG file always contain the following (decimal) values:
- 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A
- == .PNG\r\n.\n
- */
- case 0x89: // PNG
- rtn = CreateFromPng(size, data);
- break;
-#endif
- /* GIF
- 0x47 0x49 0x46
- */
- case 0x47: // GIF
- rtn = CreateFromGif(size, data);
- break;
-
-#ifdef HAVE_LIBJPEG
- /* JPEG
- A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0,
- followed by two variable bytes (often hex 00 10), followed by 'JFIF'.
- */
- case 0xFF: // JPEG
- rtn = CreateFromJpeg(size, data);
- break;
-#endif
-
- /* WBMP
- WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type
- */
- case 0x00: // WBMP
- rtn = CreateFromWBMP(size, data);
- break;
- /* GD2
- 0x67 0x64 0x32 0x00
- == GD2\0
- Starts with gd2
- */
- case 0x67: // GD2
- rtn = CreateFromGd2(size, data);
- break;
- /* GD
- 0xFF 0xFE
- or
- 0xFF 0xFF
- Conflicts with Jpeg
- */
- default:
- rtn = false;
- break;
- }
- return rtn;
- }
- } // namespace GD
-/**
- Load an image from a standard input stream, regardless of it's image file format.
- You can call Width() and Height() member functions of the image to determine its size.
- Example usage, convert anything to gif:
- #include <fstream>
- #include <gdpp.h>
-
- std::ifstream in("image.xxx", std::ios_base::in | std::ios_base::binary );
- GD::Image im;
- in >> im;
- if (im.good())
- {
- std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary );
- im.Gif(out);
- }
-*/
-std::istream & operator>> (std::istream & in, GD::Image & img)
- {
- img.CreateFrom(in);
- return in;
- }
-
-#endif /* __cplusplus */
+/* *****************************************************************************
+** $Id$
+** Initial file written and documented by:
+** Kevin Shepherd <kshepherd@php.net> December 2007
+** of Scarlet Line http://www.scarletline.com/
+*******************************************************************************/
+/** \file gdpp.cxx
+ \brief Implements the non-trivial methods of GD::Image.
+
+ Implementation of the more complex methods defined
+ in gdpp.h.
+ Notably includes the methods which determine the image file
+ format of a file before reading it into memory.
+*/
+#ifdef __cplusplus
+#include "gdpp.h"
+
+namespace GD
+ {
+ /**
+ Load an image from a file, after attempting to
+ determine it's image file format.
+ Invoke CreateFrom with an already opened
+ pointer to a file containing the desired image.
+ CreateFrom does not close the file.
+ \param[in] in An opened FILE * pointer.
+ \return true for success, or false if unable to load the image (most often because the
+ file is corrupt or does not contain a recognized image format).
+ You can call Width() and Height() member functions of the image to determine its size.
+ */
+ bool Image::CreateFrom(FILE * in)
+ {
+ bool rtn;
+ int c = fgetc(in);
+ ungetc(c, in);
+ switch (c)
+ {
+ /* PNG
+ The first eight bytes of a PNG file always contain the following (decimal) values:
+ 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A
+ == .PNG\r\n.\n
+ */
+#ifdef HAVE_LIBPNG
+ case 0x89: // PNG
+ rtn = CreateFromPng(in);
+ break;
+#endif
+ /* GIF
+ 0x47 0x49 0x46
+ */
+ case 0x47: // GIF
+ rtn = CreateFromGif(in);
+ break;
+#ifdef HAVE_LIBJPEG
+ /* JPEG
+ A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0,
+ followed by two variable bytes (often hex 00 10), followed by 'JFIF'.
+ */
+ case 0xFF: // JPEG
+ rtn = CreateFromJpeg(in);
+ break;
+#endif
+ /* WBMP
+ WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type
+ */
+ case 0x00: // WBMP
+ rtn = CreateFromWBMP(in);
+ break;
+ /* GD2
+ 0x67 0x64 0x32 0x00
+ == GD2\0
+ Starts with gd2
+ */
+ case 0x67: // GD2
+ rtn = CreateFromGd2(in);
+ break;
+ /* GD
+ 0xFF 0xFE
+ or
+ 0xFF 0xFF
+ Conflicts with Jpeg
+ */
+ /* XBM
+ #define test_width 16
+ #define test_height 7
+ */
+ case 0x23: // XBM
+ rtn = CreateFromXbm(in);
+ break;
+ default:
+ rtn = false;
+ break;
+ }
+ return rtn;
+ }
+
+ /**
+ Load an image from a standard input stream, after attempting to
+ determine it's image file format.
+ Invoke CreateFrom with an already opened stream
+ containing the desired image.
+ CreateFrom does not close the stream.
+ \param[in] in An opened standard library input stream.
+ \return true for success, or false if unable to load the image (most often because the
+ file is corrupt or does not contain a recognized image format).
+ You can call Width() and Height() member functions of the image to determine its size.
+ Example usage, convert anything to gif:
+ #include <fstream>
+ #include <gdpp.h>
+
+ std::ifstream in("image.xxx", std::ios_base::in | std::ios_base::binary );
+ GD::Image im;
+ im.CreateFrom(in);
+ if (im.good())
+ {
+ std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary );
+ im.Gif(out);
+ }
+ */
+ bool Image::CreateFrom(std::istream & in)
+ {
+ bool rtn;
+ switch (in.peek())
+ {
+#ifdef HAVE_LIBPNG
+ /* PNG
+ The first eight bytes of a PNG file always contain the following (decimal) values:
+ 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A
+ == .PNG\r\n.\n
+ */
+ case 0x89: // PNG
+ rtn = CreateFromPng(in);
+ break;
+#endif
+
+ /* GIF
+ 0x47 0x49 0x46
+ */
+ case 0x47: // GIF
+ rtn = CreateFromGif(in);
+ break;
+
+#ifdef HAVE_LIBJPEG
+ /* JPEG
+ A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0,
+ followed by two variable bytes (often hex 00 10), followed by 'JFIF'.
+ */
+ case 0xFF: // JPEG
+ rtn = CreateFromJpeg(in);
+ break;
+#endif
+
+ /* WBMP
+ WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type
+ */
+ case 0x00: // WBMP
+ rtn = CreateFromWBMP(in);
+ break;
+ /* GD2
+ 0x67 0x64 0x32 0x00
+ == GD2\0
+ Starts with gd2
+ */
+ case 0x67: // GD2
+ rtn = CreateFromGd2(in);
+ break;
+ /* GD
+ 0xFF 0xFE
+ or
+ 0xFF 0xFF
+ Conflicts with Jpeg
+ */
+ default:
+ rtn = false;
+ break;
+ }
+ return rtn;
+ }
+
+ /**
+ Load an image from an in-RAM memory block, after attempting to
+ determine it's image format.
+ CreateFrom does not de-allocate the memory.
+ \param[in] size The byte count of the memory block.
+ \param[in] data A pointer to the memory block.
+ \return true for success, or false if unable to load the image (most often because the
+ formatting is corrupt or does not contain a recognized image format).
+ You can call Width() and Height() member functions of the image to determine its size.
+ */
+ bool Image::CreateFrom(int size, void * data)
+ {
+ bool rtn;
+ switch (((unsigned char * )data)[0])
+ {
+
+#ifdef HAVE_LIBPNG
+ /* PNG
+ The first eight bytes of a PNG file always contain the following (decimal) values:
+ 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A
+ == .PNG\r\n.\n
+ */
+ case 0x89: // PNG
+ rtn = CreateFromPng(size, data);
+ break;
+#endif
+ /* GIF
+ 0x47 0x49 0x46
+ */
+ case 0x47: // GIF
+ rtn = CreateFromGif(size, data);
+ break;
+
+#ifdef HAVE_LIBJPEG
+ /* JPEG
+ A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0,
+ followed by two variable bytes (often hex 00 10), followed by 'JFIF'.
+ */
+ case 0xFF: // JPEG
+ rtn = CreateFromJpeg(size, data);
+ break;
+#endif
+
+ /* WBMP
+ WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type
+ */
+ case 0x00: // WBMP
+ rtn = CreateFromWBMP(size, data);
+ break;
+ /* GD2
+ 0x67 0x64 0x32 0x00
+ == GD2\0
+ Starts with gd2
+ */
+ case 0x67: // GD2
+ rtn = CreateFromGd2(size, data);
+ break;
+ /* GD
+ 0xFF 0xFE
+ or
+ 0xFF 0xFF
+ Conflicts with Jpeg
+ */
+ default:
+ rtn = false;
+ break;
+ }
+ return rtn;
+ }
+ } // namespace GD
+/**
+ Load an image from a standard input stream, regardless of it's image file format.
+ You can call Width() and Height() member functions of the image to determine its size.
+ Example usage, convert anything to gif:
+ #include <fstream>
+ #include <gdpp.h>
+
+ std::ifstream in("image.xxx", std::ios_base::in | std::ios_base::binary );
+ GD::Image im;
+ in >> im;
+ if (im.good())
+ {
+ std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary );
+ im.Gif(out);
+ }
+*/
+std::istream & operator>> (std::istream & in, GD::Image & img)
+ {
+ img.CreateFrom(in);
+ return in;
+ }
+
+#endif /* __cplusplus */
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdpp.h b/Build/source/libs/gd/libgd-src/src/gdpp.h
index 2ebda162e1c..2ebda162e1c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdpp.h
+++ b/Build/source/libs/gd/libgd-src/src/gdpp.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdtables.c b/Build/source/libs/gd/libgd-src/src/gdtables.c
index 7753b21a4b3..7753b21a4b3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdtables.c
+++ b/Build/source/libs/gd/libgd-src/src/gdtables.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdtest.c b/Build/source/libs/gd/libgd-src/src/gdtest.c
index 17dfc1bc521..17dfc1bc521 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdtest.c
+++ b/Build/source/libs/gd/libgd-src/src/gdtest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdtestft.c b/Build/source/libs/gd/libgd-src/src/gdtestft.c
index e72165bdb56..e72165bdb56 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdtestft.c
+++ b/Build/source/libs/gd/libgd-src/src/gdtestft.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdtopng.c b/Build/source/libs/gd/libgd-src/src/gdtopng.c
index d3341b43cad..d3341b43cad 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdtopng.c
+++ b/Build/source/libs/gd/libgd-src/src/gdtopng.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gdxpm.c b/Build/source/libs/gd/libgd-src/src/gdxpm.c
index 15603a6bd84..15603a6bd84 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gdxpm.c
+++ b/Build/source/libs/gd/libgd-src/src/gdxpm.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/gifanimtest.c b/Build/source/libs/gd/libgd-src/src/gifanimtest.c
index da17b9e24f5..da17b9e24f5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/gifanimtest.c
+++ b/Build/source/libs/gd/libgd-src/src/gifanimtest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/giftogd2.c b/Build/source/libs/gd/libgd-src/src/giftogd2.c
index e7d0c6b8250..e7d0c6b8250 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/giftogd2.c
+++ b/Build/source/libs/gd/libgd-src/src/giftogd2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/jisx0208.h b/Build/source/libs/gd/libgd-src/src/jisx0208.h
index d49dddc010a..d49dddc010a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/jisx0208.h
+++ b/Build/source/libs/gd/libgd-src/src/jisx0208.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/msinttypes/inttypes.h b/Build/source/libs/gd/libgd-src/src/msinttypes/inttypes.h
index 4b3828a2162..4b3828a2162 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/msinttypes/inttypes.h
+++ b/Build/source/libs/gd/libgd-src/src/msinttypes/inttypes.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/msinttypes/stdint.h b/Build/source/libs/gd/libgd-src/src/msinttypes/stdint.h
index d02608a5972..d02608a5972 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/msinttypes/stdint.h
+++ b/Build/source/libs/gd/libgd-src/src/msinttypes/stdint.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/pngtogd.c b/Build/source/libs/gd/libgd-src/src/pngtogd.c
index f00fe8f7ac9..f00fe8f7ac9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/pngtogd.c
+++ b/Build/source/libs/gd/libgd-src/src/pngtogd.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/pngtogd2.c b/Build/source/libs/gd/libgd-src/src/pngtogd2.c
index e474afb6612..e474afb6612 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/pngtogd2.c
+++ b/Build/source/libs/gd/libgd-src/src/pngtogd2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/testac.c b/Build/source/libs/gd/libgd-src/src/testac.c
index 0d200f0630c..0d200f0630c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/testac.c
+++ b/Build/source/libs/gd/libgd-src/src/testac.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/testtr.c b/Build/source/libs/gd/libgd-src/src/testtr.c
index b7b419f96c0..b7b419f96c0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/testtr.c
+++ b/Build/source/libs/gd/libgd-src/src/testtr.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/wbmp.c b/Build/source/libs/gd/libgd-src/src/wbmp.c
index 6be39410c55..6be39410c55 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/wbmp.c
+++ b/Build/source/libs/gd/libgd-src/src/wbmp.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/wbmp.h b/Build/source/libs/gd/libgd-src/src/wbmp.h
index f163b4be410..f163b4be410 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/wbmp.h
+++ b/Build/source/libs/gd/libgd-src/src/wbmp.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/webpimg.c b/Build/source/libs/gd/libgd-src/src/webpimg.c
index cf73d642b65..cf73d642b65 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/webpimg.c
+++ b/Build/source/libs/gd/libgd-src/src/webpimg.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/webpimg.h b/Build/source/libs/gd/libgd-src/src/webpimg.h
index 8a05429a73c..8a05429a73c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/webpimg.h
+++ b/Build/source/libs/gd/libgd-src/src/webpimg.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/src/webpng.c b/Build/source/libs/gd/libgd-src/src/webpng.c
index 74231795d10..74231795d10 100644
--- a/Build/source/libs/gd/libgd-2.1.1/src/webpng.c
+++ b/Build/source/libs/gd/libgd-src/src/webpng.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/test/gdtest.gd2 b/Build/source/libs/gd/libgd-src/test/gdtest.gd2
index aaa124f567c..aaa124f567c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/test/gdtest.gd2
+++ b/Build/source/libs/gd/libgd-src/test/gdtest.gd2
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/test/gdtest.png b/Build/source/libs/gd/libgd-src/test/gdtest.png
index 1d480c6a4f4..1d480c6a4f4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/test/gdtest.png
+++ b/Build/source/libs/gd/libgd-src/test/gdtest.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/test/gdtest_200_300_150_100.png b/Build/source/libs/gd/libgd-src/test/gdtest_200_300_150_100.png
index 535474e474a..535474e474a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/test/gdtest_200_300_150_100.png
+++ b/Build/source/libs/gd/libgd-src/test/gdtest_200_300_150_100.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/test/gdtest_merge.png b/Build/source/libs/gd/libgd-src/test/gdtest_merge.png
index 4381bbfe2fc..4381bbfe2fc 100644
--- a/Build/source/libs/gd/libgd-2.1.1/test/gdtest_merge.png
+++ b/Build/source/libs/gd/libgd-src/test/gdtest_merge.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/test/gdtest_wbmp_to_png.png b/Build/source/libs/gd/libgd-src/test/gdtest_wbmp_to_png.png
index d6baf5491fe..d6baf5491fe 100644
--- a/Build/source/libs/gd/libgd-2.1.1/test/gdtest_wbmp_to_png.png
+++ b/Build/source/libs/gd/libgd-src/test/gdtest_wbmp_to_png.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/CMakeLists.txt
index 5f8706fdb02..5f8706fdb02 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/Makefile.am b/Build/source/libs/gd/libgd-src/tests/Makefile.am
index d5ae473748c..346bcd4c265 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/Makefile.am
+++ b/Build/source/libs/gd/libgd-src/tests/Makefile.am
@@ -1,368 +1,368 @@
-noinst_LIBRARIES = libgdtest.a
-
-libgdtest_a_SOURCES = \
- gdtest/gdtest.c \
- gdtest/gdtest.h \
- ../src/gdhelpers.c
-
-check_PROGRAMS = \
- gd2/gd2_empty_file \
- gdimagesetpixel/bug00186 \
- gdimagestringftex/gdimagestringftex_returnfontpathname \
- gdimageline/gdimageline_aa_outofrange \
- gdimagerectangle/bug00003 \
- gdimagerectangle/bug00106_gdimagerectangle \
- gd/gd_null \
- gd/gd_num_colors \
- tga/tga_null \
- gdimagepixelate/gdimagepixelate \
- gdimagecopy/bug00007 \
- gdnewfilectx/gdnewfilectx_null \
- gdimagefilledrectangle/bug00078 \
- gdimagefilledrectangle/bug00004 \
- gdimagefilledrectangle/bug00106_gdimagefilledrectangle \
- gdimagecolordeallocate/gdimagecolordeallocate \
- wbmp/wbmp_null \
- gdimagecolortransparent/gdimagecolortransparent \
- gif/bug00005_2 \
- gif/gif_null \
- gif/bug00181 \
- gif/bug00227 \
- bmp/bmp_null \
- gdinterpolatedscale/gdTrivialResize \
- gdinterpolatedscale/gdModesAndPalettes \
- gd/gd_versiontest \
- gdimagefilter/gdCopyBlurred \
- gdimagefile/gdnametest
-
-EXTRA_PROGRAMS = \
- gdimagestringft/gdimagestringft_bbox \
- gdtiled/bug00032 \
- gd2/gd2_im2im \
- gd2/gd2_null \
- gd2/gd2_read \
- gdimagearc/bug00079 \
- gdimageline/gdimageline_aa \
- gdimageline/bug00072 \
- gdimageline/bug00077 \
- gdimageline/bug00111 \
- gdimageline/gdimageline_bug5 \
- gdimageline/gdImageAALine_thickness \
- gdimageopenpolygon/gdimageopenpolygon2 \
- gdimageopenpolygon/gdimageopenpolygon1 \
- gdimageopenpolygon/gdimageopenpolygon0 \
- gdimageopenpolygon/gdimageopenpolygon3 \
- gd/gd_im2im \
- gdimagecopy/bug00081 \
- gdimagecopyrotated/bug00020 \
- gdimagepolygon/gdimagepolygon0 \
- gdimagepolygon/gdimagepolygon3 \
- gdimagepolygon/gdimagepolygon1 \
- gdimagepolygon/gdimagepolygon2 \
- gdimagecolorresolve/gdimagecolorresolve \
- gdimagefilledpolygon/gdimagefilledpolygon0 \
- gdimagefilledpolygon/gdimagefilledpolygon3 \
- gdimagefilledpolygon/gdimagefilledpolygon2 \
- gdimagefilledpolygon/gdimagefilledpolygon1 \
- gdimagefilledpolygon/bug00100 \
- gdimagecolorreplace/gdimagecolorreplace \
- gdimagefill/bug00002_2 \
- gdimagefill/bug00002_1 \
- gdimagefill/bug00002_4 \
- gdimagefill/bug00002_3 \
- gdimagecolorclosest/gdimagecolorclosest \
- gif/bug00005 \
- gif/gif_im2im \
- gif/bug00066 \
- gif/bug00006 \
- gif/bug00060 \
- gdimagecolorexact/gdimagecolorexact \
- gdimagefilledellipse/bug00191 \
- gdimagefilledellipse/bug00010 \
- xpm/bug00185 \
- xpm/color_name \
- xpm/bug00166 \
- jpeg/jpeg_empty_file \
- jpeg/jpeg_resolution \
- jpeg/jpeg_im2im \
- jpeg/jpeg_null \
- jpeg/jpeg_read \
- png/png_null \
- png/bug00033 \
- png/bug00193 \
- png/bug00011 \
- png/bug00088 \
- png/png_resolution \
- png/bug00086 \
- png/png_im2im \
- wbmp/wbmp_im2im \
- tiff/tiff_null \
- tiff/tiff_im2im \
- freetype/bug00132 \
- bmp/bmp_im2im \
- gdimagescatterex/bug00208_1 \
- gdimagescatterex/bug00208_2 \
- gdimagefilltoborder/bug00037 \
- gdimagerotate/php_bug_64898 \
- gdimagerotate/bug00067
-
-if HAVE_LIBXPM
-check_PROGRAMS += \
- xpm/bug00185 \
- xpm/color_name \
- xpm/bug00166
-endif
-
-if HAVE_LIBJPEG
-check_PROGRAMS += \
- jpeg/jpeg_empty_file \
- jpeg/jpeg_im2im \
- jpeg/jpeg_null
-if HAVE_LIBPNG
-check_PROGRAMS += \
- jpeg/jpeg_resolution \
- jpeg/jpeg_read
-endif
-endif
-
-if HAVE_LIBZ
-check_PROGRAMS += \
- gd2/gd2_null
-endif
-
-if HAVE_LIBPNG
-if HAVE_LIBZ
-check_PROGRAMS += \
- gd2/gd2_read \
- gd2/gd2_im2im \
- gdtiled/bug00032
-endif
-check_PROGRAMS += \
- gdimagestringft/gdimagestringft_bbox \
- gdimagearc/bug00079 \
- gdimageline/gdimageline_aa \
- gdimageline/bug00072 \
- gdimageline/bug00077 \
- gdimageline/bug00111 \
- gdimageline/gdimageline_bug5 \
- gdimageline/gdImageAALine_thickness \
- gdimageopenpolygon/gdimageopenpolygon2 \
- gdimageopenpolygon/gdimageopenpolygon1 \
- gdimageopenpolygon/gdimageopenpolygon0 \
- gdimageopenpolygon/gdimageopenpolygon3 \
- gd/gd_im2im \
- gdimagecopy/bug00081 \
- gdimagecopyrotated/bug00020 \
- gdimagepolygon/gdimagepolygon0 \
- gdimagepolygon/gdimagepolygon3 \
- gdimagepolygon/gdimagepolygon1 \
- gdimagepolygon/gdimagepolygon2 \
- gdimagecolorresolve/gdimagecolorresolve \
- gdimagefilledpolygon/gdimagefilledpolygon0 \
- gdimagefilledpolygon/gdimagefilledpolygon3 \
- gdimagefilledpolygon/gdimagefilledpolygon2 \
- gdimagefilledpolygon/gdimagefilledpolygon1 \
- gdimagefilledpolygon/bug00100 \
- gdimagecolorreplace/gdimagecolorreplace \
- gdimagefill/bug00002_2 \
- gdimagefill/bug00002_1 \
- gdimagefill/bug00002_4 \
- gdimagefill/bug00002_3 \
- gdimagecolorclosest/gdimagecolorclosest \
- gif/bug00005 \
- gif/gif_im2im \
- gif/bug00066 \
- gif/bug00006 \
- gif/bug00060 \
- gdimagecolorexact/gdimagecolorexact \
- gdimagefilledellipse/bug00191 \
- gdimagefilledellipse/bug00010 \
- png/png_null \
- png/bug00033 \
- png/bug00193 \
- png/bug00011 \
- png/bug00088 \
- png/png_resolution \
- png/bug00086 \
- png/png_im2im \
- wbmp/wbmp_im2im \
- bmp/bmp_im2im \
- gdimagescatterex/bug00208_1 \
- gdimagescatterex/bug00208_2 \
- gdimagefilltoborder/bug00037 \
- gdimagerotate/php_bug_64898 \
- gdimagerotate/bug00067
-endif
-
-if HAVE_LIBTIFF
-check_PROGRAMS += \
- tiff/tiff_null \
- tiff/tiff_im2im
-endif
-
-if HAVE_LIBFREETYPE
-check_PROGRAMS +=
- freetype/bug00132
-endif
-
-LDADD = libgdtest.a ../src/libgd.la
-AM_CPPFLAGS = -I$(top_srcdir)/src -I $(top_srcdir)/tests/gdtest
-
-TESTS = $(check_PROGRAMS)
-
-EXTRA_DIST = \
- gdtest/test_config.h.cmake \
- xpm/bug00166.xpm \
- xpm/bug00185.xpm \
- xpm/bug00185_damaged.xpm \
- xpm/color_name.xpm \
- gdtiled/bug00032_exp.png \
- jpeg/conv_test.jpeg \
- jpeg/conv_test_exp.png \
- jpeg/empty.jpeg \
- gd2/conv_test.gd2 \
- gd2/conv_gd2_exp.gd2 \
- gd2/empty.gd2 \
- gd2/conv_test_exp.png \
- gdimagearc/bug00079_exp.png \
- png/bug00088_2.png \
- png/bug00088_1_exp.png \
- png/bug00033.png \
- png/bug00088_2_exp.png \
- png/bug00088_1.png \
- png/emptyfile \
- gdimageline/gdimageline_aa_b_0_exp.png \
- gdimageline/gdimageline_aa_c_0_exp.png \
- gdimageline/gdimageline_aa_d_1_exp.png \
- gdimageline/gdimageline_aa_a_1_exp.png \
- gdimageline/gdimageline_aa_d_0_exp.png \
- gdimageline/bug00111_exp.png \
- gdimageline/gdimageline_aa_c_1_exp.png \
- gdimageline/gdimageline_aa_a_0_exp.png \
- gdimageline/gdimageline_aa_b_1_exp.png \
- gdimageline/bug00072_exp.png \
- gdimageline/bug00077_exp.png \
- gdimageopenpolygon/gdimageopenpolygon0.png \
- gdimageopenpolygon/gdimageopenpolygon1.png \
- gdimageopenpolygon/gdimageopenpolygon2.png \
- gdimageopenpolygon/gdimageopenpolygon3.png \
- gd/crafted_num_colors.gd \
- gdimagecopy/bug00081_exp.png \
- gdimagecopyrotated/bug00020_exp.png \
- gdimagepolygon/gdimagepolygon1.png \
- gdimagepolygon/gdimagepolygon3.png \
- gdimagepolygon/gdimagepolygon0.png \
- gdimagepolygon/gdimagepolygon2.png \
- gdimagefilledpolygon/gdimagefilledpolygon0.png \
- gdimagefilledpolygon/gdimagefilledpolygon1.png \
- gdimagefilledpolygon/gdimagefilledpolygon3.png \
- gdimagefilledpolygon/gdimagefilledpolygon2.png \
- gdimagefilledpolygon/bug00100.png \
- gdimagefill/bug00002_3_exp.png \
- gdimagefill/bug00002_2_exp.png \
- gdimagefill/bug00002_1_exp.png \
- gdimagefill/bug00002_4_exp.png \
- gif/bug00005_0.gif \
- gif/bug00005_1.gif \
- gif/bug00005_3.gif \
- gif/bug00005_2.gif \
- gif/bug00060.gif \
- gif/bug00066_exp.png \
- gif/bug00005_2_exp.png \
- gif/bug00066.gif \
- gdimagefilledellipse/bug00191.png \
- gdimagefilledellipse/bug00010_exp.png \
- gdimagescatterex/bug00208_2.png \
- gdimagescatterex/bug00208.png \
- gdimagescatterex/bug00208_1.png \
- freetype/bug00132_exp.png \
- freetype/DejaVuSans.ttf \
- gdimagestringft/CMakeLists.txt \
- gdtest/CMakeLists.txt \
- xpm/CMakeLists.txt \
- gdtiled/CMakeLists.txt \
- jpeg/CMakeLists.txt \
- gd2/CMakeLists.txt \
- gdimagesetpixel/CMakeLists.txt \
- gdimagearc/CMakeLists.txt \
- png/CMakeLists.txt \
- gdimagestringftex/CMakeLists.txt \
- gdimageline/CMakeLists.txt \
- gdimageopenpolygon/CMakeLists.txt \
- gdimagerectangle/CMakeLists.txt \
- gd/CMakeLists.txt \
- tga/CMakeLists.txt \
- gdimagepixelate/CMakeLists.txt \
- tiff/CMakeLists.txt \
- gdimagecopy/CMakeLists.txt \
- CMakeLists.txt \
- gdnewfilectx/CMakeLists.txt \
- gdimagefilledrectangle/CMakeLists.txt \
- gdimagecopyrotated/CMakeLists.txt \
- gdimagepolygon/CMakeLists.txt \
- gdimagecolordeallocate/CMakeLists.txt \
- wbmp/CMakeLists.txt \
- gdimagecolorresolve/CMakeLists.txt \
- gdimagefilledpolygon/CMakeLists.txt \
- gdimagecolorreplace/CMakeLists.txt \
- gdimagefill/CMakeLists.txt \
- gdimagecolorclosest/CMakeLists.txt \
- gdimagecolortransparent/CMakeLists.txt \
- gif/CMakeLists.txt \
- gdimagecolorexact/CMakeLists.txt \
- gdimagefilledellipse/CMakeLists.txt \
- bmp/CMakeLists.txt \
- gdimagescatterex/CMakeLists.txt \
- gdimagefilltoborder/CMakeLists.txt \
- freetype/CMakeLists.txt \
- gdimagerotate/php_bug_64898.png \
- gdimagerotate/php_bug_64898_exp.png \
- gdimagerotate/remirh128.jpg \
- gdimagerotate/bug00067_000_exp.png \
- gdimagerotate/bug00067_015_exp.png \
- gdimagerotate/bug00067_030_exp.png \
- gdimagerotate/bug00067_045_exp.png \
- gdimagerotate/bug00067_060_exp.png \
- gdimagerotate/bug00067_075_exp.png \
- gdimagerotate/bug00067_090_exp.png \
- gdimagerotate/bug00067_105_exp.png \
- gdimagerotate/bug00067_120_exp.png \
- gdimagerotate/bug00067_135_exp.png \
- gdimagerotate/bug00067_150_exp.png \
- gdimagerotate/bug00067_165_exp.png \
- gdimagerotate/bug00067_180_exp.png \
- gdimagefile/img-ref.tga \
- gdimagefile/img-ref.xbm \
- gdimagefile/img-ref.xpm \
- gdimageline/gdImageAALine_thickness_exp.png
-
-CLEANFILES = \
- a.png \
- bmp_im2im_dst.bmp \
- bmp_im2im_src.bmp \
- bug00132.c_35_diff.png \
- bug00132.c_35_out.png \
- bug00181.gif \
- bug00181a.gif \
- bug00227.gif \
- gd2_im2im_dst.gd2 \
- gd2_im2im_src.gd2 \
- gd_im2im_dst.gd \
- gd_im2im_src.gd \
- gdimageline_aa.c_38_diff.png \
- gdimageline_aa.c_38_out.png \
- gdimagestringft_bbox.png \
- gif_im2im_dst.gif \
- gif_im2im_src.gif \
- jpeg_im2im_dst.jpeg \
- jpeg_im2im_src.jpeg \
- jpeg_read.c_25_diff.png \
- jpeg_read.c_25_out.png \
- png_im2im_dst.png \
- png_im2im_src.png \
- tiff_im2im_dst.tiff \
- tiff_im2im_src.tiff \
- wbmp/wbmp_im2im_dst.wbmp \
- wbmp/wbmp_im2im_src.wbmp \
- wbmp_im2im_dst.wbmp \
- wbmp_im2im_src.wbmp
+noinst_LIBRARIES = libgdtest.a
+
+libgdtest_a_SOURCES = \
+ gdtest/gdtest.c \
+ gdtest/gdtest.h \
+ ../src/gdhelpers.c
+
+check_PROGRAMS = \
+ gd2/gd2_empty_file \
+ gdimagesetpixel/bug00186 \
+ gdimagestringftex/gdimagestringftex_returnfontpathname \
+ gdimageline/gdimageline_aa_outofrange \
+ gdimagerectangle/bug00003 \
+ gdimagerectangle/bug00106_gdimagerectangle \
+ gd/gd_null \
+ gd/gd_num_colors \
+ tga/tga_null \
+ gdimagepixelate/gdimagepixelate \
+ gdimagecopy/bug00007 \
+ gdnewfilectx/gdnewfilectx_null \
+ gdimagefilledrectangle/bug00078 \
+ gdimagefilledrectangle/bug00004 \
+ gdimagefilledrectangle/bug00106_gdimagefilledrectangle \
+ gdimagecolordeallocate/gdimagecolordeallocate \
+ wbmp/wbmp_null \
+ gdimagecolortransparent/gdimagecolortransparent \
+ gif/bug00005_2 \
+ gif/gif_null \
+ gif/bug00181 \
+ gif/bug00227 \
+ bmp/bmp_null \
+ gdinterpolatedscale/gdTrivialResize \
+ gdinterpolatedscale/gdModesAndPalettes \
+ gd/gd_versiontest \
+ gdimagefilter/gdCopyBlurred \
+ gdimagefile/gdnametest
+
+EXTRA_PROGRAMS = \
+ gdimagestringft/gdimagestringft_bbox \
+ gdtiled/bug00032 \
+ gd2/gd2_im2im \
+ gd2/gd2_null \
+ gd2/gd2_read \
+ gdimagearc/bug00079 \
+ gdimageline/gdimageline_aa \
+ gdimageline/bug00072 \
+ gdimageline/bug00077 \
+ gdimageline/bug00111 \
+ gdimageline/gdimageline_bug5 \
+ gdimageline/gdImageAALine_thickness \
+ gdimageopenpolygon/gdimageopenpolygon2 \
+ gdimageopenpolygon/gdimageopenpolygon1 \
+ gdimageopenpolygon/gdimageopenpolygon0 \
+ gdimageopenpolygon/gdimageopenpolygon3 \
+ gd/gd_im2im \
+ gdimagecopy/bug00081 \
+ gdimagecopyrotated/bug00020 \
+ gdimagepolygon/gdimagepolygon0 \
+ gdimagepolygon/gdimagepolygon3 \
+ gdimagepolygon/gdimagepolygon1 \
+ gdimagepolygon/gdimagepolygon2 \
+ gdimagecolorresolve/gdimagecolorresolve \
+ gdimagefilledpolygon/gdimagefilledpolygon0 \
+ gdimagefilledpolygon/gdimagefilledpolygon3 \
+ gdimagefilledpolygon/gdimagefilledpolygon2 \
+ gdimagefilledpolygon/gdimagefilledpolygon1 \
+ gdimagefilledpolygon/bug00100 \
+ gdimagecolorreplace/gdimagecolorreplace \
+ gdimagefill/bug00002_2 \
+ gdimagefill/bug00002_1 \
+ gdimagefill/bug00002_4 \
+ gdimagefill/bug00002_3 \
+ gdimagecolorclosest/gdimagecolorclosest \
+ gif/bug00005 \
+ gif/gif_im2im \
+ gif/bug00066 \
+ gif/bug00006 \
+ gif/bug00060 \
+ gdimagecolorexact/gdimagecolorexact \
+ gdimagefilledellipse/bug00191 \
+ gdimagefilledellipse/bug00010 \
+ xpm/bug00185 \
+ xpm/color_name \
+ xpm/bug00166 \
+ jpeg/jpeg_empty_file \
+ jpeg/jpeg_resolution \
+ jpeg/jpeg_im2im \
+ jpeg/jpeg_null \
+ jpeg/jpeg_read \
+ png/png_null \
+ png/bug00033 \
+ png/bug00193 \
+ png/bug00011 \
+ png/bug00088 \
+ png/png_resolution \
+ png/bug00086 \
+ png/png_im2im \
+ wbmp/wbmp_im2im \
+ tiff/tiff_null \
+ tiff/tiff_im2im \
+ freetype/bug00132 \
+ bmp/bmp_im2im \
+ gdimagescatterex/bug00208_1 \
+ gdimagescatterex/bug00208_2 \
+ gdimagefilltoborder/bug00037 \
+ gdimagerotate/php_bug_64898 \
+ gdimagerotate/bug00067
+
+if HAVE_LIBXPM
+check_PROGRAMS += \
+ xpm/bug00185 \
+ xpm/color_name \
+ xpm/bug00166
+endif
+
+if HAVE_LIBJPEG
+check_PROGRAMS += \
+ jpeg/jpeg_empty_file \
+ jpeg/jpeg_im2im \
+ jpeg/jpeg_null
+if HAVE_LIBPNG
+check_PROGRAMS += \
+ jpeg/jpeg_resolution \
+ jpeg/jpeg_read
+endif
+endif
+
+if HAVE_LIBZ
+check_PROGRAMS += \
+ gd2/gd2_null
+endif
+
+if HAVE_LIBPNG
+if HAVE_LIBZ
+check_PROGRAMS += \
+ gd2/gd2_read \
+ gd2/gd2_im2im \
+ gdtiled/bug00032
+endif
+check_PROGRAMS += \
+ gdimagestringft/gdimagestringft_bbox \
+ gdimagearc/bug00079 \
+ gdimageline/gdimageline_aa \
+ gdimageline/bug00072 \
+ gdimageline/bug00077 \
+ gdimageline/bug00111 \
+ gdimageline/gdimageline_bug5 \
+ gdimageline/gdImageAALine_thickness \
+ gdimageopenpolygon/gdimageopenpolygon2 \
+ gdimageopenpolygon/gdimageopenpolygon1 \
+ gdimageopenpolygon/gdimageopenpolygon0 \
+ gdimageopenpolygon/gdimageopenpolygon3 \
+ gd/gd_im2im \
+ gdimagecopy/bug00081 \
+ gdimagecopyrotated/bug00020 \
+ gdimagepolygon/gdimagepolygon0 \
+ gdimagepolygon/gdimagepolygon3 \
+ gdimagepolygon/gdimagepolygon1 \
+ gdimagepolygon/gdimagepolygon2 \
+ gdimagecolorresolve/gdimagecolorresolve \
+ gdimagefilledpolygon/gdimagefilledpolygon0 \
+ gdimagefilledpolygon/gdimagefilledpolygon3 \
+ gdimagefilledpolygon/gdimagefilledpolygon2 \
+ gdimagefilledpolygon/gdimagefilledpolygon1 \
+ gdimagefilledpolygon/bug00100 \
+ gdimagecolorreplace/gdimagecolorreplace \
+ gdimagefill/bug00002_2 \
+ gdimagefill/bug00002_1 \
+ gdimagefill/bug00002_4 \
+ gdimagefill/bug00002_3 \
+ gdimagecolorclosest/gdimagecolorclosest \
+ gif/bug00005 \
+ gif/gif_im2im \
+ gif/bug00066 \
+ gif/bug00006 \
+ gif/bug00060 \
+ gdimagecolorexact/gdimagecolorexact \
+ gdimagefilledellipse/bug00191 \
+ gdimagefilledellipse/bug00010 \
+ png/png_null \
+ png/bug00033 \
+ png/bug00193 \
+ png/bug00011 \
+ png/bug00088 \
+ png/png_resolution \
+ png/bug00086 \
+ png/png_im2im \
+ wbmp/wbmp_im2im \
+ bmp/bmp_im2im \
+ gdimagescatterex/bug00208_1 \
+ gdimagescatterex/bug00208_2 \
+ gdimagefilltoborder/bug00037 \
+ gdimagerotate/php_bug_64898 \
+ gdimagerotate/bug00067
+endif
+
+if HAVE_LIBTIFF
+check_PROGRAMS += \
+ tiff/tiff_null \
+ tiff/tiff_im2im
+endif
+
+if HAVE_LIBFREETYPE
+check_PROGRAMS +=
+ freetype/bug00132
+endif
+
+LDADD = libgdtest.a ../src/libgd.la
+AM_CPPFLAGS = -I$(top_srcdir)/src -I $(top_srcdir)/tests/gdtest
+
+TESTS = $(check_PROGRAMS)
+
+EXTRA_DIST = \
+ gdtest/test_config.h.cmake \
+ xpm/bug00166.xpm \
+ xpm/bug00185.xpm \
+ xpm/bug00185_damaged.xpm \
+ xpm/color_name.xpm \
+ gdtiled/bug00032_exp.png \
+ jpeg/conv_test.jpeg \
+ jpeg/conv_test_exp.png \
+ jpeg/empty.jpeg \
+ gd2/conv_test.gd2 \
+ gd2/conv_gd2_exp.gd2 \
+ gd2/empty.gd2 \
+ gd2/conv_test_exp.png \
+ gdimagearc/bug00079_exp.png \
+ png/bug00088_2.png \
+ png/bug00088_1_exp.png \
+ png/bug00033.png \
+ png/bug00088_2_exp.png \
+ png/bug00088_1.png \
+ png/emptyfile \
+ gdimageline/gdimageline_aa_b_0_exp.png \
+ gdimageline/gdimageline_aa_c_0_exp.png \
+ gdimageline/gdimageline_aa_d_1_exp.png \
+ gdimageline/gdimageline_aa_a_1_exp.png \
+ gdimageline/gdimageline_aa_d_0_exp.png \
+ gdimageline/bug00111_exp.png \
+ gdimageline/gdimageline_aa_c_1_exp.png \
+ gdimageline/gdimageline_aa_a_0_exp.png \
+ gdimageline/gdimageline_aa_b_1_exp.png \
+ gdimageline/bug00072_exp.png \
+ gdimageline/bug00077_exp.png \
+ gdimageopenpolygon/gdimageopenpolygon0.png \
+ gdimageopenpolygon/gdimageopenpolygon1.png \
+ gdimageopenpolygon/gdimageopenpolygon2.png \
+ gdimageopenpolygon/gdimageopenpolygon3.png \
+ gd/crafted_num_colors.gd \
+ gdimagecopy/bug00081_exp.png \
+ gdimagecopyrotated/bug00020_exp.png \
+ gdimagepolygon/gdimagepolygon1.png \
+ gdimagepolygon/gdimagepolygon3.png \
+ gdimagepolygon/gdimagepolygon0.png \
+ gdimagepolygon/gdimagepolygon2.png \
+ gdimagefilledpolygon/gdimagefilledpolygon0.png \
+ gdimagefilledpolygon/gdimagefilledpolygon1.png \
+ gdimagefilledpolygon/gdimagefilledpolygon3.png \
+ gdimagefilledpolygon/gdimagefilledpolygon2.png \
+ gdimagefilledpolygon/bug00100.png \
+ gdimagefill/bug00002_3_exp.png \
+ gdimagefill/bug00002_2_exp.png \
+ gdimagefill/bug00002_1_exp.png \
+ gdimagefill/bug00002_4_exp.png \
+ gif/bug00005_0.gif \
+ gif/bug00005_1.gif \
+ gif/bug00005_3.gif \
+ gif/bug00005_2.gif \
+ gif/bug00060.gif \
+ gif/bug00066_exp.png \
+ gif/bug00005_2_exp.png \
+ gif/bug00066.gif \
+ gdimagefilledellipse/bug00191.png \
+ gdimagefilledellipse/bug00010_exp.png \
+ gdimagescatterex/bug00208_2.png \
+ gdimagescatterex/bug00208.png \
+ gdimagescatterex/bug00208_1.png \
+ freetype/bug00132_exp.png \
+ freetype/DejaVuSans.ttf \
+ gdimagestringft/CMakeLists.txt \
+ gdtest/CMakeLists.txt \
+ xpm/CMakeLists.txt \
+ gdtiled/CMakeLists.txt \
+ jpeg/CMakeLists.txt \
+ gd2/CMakeLists.txt \
+ gdimagesetpixel/CMakeLists.txt \
+ gdimagearc/CMakeLists.txt \
+ png/CMakeLists.txt \
+ gdimagestringftex/CMakeLists.txt \
+ gdimageline/CMakeLists.txt \
+ gdimageopenpolygon/CMakeLists.txt \
+ gdimagerectangle/CMakeLists.txt \
+ gd/CMakeLists.txt \
+ tga/CMakeLists.txt \
+ gdimagepixelate/CMakeLists.txt \
+ tiff/CMakeLists.txt \
+ gdimagecopy/CMakeLists.txt \
+ CMakeLists.txt \
+ gdnewfilectx/CMakeLists.txt \
+ gdimagefilledrectangle/CMakeLists.txt \
+ gdimagecopyrotated/CMakeLists.txt \
+ gdimagepolygon/CMakeLists.txt \
+ gdimagecolordeallocate/CMakeLists.txt \
+ wbmp/CMakeLists.txt \
+ gdimagecolorresolve/CMakeLists.txt \
+ gdimagefilledpolygon/CMakeLists.txt \
+ gdimagecolorreplace/CMakeLists.txt \
+ gdimagefill/CMakeLists.txt \
+ gdimagecolorclosest/CMakeLists.txt \
+ gdimagecolortransparent/CMakeLists.txt \
+ gif/CMakeLists.txt \
+ gdimagecolorexact/CMakeLists.txt \
+ gdimagefilledellipse/CMakeLists.txt \
+ bmp/CMakeLists.txt \
+ gdimagescatterex/CMakeLists.txt \
+ gdimagefilltoborder/CMakeLists.txt \
+ freetype/CMakeLists.txt \
+ gdimagerotate/php_bug_64898.png \
+ gdimagerotate/php_bug_64898_exp.png \
+ gdimagerotate/remirh128.jpg \
+ gdimagerotate/bug00067_000_exp.png \
+ gdimagerotate/bug00067_015_exp.png \
+ gdimagerotate/bug00067_030_exp.png \
+ gdimagerotate/bug00067_045_exp.png \
+ gdimagerotate/bug00067_060_exp.png \
+ gdimagerotate/bug00067_075_exp.png \
+ gdimagerotate/bug00067_090_exp.png \
+ gdimagerotate/bug00067_105_exp.png \
+ gdimagerotate/bug00067_120_exp.png \
+ gdimagerotate/bug00067_135_exp.png \
+ gdimagerotate/bug00067_150_exp.png \
+ gdimagerotate/bug00067_165_exp.png \
+ gdimagerotate/bug00067_180_exp.png \
+ gdimagefile/img-ref.tga \
+ gdimagefile/img-ref.xbm \
+ gdimagefile/img-ref.xpm \
+ gdimageline/gdImageAALine_thickness_exp.png
+
+CLEANFILES = \
+ a.png \
+ bmp_im2im_dst.bmp \
+ bmp_im2im_src.bmp \
+ bug00132.c_35_diff.png \
+ bug00132.c_35_out.png \
+ bug00181.gif \
+ bug00181a.gif \
+ bug00227.gif \
+ gd2_im2im_dst.gd2 \
+ gd2_im2im_src.gd2 \
+ gd_im2im_dst.gd \
+ gd_im2im_src.gd \
+ gdimageline_aa.c_38_diff.png \
+ gdimageline_aa.c_38_out.png \
+ gdimagestringft_bbox.png \
+ gif_im2im_dst.gif \
+ gif_im2im_src.gif \
+ jpeg_im2im_dst.jpeg \
+ jpeg_im2im_src.jpeg \
+ jpeg_read.c_25_diff.png \
+ jpeg_read.c_25_out.png \
+ png_im2im_dst.png \
+ png_im2im_src.png \
+ tiff_im2im_dst.tiff \
+ tiff_im2im_src.tiff \
+ wbmp/wbmp_im2im_dst.wbmp \
+ wbmp/wbmp_im2im_src.wbmp \
+ wbmp_im2im_dst.wbmp \
+ wbmp_im2im_src.wbmp
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/bmp/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/bmp/CMakeLists.txt
index 751c303a756..751c303a756 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/bmp/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/bmp/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/bmp/bmp_im2im.c b/Build/source/libs/gd/libgd-src/tests/bmp/bmp_im2im.c
index 2beb2db4206..2beb2db4206 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/bmp/bmp_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/bmp/bmp_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/bmp/bmp_null.c b/Build/source/libs/gd/libgd-src/tests/bmp/bmp_null.c
index 08ed8377736..08ed8377736 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/bmp/bmp_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/bmp/bmp_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/freetype/CMakeLists.txt
index 201d19a5575..201d19a5575 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/freetype/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/DejaVuSans.ttf b/Build/source/libs/gd/libgd-src/tests/freetype/DejaVuSans.ttf
index 3299ee5572f..3299ee5572f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/DejaVuSans.ttf
+++ b/Build/source/libs/gd/libgd-src/tests/freetype/DejaVuSans.ttf
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/bug00132.c b/Build/source/libs/gd/libgd-src/tests/freetype/bug00132.c
index 88cdfc695a3..88cdfc695a3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/bug00132.c
+++ b/Build/source/libs/gd/libgd-src/tests/freetype/bug00132.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/bug00132_exp.png b/Build/source/libs/gd/libgd-src/tests/freetype/bug00132_exp.png
index c45495e618f..c45495e618f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/freetype/bug00132_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/freetype/bug00132_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gd/CMakeLists.txt
index c5327171ba0..c5327171ba0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gd/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd/crafted_num_colors.gd b/Build/source/libs/gd/libgd-src/tests/gd/crafted_num_colors.gd
index 45c944cc29f..45c944cc29f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd/crafted_num_colors.gd
+++ b/Build/source/libs/gd/libgd-src/tests/gd/crafted_num_colors.gd
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_im2im.c b/Build/source/libs/gd/libgd-src/tests/gd/gd_im2im.c
index a7a2226e719..a7a2226e719 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd/gd_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_null.c b/Build/source/libs/gd/libgd-src/tests/gd/gd_null.c
index c0594662f1c..c0594662f1c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd/gd_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_num_colors.c b/Build/source/libs/gd/libgd-src/tests/gd/gd_num_colors.c
index 7d919361925..7d919361925 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_num_colors.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd/gd_num_colors.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_versiontest.c b/Build/source/libs/gd/libgd-src/tests/gd/gd_versiontest.c
index 1aa1a67b3d9..1aa1a67b3d9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd/gd_versiontest.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd/gd_versiontest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gd2/CMakeLists.txt
index 68a064c0fbd..68a064c0fbd 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_gd2_exp.gd2 b/Build/source/libs/gd/libgd-src/tests/gd2/conv_gd2_exp.gd2
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_gd2_exp.gd2
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/conv_gd2_exp.gd2
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_test.gd2 b/Build/source/libs/gd/libgd-src/tests/gd2/conv_test.gd2
index 1c64b46d9ae..1c64b46d9ae 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_test.gd2
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/conv_test.gd2
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_test_exp.png b/Build/source/libs/gd/libgd-src/tests/gd2/conv_test_exp.png
index b4bc3fad9f4..b4bc3fad9f4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/conv_test_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/conv_test_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/empty.gd2 b/Build/source/libs/gd/libgd-src/tests/gd2/empty.gd2
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/empty.gd2
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/empty.gd2
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_empty_file.c b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_empty_file.c
index 289debc541e..289debc541e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_empty_file.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_empty_file.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_im2im.c b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_im2im.c
index 7745fa5973e..7745fa5973e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_null.c b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_null.c
index 6c8fc96caae..6c8fc96caae 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_read.c b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_read.c
index 2e78e9a6d23..2e78e9a6d23 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gd2/gd2_read.c
+++ b/Build/source/libs/gd/libgd-src/tests/gd2/gd2_read.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagearc/CMakeLists.txt
index 4725daea2cc..4725daea2cc 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagearc/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/bug00079.c b/Build/source/libs/gd/libgd-src/tests/gdimagearc/bug00079.c
index b2843a74873..b2843a74873 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/bug00079.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagearc/bug00079.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/bug00079_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagearc/bug00079_exp.png
index 1abfbbfbc51..1abfbbfbc51 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagearc/bug00079_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagearc/bug00079_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorclosest/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecolorclosest/CMakeLists.txt
index 30a47c0b800..30a47c0b800 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorclosest/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorclosest/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorclosest/gdimagecolorclosest.c b/Build/source/libs/gd/libgd-src/tests/gdimagecolorclosest/gdimagecolorclosest.c
index 4754a2c28be..4754a2c28be 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorclosest/gdimagecolorclosest.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorclosest/gdimagecolorclosest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolordeallocate/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecolordeallocate/CMakeLists.txt
index 7958cd6cce4..7958cd6cce4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolordeallocate/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolordeallocate/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolordeallocate/gdimagecolordeallocate.c b/Build/source/libs/gd/libgd-src/tests/gdimagecolordeallocate/gdimagecolordeallocate.c
index c671bd323de..c671bd323de 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolordeallocate/gdimagecolordeallocate.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolordeallocate/gdimagecolordeallocate.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorexact/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecolorexact/CMakeLists.txt
index f62bc26bbe3..f62bc26bbe3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorexact/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorexact/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorexact/gdimagecolorexact.c b/Build/source/libs/gd/libgd-src/tests/gdimagecolorexact/gdimagecolorexact.c
index 9d754ca9614..9d754ca9614 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorexact/gdimagecolorexact.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorexact/gdimagecolorexact.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorreplace/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecolorreplace/CMakeLists.txt
index 915d9d49873..915d9d49873 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorreplace/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorreplace/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorreplace/gdimagecolorreplace.c b/Build/source/libs/gd/libgd-src/tests/gdimagecolorreplace/gdimagecolorreplace.c
index 9694bd4ae5a..9694bd4ae5a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorreplace/gdimagecolorreplace.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorreplace/gdimagecolorreplace.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorresolve/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecolorresolve/CMakeLists.txt
index 4b918251655..4b918251655 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorresolve/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorresolve/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorresolve/gdimagecolorresolve.c b/Build/source/libs/gd/libgd-src/tests/gdimagecolorresolve/gdimagecolorresolve.c
index 1a0d6884e7e..1a0d6884e7e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolorresolve/gdimagecolorresolve.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolorresolve/gdimagecolorresolve.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolortransparent/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecolortransparent/CMakeLists.txt
index 5f580f7f174..5f580f7f174 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolortransparent/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolortransparent/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolortransparent/gdimagecolortransparent.c b/Build/source/libs/gd/libgd-src/tests/gdimagecolortransparent/gdimagecolortransparent.c
index aca380b2c6f..aca380b2c6f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecolortransparent/gdimagecolortransparent.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecolortransparent/gdimagecolortransparent.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/CMakeLists.txt
index 0b0ccdd77b5..0b0ccdd77b5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00007.c b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00007.c
index f3106f3a2f4..f3106f3a2f4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00007.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00007.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00081.c b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00081.c
index 0e28f4ca409..0e28f4ca409 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00081.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00081.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00081_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00081_exp.png
index c5587f78a40..c5587f78a40 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopy/bug00081_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecopy/bug00081_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/CMakeLists.txt
index 7f75aa7c572..7f75aa7c572 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/bug00020.c b/Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/bug00020.c
index f1c2467fc47..f1c2467fc47 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/bug00020.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/bug00020.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/bug00020_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/bug00020_exp.png
index f0a9c161b14..f0a9c161b14 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagecopyrotated/bug00020_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagecopyrotated/bug00020_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/gdnametest.c b/Build/source/libs/gd/libgd-src/tests/gdimagefile/gdnametest.c
index dd8f0196a59..dd8f0196a59 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/gdnametest.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefile/gdnametest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.tga b/Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.tga
index 201e1450760..201e1450760 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.tga
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.tga
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.xbm b/Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.xbm
index bb7ebb72c40..bb7ebb72c40 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.xbm
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.xbm
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.xpm b/Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.xpm
index 574d3d95d2d..574d3d95d2d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefile/img-ref.xpm
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefile/img-ref.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagefill/CMakeLists.txt
index ef85f1cf7ef..ef85f1cf7ef 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_1.c b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_1.c
index 2a440f20ede..2a440f20ede 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_1.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_1.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_1_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_1_exp.png
index a5435f278bc..a5435f278bc 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_1_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_2.c b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_2.c
index 06cf8311195..06cf8311195 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_2.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_2_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_2_exp.png
index 2a3f0fb2c65..2a3f0fb2c65 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_2_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_2_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_3.c b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_3.c
index 454d5be3612..454d5be3612 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_3.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_3.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_3_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_3_exp.png
index b8b7a2b319d..b8b7a2b319d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_3_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_3_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_4.c b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_4.c
index 4b11d84bdc9..4b11d84bdc9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_4.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_4.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_4_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_4_exp.png
index d751a74d7a0..d751a74d7a0 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefill/bug00002_4_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefill/bug00002_4_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/CMakeLists.txt
index fb1ed6ca1ac..fb1ed6ca1ac 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00010.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00010.c
index df0c66dbc64..df0c66dbc64 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00010.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00010.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00010_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00010_exp.png
index 871ca671987..871ca671987 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00010_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00010_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00191.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00191.c
index 7db64151726..7db64151726 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00191.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00191.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00191.png b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00191.png
index dbb7439e2b5..dbb7439e2b5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledellipse/bug00191.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledellipse/bug00191.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/CMakeLists.txt
index 2ca4bf51f99..2ca4bf51f99 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/bug00100.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/bug00100.c
index ae2e084fe41..ae2e084fe41 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/bug00100.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/bug00100.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/bug00100.png b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/bug00100.png
index 439224e2334..439224e2334 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/bug00100.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/bug00100.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c
index 5ca877c630c..5ca877c630c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c
index 950035e2b4b..950035e2b4b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c
index 628665a1919..628665a1919 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png
index 80f91a2814b..80f91a2814b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c
index 0db5c8519e1..0db5c8519e1 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png
index 72311d83a29..72311d83a29 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/CMakeLists.txt
index 73920709bb5..73920709bb5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00004.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00004.c
index 594e29637d7..594e29637d7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00004.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00004.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00078.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00078.c
index adf244ebca2..adf244ebca2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00078.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00078.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c
index 24f5ceb9327..24f5ceb9327 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilltoborder/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagefilltoborder/CMakeLists.txt
index e24a69a1452..e24a69a1452 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilltoborder/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilltoborder/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilltoborder/bug00037.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilltoborder/bug00037.c
index 646adbd0f79..646adbd0f79 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilltoborder/bug00037.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilltoborder/bug00037.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilter/gdCopyBlurred.c b/Build/source/libs/gd/libgd-src/tests/gdimagefilter/gdCopyBlurred.c
index 69ca06133bc..69ca06133bc 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagefilter/gdCopyBlurred.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagefilter/gdCopyBlurred.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimageline/CMakeLists.txt
index 78f11d424fb..78f11d424fb 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00072.c b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00072.c
index c3a3137e539..c3a3137e539 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00072.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00072.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00072_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00072_exp.png
index 6439e061f1d..6439e061f1d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00072_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00072_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00077.c b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00077.c
index d69e88177f2..d69e88177f2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00077.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00077.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00077_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00077_exp.png
index bfa097a5c56..bfa097a5c56 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00077_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00077_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00111.c b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00111.c
index 4277534874d..4277534874d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00111.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00111.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00111_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00111_exp.png
index ecd44b25d66..ecd44b25d66 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/bug00111_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/bug00111_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdImageAALine_thickness.c b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdImageAALine_thickness.c
index 954e055b6fb..954e055b6fb 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdImageAALine_thickness.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdImageAALine_thickness.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdImageAALine_thickness_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdImageAALine_thickness_exp.png
index 26e02bc3661..26e02bc3661 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdImageAALine_thickness_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdImageAALine_thickness_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa.c b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa.c
index b0bea3a4d5c..b0bea3a4d5c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_a_0_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_a_0_exp.png
index 83f893453ed..83f893453ed 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_a_0_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_a_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_a_1_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_a_1_exp.png
index c4edcfa36ec..c4edcfa36ec 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_a_1_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_a_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_b_0_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_b_0_exp.png
index 130d6c36cc7..130d6c36cc7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_b_0_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_b_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_b_1_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_b_1_exp.png
index 678800658d3..678800658d3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_b_1_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_b_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_c_0_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_c_0_exp.png
index 6d03ae6652e..6d03ae6652e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_c_0_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_c_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_c_1_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_c_1_exp.png
index 6e1a38aa7e1..6e1a38aa7e1 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_c_1_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_c_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_d_0_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_d_0_exp.png
index c6f9e27e4fc..c6f9e27e4fc 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_d_0_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_d_0_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_d_1_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_d_1_exp.png
index 709c186c26a..709c186c26a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_d_1_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_d_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_outofrange.c b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_outofrange.c
index 5c1ed05ab03..5c1ed05ab03 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_aa_outofrange.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_aa_outofrange.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_bug5.c b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_bug5.c
index 44adc8eaf86..44adc8eaf86 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageline/gdimageline_bug5.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageline/gdimageline_bug5.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/CMakeLists.txt
index 4e54fffb143..4e54fffb143 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon0.c b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon0.c
index d9bf1bd962a..d9bf1bd962a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon0.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon0.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon0.png b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon0.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon0.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon0.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon1.c b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon1.c
index 07ee29dff49..07ee29dff49 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon1.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon1.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon1.png b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon1.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon1.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon2.c b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon2.c
index ab097d83cad..ab097d83cad 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon2.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon2.png b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon2.png
index 80f91a2814b..80f91a2814b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon2.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon3.c b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon3.c
index 027bfacd20b..027bfacd20b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon3.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon3.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon3.png b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon3.png
index 9d63d6ac9ba..9d63d6ac9ba 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimageopenpolygon/gdimageopenpolygon3.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimageopenpolygon/gdimageopenpolygon3.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepixelate/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagepixelate/CMakeLists.txt
index 2d10b21ed94..2d10b21ed94 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepixelate/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepixelate/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepixelate/gdimagepixelate.c b/Build/source/libs/gd/libgd-src/tests/gdimagepixelate/gdimagepixelate.c
index 2a0a4692269..2a0a4692269 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepixelate/gdimagepixelate.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepixelate/gdimagepixelate.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/CMakeLists.txt
index 679e93986be..679e93986be 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon0.c b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon0.c
index 20fa423c056..20fa423c056 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon0.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon0.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon0.png b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon0.png
index 14c7090a415..14c7090a415 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon0.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon0.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon1.c b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon1.c
index 6f2ad57dfcc..6f2ad57dfcc 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon1.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon1.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon1.png b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon1.png
index 845c5f6930b..845c5f6930b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon1.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon2.c b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon2.c
index 8142c3ba873..8142c3ba873 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon2.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon2.png b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon2.png
index 80f91a2814b..80f91a2814b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon2.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon3.c b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon3.c
index 55d71f27a9c..55d71f27a9c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon3.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon3.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon3.png b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon3.png
index aaff882a8fb..aaff882a8fb 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagepolygon/gdimagepolygon3.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagepolygon/gdimagepolygon3.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagerectangle/CMakeLists.txt
index 2c73ef9b77a..2c73ef9b77a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerectangle/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/bug00003.c b/Build/source/libs/gd/libgd-src/tests/gdimagerectangle/bug00003.c
index 4ee4ddbcb5d..4ee4ddbcb5d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/bug00003.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerectangle/bug00003.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/bug00106_gdimagerectangle.c b/Build/source/libs/gd/libgd-src/tests/gdimagerectangle/bug00106_gdimagerectangle.c
index 21bf88b7440..21bf88b7440 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerectangle/bug00106_gdimagerectangle.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerectangle/bug00106_gdimagerectangle.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067.c b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067.c
index 4a6595988b9..4a6595988b9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_000_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_000_exp.png
index d06b5fe58fb..d06b5fe58fb 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_000_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_000_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_015_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_015_exp.png
index a0f8ce2efae..a0f8ce2efae 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_015_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_015_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_030_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_030_exp.png
index aad7f4ccb67..aad7f4ccb67 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_030_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_030_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_045_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_045_exp.png
index 75916a51649..75916a51649 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_045_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_045_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_060_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_060_exp.png
index f24364a062f..f24364a062f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_060_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_060_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_075_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_075_exp.png
index f8dcf449086..f8dcf449086 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_075_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_075_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_090_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_090_exp.png
index a971447c7b2..a971447c7b2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_090_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_090_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_105_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_105_exp.png
index 2cf641d85a8..2cf641d85a8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_105_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_105_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_120_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_120_exp.png
index 1890f92545c..1890f92545c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_120_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_120_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_135_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_135_exp.png
index 34ccb0aa054..34ccb0aa054 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_135_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_135_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_150_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_150_exp.png
index 330d030a7fa..330d030a7fa 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_150_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_150_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_165_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_165_exp.png
index df5b6400bc2..df5b6400bc2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_165_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_165_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_180_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_180_exp.png
index d4f65983615..d4f65983615 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/bug00067_180_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/bug00067_180_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898.c b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898.c
index 9bbd98b5313..9bbd98b5313 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898.png
index 089680a248c..089680a248c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898_exp.png b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898_exp.png
index a03bdb8e9d6..a03bdb8e9d6 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/php_bug_64898_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/php_bug_64898_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/remirh128.jpg b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/remirh128.jpg
index bd5e3c77e3c..bd5e3c77e3c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagerotate/remirh128.jpg
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagerotate/remirh128.jpg
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/CMakeLists.txt
index 13de90a4ff6..13de90a4ff6 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208.png b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208.png
index eac854aeaeb..eac854aeaeb 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_1.c b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_1.c
index 4dc8b63e737..4dc8b63e737 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_1.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_1.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_1.png b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_1.png
index 21ef1240db4..21ef1240db4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_1.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_2.c b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_2.c
index 90361569df2..90361569df2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_2.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_2.png b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_2.png
index feb1ede3594..feb1ede3594 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagescatterex/bug00208_2.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagescatterex/bug00208_2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagesetpixel/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagesetpixel/CMakeLists.txt
index 1fb1f38bb36..1fb1f38bb36 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagesetpixel/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagesetpixel/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagesetpixel/bug00186.c b/Build/source/libs/gd/libgd-src/tests/gdimagesetpixel/bug00186.c
index efa07b27ec8..efa07b27ec8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagesetpixel/bug00186.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagesetpixel/bug00186.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringft/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagestringft/CMakeLists.txt
index c3338c0dc92..c3338c0dc92 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringft/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagestringft/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringft/gdimagestringft_bbox.c b/Build/source/libs/gd/libgd-src/tests/gdimagestringft/gdimagestringft_bbox.c
index 01fd73a33c1..01fd73a33c1 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringft/gdimagestringft_bbox.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagestringft/gdimagestringft_bbox.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringftex/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdimagestringftex/CMakeLists.txt
index 5d2666883d8..5d2666883d8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringftex/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagestringftex/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c b/Build/source/libs/gd/libgd-src/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c
index f91485b7717..f91485b7717 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdinterpolatedscale/gdModesAndPalettes.c b/Build/source/libs/gd/libgd-src/tests/gdinterpolatedscale/gdModesAndPalettes.c
index a6ed14d92f3..a6ed14d92f3 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdinterpolatedscale/gdModesAndPalettes.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdinterpolatedscale/gdModesAndPalettes.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdinterpolatedscale/gdTrivialResize.c b/Build/source/libs/gd/libgd-src/tests/gdinterpolatedscale/gdTrivialResize.c
index f11b5059fbf..f11b5059fbf 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdinterpolatedscale/gdTrivialResize.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdinterpolatedscale/gdTrivialResize.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdnewfilectx/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdnewfilectx/CMakeLists.txt
index 9fd4caf3797..9fd4caf3797 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdnewfilectx/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdnewfilectx/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdnewfilectx/gdnewfilectx_null.c b/Build/source/libs/gd/libgd-src/tests/gdnewfilectx/gdnewfilectx_null.c
index 0da8295ab5c..0da8295ab5c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdnewfilectx/gdnewfilectx_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdnewfilectx/gdnewfilectx_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdtest/CMakeLists.txt
index 5f89bc91b75..5f89bc91b75 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdtest/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/gdtest.c b/Build/source/libs/gd/libgd-src/tests/gdtest/gdtest.c
index 83aba01d77f..83aba01d77f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/gdtest.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdtest/gdtest.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/gdtest.h b/Build/source/libs/gd/libgd-src/tests/gdtest/gdtest.h
index 8f332b39bbb..8f332b39bbb 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/gdtest.h
+++ b/Build/source/libs/gd/libgd-src/tests/gdtest/gdtest.h
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/test_config.h.cmake b/Build/source/libs/gd/libgd-src/tests/gdtest/test_config.h.cmake
index 59d2f0cf7ed..59d2f0cf7ed 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdtest/test_config.h.cmake
+++ b/Build/source/libs/gd/libgd-src/tests/gdtest/test_config.h.cmake
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gdtiled/CMakeLists.txt
index cc47150c832..cc47150c832 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gdtiled/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/bug00032.c b/Build/source/libs/gd/libgd-src/tests/gdtiled/bug00032.c
index 0e711533f10..0e711533f10 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/bug00032.c
+++ b/Build/source/libs/gd/libgd-src/tests/gdtiled/bug00032.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/bug00032_exp.png b/Build/source/libs/gd/libgd-src/tests/gdtiled/bug00032_exp.png
index 2bee38eebad..2bee38eebad 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gdtiled/bug00032_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gdtiled/bug00032_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/gif/CMakeLists.txt
index a64f785d8e8..a64f785d8e8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/gif/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005.c b/Build/source/libs/gd/libgd-src/tests/gif/bug00005.c
index 1911e6a17a9..1911e6a17a9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00005.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_0.gif b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_0.gif
index 753156014d4..753156014d4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_0.gif
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_0.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_1.gif b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_1.gif
index 76ce1e398ec..76ce1e398ec 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_1.gif
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_1.gif
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2.c b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_2.c
index de7d3d17f97..de7d3d17f97 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_2.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2.gif b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_2.gif
index 3f9e6c5e400..3f9e6c5e400 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2.gif
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_2.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2_exp.png b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_2_exp.png
index 708b8adf00d..708b8adf00d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_2_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_2_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_3.gif b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_3.gif
index 178d27e3574..178d27e3574 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00005_3.gif
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00005_3.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00006.c b/Build/source/libs/gd/libgd-src/tests/gif/bug00006.c
index 57d7ad01611..57d7ad01611 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00006.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00006.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00060.c b/Build/source/libs/gd/libgd-src/tests/gif/bug00060.c
index 721d3bc401d..721d3bc401d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00060.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00060.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00060.gif b/Build/source/libs/gd/libgd-src/tests/gif/bug00060.gif
index c8821748057..c8821748057 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00060.gif
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00060.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066.c b/Build/source/libs/gd/libgd-src/tests/gif/bug00066.c
index be24066ca2e..be24066ca2e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00066.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066.gif b/Build/source/libs/gd/libgd-src/tests/gif/bug00066.gif
index cdf5f29a82e..cdf5f29a82e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066.gif
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00066.gif
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066_exp.png b/Build/source/libs/gd/libgd-src/tests/gif/bug00066_exp.png
index 9f535adc168..9f535adc168 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00066_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00066_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00181.c b/Build/source/libs/gd/libgd-src/tests/gif/bug00181.c
index 27d6481175e..27d6481175e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00181.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00181.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00227.c b/Build/source/libs/gd/libgd-src/tests/gif/bug00227.c
index 861006e7447..861006e7447 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/bug00227.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/bug00227.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/gif_im2im.c b/Build/source/libs/gd/libgd-src/tests/gif/gif_im2im.c
index a5b0adbdb85..a5b0adbdb85 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/gif_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/gif_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/gif/gif_null.c b/Build/source/libs/gd/libgd-src/tests/gif/gif_null.c
index 463d31ebaf6..463d31ebaf6 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/gif/gif_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/gif/gif_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/jpeg/CMakeLists.txt
index 9151f609173..9151f609173 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/conv_test.jpeg b/Build/source/libs/gd/libgd-src/tests/jpeg/conv_test.jpeg
index 7283d1a4754..7283d1a4754 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/conv_test.jpeg
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/conv_test.jpeg
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/conv_test_exp.png b/Build/source/libs/gd/libgd-src/tests/jpeg/conv_test_exp.png
index 1210f479aa6..1210f479aa6 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/conv_test_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/conv_test_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/empty.jpeg b/Build/source/libs/gd/libgd-src/tests/jpeg/empty.jpeg
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/empty.jpeg
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/empty.jpeg
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_empty_file.c b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_empty_file.c
index 844dbf43d3e..844dbf43d3e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_empty_file.c
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_empty_file.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_im2im.c b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_im2im.c
index 89a72be7ffd..89a72be7ffd 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_null.c b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_null.c
index 3b2caa68744..3b2caa68744 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_read.c b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_read.c
index 64130ce125a..64130ce125a 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_read.c
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_read.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_resolution.c b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_resolution.c
index 386f5f3fee4..386f5f3fee4 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/jpeg/jpeg_resolution.c
+++ b/Build/source/libs/gd/libgd-src/tests/jpeg/jpeg_resolution.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/png/CMakeLists.txt
index 128b51df0ce..128b51df0ce 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/png/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00011.c b/Build/source/libs/gd/libgd-src/tests/png/bug00011.c
index 865c87ea5cd..865c87ea5cd 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00011.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00011.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00033.c b/Build/source/libs/gd/libgd-src/tests/png/bug00033.c
index f7e90f0824c..f7e90f0824c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00033.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00033.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00033.png b/Build/source/libs/gd/libgd-src/tests/png/bug00033.png
index 73a7d6a3e77..73a7d6a3e77 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00033.png
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00033.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00086.c b/Build/source/libs/gd/libgd-src/tests/png/bug00086.c
index ef9d43b2b56..ef9d43b2b56 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00086.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00086.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088.c b/Build/source/libs/gd/libgd-src/tests/png/bug00088.c
index 78495aa4410..78495aa4410 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00088.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_1.png b/Build/source/libs/gd/libgd-src/tests/png/bug00088_1.png
index 3f9a5c7d408..3f9a5c7d408 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_1.png
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00088_1.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_1_exp.png b/Build/source/libs/gd/libgd-src/tests/png/bug00088_1_exp.png
index 25ee05a93c9..25ee05a93c9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_1_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00088_1_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_2.png b/Build/source/libs/gd/libgd-src/tests/png/bug00088_2.png
index fa58ffe61c9..fa58ffe61c9 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_2.png
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00088_2.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_2_exp.png b/Build/source/libs/gd/libgd-src/tests/png/bug00088_2_exp.png
index a21c8408679..a21c8408679 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00088_2_exp.png
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00088_2_exp.png
Binary files differ
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00193.c b/Build/source/libs/gd/libgd-src/tests/png/bug00193.c
index 67acf545f67..67acf545f67 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/bug00193.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/bug00193.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/emptyfile b/Build/source/libs/gd/libgd-src/tests/png/emptyfile
index e69de29bb2d..e69de29bb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/emptyfile
+++ b/Build/source/libs/gd/libgd-src/tests/png/emptyfile
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/png_im2im.c b/Build/source/libs/gd/libgd-src/tests/png/png_im2im.c
index bac5e13aeb7..bac5e13aeb7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/png_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/png_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/png_null.c b/Build/source/libs/gd/libgd-src/tests/png/png_null.c
index d3b5e6a963b..d3b5e6a963b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/png_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/png_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/png/png_resolution.c b/Build/source/libs/gd/libgd-src/tests/png/png_resolution.c
index aed7545ba51..aed7545ba51 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/png/png_resolution.c
+++ b/Build/source/libs/gd/libgd-src/tests/png/png_resolution.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/test_config.h.in b/Build/source/libs/gd/libgd-src/tests/test_config.h.in
index bfa8127889f..c1bb988c842 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/test_config.h.in
+++ b/Build/source/libs/gd/libgd-src/tests/test_config.h.in
@@ -1,3 +1,3 @@
-/* Define the full path to the top src dir, required to get the path
- * of each input data */
-#define GDTEST_TOP_DIR "@srcdir@"
+/* Define the full path to the top src dir, required to get the path
+ * of each input data */
+#define GDTEST_TOP_DIR "@srcdir@"
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/tga/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/tga/CMakeLists.txt
index 48f9412fb09..48f9412fb09 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/tga/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/tga/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/tga/tga_null.c b/Build/source/libs/gd/libgd-src/tests/tga/tga_null.c
index f61078c32f5..f61078c32f5 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/tga/tga_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/tga/tga_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/tiff/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/tiff/CMakeLists.txt
index da49800542e..da49800542e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/tiff/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/tiff/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/tiff/tiff_im2im.c b/Build/source/libs/gd/libgd-src/tests/tiff/tiff_im2im.c
index 4b6136d4b92..4b6136d4b92 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/tiff/tiff_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/tiff/tiff_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/tiff/tiff_null.c b/Build/source/libs/gd/libgd-src/tests/tiff/tiff_null.c
index ccaade7498f..ccaade7498f 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/tiff/tiff_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/tiff/tiff_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/wbmp/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/wbmp/CMakeLists.txt
index 531933a8558..531933a8558 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/wbmp/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/wbmp/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/wbmp/wbmp_im2im.c b/Build/source/libs/gd/libgd-src/tests/wbmp/wbmp_im2im.c
index 826c7fa953c..826c7fa953c 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/wbmp/wbmp_im2im.c
+++ b/Build/source/libs/gd/libgd-src/tests/wbmp/wbmp_im2im.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/wbmp/wbmp_null.c b/Build/source/libs/gd/libgd-src/tests/wbmp/wbmp_null.c
index d70f38d01bf..d70f38d01bf 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/wbmp/wbmp_null.c
+++ b/Build/source/libs/gd/libgd-src/tests/wbmp/wbmp_null.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/CMakeLists.txt b/Build/source/libs/gd/libgd-src/tests/xpm/CMakeLists.txt
index e0a789c807b..e0a789c807b 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/CMakeLists.txt
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/CMakeLists.txt
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00166.c b/Build/source/libs/gd/libgd-src/tests/xpm/bug00166.c
index 2ffd6af25a2..2ffd6af25a2 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00166.c
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/bug00166.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00166.xpm b/Build/source/libs/gd/libgd-src/tests/xpm/bug00166.xpm
index 90c6cd387e7..90c6cd387e7 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00166.xpm
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/bug00166.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185.c b/Build/source/libs/gd/libgd-src/tests/xpm/bug00185.c
index 2dda809cc96..2dda809cc96 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185.c
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/bug00185.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185.xpm b/Build/source/libs/gd/libgd-src/tests/xpm/bug00185.xpm
index bb7cd7975a8..bb7cd7975a8 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185.xpm
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/bug00185.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185_damaged.xpm b/Build/source/libs/gd/libgd-src/tests/xpm/bug00185_damaged.xpm
index b0c7d61be5e..b0c7d61be5e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/bug00185_damaged.xpm
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/bug00185_damaged.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/color_name.c b/Build/source/libs/gd/libgd-src/tests/xpm/color_name.c
index 22481785a83..22481785a83 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/color_name.c
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/color_name.c
diff --git a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/color_name.xpm b/Build/source/libs/gd/libgd-src/tests/xpm/color_name.xpm
index 4733789245d..4733789245d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/tests/xpm/color_name.xpm
+++ b/Build/source/libs/gd/libgd-src/tests/xpm/color_name.xpm
diff --git a/Build/source/libs/gd/libgd-2.1.1/thumbs.bat b/Build/source/libs/gd/libgd-src/thumbs.bat
index 6e94aa42a50..6e94aa42a50 100755..100644
--- a/Build/source/libs/gd/libgd-2.1.1/thumbs.bat
+++ b/Build/source/libs/gd/libgd-src/thumbs.bat
diff --git a/Build/source/libs/gd/libgd-2.1.1/thumbs.sh b/Build/source/libs/gd/libgd-src/thumbs.sh
index f898ef50f74..f898ef50f74 100755
--- a/Build/source/libs/gd/libgd-2.1.1/thumbs.sh
+++ b/Build/source/libs/gd/libgd-src/thumbs.sh
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/Makefile.vc b/Build/source/libs/gd/libgd-src/windows/Makefile.vc
index f17c50d1bd1..be02557fc92 100644
--- a/Build/source/libs/gd/libgd-2.1.1/windows/Makefile.vc
+++ b/Build/source/libs/gd/libgd-src/windows/Makefile.vc
@@ -1,183 +1,183 @@
-# To build locally get a copy of the dependancies (https://github.com/imazen/gd-win-dependencies)
-# Then run 'nmake /f windows\Makefile.vc' in MS dev console
-# To build tests as well 'nmake /f windows\Makefile.vc all'
-# To build tests and execute them 'nmake /f windows\Makefile.vc check'
-
-CC=cl
-LD=link
-LB=lib
-
-
-!IFNDEF PLATFORM
-PLATFORM=x86
-!ENDIF
-# detect x64 cross-compiler env
-!IF "$(PREFERREDTOOLARCHITECTURE)" == "x64"
-PLATFORM=x64
-!ENDIF
-PLATFORM=$(PLATFORM:X=x)
-
-
-BUILD_DIR=build_msvc12_$(PLATFORM)
-GD_DLL=libgd.dll
-GD_LIB=libgd_a.lib
-
-SDR=$(BUILD_DIR)\obj^\
-TDR=$(BUILD_DIR)\tests^\
-TARGETDLL=$(BUILD_DIR)\$(GD_DLL)
-TARGETLIB=$(BUILD_DIR)\$(GD_LIB)
-
-OBJECTS=$(SDR)gd.obj $(SDR)gd_color.obj $(SDR)gd_color_map.obj $(SDR)gd_transform.obj $(SDR)gdfx.obj $(SDR)gd_security.obj $(SDR)gd_gd.obj $(SDR)gd_gd2.obj $(SDR)gd_io.obj $(SDR)gd_io_dp.obj $(SDR)gd_gif_in.obj $(SDR)gd_gif_out.obj $(SDR)gd_io_file.obj $(SDR)gd_io_ss.obj $(SDR)gd_jpeg.obj $(SDR)gd_png.obj $(SDR)gd_ss.obj $(SDR)gd_topal.obj $(SDR)gd_wbmp.obj $(SDR)gdcache.obj $(SDR)gdfontg.obj $(SDR)gdfontl.obj $(SDR)gdfontmb.obj $(SDR)gdfonts.obj $(SDR)gdfontt.obj $(SDR)gdft.obj $(SDR)gdhelpers.obj $(SDR)gdkanji.obj $(SDR)gdtables.obj $(SDR)gdxpm.obj $(SDR)wbmp.obj $(SDR)gd_filter.obj $(SDR)gd_nnquant.obj $(SDR)gd_rotate.obj $(SDR)gd_matrix.obj $(SDR)gd_interpolation.obj $(SDR)gd_crop.obj $(SDR)webpimg.obj $(SDR)gd_webp.obj $(SDR)gd_tiff.obj $(SDR)gd_tga.obj $(SDR)gd_bmp.obj $(SDR)gd_xbm.obj $(SDR)gd_color_match.obj $(SDR)gd_version.obj $(SDR)gd_filename.obj
-TESTS=bmp\bmp_im2im bmp\bmp_null freetype\bug00132 gd\gd_im2im gd\gd_null gd\gd_num_colors gd\gd_versiontest gd2\gd2_empty_file gd2\gd2_im2im gd2\gd2_null gd2\gd2_read gdimagearc\bug00079 gdimagecolorclosest\gdimagecolorclosest gdimagecolordeallocate\gdimagecolordeallocate gdimagecolorexact\gdimagecolorexact gdimagecolorreplace\gdimagecolorreplace gdimagecolorresolve\gdimagecolorresolve gdimagecolortransparent\gdimagecolortransparent gdimagecopy\bug00007 gdimagecopy\bug00081 gdimagecopyrotated\bug00020 gdimagefile\gdnametest gdimagefill\bug00002_1 gdimagefill\bug00002_2 gdimagefill\bug00002_3 gdimagefill\bug00002_4 gdimagefilledellipse\bug00010 gdimagefilledellipse\bug00191 gdimagefilledpolygon\bug00100 gdimagefilledpolygon\gdimagefilledpolygon0 gdimagefilledpolygon\gdimagefilledpolygon1 gdimagefilledpolygon\gdimagefilledpolygon2 gdimagefilledpolygon\gdimagefilledpolygon3 gdimagefilledrectangle\bug00004 gdimagefilledrectangle\bug00078 gdimagefilledrectangle\bug00106_gdimagefilledrectangle gdimagefilltoborder\bug00037 gdimagefilter\gdCopyBlurred gdimageline\bug00072 gdimageline\bug00077 gdimageline\bug00111 gdimageline\gdImageAALine_thickness gdimageline\gdimageline_aa gdimageline\gdimageline_aa_outofrange gdimageline\gdimageline_bug5 gdimageopenpolygon\gdimageopenpolygon0 gdimageopenpolygon\gdimageopenpolygon1 gdimageopenpolygon\gdimageopenpolygon2 gdimageopenpolygon\gdimageopenpolygon3 gdimagepixelate\gdimagepixelate gdimagepolygon\gdimagepolygon0 gdimagepolygon\gdimagepolygon1 gdimagepolygon\gdimagepolygon2 gdimagepolygon\gdimagepolygon3 gdimagerectangle\bug00003 gdimagerectangle\bug00106_gdimagerectangle gdimagerotate\bug00067 gdimagerotate\php_bug_64898 gdimagescatterex\bug00208_1 gdimagescatterex\bug00208_2 gdimagesetpixel\bug00186 gdimagesetpixel\gdeffectmultiply gdimagesetpixel\gdeffectoverlay gdimagestringft\gdimagestringft_bbox gdimagestringftex\gdimagestringftex_returnfontpathname gdinterpolatedscale\gdModesAndPalettes gdinterpolatedscale\gdTrivialResize gdnewfilectx\gdnewfilectx_null gdtiled\bug00032 gif\bug00005 gif\bug00005_2 gif\bug00006 gif\bug00060 gif\bug00066 gif\bug00181 gif\bug00227 gif\gif_im2im gif\gif_null jpeg\jpeg_empty_file jpeg\jpeg_im2im jpeg\jpeg_null jpeg\jpeg_read jpeg\jpeg_resolution png\bug00011 png\bug00033 png\bug00086 png\bug00088 png\bug00193 png\png_im2im png\png_null png\png_resolution tga\tga_null
-#tiff\tiff_im2im tiff\tiff_null wbmp\wbmp_im2im wbmp\wbmp_null xpm\bug00166 xpm\bug00185 xpm\color_name
-
-LIBS=kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib Dnsapi.lib Gdi32.Lib
-LIBS_GD=turbojpeg-static.lib freetype_a.lib libpng_a.lib libiconv_a.lib zlib_a.lib
-
-INCLUDES=/Isrc /Igd-win-dependencies\$(PLATFORM)\include -Igd-win-dependencies\$(PLATFORM)\include\libjpeg-turbo -Igd-win-dependencies\$(PLATFORM)\include\libpng15 -Igd-win-dependencies\$(PLATFORM)\include\freetype /Itests /Itests\gdtest
-
-LDFLAGS=/nologo /nodefaultlib:libcmt /libpath:gd-win-dependencies\$(PLATFORM)\lib /MACHINE:$(PLATFORM)
-
-CFLAGS=/nologo /O2 /Qvec-report:1 /MD /TC\
- /DWIN32=1\
- /D_WIN32=1\
- /DMSWIN32=1\
- /DBGDWIN32=1\
- /DHAVE_FT2BUILD_H=1\
- /DHAVE_GD_H=1\
- /DHAVE_PNG_H=1\
- /DHAVE_ICONV_H=1\
- /DHAVE_GD_BUNDLED=1\
- /DHAVE_LIBFREETYPE=1\
- /DHAVE_LIBJPEG=1\
- /DHAVE_LIBPNG=1\
- /DHAVE_LIBZ=1\
- $(INCLUDES)
-
-# /DHAVE_LIBXPM
-
-# These flags are not present in this fork of libgd (they may be used in php's):
-# /DHAVE_GD_WBMP
-# /DHAVE_GD_GIF_READ=1\
-# /DHAVE_GD_GIF_CREATE=1\
-# /DHAVE_GD_GD2=1\
-# /DHAVE_GDIMAGECOLORRESOLVE=1\
-# /DHAVE_GD_IMAGESETBRUSH=1\
-# /DHAVE_GD_IMAGESETTILE=1\
-# /DHAVE_GD_FONTCACHESHUTDOWN=1\
-# /DHAVE_GD_FONTMUTEX=1\
-# /DHAVE_GD_STRINGFTEX=1\
-# /DHAVE_GD_STRINGTTF=1\
-# /DHAVE_GD_FREETYPE=1\
-# /DHAVE_LIBGD13=1\
-# /DHAVE_LIBGD15=1\
-# /DHAVE_LIBGD20=1\
-# /DHAVE_LIBGD204=1\
-# /DHAVE_COLORCLOSESTHWB\
-# /DUSE_GD_IMGSTRTTF\
-# /DUSE_GD_IOCTX\
-# /DHAVE_GD_JPG\
-# /DHAVE_GD_PNG\
-# /DHAVE_GD_DYNAMIC_CTX_EX=1\
-# /DHAVE_XPM\
-# /DHAVE_GD_XBM\
-# /DHAVE_GD_XPM\
-# /DHAVE_XPM_H=1\
-
-# These flags may be set wrong; not sure of precise purpose
-# HAVE_GD_BUNDLED
-# NDEBUG
-
-
-
-
-
-TEST_CFLAGS=$(CFLAGS) /FItest_config.h
-TEST_LDFLAGS=$(LDFLAGS) $(SDR)gdtest.obj $(BUILD_DIR)\libgd.lib
-TEST_CONFIG=tests\test_config.h
-TEST_LIST=$(TDR)testlist.txt
-TEST_MK=$(TDR)Maketests.vc
-
-
-
-# generate test makefile from TESTS macro
-
-!IF [if not exist $(BUILD_DIR) mkdir $(BUILD_DIR)]
-!ENDIF
-!IF [if not exist $(TDR) mkdir $(TDR)]
-!ENDIF
-!IF [@copy NUL $(TEST_MK) > nul]
-!ENDIF
-!IF [@for %F in ($(TESTS)) do @echo TEST_EXES=$(TDR)%~nF.exe ^$(TEST_EXES) >> $(TEST_MK)]
-!ENDIF
-!IF [@for %F in ($(TESTS)) do @echo $(SDR)%~nF.obj: tests\%F.c; @^$(CC) ^$(TEST_CFLAGS) /c ^$** /Fo:^$@ >> $(TEST_MK)]
-!ENDIF
-!IF [@for %F in ($(TESTS)) do @echo $(TDR)%~nF.exe: $(SDR)%~nF.obj; @$(LD) $(TEST_LDFLAGS) ^$** /out:^$@ >> $(TEST_MK)]
-!ENDIF
-TEST_OBJS=$(TEST_EXES:tests=obj)
-TEST_OBJS=$(TEST_OBJS:exe=obj)
-
-
-
-
-
-
-# pseudotargets
-
-build_libs: make_dirs $(TARGETDLL) $(TARGETLIB)
-all: build_libs build_tests
-check: all run_tests
-
-clean:
- @if exist $(SDR) rd $(SDR) /s /q
- @if exist $(TDR) rd $(TDR) /s /q
- @if exist $(BUILD_DIR)\*.exe del $(BUILD_DIR)\*.exe /q
- @if exist tests\test_config.h del tests\test_config.h /q
-
-
-
-
-# helpers
-
-make_dirs:
- @if not exist $(BUILD_DIR) mkdir $(BUILD_DIR)
- @if not exist $(SDR) mkdir $(SDR)
-
-run_tests:
- @windows\run_tests
-
-
-
-
-# libgd
-
-$(TARGETDLL): $(OBJECTS)
- @$(LD) /DLL /OUT:$@ $(OBJECTS) $(LIBS_GD) $(LIBS) $(LDFLAGS)
-
-$(TARGETLIB): $(OBJECTS)
- @$(LB) /OUT:$@ $(OBJECTS) $(LDFLAGS)
-
-{src\}.c{$(SDR)}.obj::
- @$(CC) $(CFLAGS) /c $< /Fo$(SDR)
-
-
-
-
-# tests
-
-!INCLUDE $(TEST_MK)
-
-build_tests: $(TEST_LIST) $(SDR)gdtest.obj $(TEST_EXES)
-
-$(SDR)gdtest.obj: $(TARGETDLL) $(TEST_CONFIG) tests\gdtest\gdtest.c
- @$(CC) $(CFLAGS) /c tests\gdtest\gdtest.c /Fo$(SDR)gdtest.obj
-
-$(TEST_CONFIG):
- @echo #define GDTEST_TOP_DIR "$(MAKEDIR:\=\\)\\tests" > tests\test_config.h
- @echo #define snprintf _snprintf >> tests\test_config.h
-
-$(TEST_LIST): $(TARGETDLL)
- @if not exist $(TDR) mkdir $(TDR)
- @copy $(TARGETDLL) $(TDR)$(GD_DLL)
- @copy NUL $(TDR)testlist.txt
+# To build locally get a copy of the dependancies (https://github.com/imazen/gd-win-dependencies)
+# Then run 'nmake /f windows\Makefile.vc' in MS dev console
+# To build tests as well 'nmake /f windows\Makefile.vc all'
+# To build tests and execute them 'nmake /f windows\Makefile.vc check'
+
+CC=cl
+LD=link
+LB=lib
+
+
+!IFNDEF PLATFORM
+PLATFORM=x86
+!ENDIF
+# detect x64 cross-compiler env
+!IF "$(PREFERREDTOOLARCHITECTURE)" == "x64"
+PLATFORM=x64
+!ENDIF
+PLATFORM=$(PLATFORM:X=x)
+
+
+BUILD_DIR=build_msvc12_$(PLATFORM)
+GD_DLL=libgd.dll
+GD_LIB=libgd_a.lib
+
+SDR=$(BUILD_DIR)\obj^\
+TDR=$(BUILD_DIR)\tests^\
+TARGETDLL=$(BUILD_DIR)\$(GD_DLL)
+TARGETLIB=$(BUILD_DIR)\$(GD_LIB)
+
+OBJECTS=$(SDR)gd.obj $(SDR)gd_color.obj $(SDR)gd_color_map.obj $(SDR)gd_transform.obj $(SDR)gdfx.obj $(SDR)gd_security.obj $(SDR)gd_gd.obj $(SDR)gd_gd2.obj $(SDR)gd_io.obj $(SDR)gd_io_dp.obj $(SDR)gd_gif_in.obj $(SDR)gd_gif_out.obj $(SDR)gd_io_file.obj $(SDR)gd_io_ss.obj $(SDR)gd_jpeg.obj $(SDR)gd_png.obj $(SDR)gd_ss.obj $(SDR)gd_topal.obj $(SDR)gd_wbmp.obj $(SDR)gdcache.obj $(SDR)gdfontg.obj $(SDR)gdfontl.obj $(SDR)gdfontmb.obj $(SDR)gdfonts.obj $(SDR)gdfontt.obj $(SDR)gdft.obj $(SDR)gdhelpers.obj $(SDR)gdkanji.obj $(SDR)gdtables.obj $(SDR)gdxpm.obj $(SDR)wbmp.obj $(SDR)gd_filter.obj $(SDR)gd_nnquant.obj $(SDR)gd_rotate.obj $(SDR)gd_matrix.obj $(SDR)gd_interpolation.obj $(SDR)gd_crop.obj $(SDR)webpimg.obj $(SDR)gd_webp.obj $(SDR)gd_tiff.obj $(SDR)gd_tga.obj $(SDR)gd_bmp.obj $(SDR)gd_xbm.obj $(SDR)gd_color_match.obj $(SDR)gd_version.obj $(SDR)gd_filename.obj
+TESTS=bmp\bmp_im2im bmp\bmp_null freetype\bug00132 gd\gd_im2im gd\gd_null gd\gd_num_colors gd\gd_versiontest gd2\gd2_empty_file gd2\gd2_im2im gd2\gd2_null gd2\gd2_read gdimagearc\bug00079 gdimagecolorclosest\gdimagecolorclosest gdimagecolordeallocate\gdimagecolordeallocate gdimagecolorexact\gdimagecolorexact gdimagecolorreplace\gdimagecolorreplace gdimagecolorresolve\gdimagecolorresolve gdimagecolortransparent\gdimagecolortransparent gdimagecopy\bug00007 gdimagecopy\bug00081 gdimagecopyrotated\bug00020 gdimagefile\gdnametest gdimagefill\bug00002_1 gdimagefill\bug00002_2 gdimagefill\bug00002_3 gdimagefill\bug00002_4 gdimagefilledellipse\bug00010 gdimagefilledellipse\bug00191 gdimagefilledpolygon\bug00100 gdimagefilledpolygon\gdimagefilledpolygon0 gdimagefilledpolygon\gdimagefilledpolygon1 gdimagefilledpolygon\gdimagefilledpolygon2 gdimagefilledpolygon\gdimagefilledpolygon3 gdimagefilledrectangle\bug00004 gdimagefilledrectangle\bug00078 gdimagefilledrectangle\bug00106_gdimagefilledrectangle gdimagefilltoborder\bug00037 gdimagefilter\gdCopyBlurred gdimageline\bug00072 gdimageline\bug00077 gdimageline\bug00111 gdimageline\gdImageAALine_thickness gdimageline\gdimageline_aa gdimageline\gdimageline_aa_outofrange gdimageline\gdimageline_bug5 gdimageopenpolygon\gdimageopenpolygon0 gdimageopenpolygon\gdimageopenpolygon1 gdimageopenpolygon\gdimageopenpolygon2 gdimageopenpolygon\gdimageopenpolygon3 gdimagepixelate\gdimagepixelate gdimagepolygon\gdimagepolygon0 gdimagepolygon\gdimagepolygon1 gdimagepolygon\gdimagepolygon2 gdimagepolygon\gdimagepolygon3 gdimagerectangle\bug00003 gdimagerectangle\bug00106_gdimagerectangle gdimagerotate\bug00067 gdimagerotate\php_bug_64898 gdimagescatterex\bug00208_1 gdimagescatterex\bug00208_2 gdimagesetpixel\bug00186 gdimagesetpixel\gdeffectmultiply gdimagesetpixel\gdeffectoverlay gdimagestringft\gdimagestringft_bbox gdimagestringftex\gdimagestringftex_returnfontpathname gdinterpolatedscale\gdModesAndPalettes gdinterpolatedscale\gdTrivialResize gdnewfilectx\gdnewfilectx_null gdtiled\bug00032 gif\bug00005 gif\bug00005_2 gif\bug00006 gif\bug00060 gif\bug00066 gif\bug00181 gif\bug00227 gif\gif_im2im gif\gif_null jpeg\jpeg_empty_file jpeg\jpeg_im2im jpeg\jpeg_null jpeg\jpeg_read jpeg\jpeg_resolution png\bug00011 png\bug00033 png\bug00086 png\bug00088 png\bug00193 png\png_im2im png\png_null png\png_resolution tga\tga_null
+#tiff\tiff_im2im tiff\tiff_null wbmp\wbmp_im2im wbmp\wbmp_null xpm\bug00166 xpm\bug00185 xpm\color_name
+
+LIBS=kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib Dnsapi.lib Gdi32.Lib
+LIBS_GD=turbojpeg-static.lib freetype_a.lib libpng_a.lib libiconv_a.lib zlib_a.lib
+
+INCLUDES=/Isrc /Igd-win-dependencies\$(PLATFORM)\include -Igd-win-dependencies\$(PLATFORM)\include\libjpeg-turbo -Igd-win-dependencies\$(PLATFORM)\include\libpng15 -Igd-win-dependencies\$(PLATFORM)\include\freetype /Itests /Itests\gdtest
+
+LDFLAGS=/nologo /nodefaultlib:libcmt /libpath:gd-win-dependencies\$(PLATFORM)\lib /MACHINE:$(PLATFORM)
+
+CFLAGS=/nologo /O2 /Qvec-report:1 /MD /TC\
+ /DWIN32=1\
+ /D_WIN32=1\
+ /DMSWIN32=1\
+ /DBGDWIN32=1\
+ /DHAVE_FT2BUILD_H=1\
+ /DHAVE_GD_H=1\
+ /DHAVE_PNG_H=1\
+ /DHAVE_ICONV_H=1\
+ /DHAVE_GD_BUNDLED=1\
+ /DHAVE_LIBFREETYPE=1\
+ /DHAVE_LIBJPEG=1\
+ /DHAVE_LIBPNG=1\
+ /DHAVE_LIBZ=1\
+ $(INCLUDES)
+
+# /DHAVE_LIBXPM
+
+# These flags are not present in this fork of libgd (they may be used in php's):
+# /DHAVE_GD_WBMP
+# /DHAVE_GD_GIF_READ=1\
+# /DHAVE_GD_GIF_CREATE=1\
+# /DHAVE_GD_GD2=1\
+# /DHAVE_GDIMAGECOLORRESOLVE=1\
+# /DHAVE_GD_IMAGESETBRUSH=1\
+# /DHAVE_GD_IMAGESETTILE=1\
+# /DHAVE_GD_FONTCACHESHUTDOWN=1\
+# /DHAVE_GD_FONTMUTEX=1\
+# /DHAVE_GD_STRINGFTEX=1\
+# /DHAVE_GD_STRINGTTF=1\
+# /DHAVE_GD_FREETYPE=1\
+# /DHAVE_LIBGD13=1\
+# /DHAVE_LIBGD15=1\
+# /DHAVE_LIBGD20=1\
+# /DHAVE_LIBGD204=1\
+# /DHAVE_COLORCLOSESTHWB\
+# /DUSE_GD_IMGSTRTTF\
+# /DUSE_GD_IOCTX\
+# /DHAVE_GD_JPG\
+# /DHAVE_GD_PNG\
+# /DHAVE_GD_DYNAMIC_CTX_EX=1\
+# /DHAVE_XPM\
+# /DHAVE_GD_XBM\
+# /DHAVE_GD_XPM\
+# /DHAVE_XPM_H=1\
+
+# These flags may be set wrong; not sure of precise purpose
+# HAVE_GD_BUNDLED
+# NDEBUG
+
+
+
+
+
+TEST_CFLAGS=$(CFLAGS) /FItest_config.h
+TEST_LDFLAGS=$(LDFLAGS) $(SDR)gdtest.obj $(BUILD_DIR)\libgd.lib
+TEST_CONFIG=tests\test_config.h
+TEST_LIST=$(TDR)testlist.txt
+TEST_MK=$(TDR)Maketests.vc
+
+
+
+# generate test makefile from TESTS macro
+
+!IF [if not exist $(BUILD_DIR) mkdir $(BUILD_DIR)]
+!ENDIF
+!IF [if not exist $(TDR) mkdir $(TDR)]
+!ENDIF
+!IF [@copy NUL $(TEST_MK) > nul]
+!ENDIF
+!IF [@for %F in ($(TESTS)) do @echo TEST_EXES=$(TDR)%~nF.exe ^$(TEST_EXES) >> $(TEST_MK)]
+!ENDIF
+!IF [@for %F in ($(TESTS)) do @echo $(SDR)%~nF.obj: tests\%F.c; @^$(CC) ^$(TEST_CFLAGS) /c ^$** /Fo:^$@ >> $(TEST_MK)]
+!ENDIF
+!IF [@for %F in ($(TESTS)) do @echo $(TDR)%~nF.exe: $(SDR)%~nF.obj; @$(LD) $(TEST_LDFLAGS) ^$** /out:^$@ >> $(TEST_MK)]
+!ENDIF
+TEST_OBJS=$(TEST_EXES:tests=obj)
+TEST_OBJS=$(TEST_OBJS:exe=obj)
+
+
+
+
+
+
+# pseudotargets
+
+build_libs: make_dirs $(TARGETDLL) $(TARGETLIB)
+all: build_libs build_tests
+check: all run_tests
+
+clean:
+ @if exist $(SDR) rd $(SDR) /s /q
+ @if exist $(TDR) rd $(TDR) /s /q
+ @if exist $(BUILD_DIR)\*.exe del $(BUILD_DIR)\*.exe /q
+ @if exist tests\test_config.h del tests\test_config.h /q
+
+
+
+
+# helpers
+
+make_dirs:
+ @if not exist $(BUILD_DIR) mkdir $(BUILD_DIR)
+ @if not exist $(SDR) mkdir $(SDR)
+
+run_tests:
+ @windows\run_tests
+
+
+
+
+# libgd
+
+$(TARGETDLL): $(OBJECTS)
+ @$(LD) /DLL /OUT:$@ $(OBJECTS) $(LIBS_GD) $(LIBS) $(LDFLAGS)
+
+$(TARGETLIB): $(OBJECTS)
+ @$(LB) /OUT:$@ $(OBJECTS) $(LDFLAGS)
+
+{src\}.c{$(SDR)}.obj::
+ @$(CC) $(CFLAGS) /c $< /Fo$(SDR)
+
+
+
+
+# tests
+
+!INCLUDE $(TEST_MK)
+
+build_tests: $(TEST_LIST) $(SDR)gdtest.obj $(TEST_EXES)
+
+$(SDR)gdtest.obj: $(TARGETDLL) $(TEST_CONFIG) tests\gdtest\gdtest.c
+ @$(CC) $(CFLAGS) /c tests\gdtest\gdtest.c /Fo$(SDR)gdtest.obj
+
+$(TEST_CONFIG):
+ @echo #define GDTEST_TOP_DIR "$(MAKEDIR:\=\\)\\tests" > tests\test_config.h
+ @echo #define snprintf _snprintf >> tests\test_config.h
+
+$(TEST_LIST): $(TARGETDLL)
+ @if not exist $(TDR) mkdir $(TDR)
+ @copy $(TARGETDLL) $(TDR)$(GD_DLL)
+ @copy NUL $(TDR)testlist.txt
@for %%F in ($(TESTS)) do @echo %%F >> $(TDR)testlist.txt \ No newline at end of file
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/libgd.rc b/Build/source/libs/gd/libgd-src/windows/libgd.rc
index dfe6ff0aa78..c0aa0cedf3e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/windows/libgd.rc
+++ b/Build/source/libs/gd/libgd-src/windows/libgd.rc
@@ -1,59 +1,59 @@
-/* This is a template RC file.
- * $Id$
- * Do not edit with MSVC */
-#ifdef APSTUDIO_INVOKED
-# error dont edit with MSVC
-#endif
-
-#include "winres.h"
-#include "../gd.h"
-
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-#pragma code_page(1252)
-
-#ifdef WANT_LOGO
-0 ICON gdlib.ico
-#endif
-
-//Version
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0
- PRODUCTVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS VS_FF_DEBUG
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS VOS__WINDOWS32
- FILETYPE VFT_DLL
- FILESUBTYPE VFT2_UNKNOWN
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904b0"
- BEGIN
- VALUE "Comments", "Thanks to Thomas Boutell" "\0"
- VALUE "CompanyName", "LIBGD Development Team\0"
- VALUE "FileDescription", "LIBGD" "\0"
- VALUE "FileVersion", GD_VERSION_STRING "\0"
- VALUE "InternalName", "bgd.dll" "\0"
- VALUE "LegalCopyright", "Copyright © 1997-2008 Thomas Boutell, Pierre A. Joye and contributors, see COPYING\0"
- VALUE "LegalTrademarks", "Thomas Boutell, Pierre A. Joye and contributors\0"
- VALUE "OriginalFilename", "bgd.dll" "\0"
- VALUE "PrivateBuild", "\0"
- VALUE "ProductName", "LIBGD dynamic link library" "\0"
- VALUE "SpecialBuild", "win32" "\0"
- VALUE "URL", "http://www.libgd.org/"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1200
- END
-END
-
-#ifdef MC_INCLUDE
-#include MC_INCLUDE
-#endif
-
+/* This is a template RC file.
+ * $Id$
+ * Do not edit with MSVC */
+#ifdef APSTUDIO_INVOKED
+# error dont edit with MSVC
+#endif
+
+#include "winres.h"
+#include "../gd.h"
+
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+
+#ifdef WANT_LOGO
+0 ICON gdlib.ico
+#endif
+
+//Version
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0
+ PRODUCTVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_DLL
+ FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments", "Thanks to Thomas Boutell" "\0"
+ VALUE "CompanyName", "LIBGD Development Team\0"
+ VALUE "FileDescription", "LIBGD" "\0"
+ VALUE "FileVersion", GD_VERSION_STRING "\0"
+ VALUE "InternalName", "bgd.dll" "\0"
+ VALUE "LegalCopyright", "Copyright © 1997-2008 Thomas Boutell, Pierre A. Joye and contributors, see COPYING\0"
+ VALUE "LegalTrademarks", "Thomas Boutell, Pierre A. Joye and contributors\0"
+ VALUE "OriginalFilename", "bgd.dll" "\0"
+ VALUE "PrivateBuild", "\0"
+ VALUE "ProductName", "LIBGD dynamic link library" "\0"
+ VALUE "SpecialBuild", "win32" "\0"
+ VALUE "URL", "http://www.libgd.org/"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
+#ifdef MC_INCLUDE
+#include MC_INCLUDE
+#endif
+
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/msys/Makefile b/Build/source/libs/gd/libgd-src/windows/msys/Makefile
index 7e7f155885e..7e7f155885e 100644
--- a/Build/source/libs/gd/libgd-2.1.1/windows/msys/Makefile
+++ b/Build/source/libs/gd/libgd-src/windows/msys/Makefile
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/msys/README.MSYS.md b/Build/source/libs/gd/libgd-src/windows/msys/README.MSYS.md
index 601802dd8e0..60289badb2d 100644
--- a/Build/source/libs/gd/libgd-2.1.1/windows/msys/README.MSYS.md
+++ b/Build/source/libs/gd/libgd-src/windows/msys/README.MSYS.md
@@ -1,65 +1,65 @@
-
-# MSYS Fallback Makefile
-
-This is a simple, straightforward Makefile for building LibGD with
-MinGW on MSYS (or possibly Cygwin). It is here for anyone who doesn't
-want to deal with autotools or CMake on Windows or who can't get
-either of them working on their particular setup.
-
-Note that this Makefile only builds the library and test cases; the
-standalone utilities are ignored. If you need those, you'll need to
-use one of the other build systems (or add them yourself.)
-
-## To build LibGD:
-
-1. Install MinGW and MSYS (see <http://www.mingw.org/wiki/Getting_Started>).
- You will need to install zip and unzip as well as the 32-bit C compiler
- and related tools.
-
-2. Install LibJpeg, LibPng, LibTiff, Zlib and FreeType from
- <http://gnuwin32.sourceforge.net> and install them all in
- `c:/tools/GnuWin32/`. (You can get these libraries from other
- places and/or install them in different locations, but you'll need to
- edit the Makefile accordingly if you do.)
-
-3. Skip ahead to the next step. If that doesn't work, edit the
- Makefile to fix what went wrong. Things to try include:
- * Ensure SRC contains an up-to-date list of source files. (Take a
- look at libgd_la_SOURCES src/Makefile.am for a reference.)
- * Ensure that the paths and #defines for unsupported libraries
- are commented out. They're nicely grouped into clusters to
- simplify that.
-
-4. `cd` to this directory and type:
-
- make
- make check
-
- If both commands succeed, you're done. (Note that some of the
- testcases will fail, just because they test features not enabled
- here. This is fine. As long as most tests pass, you're probably
- okay.)
-
-5. Type
-
- make dist
-
- This will create libgd-win.zip, a zip file containing the new
- library and its dependants. Note that this step may pick up extra
- DLLs; it sweeps up all of the DLLs in the directories pointed to
- by *_DLLDIR Makefile variables.
-
- Alternately, you can copy the lib (in src/) to wherever it needs
- to go.
-
-
-## Stuff that Doesn't Work
-
-* LibXpm: It's probably nothing serious, just more trouble than it's
- worth.
-* LibFontconfig: I couldn't find Windows binaries for it anywhere
- reputable.
-
-
-
-
+
+# MSYS Fallback Makefile
+
+This is a simple, straightforward Makefile for building LibGD with
+MinGW on MSYS (or possibly Cygwin). It is here for anyone who doesn't
+want to deal with autotools or CMake on Windows or who can't get
+either of them working on their particular setup.
+
+Note that this Makefile only builds the library and test cases; the
+standalone utilities are ignored. If you need those, you'll need to
+use one of the other build systems (or add them yourself.)
+
+## To build LibGD:
+
+1. Install MinGW and MSYS (see <http://www.mingw.org/wiki/Getting_Started>).
+ You will need to install zip and unzip as well as the 32-bit C compiler
+ and related tools.
+
+2. Install LibJpeg, LibPng, LibTiff, Zlib and FreeType from
+ <http://gnuwin32.sourceforge.net> and install them all in
+ `c:/tools/GnuWin32/`. (You can get these libraries from other
+ places and/or install them in different locations, but you'll need to
+ edit the Makefile accordingly if you do.)
+
+3. Skip ahead to the next step. If that doesn't work, edit the
+ Makefile to fix what went wrong. Things to try include:
+ * Ensure SRC contains an up-to-date list of source files. (Take a
+ look at libgd_la_SOURCES src/Makefile.am for a reference.)
+ * Ensure that the paths and #defines for unsupported libraries
+ are commented out. They're nicely grouped into clusters to
+ simplify that.
+
+4. `cd` to this directory and type:
+
+ make
+ make check
+
+ If both commands succeed, you're done. (Note that some of the
+ testcases will fail, just because they test features not enabled
+ here. This is fine. As long as most tests pass, you're probably
+ okay.)
+
+5. Type
+
+ make dist
+
+ This will create libgd-win.zip, a zip file containing the new
+ library and its dependants. Note that this step may pick up extra
+ DLLs; it sweeps up all of the DLLs in the directories pointed to
+ by *_DLLDIR Makefile variables.
+
+ Alternately, you can copy the lib (in src/) to wherever it needs
+ to go.
+
+
+## Stuff that Doesn't Work
+
+* LibXpm: It's probably nothing serious, just more trouble than it's
+ worth.
+* LibFontconfig: I couldn't find Windows binaries for it anywhere
+ reputable.
+
+
+
+
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/msys/deps.mk b/Build/source/libs/gd/libgd-src/windows/msys/deps.mk
index 9b531b3103d..a27c0781fed 100644
--- a/Build/source/libs/gd/libgd-2.1.1/windows/msys/deps.mk
+++ b/Build/source/libs/gd/libgd-src/windows/msys/deps.mk
@@ -1 +1 @@
-# Nothing to see here. (But it shuts up make.)
+# Nothing to see here. (But it shuts up make.)
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/msys/run_tests.sh b/Build/source/libs/gd/libgd-src/windows/msys/run_tests.sh
index 22de13c4036..22de13c4036 100755
--- a/Build/source/libs/gd/libgd-2.1.1/windows/msys/run_tests.sh
+++ b/Build/source/libs/gd/libgd-src/windows/msys/run_tests.sh
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/readme.md b/Build/source/libs/gd/libgd-src/windows/readme.md
index 8753b704723..21d741ab253 100644
--- a/Build/source/libs/gd/libgd-2.1.1/windows/readme.md
+++ b/Build/source/libs/gd/libgd-src/windows/readme.md
@@ -1,11 +1,11 @@
-# Building on Windows with Visual Studio 2013
-
-Open the VS2013 x64 Native Tools Command Prompt. 2012 will *not* work.
-Change to the gd-libgd folder.
-git clone https://github.com/imazen/gd-win-dependencies into the folder.
-Run
-nmake /f windows/Makefile.vc all
-nmake /f windows/Makefile.vc check
-
-Before rebuilding, run:
+# Building on Windows with Visual Studio 2013
+
+Open the VS2013 x64 Native Tools Command Prompt. 2012 will *not* work.
+Change to the gd-libgd folder.
+git clone https://github.com/imazen/gd-win-dependencies into the folder.
+Run
+nmake /f windows/Makefile.vc all
+nmake /f windows/Makefile.vc check
+
+Before rebuilding, run:
nmake /f windows/Makefile.vc clean \ No newline at end of file
diff --git a/Build/source/libs/gd/libgd-2.1.1/windows/run_tests.bat b/Build/source/libs/gd/libgd-src/windows/run_tests.bat
index 5dadb059407..5dadb059407 100755..100644
--- a/Build/source/libs/gd/libgd-2.1.1/windows/run_tests.bat
+++ b/Build/source/libs/gd/libgd-src/windows/run_tests.bat