patch-configure 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- pcre++-0.9.5.orig/configure 2004-08-25 01:38:03.000000000 +0200
  2. +++ pcre++-0.9.5/configure 2014-03-17 20:07:03.000000000 +0100
  3. @@ -3844,7 +3844,7 @@ irix5* | irix6* | nonstopux*)
  4. ;;
  5. # This must be Linux ELF.
  6. -linux-gnu*)
  7. +linux-*)
  8. case $host_cpu in
  9. alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
  10. lt_cv_deplibs_check_method=pass_all ;;
  11. @@ -6598,7 +6598,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
  12. ;;
  13. # This must be Linux ELF.
  14. -linux-gnu*)
  15. +linux-*)
  16. version_type=linux
  17. need_lib_prefix=no
  18. need_version=no
  19. @@ -8612,7 +8612,7 @@ if test "x$with_pcre_include" = "x"; the
  20. CPPFLAGS="$CPPFLAGS -I/include"
  21. ;;
  22. *-*-linux*)
  23. - CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I/usr/include -I/usr/local/include"
  24. + CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
  25. ;;
  26. *-*-freebsd*)
  27. CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I/usr/local/include"
  28. @@ -8621,7 +8621,7 @@ if test "x$with_pcre_include" = "x"; the
  29. CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I$prefix/include -I/usr/local/include"
  30. ;;
  31. *)
  32. - CPPFLAGS="-I/usr/include -I/usr/local/include"
  33. + CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
  34. ;;
  35. esac
  36. fi