diff -Nuar libdbi-0.8.4.orig/configure.in libdbi-0.8.4/configure.in --- libdbi-0.8.4.orig/configure.in 2012-02-21 08:36:15.560231962 +0000 +++ libdbi-0.8.4/configure.in 2012-02-21 08:39:07.910615238 +0000 @@ -147,14 +147,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 dnl AC_PATH_PROGS(myjade, openjade jade) dnl if test "x$myjade" != "x"; then docs_subdirs="doc"