OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../apr-util/apr-util.conf
  5. # Copyright (C) 2006 - 2011 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. # APR is mandatory, so no additional test needed.
  16. pkgprefix -t apr
  17. var_append extraconfopt " " "--with-apr=$root/$( pkgprefix apr )"
  18. # use glibc iconv instead of apriconv
  19. if pkginstalled glibc; then
  20. var_append extraconfopt " " "--with-iconv=$root/usr"
  21. fi
  22. # use expat when it is installed.
  23. if pkginstalled expat; then
  24. pkgprefix -t expat
  25. var_append extraconfopt " " "--with-expat=$root/$( pkgprefix expat )"
  26. fi
  27. # use (open)ldap when installed.
  28. if pkginstalled openldap; then
  29. pkgprefix -t openldap
  30. var_append extraconfopt " " "--with-ldap"
  31. var_append extraconfopt " " "--with-ldap-include=$root$( pkgprefix includedir openldap )"
  32. var_append extraconfopt " " "--with-ldap-lib=$root$( pkgprefix libdir openldap )"
  33. # configure script wrongly chooses "rebind_proc_style=two" if openldap is detected
  34. var_append configcache ' ' "apu_has_ldap_openldap=1"
  35. var_append configcache ' ' "ac_cv_ldap_set_rebind_proc_style=three"
  36. fi
  37. if pkginstalled bdb; then
  38. var_append extraconfopt ' ' '--with-dbm=db44'
  39. var_append extraconfopt ' ' "--with-berkeley-db=`pkgprefix includedir bdb`"
  40. fi
  41. # fix .la files in combination with libsuff.patch
  42. export libsuff=${libdir##*/lib}