mirror of https://github.com/aria2/aria2
Avoid bash way, improve posix shell portability
parent
542064c69b
commit
f2fa24b418
|
@ -462,11 +462,11 @@ if test "x$with_libcares" = "xyes"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
use_md=""
|
use_md=""
|
||||||
if test "x$have_appletls" == "xyes"; then
|
if test "x$have_appletls" = "xyes"; then
|
||||||
use_md="apple"
|
use_md="apple"
|
||||||
AC_DEFINE([USE_APPLE_MD], [1], [What message digest implementation to use])
|
AC_DEFINE([USE_APPLE_MD], [1], [What message digest implementation to use])
|
||||||
else
|
else
|
||||||
if test "x$have_wintls" == "xyes"; then
|
if test "x$have_wintls" = "xyes"; then
|
||||||
use_md="windows"
|
use_md="windows"
|
||||||
AC_DEFINE([USE_WINDOWS_MD], [1], [What message digest implementation to use])
|
AC_DEFINE([USE_WINDOWS_MD], [1], [What message digest implementation to use])
|
||||||
else
|
else
|
||||||
|
@ -491,7 +491,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Define variables based on the result of the checks for libraries.
|
# 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"
|
have_ssl="yes"
|
||||||
AC_DEFINE([ENABLE_SSL], [1], [Define to 1 if ssl support is enabled.])
|
AC_DEFINE([ENABLE_SSL], [1], [Define to 1 if ssl support is enabled.])
|
||||||
AM_CONDITIONAL([ENABLE_SSL], true)
|
AM_CONDITIONAL([ENABLE_SSL], true)
|
||||||
|
|
Loading…
Reference in New Issue