From f2fa24b418f407bd94074b0988e3e5307e781bff Mon Sep 17 00:00:00 2001 From: Ryo ONODERA Date: Thu, 23 Jan 2014 21:36:22 +0900 Subject: [PATCH] Avoid bash way, improve posix shell portability --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 011cd14b..df1f3c67 100644 --- a/configure.ac +++ b/configure.ac @@ -462,11 +462,11 @@ if test "x$with_libcares" = "xyes"; then fi use_md="" -if test "x$have_appletls" == "xyes"; then +if test "x$have_appletls" = "xyes"; then use_md="apple" AC_DEFINE([USE_APPLE_MD], [1], [What message digest implementation to use]) else - if test "x$have_wintls" == "xyes"; then + if test "x$have_wintls" = "xyes"; then use_md="windows" AC_DEFINE([USE_WINDOWS_MD], [1], [What message digest implementation to use]) else @@ -491,7 +491,7 @@ else fi # Define variables based on the result of the checks for libraries. -if test "x$have_appletls" = "xyes" || test "x$have_wintls" == "xyes" || test "x$have_libgnutls" = "xyes" || test "x$have_openssl" = "xyes"; then +if test "x$have_appletls" = "xyes" || test "x$have_wintls" = "xyes" || test "x$have_libgnutls" = "xyes" || test "x$have_openssl" = "xyes"; then have_ssl="yes" AC_DEFINE([ENABLE_SSL], [1], [Define to 1 if ssl support is enabled.]) AM_CONDITIONAL([ENABLE_SSL], true)