Browse Source

double-quotes and changes file for 6506.

Nick Mathewson 12 years ago
parent
commit
e7134c2375
2 changed files with 6 additions and 2 deletions
  1. 4 0
      changes/bug6506
  2. 2 2
      configure.ac

+ 4 - 0
changes/bug6506

@@ -0,0 +1,4 @@
+  o Minor features (build):
+    - Detect a missing asciidoc, and warn the user about it, during
+      configure, rather than at build time. Fixes issue 6506. Patch
+      from Arlo Breault.

+ 2 - 2
configure.ac

@@ -1468,10 +1468,10 @@ AC_CONFIG_FILES([
         src/config/torrc.sample
 ])
 
-if test x$asciidoc = xtrue && test $ASCIIDOC = "none" ; then
+if test x$asciidoc = xtrue && test "$ASCIIDOC" = "none" ; then
   regular_mans=(doc/tor doc/tor-gencert doc/tor-resolve doc/torify)
   for file in $regular_mans ; do
-    if ! [[ -f $srcdir/$file.1.in ]] || ! [[ -f $srcdir/$file.html.in ]] ; then
+    if ! [[ -f "$srcdir/$file.1.in" ]] || ! [[ -f "$srcdir/$file.html.in" ]] ; then
       echo "==================================";
       echo;
       echo "You need asciidoc installed to be able to build the manpage.";