47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
$OpenBSD: patch-configure_in,v 1.1 2003/12/26 19:34:23 naddy Exp $
|
|
--- configure.in.orig 2002-03-27 16:59:52.000000000 +0100
|
|
+++ configure.in 2003-12-26 18:25:42.000000000 +0100
|
|
@@ -198,20 +198,6 @@ AC_CHECK_LIB(jpeg, jpeg_read_scanlines,
|
|
need_jpeg="yes"
|
|
])
|
|
|
|
-AC_CHECK_LIB(tiff, TIFFGetField,
|
|
-[
|
|
- out_lib="$out_lib -ltiff"
|
|
- echo "TLIB=-ltiff" >> make.conf
|
|
- echo "TIFFDEFINE=-DLOAD_TIF" >>make.conf
|
|
- echo "TIFFINC=" >> make.conf
|
|
- tiff="TIFF"
|
|
-],
|
|
-[
|
|
- echo "TLIB=" >> make.conf
|
|
- echo "TIFFDEFINE=" >>make.conf
|
|
- echo "TIFFINC=" >> make.conf
|
|
-])
|
|
-
|
|
|
|
AC_CHECK_LIB(z, inflate,
|
|
[
|
|
@@ -227,6 +213,21 @@ AC_CHECK_LIB(z, inflate,
|
|
])
|
|
|
|
|
|
+AC_CHECK_LIB(tiff, TIFFGetField,
|
|
+[
|
|
+ out_lib="$out_lib -ltiff -ljpeg"
|
|
+ echo "TLIB=-ltiff -ljpeg" >> make.conf
|
|
+ echo "TIFFDEFINE=-DLOAD_TIF" >>make.conf
|
|
+ echo "TIFFINC=" >> make.conf
|
|
+ tiff="TIFF"
|
|
+],
|
|
+[
|
|
+ echo "TLIB=" >> make.conf
|
|
+ echo "TIFFDEFINE=" >>make.conf
|
|
+ echo "TIFFINC=" >> make.conf
|
|
+], -ljpeg -lz)
|
|
+
|
|
+
|
|
AC_CHECK_LIB(png, png_get_valid,
|
|
[
|
|
echo "PNGDEFINE=-DLOAD_PNG" >>make.conf
|