Commit Graph

167 Commits

Author SHA1 Message Date
foobar
3be17e3f26 - Prevent resetting the PHP_*_DIR variables if already set. 2002-10-21 02:46:13 +00:00
foobar
0d98fc6777 --with-zlib-dir has to be defined here to enable phpize build 2002-10-19 13:27:53 +00:00
Rasmus Lerdorf
72d90fc41c As discussed a while ago, decoding GIF images is not considered a Unisys
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2.  The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.
2002-10-06 06:03:17 +00:00
foobar
eb3b486f21 For now, check only when not using bundled GD lib. 2002-09-11 16:40:35 +00:00
foobar
e54bc671dd Added build test. Bug: #19345 2002-09-11 15:34:44 +00:00
foobar
cb8493b2fb This was not a good idea. 2002-09-07 19:09:09 +00:00
Sander Roobol
86e68f34f5 Fix build with bundled gd when builddir!=srcdir 2002-09-07 12:53:05 +00:00
foobar
d1009fe707 Using --with-zlib-dir should work now with phpized builds too. 2002-09-05 20:13:20 +00:00
foobar
c40262ef99 This _should_ fix those builds where gd.h might be in many places in
the system. Not guaranteed, but now the path for the found gd.h is always
first in the includes.
2002-09-05 00:24:33 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
foobar
55b22b16a2 xpm.h is sometimes in /usr/include/X11 (or /usr/X11R6/include/X11) 2002-08-30 02:44:45 +00:00
Marcus Boerger
2df2e24a54 check for fabsf and floorf in config.m4
msvc.6 needs a define, msvc.net needs special treatment
2002-08-12 13:59:01 +00:00
foobar
3177f1ca2a Fix bug: #18479. Better error message what was not found. 2002-07-23 01:11:16 +00:00
foobar
a85f813b6c Remove evil quotes 2002-07-17 17:28:57 +00:00
foobar
71b0e91bad Really fix it this time.. 2002-07-13 05:01:55 +00:00
foobar
1e48f66729 Fixed the undefined reference to 'gdttf' errors when using bundled GD lib.
# I removed that in the first place..don't remember why. :(
2002-07-13 04:06:26 +00:00
foobar
78adadafc4 Remove unused files. 2002-06-28 12:23:20 +00:00
foobar
feb450bae7 - Fix bug: #17671 2002-06-28 07:47:19 +00:00
Marcus Boerger
33b5d72f6c imageellipse is removed in 2.01
#maybe someone reintroduces this one in bundled lib?
2002-06-25 09:00:09 +00:00
Derick Rethans
2a6980a720 - Make functions not exist when they are not available. This means you can
now safely do function_exists() on all gd functions.
2002-06-24 19:31:44 +00:00
foobar
5060a9b379 Fix bug: #17130 2002-06-19 01:11:20 +00:00
Sander Roobol
c5dc21f8c2 Made phpinfo() show if we're using the bundled version of GD 2002-06-09 12:44:33 +00:00
Sander Roobol
a2849b868b Fixed detection of JPEG support in bundled version of GD. 2002-06-09 11:27:04 +00:00
foobar
9a47e545f6 - Fixed the include paths for the needed libraries for bundled libgd.
- Removed files which are not needed with libgd2 from the PHP_NEW_EXTENSION.
2002-06-04 18:44:54 +00:00
foobar
1a06a2fa15 - Made the bundled libgd actually work. Fixed bug: #17244 2002-06-04 01:13:01 +00:00
foobar
4586a989ef Wrong variable used here.. 2002-04-23 23:17:41 +00:00
jim winstead
36751953d4 include the checks for various support libraries to --with-gd=php section. the
libgd stuff needs some additional checks to handle the presence/absence of
things like libpng, but this helps when most things are included.
2002-04-20 18:02:14 +00:00
jim winstead
95e9eb35d8 s/.o/.c/ 2002-04-20 17:24:37 +00:00
Sascha Schumann
83719f5cd8 s/==/=/ 2002-04-13 09:26:29 +00:00
Rasmus Lerdorf
be2078bb73 oops 2002-04-13 05:43:14 +00:00
Rasmus Lerdorf
7a8cade379 Initial commit of the built-in libgd based on GD-2.0.1
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs.  It also will not build currently because
of this.  The PHP gd checks need to be incorporated along with a bit of
other config magic.  It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00
foobar
956a7762b8 - This is not needed here 2002-03-20 02:07:32 +00:00
Sascha Schumann
5cba3a99c2 extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed 2002-03-12 16:44:00 +00:00
Rui Hirokawa
5634d3a8f7 reverted my patch to fix freetype2 related problem. 2002-03-07 15:07:12 +00:00
Rui Hirokawa
8cfa80d082 fixed configure error with freetype1. 2002-02-23 01:36:55 +00:00
Rui Hirokawa
26a12ba990 fixed some link error of gd's configure. 2002-01-13 06:25:18 +00:00
foobar
f1397d5339 Unified the configure messages. 2001-11-30 19:00:13 +00:00
foobar
13ed1f43c1 Fixed bug: #13955.Checks now for png_write_image(). 2001-11-10 09:51:47 +00:00
foobar
19cfee427f Support also --with-gd (without path). Please test this! 2001-10-23 09:19:11 +00:00
foobar
cf65fad63a This patch should reduce the amount of 'bogus' bug reports when people
have two or more different versions of GD library installed.
2001-10-23 08:52:14 +00:00
foobar
e4df7dc7bf if test -f /usr/local/lib/libexample.s?; then <-- no workie
if test -f /usr/local/lib/libexample.so; then   <-- workie
#
# You can all point at me and laugh now..  :(
#
2001-09-07 00:24:06 +00:00
foobar
3c64473b71 Fixed bug: #13172 2001-09-06 23:10:37 +00:00
foobar
acb7d69ff7 Always quote the messages. 2001-09-06 20:55:24 +00:00
foobar
95ff1ab10f Hope this reduces the amount of bogus bug reports when people use wrong paths.. 2001-09-06 18:13:49 +00:00
foobar
032b263129 Fixes commit / link problems with certain compilers.
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +00:00
foobar
f03a871d93 Fixed bug: #12948, #12945 2001-08-24 20:05:58 +00:00
foobar
7adb7db038 This works better. 2001-07-03 21:09:16 +00:00
foobar
c493c298d4 Now all these options should behave the same. 2001-06-30 00:38:06 +00:00
foobar
242b8af6aa fixed bug: #11641 2001-06-24 15:56:05 +00:00
foobar
315cfb2b4e This is better looking. Other options use the same. 2001-06-24 12:53:17 +00:00
foobar
08ef1eac4a Always use -n... 2001-06-04 01:36:14 +00:00
foobar
75720b018e Fixed little buggie with T1lib support. 2001-06-03 21:32:53 +00:00
foobar
0c5d5a513b Added missing GD/GD2 image handling functions. 2001-05-29 07:46:07 +00:00
foobar
af5c5ecee1 fixed bug: #10593 2001-05-21 19:28:22 +00:00
foobar
4e545c1d73 A few modifications to make the ZLIB checks work better. 2001-05-20 23:00:44 +00:00
Sascha Schumann
afdaee9e47 Nuke more quotes 2001-05-12 11:09:05 +00:00
foobar
be3b514637 Fixed bug: #10823 2001-05-12 00:15:08 +00:00
foobar
5bc7cf90cd default to /usr/local 2001-05-10 23:55:56 +00:00
foobar
14e883c3a0 Cleaned up this a bit.. 2001-05-10 00:55:48 +00:00
Wez Furlong
d52f75aa1c Patch from Adam Dickmeiss to make configure detect libtff again. 2001-04-19 14:16:09 +00:00
Wez Furlong
fe88b5fd6e Fixed lame attempt to prevent ttf linkage when using freetype2 2001-04-17 01:02:37 +00:00
Wez Furlong
e030eb8238 When using freetype2, turn off libttf and turn on native gd ttf. 2001-04-14 00:15:26 +00:00
Wez Furlong
e9731903d1 Added GD 2.0.1 support. 2001-04-13 12:00:12 +00:00
foobar
8a26918ed1 Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Rui Hirokawa
337edb9cf4 fixed option name mismatch. 2001-01-06 08:38:07 +00:00
Sascha Schumann
7e28784de3 Fix indentation of configure output 2000-12-06 17:34:58 +00:00
Stanislav Malyshev
bbb46b6c0c Fix T1 static build 2000-12-06 15:08:18 +00:00
Stanislav Malyshev
f0744d73de GD shared build fixes - should fix problem with gd.so not being linked
with right libraries
2000-12-04 15:10:58 +00:00
foobar
5c16c9fa1a AC_CHECK_LIB prints out yes/no itself. 2000-11-28 08:06:30 +00:00
foobar
40462d1d02 Fix for #7758. Plus some cleaning. 2000-11-11 19:27:46 +00:00
foobar
ffc95d6125 Beutifying the output of configure a bit.
# I promise, this is the last commit for today. =)
2000-11-09 02:59:17 +00:00
foobar
781816998c Remove duplicate check for xpm support. 2000-11-09 02:31:56 +00:00
foobar
368054d223 Fix to get jpeg/xpm support everytime. 2000-11-09 02:29:15 +00:00
foobar
443d289380 Fixed bug: #5460 2000-11-09 00:16:28 +00:00
foobar
95eceee413 Cleaned up a bit. 2000-11-08 01:53:51 +00:00
foobar
3f85e944ab config.m4 2000-11-08 00:18:49 +00:00
Rasmus Lerdorf
d12c4de6ba Fix annoying $withval interaction in GD configure stuff 2000-10-21 12:03:52 +00:00
Rui Hirokawa
4de105ae4a added a option to use the truetype string handling function in gd.\n it is useful for japanese because the truetype string function in gd supports some japanese encodings. 2000-10-16 13:50:30 +00:00
Marko Karppinen
cd7dae0676 We don't support FreeType 2 - let's stop pretending we do 2000-10-14 23:04:26 +00:00
foobar
e6d03e7a3e config.m4 2000-10-14 22:48:38 +00:00
Stefan Roehrich
045ee57f04 Line seems to be missing and causing configure test failures for other extensions. 2000-09-28 09:37:30 +00:00
Sascha Schumann
3cb026db73 Fix library order for -lpng -lz.
PR: #3978
2000-08-23 12:28:48 +00:00
Jouni Ahto
92b963bb2e - Fixed another missing test for existing functions in libgd.
# This too should go in 4.0.1 if just possible.
2000-06-26 15:23:52 +00:00
Jouni Ahto
29e5cf81bf - Test gdImagePaletteCopy and define HAVE_LIBGD15 if found.
- s/HAVE_LIBGD13/HAVE_LIBGD15/ in ImagePaletteCopy, ImageCopyMerge.
# This really should go into 4.0.1 or we'll get a lot of complaints from
# people using older versions of gd (because it still supports gif).
2000-06-26 12:23:02 +00:00
Jouni Ahto
4f0f3c3ba0 - Preparing to add new image types to gd module.
# Sascha, if you see this, why are there two checks for jpeg dirs
# (PHP_GD_JPEG)? I just literally applied the same method to check for
# Xpm libs, don't know how to fix it. Could you please have a look at this?
2000-06-06 19:06:46 +00:00
Hartmut Holzgraefe
3bbc7466fc added comments to the System/Distribution specific default
path tests for gd.h

? can someone imagine a clever way to have that done for
  _all_ packages in a simple and general way ?
2000-05-27 21:30:30 +00:00
Hartmut Holzgraefe
636b8927c6 should make SuSE 6.x users happy (and anybody else with gh.d in
/usr/include/gd ... )
2000-05-27 21:09:00 +00:00
Sascha Schumann
99133bf4bb --with-foo causes $withval to be set to "yes," not "" 2000-05-23 10:21:40 +00:00
Sascha Schumann
e223693d0c Do not enable GD, if --without-gd was used 2000-04-20 14:59:59 +00:00
Sascha Schumann
c97314257c Fix libpng and libz order and stuff the libjpeg into its own macro. 2000-03-30 14:59:23 +00:00
Sander Steffann
ec52ce44a9 A small fix when checking for libjpeg 2000-03-18 23:23:39 +00:00
Rasmus Lerdorf
da4f3edac4 gd-jpeg support
@Add GD-JPEG Support (Rasmus)
2000-03-13 05:58:50 +00:00
Sascha Schumann
00c14f7413 Also search for freetype headers in $prefix/include/freetype
PR: #3775
2000-03-12 15:52:14 +00:00
Jouni Ahto
ab7bbbb160 Ported T1lib support from PHP3.
@- Ported T1lib support from PHP3. (Jouni)
# That's almost a lie... needs still some work.
2000-02-25 06:43:51 +00:00
Rasmus Lerdorf
ed3c962b39 @ Don't assume libz and libpng are installed for the GD checks (Rasmus) 2000-01-04 02:42:27 +00:00
Sascha Schumann
cf5a5fb1dd Whoops, defining them to empty values generates many parse errors.
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442 Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e.

AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa Integration of -ng changes. Changes:
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
  (libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Sander Steffann
f0eebb3e58 Oops, forgot to check for GIF support. Fixed. 1999-11-29 21:26:52 +00:00
Sander Steffann
0f7444c4a8 Some patched versions of GD support both GIF and PNG. The GD module now
checks for both instead of assuming that PNG support means that there is no
GIF support anymore.
1999-11-24 21:43:54 +00:00