patch-configure 909 B

1234567891011121314151617181920212223242526
  1. --- dillo-2.2.orig/configure 2010-02-11 11:19:59.000000000 +0100
  2. +++ dillo-2.2/configure 2011-03-28 02:30:04.373370428 +0200
  3. @@ -5830,11 +5830,6 @@ typedef unsigned char bool_t;
  4. _______EOF
  5. -if test "`$CPP -v < /dev/null 2>&1 | grep '/usr/local/include' 2>&1`" = ""; then
  6. - CPPFLAGS="$CPPFLAGS -I/usr/local/include"
  7. - LDFLAGS="$LDFLAGS -L/usr/local/lib"
  8. -fi
  9. -
  10. for ac_func in gethostbyname
  11. do :
  12. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  13. @@ -6215,9 +6210,9 @@ if test "x$enable_png" = "xyes"; then
  14. $as_echo_n "checking for libpng-config... " >&6; }
  15. if test -z "$PNG_CONFIG"; then
  16. - PNG_CONFIG=`which libpng12-config`
  17. + PNG_CONFIG=`which libpng-config`
  18. if test -z "$PNG_CONFIG"; then
  19. - PNG_CONFIG=`which libpng-config`
  20. + PNG_CONFIG=`which libpng15-config`
  21. fi
  22. if test -z "$PNG_CONFIG"; then
  23. PNG_CONFIG=`which libpng10-config`