libdbi-0.9.0-doc-build-fix.patch 662 B

1234567891011121314151617181920212223
  1. diff -Nuar libdbi-0.9.0.orig/configure.in libdbi-0.9.0/configure.in
  2. --- libdbi-0.9.0.orig/configure.in 2013-08-29 15:34:54.883102666 +0000
  3. +++ libdbi-0.9.0/configure.in 2013-08-29 15:36:07.827905613 +0000
  4. @@ -201,14 +201,13 @@
  5. dnl See whether to build the docs
  6. dnl ==============================
  7. -ac_docs="YES"
  8. +ac_docs="yes"
  9. AC_ARG_ENABLE(docs,
  10. [ --disable-docs do not build and install the documentation.],
  11. - [ if test "$enable_docs" = "no"; then
  12. - ac_docs="NO"
  13. - fi])
  14. + [ ac_docs="$enableval" ],
  15. + [ ac_docs="no" ])
  16. -if test "$ac_docs" = "YES"; then
  17. +if test "$ac_docs" = "yes"; then
  18. docs_subdirs="doc"
  19. else
  20. docs_subdirs=""