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