[tor-commits] [tor/master] Quote variables in case they contain spaces

nickm at torproject.org nickm at torproject.org
Thu Nov 26 14:31:21 UTC 2015


commit 4e3e5264938e8d2ea2f7c27005baf8e074e098e9
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Thu Nov 26 13:18:40 2015 +0100

    Quote variables in case they contain spaces
---
 configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 82b933a..0530d77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -511,14 +511,14 @@ if test "$enable_static_libevent" = "yes"; then
      TOR_LIBEVENT_LIBS="$TOR_LIBDIR_libevent/libevent.a $STATIC_LIBEVENT_FLAGS"
    fi
 else
-     if test x$ac_cv_header_event2_event_h = "xyes"; then
+     if test "x$ac_cv_header_event2_event_h" = "xyes"; then
        AC_SEARCH_LIBS(event_new, [event event_core])
        AC_SEARCH_LIBS(evdns_base_new, [event event_extra])
 
-       if test $ac_cv_search_event_new != "none required"; then
+       if test "$ac_cv_search_event_new" != "none required"; then
          TOR_LIBEVENT_LIBS="$ac_cv_search_event_new"
        fi
-       if test $ac_cv_search_evdns_base_new != "none required"; then
+       if test "$ac_cv_search_evdns_base_new" != "none required"; then
          TOR_LIBEVENT_LIBS="$ac_cv_search_evdns_base_new $TOR_LIBEVENT_LIBS"
        fi
      else



More information about the tor-commits mailing list