summaryrefslogtreecommitdiff
blob: c0818b9c295b49629487c3c2886627a403b0735d (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.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=""