summaryrefslogtreecommitdiffstats
path: root/rules/libgd.in
diff options
context:
space:
mode:
authorLuotao Fu <l.fu@pengutronix.de>2007-12-13 16:16:11 +0000
committerLuotao Fu <l.fu@pengutronix.de>2007-12-13 16:16:11 +0000
commit6b4e0bb97c5b6c1d6e1824d13428cfc11f5d4ec1 (patch)
treedaa02da05a0cbbd763c36cebd445a0636bd53900 /rules/libgd.in
parent5100674a1c2ad594d9ea3068009c6b9c74be5f80 (diff)
downloadptxdist-6b4e0bb97c5b6c1d6e1824d13428cfc11f5d4ec1.tar.gz
ptxdist-6b4e0bb97c5b6c1d6e1824d13428cfc11f5d4ec1.tar.xz
fixed libgd
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7652 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/libgd.in')
-rw-r--r--rules/libgd.in53
1 files changed, 51 insertions, 2 deletions
diff --git a/rules/libgd.in b/rules/libgd.in
index b3b04cae4..2dd27387e 100644
--- a/rules/libgd.in
+++ b/rules/libgd.in
@@ -1,7 +1,11 @@
config LIBGD
bool
- depends on BROKEN
- prompt "libgd [BROKEN]"
+ prompt "libgd"
+ select LIBPNG if LIBGD_PNG
+ select LIBJPEG if LIBGD_JPEG
+ select XORG_LIB_XPM if LIBGD_XPM
+ select FONTCONFIG if LIBGD_FONTCONFIG
+ select FREETYPE if LIBGD_FREETYPE
help
GD is an open source code library for the
dynamic creation of images by programmers.
@@ -10,3 +14,48 @@ config LIBGD
generate charts, graphics, thumbnails, and
most anything else, on the fly.
+config LIBGD_X
+ bool
+ prompt "with X libs support"
+ depends on LIBGD
+ default n
+ help
+ compiles libgd with X libraries support
+
+config LIBGD_PNG
+ bool
+ prompt "with png support"
+ depends on LIBGD
+ default y
+ help
+ compiles libgd with png support
+
+config LIBGD_JPEG
+ bool
+ prompt "with jpeg support"
+ depends on LIBGD
+ default y
+ help
+ compiles libgd with jpeg support
+
+config LIBGD_XPM
+ bool
+ prompt "with xpm support"
+ depends on LIBGD
+ help
+ compiles libgd with xpm support
+
+config LIBGD_FONTCONFIG
+ bool
+ prompt "with fontconfig support"
+ depends on LIBGD
+ default y
+ help
+ compiles libgd with png support
+
+config LIBGD_FREETYPE
+ bool
+ prompt "with freetype support"
+ depends on LIBGD
+ help
+ compiles libgd with freetype support