summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-09-10 17:33:59 +1000
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>2015-09-10 17:33:59 +1000
commitc6383bf90bbe96c413122f823fc7f8f735ee47fa (patch)
tree093de0a603b574152391809404c11aa9610792ad /configure.ac
parent98be93d6d7f8a72861de7444a8356e8d1abf6bb0 (diff)
downloadtor-c6383bf90bbe96c413122f823fc7f8f735ee47fa.tar.gz
tor-c6383bf90bbe96c413122f823fc7f8f735ee47fa.zip
Use : rather than /bin/true in configure.ac
Some platforms have true at different locations, like /usr/bin/true.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index eacb60e4b8..bf818ac4eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -639,7 +639,7 @@ AC_TRY_COMPILE([
#error "too old"
#endif
], [],
- [ /bin/true ],
+ [ : ],
[ AC_ERROR([OpenSSL is too old. We require 1.0.0 or later. You can specify a path to a newer one with --with-openssl-dir.]) ])
AC_CHECK_MEMBERS([struct ssl_method_st.get_cipher_by_char], , ,
@@ -1070,7 +1070,7 @@ AC_CHECK_SIZEOF(pid_t)
AC_CHECK_TYPES([uint, u_char, ssize_t])
-AC_PC_FROM_UCONTEXT([/bin/true])
+AC_PC_FROM_UCONTEXT([:])
dnl used to include sockaddr_storage, but everybody has that.
AC_CHECK_TYPES([struct in6_addr, struct sockaddr_in6, sa_family_t], , ,