summaryrefslogtreecommitdiff
blob: d0d74221fdb075ce2d1af15b96fb4633f4b053f3 (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-drivers-0.9.0.orig/configure.in libdbi-drivers-0.9.0/configure.in
--- libdbi-drivers-0.9.0.orig/configure.in	2013-03-11 23:41:05.000000000 +0000
+++ libdbi-drivers-0.9.0/configure.in	2013-08-29 15:52:57.632105403 +0000
@@ -165,14 +165,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=""