patch-ext_tidy_config_m4 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. $OpenBSD: patch-ext_tidy_config_m4,v 1.1 2014/11/15 13:43:01 robert Exp $
  2. --- ext/tidy/config.m4.orig.port Wed Sep 26 16:44:16 2007
  3. +++ ext/tidy/config.m4 Sat Jun 18 12:14:51 2011
  4. @@ -14,12 +14,12 @@ if test "$PHP_TIDY" != "no"; then
  5. fi
  6. for i in $TIDY_SEARCH_DIRS; do
  7. - if test -f $i/include/tidy/tidy.h; then
  8. + if test -f $i/include/tidyp/tidyp.h; then
  9. TIDY_DIR=$i
  10. - TIDY_INCDIR=$i/include/tidy
  11. - elif test -f $i/include/tidy.h; then
  12. + TIDY_INCDIR=$i/include/tidyp
  13. + elif test -f $i/include/tidyp.h; then
  14. TIDY_DIR=$i
  15. - TIDY_INCDIR=$i/include
  16. + TIDY_INCDIR=$i/include/tidyp
  17. fi
  18. done
  19. @@ -29,10 +29,10 @@ if test "$PHP_TIDY" != "no"; then
  20. TIDY_LIBDIR=$TIDY_DIR/$PHP_LIBDIR
  21. - PHP_ADD_LIBRARY_WITH_PATH(tidy, $TIDY_LIBDIR, TIDY_SHARED_LIBADD)
  22. + PHP_ADD_LIBRARY_WITH_PATH(tidyp, $TIDY_LIBDIR, TIDY_SHARED_LIBADD)
  23. PHP_ADD_INCLUDE($TIDY_INCDIR)
  24. - PHP_CHECK_LIBRARY(tidy,tidyOptGetDoc,
  25. + PHP_CHECK_LIBRARY(tidyp,tidyOptGetDoc,
  26. [
  27. AC_DEFINE(HAVE_TIDYOPTGETDOC,1,[ ])
  28. ],[],[])