Go to file
Ondřej Surý f0ddf2eccd Introduce gdReallocEx which will free the original memory when realloc
fails to circumvent lost memory when doing:

    a = gdRealloc(a, s);
    if (!a)
        return;

Thanks to Niels Thykier for catching that.
2013-05-20 21:10:28 +02:00
VMS Make distcheck work (fixes #54) 2013-05-04 22:23:38 +02:00
cmake/modules Update copyrights in cmake/modules/ 2013-05-13 12:48:13 +02:00
config punt generated files from the repo 2013-04-16 18:18:46 -04:00
docs remove unused docs/Makefile.am 2013-05-10 20:29:46 +01:00
examples Make distcheck work (fixes #54) 2013-05-04 22:23:38 +02:00
m4 Define BGDWIN32 on MinGW when using autotools 2013-04-23 05:36:16 +02:00
netware Make distcheck work (fixes #54) 2013-05-04 22:23:38 +02:00
src Introduce gdReallocEx which will free the original memory when realloc 2013-05-20 21:10:28 +02:00
test Remove one more outstanding Makefile.am 2013-04-08 09:21:16 +02:00
tests silence -Wunused-variable 2013-05-07 14:51:27 +09:00
windows Make distcheck work (fixes #54) 2013-05-04 22:23:38 +02:00
.gitignore ignore more test artifacts 2013-04-22 15:23:29 -04:00
CMakeLists.txt Define version just once using m4_define and bump version to 2.1.0-alpha1 2013-05-13 16:34:09 +02:00
COPYING add COPYING 2013-04-12 00:58:26 +02:00
ChangeLog - mv ChangeLog and NEWS 2007-10-04 11:22:54 +00:00
Makefile.am Make distcheck work (fixes #54) 2013-05-04 22:23:38 +02:00
NEWS fixed FS#100 2010-01-19 17:58:20 +09:00
bootstrap.sh We have moved to git 2013-04-24 09:38:57 +09:00
configure.ac Define version just once using m4_define and bump version to 2.1.0-alpha1 2013-05-13 16:34:09 +02:00

docs/README.TXT

For documentation, browse index.html.

Quick install guide:

If the sources have been fetched from git, run bootstrap.sh [options].

From a released source, use:
1. Type './configure'
2. Type 'make install'

Generic configuration instructions are in the file INSTALL.

The following 3rd-party libraries will be used by gd if found by configure.
While gd will compile and install even without these, we suggest that at
least zlib and libpng are installed, and recommend that freetype and jpeg
are installed as well:

1. zlib, available from http://www.gzip.org/zlib/
   Data compression library

2. libpng, available from http://www.libpng.org/pub/png/
   Portable Network Graphics library; requires zlib

3. FreeType 2.x, available from http://www.freetype.org/
   Free, high-quality, and portable font engine

4. JPEG library, available from http://www.ijg.org/
   Portable JPEG compression/decompression library

5. XPM, available from http://koala.ilog.fr/lehors/xpm.html
   X Pixmap library

If any of these libraries are installed, but not detected by configure,
you can use the following command line options:

--with-png=DIR

  Without the DIR argument, configure will check for png header files and
  libraries in a default location. To switch off png support, use
  --without-png, or --with-png=no.

  If the DIR argument is specified, configure tries to find the png header
  files in DIR/include, and the libraries in DIR/lib. To accommodate
  OpenBSD ports, DIR/include/libpng is also checked if necessary.

--with-freetype=DIR

  Dto. for freetype 2.x library. The search path for include files is
  DIR/include/freetype2.

--with-jpeg=DIR

  Dto. for jpeg library.

--with-xpm=DIR

  Dto. for xpm library.
  
 --with-tiff=DIR

Dto. for TIFF library.