summaryrefslogtreecommitdiffstats
path: root/tkimg/libjpeg/README
blob: 91d356306511de5716298e1ee0dfaa24703064bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Wrapping the jpeg support library for tcl is a bit more complicated
than libz, or libpng.

(1)	libjpeg comes with its own configure command, and there is no
	configure.in. This means that it is not possible to lift the
	relevant sections out of it for the configure of the
	binding. Instead the binding run the configure of libjpeg
	(AC_CONFIG_SUBDIRS) from its own configure and uses the
	resulting header file (jconfig.h) as usual. A quirk is that
	the tcl binding is a subdirectory of libjpeg, but to be able
	to perform the previous operation its has to be the other way
	around (AC_CONFIG_SUBDIRS is unable to handle '..'
	correctly). To facility this I placed a symbolic link into the
	directory of the binding, refering to the parent under the
	name libjpeg.

(2)	A second trouble spot is described in the file 'DANGER'.