diff options
author | cypherpunks <cypherpunks@torproject.org> | 2015-11-26 13:18:40 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-11-26 09:30:50 -0500 |
commit | 4e3e5264938e8d2ea2f7c27005baf8e074e098e9 (patch) | |
tree | 77257fc3cd091c559332dbf2c84bbf621ca36f45 /configure.ac | |
parent | e5754c42d124549b3fd8e8d7c11d4dde3b5acec1 (diff) | |
download | tor-4e3e5264938e8d2ea2f7c27005baf8e074e098e9.tar.gz tor-4e3e5264938e8d2ea2f7c27005baf8e074e098e9.zip |
Quote variables in case they contain spaces
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 82b933abc0..0530d77116 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 |