summaryrefslogtreecommitdiff
blob: 2891a7839002c01c8ad6c2027b49148d791598a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"