]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/configure.ac
no real change: put event handlers together at the end of the file
[wxWidgets.git] / src / tiff / configure.ac
CommitLineData
8414a40c
VZ
1dnl -*- Autoconf -*-
2dnl Tag Image File Format (TIFF) Software
3dnl
4dnl Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
5dnl
6dnl Permission to use, copy, modify, distribute, and sell this software and
7dnl its documentation for any purpose is hereby granted without fee, provided
8dnl that (i) the above copyright notices and this permission notice appear in
9dnl all copies of the software and related documentation, and (ii) the names of
10dnl Sam Leffler and Silicon Graphics may not be used in any advertising or
11dnl publicity relating to the software without the specific, prior written
12dnl permission of Sam Leffler and Silicon Graphics.
13dnl
14dnl THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15dnl EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16dnl WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17dnl
18dnl IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19dnl ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20dnl OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21dnl WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22dnl LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
23dnl OF THIS SOFTWARE.
24
25dnl Process this file with autoconf to produce a configure script.
26
27AC_PREREQ(2.59)
28AC_INIT([LibTIFF Software], 3.8.2, [tiff@lists.maptools.org], tiff)
29AC_CONFIG_AUX_DIR(config)
30AC_CONFIG_MACRO_DIR(m4)
31AC_LANG(C)
32
33dnl Compute the canonical target-system type variable
34AC_CANONICAL_TARGET
35
36AM_INIT_AUTOMAKE
37dnl Do not rebuild generated files every time
38AM_MAINTAINER_MODE
39
40dnl Versioning.
41dnl Don't fill the ALPHA_VERSION field, if not applicable.
42LIBTIFF_MAJOR_VERSION=3
43LIBTIFF_MINOR_VERSION=8
44LIBTIFF_MICRO_VERSION=2
45LIBTIFF_ALPHA_VERSION=
46LIBTIFF_VERSION=$LIBTIFF_MAJOR_VERSION.$LIBTIFF_MINOR_VERSION.$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
47dnl This will be used with the 'make release' target
48LIBTIFF_RELEASE_DATE=`date +"%Y%m%d"`
49
50# This is a special hack for OpenBSD and MirOS systems. The dynamic linker
51# in OpenBSD uses some special semantics for shared libraries. Their soname
52# contains only two numbers, major and minor.
53# See http://bugzilla.remotesensing.org/show_bug.cgi?id=838 for details.
54case "$target_os" in
55 openbsd* | mirbsd*)
56 LIBTIFF_VERSION_INFO=$LIBTIFF_MAJOR_VERSION$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION:0
57 ;;
58 *)
59 LIBTIFF_VERSION_INFO=$LIBTIFF_MAJOR_VERSION:$LIBTIFF_MINOR_VERSION:$LIBTIFF_MICRO_VERSION$LIBTIFF_ALPHA_VERSION
60 ;;
61esac
62
63AC_SUBST(LIBTIFF_MAJOR_VERSION)
64AC_SUBST(LIBTIFF_MINOR_VERSION)
65AC_SUBST(LIBTIFF_MICRO_VERSION)
66AC_SUBST(LIBTIFF_ALPHA_VERSION)
67AC_SUBST(LIBTIFF_VERSION)
68AC_SUBST(LIBTIFF_VERSION_INFO)
69AC_SUBST(LIBTIFF_RELEASE_DATE)
70
71dnl Checks for programs.
72AC_PROG_CC
73AM_PROG_CC_C_O
74
75dnl We want warnings. As many warnings as possible.
76VL_PROG_CC_WARNINGS()
77
78AC_PROG_INSTALL
79AC_PROG_LN_S
80AC_PROG_LIBTOOL
81AC_LIBTOOL_WIN32_DLL
82
83dnl Checks for libraries.
84AC_CHECK_LIB([c], [main])
85
86dnl We don't need to add math library at all targets
87case "$target_os" in
88 cygwin* | mingw32* | beos* | darwin*)
89 ;;
90 *)
91 AC_CHECK_LIB(m,main,,,)
92 ;;
93esac
94
95dnl Checks for header files.
96AC_CHECK_HEADERS([assert.h fcntl.h limits.h malloc.h search.h sys/time.h unistd.h])
97
98dnl Checks for typedefs, structures, and compiler characteristics.
99AC_C_CONST
100AC_C_INLINE
101AC_C_BIGENDIAN
102AC_TYPE_OFF_T
103AC_TYPE_SIZE_T
104AC_CHECK_SIZEOF(int)
105AC_CHECK_SIZEOF(long)
106AC_HEADER_TIME
107AC_STRUCT_TM
108dnl Some compilers (IBM VisualAge) has these types defined, so check it here:
109AC_CHECK_TYPES([int8, int16, int32],,,
110[
111#if HAVE_INTTYPES_H
112# include <inttypes.h>
113#endif
114])
115
116dnl Checks for library functions.
117AC_CHECK_FUNCS([floor isascii memmove memset mmap pow sqrt strchr strrchr strstr strtol])
118
119dnl Will use local replacements for unavailable functions
120AC_REPLACE_FUNCS(getopt)
121AC_REPLACE_FUNCS(strcasecmp)
122AC_REPLACE_FUNCS(strtoul)
123AC_REPLACE_FUNCS(lfind)
124
125dnl ---------------------------------------------------------------------------
126dnl Check the native cpu bit order.
127dnl ---------------------------------------------------------------------------
128AC_MSG_CHECKING([native cpu bit order])
129case "$target_cpu" in
130 i*86*)
131 HOST_FILLORDER=FILLORDER_LSB2MSB
132 AC_MSG_RESULT([lsb2msb])
133 ;;
134 *)
135 HOST_FILLORDER=FILLORDER_MSB2LSB
136 AC_MSG_RESULT([msb2lsb])
137 ;;
138esac
139AC_DEFINE_UNQUOTED(HOST_FILLORDER, $HOST_FILLORDER, [Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB)])
140
141dnl ---------------------------------------------------------------------------
142dnl Configure legacy tifconf.h HOST_BIGENDIAN.
143dnl ---------------------------------------------------------------------------
144if test "$ac_cv_c_bigendian" = yes ; then
145 HOST_BIGENDIAN=1
146else
147 HOST_BIGENDIAN=0
148fi
149AC_DEFINE_UNQUOTED(HOST_BIGENDIAN,$HOST_BIGENDIAN,[Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel)])
150
151dnl ---------------------------------------------------------------------------
152dnl Make the POSIX.2 features available.
153dnl ---------------------------------------------------------------------------
154#_POSIX_C_SOURCE=2
155#AC_DEFINE_UNQUOTED(_POSIX_C_SOURCE, $_POSIX_C_SOURCE, [Define this macro to a positive integer to control which POSIX functionality is made available.])
156
157dnl ---------------------------------------------------------------------------
158dnl Set the floating point format.
159dnl FIXME: write appropriate test.
160dnl ---------------------------------------------------------------------------
161HAVE_IEEEFP=1
162AC_DEFINE_UNQUOTED(HAVE_IEEEFP, $HAVE_IEEEFP, [Define as 0 or 1 according to the floating point format suported by the machine])
163
164dnl ---------------------------------------------------------------------------
165dnl Enable run-time paths to libraries usage.
166dnl ---------------------------------------------------------------------------
167
168AC_ARG_ENABLE(rpath,
169 AS_HELP_STRING([--enable-rpath],
170 [Enable runtime linker paths (-R libtool option)]),
171 [HAVE_RPATH=$enableval], [HAVE_RPATH=no])
172AM_CONDITIONAL(HAVE_RPATH, test "$HAVE_RPATH" = "yes")
173
174dnl ---------------------------------------------------------------------------
175dnl Support large files.
176dnl ---------------------------------------------------------------------------
177
178AC_SYS_LARGEFILE
179
180dnl ---------------------------------------------------------------------------
181dnl Point to path where we should install documentation.
182dnl ---------------------------------------------------------------------------
183
184LIBTIFF_DOCDIR=\${prefix}/share/doc/${PACKAGE}-${LIBTIFF_VERSION}
185
186AC_ARG_WITH(docdir,
187 AS_HELP_STRING([--with-docdir=DIR],
188 [directory where documentation should be installed]),,)
189if test "x$with_docdir" != "x" ; then
190 LIBTIFF_DOCDIR=$with_docdir
191fi
192
193AC_SUBST(LIBTIFF_DOCDIR)
194
195dnl ---------------------------------------------------------------------------
196dnl Switch on/off internal codecs.
197dnl ---------------------------------------------------------------------------
198
199AC_ARG_ENABLE(ccitt,
200 AS_HELP_STRING([--disable-ccitt],
201 [disable support for CCITT Group 3 & 4 algorithms]),
202 [HAVE_CCITT=$enableval], [HAVE_CCITT=yes])
203
204if test "$HAVE_CCITT" = "yes" ; then
205 AC_DEFINE(CCITT_SUPPORT,1,[Support CCITT Group 3 & 4 algorithms])
206fi
207
208AC_ARG_ENABLE(packbits,
209 AS_HELP_STRING([--disable-packbits],
210 [disable support for Macintosh PackBits algorithm]),
211 [HAVE_PACKBITS=$enableval], [HAVE_PACKBITS=yes])
212
213if test "$HAVE_PACKBITS" = "yes" ; then
214 AC_DEFINE(PACKBITS_SUPPORT,1,[Support Macintosh PackBits algorithm])
215fi
216
217AC_ARG_ENABLE(lzw,
218 AS_HELP_STRING([--disable-lzw],
219 [disable support for LZW algorithm]),
220 [HAVE_LZW=$enableval], [HAVE_LZW=yes])
221
222if test "$HAVE_LZW" = "yes" ; then
223 AC_DEFINE(LZW_SUPPORT,1,[Support LZW algorithm])
224fi
225
226AC_ARG_ENABLE(thunder,
227 AS_HELP_STRING([--disable-thunder],
228 [disable support for ThunderScan 4-bit RLE algorithm]),
229 [HAVE_THUNDER=$enableval], [HAVE_THUNDER=yes])
230
231if test "$HAVE_THUNDER" = "yes" ; then
232 AC_DEFINE(THUNDER_SUPPORT,1,[Support ThunderScan 4-bit RLE algorithm])
233fi
234
235HAVE_NEXT=yes
236
237AC_ARG_ENABLE(next,
238 AS_HELP_STRING([--disable-next],
239 [disable support for NeXT 2-bit RLE algorithm]),
240 [HAVE_NEXT=$enableval], [HAVE_NEXT=yes])
241
242if test "$HAVE_NEXT" = "yes" ; then
243 AC_DEFINE(NEXT_SUPPORT,1,[Support NeXT 2-bit RLE algorithm])
244fi
245
246AC_ARG_ENABLE(logluv,
247 AS_HELP_STRING([--disable-logluv],
248 [disable support for LogLuv high dynamic range encoding]),
249 [HAVE_LOGLUV=$enableval], [HAVE_LOGLUV=yes])
250
251if test "$HAVE_LOGLUV" = "yes" ; then
252 AC_DEFINE(LOGLUV_SUPPORT,1,[Support LogLuv high dynamic range encoding])
253fi
254
255dnl ---------------------------------------------------------------------------
256dnl Switch on/off support for Microsoft Document Imaging
257dnl ---------------------------------------------------------------------------
258
259AC_ARG_ENABLE(mdi,
260 AS_HELP_STRING([--disable-mdi],
261 [disable support for Microsoft Document Imaging]),
262 [HAVE_MDI=$enableval], [HAVE_MDI=yes])
263
264if test "$HAVE_MDI" = "yes" ; then
265 AC_DEFINE(MDI_SUPPORT,1,[Support Microsoft Document Imaging format])
266fi
267
268dnl ---------------------------------------------------------------------------
269dnl Check for ZLIB.
270dnl ---------------------------------------------------------------------------
271
272HAVE_ZLIB=no
273
274AC_ARG_ENABLE(zlib,
275 AS_HELP_STRING([--disable-zlib],
276 [disable Zlib usage (required for Deflate compression, enabled by default)]),,)
277AC_ARG_WITH(zlib-include-dir,
278 AS_HELP_STRING([--with-zlib-include-dir=DIR],
279 [location of Zlib headers]),,)
280AC_ARG_WITH(zlib-lib-dir,
281 AS_HELP_STRING([--with-zlib-lib-dir=DIR],
282 [location of Zlib library binary]),,)
283
284if test "x$enable_zlib" != "xno" ; then
285
286 if test "x$with_zlib_lib_dir" != "x" ; then
287 LDFLAGS="-L$with_zlib_lib_dir $LDFLAGS"
288 fi
289
290 AC_CHECK_LIB(z, inflateEnd, [zlib_lib=yes], [zlib_lib=no],)
291 if test "$zlib_lib" = "no" -a "x$with_zlib_lib_dir" != "x"; then
292 AC_MSG_ERROR([Zlib library not found at $with_zlib_lib_dir])
293 fi
294
295 if test "x$with_zlib_include_dir" != "x" ; then
296 CPPFLAGS="-I$with_zlib_include_dir $CPPFLAGS"
297 fi
298 AC_CHECK_HEADER(zlib.h, [zlib_h=yes], [zlib_h=no])
299 if test "$zlib_h" = "no" -a "x$with_zlib_include_dir" != "x" ; then
300 AC_MSG_ERROR([Zlib headers not found at $with_zlib_include_dir])
301 fi
302
303 if test "$zlib_lib" = "yes" -a "$zlib_h" = "yes" ; then
304 HAVE_ZLIB=yes
305 fi
306
307fi
308
309if test "$HAVE_ZLIB" = "yes" ; then
310 AC_DEFINE(ZIP_SUPPORT,1,[Support Deflate compression])
311 LIBS="-lz $LIBS"
312
313 if test "$HAVE_RPATH" = "yes" -a "x$with_zlib_lib_dir" != "x" ; then
314 LIBDIR="-R $with_zlib_lib_dir $LIBDIR"
315 fi
316
317fi
318
319dnl ---------------------------------------------------------------------------
320dnl Check for Pixar log-format algorithm.
321dnl ---------------------------------------------------------------------------
322
323AC_ARG_ENABLE(pixarlog,
324 AS_HELP_STRING([--disable-pixarlog],
325 [disable support for Pixar log-format algorithm (requires Zlib)]),
326 [HAVE_PIXARLOG=$enableval], [HAVE_PIXARLOG=yes])
327
328if test "$HAVE_ZLIB" = "yes" -a "$HAVE_PIXARLOG" = "yes" ; then
329 AC_DEFINE(PIXARLOG_SUPPORT, 1,
330 [Support Pixar log-format algorithm (requires Zlib)])
331else
332 HAVE_PIXARLOG=no
333fi
334
335dnl ---------------------------------------------------------------------------
336dnl Check for JPEG.
337dnl ---------------------------------------------------------------------------
338
339HAVE_JPEG=no
340
341AC_ARG_ENABLE(jpeg,
342 AS_HELP_STRING([--disable-jpeg],
343 [disable IJG JPEG library usage (required for JPEG compression, enabled by default)]),,)
344AC_ARG_WITH(jpeg-include-dir,
345 AS_HELP_STRING([--with-jpeg-include-dir=DIR],
346 [location of IJG JPEG library headers]),,)
347AC_ARG_WITH(jpeg-lib-dir,
348 AS_HELP_STRING([--with-jpeg-lib-dir=DIR],
349 [location of IJG JPEG library binary]),,)
350
351if test "x$enable_jpeg" != "xno" ; then
352
353 if test "x$with_jpeg_lib_dir" != "x" ; then
354 LDFLAGS="-L$with_jpeg_lib_dir $LDFLAGS"
355
356 fi
357
358 AC_CHECK_LIB(jpeg, jpeg_read_scanlines, [jpeg_lib=yes], [jpeg_lib=no],)
359 if test "$jpeg_lib" = "no" -a "x$with_jpeg_lib_dir" != "x" ; then
360 AC_MSG_ERROR([IJG JPEG library not found at $with_jpeg_lib_dir])
361 fi
362
363 if test "x$with_jpeg_include_dir" != "x" ; then
364 CPPFLAGS="-I$with_jpeg_include_dir $CPPFLAGS"
365 fi
366 AC_CHECK_HEADER(jpeglib.h, [jpeg_h=yes], [jpeg_h=no])
367 if test "$jpeg_h" = "no" -a "x$with_jpeg_include_dir" != "x" ; then
368 AC_MSG_ERROR([IJG JPEG library headers not found at $with_jpeg_include_dir])
369 fi
370
371 if test "$jpeg_lib" = "yes" -a "$jpeg_h" = "yes" ; then
372 HAVE_JPEG=yes
373 fi
374
375fi
376
377if test "$HAVE_JPEG" = "yes" ; then
378 AC_DEFINE(JPEG_SUPPORT,1,[Support JPEG compression (requires IJG JPEG library)])
379 LIBS="-ljpeg $LIBS"
380
381 if test "$HAVE_RPATH" = "yes" -a "x$with_jpeg_lib_dir" != "x" ; then
382 LIBDIR="-R $with_jpeg_lib_dir $LIBDIR"
383 fi
384
385fi
386
387dnl ---------------------------------------------------------------------------
388dnl Check for Old JPEG.
389dnl ---------------------------------------------------------------------------
390
391AC_ARG_ENABLE(old-jpeg,
392 AS_HELP_STRING([--enable-old-jpeg],
393 [enable support for Old JPEG compresson (read contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG library)]),
394 [HAVE_OJPEG=$enableval], [HAVE_OJPEG=no])
395
396if test "$HAVE_JPEG" = "yes" -a "$HAVE_OJPEG" = "yes" ; then
397 AC_DEFINE(OJPEG_SUPPORT, 1,
398 [Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation fails with unpatched IJG JPEG library)])
399else
400 HAVE_OJPEG=no
401fi
402
403dnl ---------------------------------------------------------------------------
404dnl Check for C++.
405dnl ---------------------------------------------------------------------------
406
407AC_ARG_ENABLE(cxx,
408 AS_HELP_STRING([--enable-cxx],
409 [enable C++ stream API building (requires C++ compiler)]),
410 [HAVE_CXX=$enableval], [HAVE_CXX=yes])
411
412if test "$HAVE_CXX" = "yes" ; then
413 AC_DEFINE(CXX_SUPPORT, 1, [Support C++ stream API (requires C++ compiler)])
414else
415 HAVE_CXX=no
416fi
417
418AM_CONDITIONAL(HAVE_CXX, test "$HAVE_CXX" = "yes")
419
420dnl ---------------------------------------------------------------------------
421dnl Check for OpenGL and GLUT.
422dnl ---------------------------------------------------------------------------
423
424HAVE_OPENGL=no
425
426AC_PATH_XTRA
427
428AX_CHECK_GL
429AX_CHECK_GLU
430AX_CHECK_GLUT
431
432if test "$no_x" != "yes" -a "$no_gl" != "yes" \
433 -a "$no_glu" != "yes" -a "$no_glut" != "yes" ; then
434 HAVE_OPENGL=yes
435fi
436
437AM_CONDITIONAL(HAVE_OPENGL, test "$HAVE_OPENGL" = "yes")
438
439dnl ===========================================================================
440dnl ``Orthogonal Features''
441dnl ===========================================================================
442
443dnl ---------------------------------------------------------------------------
444dnl Default handling of strip chopping support.
445dnl ---------------------------------------------------------------------------
446
447AC_ARG_ENABLE(strip-chopping,
448 AS_HELP_STRING([--disable-strip-chopping],
449 [disable support for strip chopping (whether or not to convert single-strip uncompressed images to mutiple strips of specified size to reduce memory usage)]),
450 [HAVE_STRIPCHOP=$enableval], [HAVE_STRIPCHOP=yes])
451AC_ARG_WITH(default-strip-size,
452 AS_HELP_STRING([--with-default-strip-size=SIZE],
453 [default size of the strip in bytes (when strip chopping enabled) [[default=8192]]]),,)
454
455if test "$HAVE_STRIPCHOP" = "yes" \
456 -a "x$with_default_strip_size" != "xno"; then
457 AC_DEFINE(STRIPCHOP_DEFAULT,TIFF_STRIPCHOP,[Support strip chopping (whether or not to convert single-strip uncompressed images to mutiple strips of specified size to reduce memory usage)])
458
459 if test "x$with_default_strip_size" = "x" \
460 -o "x$with_default_strip_size" = "xyes"; then
461 with_default_strip_size="8192"
462 fi
463
464 AC_DEFINE_UNQUOTED(STRIP_SIZE_DEFAULT,$with_default_strip_size,[Default size of the strip in bytes (when strip chopping enabled)])
465
466fi
467
468dnl ---------------------------------------------------------------------------
469dnl Default subifd support.
470dnl ---------------------------------------------------------------------------
471AC_DEFINE(SUBIFD_SUPPORT,1,[Enable SubIFD tag (330) support])
472
473dnl ---------------------------------------------------------------------------
474dnl Default handling of ASSOCALPHA support.
475dnl ---------------------------------------------------------------------------
476
477AC_ARG_ENABLE(extrasample-as-alpha,
478 AS_HELP_STRING([--disable-extrasample-as-alpha],
479 [the RGBA interface will treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many packages produce RGBA files but don't mark the alpha properly]),
480 [HAVE_EXTRASAMPLE_AS_ALPHA=$enableval],
481 [HAVE_EXTRASAMPLE_AS_ALPHA=yes])
482
483if test "$HAVE_EXTRASAMPLE_AS_ALPHA" = "yes" ; then
484 AC_DEFINE(DEFAULT_EXTRASAMPLE_AS_ALPHA, 1,
485 [Treat extra sample as alpha (default enabled). The RGBA interface will treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many packages produce RGBA files but don't mark the alpha properly.])
486fi
487
488dnl ---------------------------------------------------------------------------
489dnl Default handling of YCbCr subsampling support.
490dnl See Bug 168 in Bugzilla, and JPEGFixupTestSubsampling() for details.
491dnl ---------------------------------------------------------------------------
492
493AC_ARG_ENABLE(check-ycbcr-subsampling,
494 AS_HELP_STRING([--disable-check-ycbcr-subsampling],
495 [disable picking up YCbCr subsampling info from the JPEG data stream to support files lacking the tag]),
496 [CHECK_JPEG_YCBCR_SUBSAMPLING=$enableval],
497 [CHECK_JPEG_YCBCR_SUBSAMPLING=yes])
498
499if test "$CHECK_JPEG_YCBCR_SUBSAMPLING" = "yes" ; then
500 AC_DEFINE(CHECK_JPEG_YCBCR_SUBSAMPLING, 1,
501 [Pick up YCbCr subsampling info from the JPEG data stream to support files lacking the tag (default enabled).])
502fi
503
504dnl ---------------------------------------------------------------------------
505
506AC_SUBST(LIBDIR)
507
508AC_CONFIG_HEADERS([libtiff/tif_config.h libtiff/tiffconf.h])
509
510AC_CONFIG_FILES([Makefile \
511 contrib/Makefile \
512 contrib/acorn/Makefile \
513 contrib/addtiffo/Makefile \
514 contrib/dbs/Makefile \
515 contrib/dbs/xtiff/Makefile \
516 contrib/iptcutil/Makefile \
517 contrib/mac-cw/Makefile \
518 contrib/mac-mpw/Makefile \
519 contrib/mfs/Makefile \
520 contrib/ojpeg/Makefile \
521 contrib/pds/Makefile \
522 contrib/ras/Makefile \
523 contrib/stream/Makefile \
524 contrib/tags/Makefile \
525 contrib/win_dib/Makefile \
526 html/Makefile \
527 html/images/Makefile \
528 html/man/Makefile \
529 libtiff/Makefile \
530 man/Makefile \
531 port/Makefile \
532 test/Makefile \
533 tools/Makefile])
534AC_OUTPUT
535
536dnl ---------------------------------------------------------------------------
537dnl Display configuration status
538dnl ---------------------------------------------------------------------------
539
540LOC_MSG()
541LOC_MSG([Libtiff is now configured for ${host}])
542LOC_MSG()
543LOC_MSG([ Installation directory: ${prefix}])
544LOC_MSG([ Documentation directory: ${LIBTIFF_DOCDIR}])
545LOC_MSG([ C compiler: ${CC} ${CFLAGS}])
546LOC_MSG([ C++ compiler: ${CXX} ${CXXFLAGS}])
547LOC_MSG([ Enable runtime linker paths: ${HAVE_RPATH}])
548LOC_MSG([ Support Microsoft Document Imaging: ${HAVE_MDI}])
549LOC_MSG()
550LOC_MSG([ Support for internal codecs:])
551LOC_MSG([ CCITT Group 3 & 4 algorithms: ${HAVE_CCITT}])
552LOC_MSG([ Macintosh PackBits algorithm: ${HAVE_PACKBITS}])
553LOC_MSG([ LZW algorithm: ${HAVE_LZW}])
554LOC_MSG([ ThunderScan 4-bit RLE algorithm: ${HAVE_THUNDER}])
555LOC_MSG([ NeXT 2-bit RLE algorithm: ${HAVE_NEXT}])
556LOC_MSG([ LogLuv high dynamic range encoding: ${HAVE_LOGLUV}])
557LOC_MSG()
558LOC_MSG([ Support for external codecs:])
559LOC_MSG([ ZLIB support: ${HAVE_ZLIB}])
560LOC_MSG([ Pixar log-format algorithm: ${HAVE_PIXARLOG}])
561LOC_MSG([ JPEG support: ${HAVE_JPEG}])
562LOC_MSG([ Old JPEG support: ${HAVE_OJPEG}])
563LOC_MSG()
564LOC_MSG([ C++ support: ${HAVE_CXX}])
565LOC_MSG()
566LOC_MSG([ OpenGL support: ${HAVE_OPENGL}])
567LOC_MSG()
568