Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libgdiplus: remove unnecessary explicit dependencies
- Loading branch information
1 parent
5865a21
commit 4fd00ff
Showing
2 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
Remove explicit dependency on zlib. | ||
It is unnecessary. | ||
--- configure.orig 2012-01-31 10:28:27.000000000 -0700 | ||
+++ configure 2019-02-20 04:27:45.000000000 -0700 | ||
@@ -12937,7 +12937,7 @@ | ||
$as_echo_n "(cached) " >&6 | ||
else | ||
ac_check_lib_save_LIBS=$LIBS | ||
-LIBS="-ltiff -ljpeg -lz -lm $LIBS" | ||
+LIBS="-ltiff -ljpeg $LIBS" | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
|
||
@@ -12970,7 +12970,7 @@ | ||
if test "x$ac_cv_lib_tiff_TIFFWriteScanline" = xyes; then : | ||
ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | ||
if test "x$ac_cv_header_tiffio_h" = xyes; then : | ||
- TIFF='tiff'; LIBTIFF='-ltiff -ljpeg -lz'; tiff_ok=yes | ||
+ TIFF='tiff'; LIBTIFF='-ltiff -ljpeg'; tiff_ok=yes | ||
else | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5 | ||
$as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;} | ||
@@ -12984,7 +12984,7 @@ | ||
$as_echo_n "(cached) " >&6 | ||
else | ||
ac_check_lib_save_LIBS=$LIBS | ||
-LIBS="-ltiff34 -lz -lm $LIBS" | ||
+LIBS="-ltiff34 $LIBS" | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
|
||
@@ -13017,7 +13017,7 @@ | ||
if test "x$ac_cv_lib_tiff34_TIFFFlushData" = xyes; then : | ||
ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" | ||
if test "x$ac_cv_header_tiffio_h" = xyes; then : | ||
- TIFF='tiff'; LIBTIFF='-ltiff34 -ljpeg -lz'; tiff_ok=yes | ||
+ TIFF='tiff'; LIBTIFF='-ltiff34 -ljpeg'; tiff_ok=yes | ||
else | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5 | ||
$as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;} | ||
@@ -13202,7 +13202,7 @@ | ||
$as_echo_n "(cached) " >&6 | ||
else | ||
ac_check_lib_save_LIBS=$LIBS | ||
-LIBS="-lpng -lz -lm $LIBS" | ||
+LIBS="-lpng $LIBS" | ||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
/* end confdefs.h. */ | ||
|
||
@@ -13268,7 +13268,7 @@ | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5 | ||
$as_echo "$png_ok" >&6; } | ||
if test "$png_ok" = yes; then | ||
- PNG='png'; LIBPNG='-lpng -lz' | ||
+ PNG='png'; LIBPNG='-lpng' | ||
else | ||
as_fn_error but it is too old. See http://www.libpng.org/pub/png/libpng.html. "*** libpng12 found" "$LINENO" 5 | ||
fi |