Commits

Author Commit Message Labels Comments Date
Mike Frysinger
skip certain programs when png/zlib are not available We can build gd w/out png/zlib support, but some of the helper programs require that functionality. Disable the programs based on what libs are available.
Mike Frysinger
stub out AM_ICONV if it is not available If we're building on a system w/out gettext, just stub out the AM_ICONV macro. This is useful for embedded systems which don't have i18n support as the current code will auto-disable itself anyways.
Mike Frysinger
do not build test/demo programs by default Since these are test programs, move them to the check target. That is, you can still get these by running `make check`.
Mike Frysinger
add a --with-zlib flag to control -lz usage
Mike Frysinger
use pkg-config for png/freetype by default These packages have been installing pkg-config files for quite a while now, so default to using them. You can still use the old way of specifying the path to the package dir and the code will look for a <dir>/bin/<pkg>-config script. However, we now assume that you're using up-to-date versions of packages so we drop all the ugly build time logic to support the various versions.
Mike Frysinger
call AM_PROG_AR with newer automake With recent versions of automake, it wants you to use this macro: automake-1.13: warnings are treated as errors /usr/share/automake-1.13/am/ltlibrary.am: warning: 'libgd.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' src/Makefile.am:12: while processing Libtool library 'libgd.la' autoreconf-2.68: automa…
Mike Frysinger
drop AM_PROG_CC_STDC This macro is deprecated, so punt it: configure.ac:54: error: 'AM_PROG_CC_STDC': this macro is obsolete. You should simply use the 'AC_PROG_CC' macro instead. Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', but upon 'ac_cv_prog_cc_stdc'. /usr/share/aclocal-1.13/obsolete-err.m4:17: AM_PROG_CC_STDC is expanded from... configure.ac:54: the top level autom4te-2.68: /usr…
Mike Frysinger
change AC_CANONICAL_TARGET -> AC_CANONICAL_HOST The --target option is really only for packages that generate code (i.e. compilers). All other packages (like gd) only care about the host (i.e. where the code will be running).
Mike Frysinger
update ignored files
Mike Frysinger
punt generated files from the repo These are created when people run autotools, so keeping a copy in the git repo doesn't make much sense (nor is common). Especially when we don't keep the generated configure or Makefile.in files either.
Pierre Joye
Merge branch 'master' of https://bitbucket.org/libgd/gd-libgd
Pierre Joye
fixes #21, clip rectangle to image size
Ondřej Surý
WS and formating in gd.h
Ondřej Surý
Revert accidental change to jpeg functions
Ondřej Surý
Add regenerated src/config.hin from rev 859a617
Ondřej Surý
Fix another vpx->tiff cut&paste error
Ondřej Surý
Also list -lgd in gdlib-config --libs output
Ondřej Surý
Add initial support for pkgconfig
Ondřej Surý
Add dummy declaration for BGD_EXPORT_DATA_PROT and BGD_EXPORT_DATA_IMPL when compiling without HAVE_VISIBILITY
Ondřej Surý
Remove unneeded -lX11 when linking with -lXpm
Ondřej Surý
Remove executable bits from source files
Ondřej Surý
Remove extra # define BGD_DECLARE and simplify __stdcall non-usage on Linux
Ondřej Surý
Don't export tiffWriter function, it should be only used from gdImageTiff
Ondřej Surý
Add autogenerated files to .gitignore
Ondřej Surý
Add back 'extern' keyword for header declarations for GCC builds
Ondřej Surý
Update visibility macros for variables
Ondřej Surý
Cleanup php_gd_error from PHP libgd import
Ondřej Surý
Add BGD_DECLARE for WebP
Ondřej Surý
Fix config.h include before gd.h to get the HAVE_VISILIBITY symbol available
Ondřej Surý
Export only declared symbols and also bump SONAME to 3
  1. Prev
  2. Next