diff -Nuar libdbi-0.9.0.orig/configure.in libdbi-0.9.0/configure.in --- libdbi-0.9.0.orig/configure.in 2013-08-29 15:34:54.883102666 +0000 +++ libdbi-0.9.0/configure.in 2013-08-29 15:36:07.827905613 +0000 @@ -201,14 +201,13 @@ dnl See whether to build the docs dnl ============================== -ac_docs="YES" +ac_docs="yes" AC_ARG_ENABLE(docs, [ --disable-docs do not build and install the documentation.], - [ if test "$enable_docs" = "no"; then - ac_docs="NO" - fi]) + [ ac_docs="$enableval" ], + [ ac_docs="no" ]) -if test "$ac_docs" = "YES"; then +if test "$ac_docs" = "yes"; then docs_subdirs="doc" else docs_subdirs=""