]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
double-quotes and changes file for 6506.
authorNick Mathewson <nickm@torproject.org>
Fri, 24 May 2013 18:43:57 +0000 (14:43 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 24 May 2013 18:43:57 +0000 (14:43 -0400)
changes/bug6506 [new file with mode: 0644]
configure.ac

diff --git a/changes/bug6506 b/changes/bug6506
new file mode 100644 (file)
index 0000000..4c6f490
--- /dev/null
@@ -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.
index 9a5d589b975d0380ed1c77675916411c5d8bf678..1e69ec48d2ef88da4c6f8fe4562779900dece941 100644 (file)
@@ -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.";