1
0

001-compile.patch 1.1 KB

1234567891011121314151617181920212223242526272829
  1. --- a/configure
  2. +++ b/configure
  3. @@ -827,7 +827,7 @@ sysconfdir='${prefix}/etc'
  4. sharedstatedir='${prefix}/com'
  5. localstatedir='${prefix}/var'
  6. includedir='${prefix}/include'
  7. -oldincludedir='/usr/include'
  8. +oldincludedir='${prefix}/usr/include'
  9. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  10. infodir='${datarootdir}/info'
  11. htmldir='${docdir}'
  12. @@ -5265,7 +5265,7 @@ $as_echo_n "checking for zlib... " >&6;
  13. # Check whether --with-zlib was given.
  14. if test "${with_zlib+set}" = set; then :
  15. withval=$with_zlib; # check for header & func (in library) in given prefix
  16. - CPPFLAGS="${CPPFLAGS} -I${withval}/include"
  17. + CPPFLAGS="${CPPFLAGS}"
  18. if test "x$staticzlib" = "xtrue"; then
  19. LIBS="-Bstatic -L${withval} -lz -Bdynamic ${LIBS}"
  20. else
  21. @@ -7095,7 +7095,7 @@ $as_echo "#define ENABLE_NTLM /**/" >>co
  22. if test "${with_libiconv+set}" = set; then :
  23. withval=$with_libiconv; # check for header & func (in library) in given prefix
  24. if test "x$withval" != "x"; then
  25. - CPPFLAGS="${CPPFLAGS} -I${withval}/include"
  26. + CPPFLAGS="${CPPFLAGS}"
  27. LIBS="-L${withval}/lib -liconv ${LIBS}"
  28. else
  29. LIBS="-liconv ${LIBS}"