|
Line 0
Link Here
|
|
|
1 |
--- configure.ac.orig 2009-02-24 21:09:08.163145301 +0100 |
| 2 |
+++ configure.ac 2009-02-24 21:09:15.297835756 +0100 |
| 3 |
@@ -146,7 +146,7 @@ |
| 4 |
|
| 5 |
if test "x$HAVE_PKG_CONFIG" = "xyes" |
| 6 |
then |
| 7 |
- PKG_CHECK_MODULES(PNG, libpng, HAVE_PNG=yes, HAVE_PNG=no) |
| 8 |
+ PKG_CHECK_MODULES(PNG, libpng12, HAVE_PNG=yes, HAVE_PNG=no) |
| 9 |
fi |
| 10 |
if test "x$HAVE_PNG" = "xno" |
| 11 |
then |
| 12 |
--- configure.orig 2009-02-24 21:07:42.167960243 +0100 |
| 13 |
+++ configure 2009-02-24 21:08:32.375712051 +0100 |
| 14 |
@@ -22779,12 +22779,12 @@ |
| 15 |
pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" |
| 16 |
else |
| 17 |
if test -n "$PKG_CONFIG" && \ |
| 18 |
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5 |
| 19 |
- ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 |
| 20 |
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng12\"") >&5 |
| 21 |
+ ($PKG_CONFIG --exists --print-errors "libpng12") 2>&5 |
| 22 |
ac_status=$? |
| 23 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 24 |
(exit $ac_status); }; then |
| 25 |
- pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null` |
| 26 |
+ pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12" 2>/dev/null` |
| 27 |
else |
| 28 |
pkg_failed=yes |
| 29 |
fi |
| 30 |
@@ -22797,12 +22797,12 @@ |
| 31 |
pkg_cv_PNG_LIBS="$PNG_LIBS" |
| 32 |
else |
| 33 |
if test -n "$PKG_CONFIG" && \ |
| 34 |
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng\"") >&5 |
| 35 |
- ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 |
| 36 |
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng12\"") >&5 |
| 37 |
+ ($PKG_CONFIG --exists --print-errors "libpng12") 2>&5 |
| 38 |
ac_status=$? |
| 39 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 40 |
(exit $ac_status); }; then |
| 41 |
- pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` |
| 42 |
+ pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12" 2>/dev/null` |
| 43 |
else |
| 44 |
pkg_failed=yes |
| 45 |
fi |
| 46 |
@@ -22821,9 +22821,9 @@ |
| 47 |
_pkg_short_errors_supported=no |
| 48 |
fi |
| 49 |
if test $_pkg_short_errors_supported = yes; then |
| 50 |
- PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng"` |
| 51 |
+ PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng12"` |
| 52 |
else |
| 53 |
- PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng"` |
| 54 |
+ PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng12"` |
| 55 |
fi |
| 56 |
# Put the nasty error message in config.log where it belongs |
| 57 |
echo "$PNG_PKG_ERRORS" >&5 |