configure: fix non-portable "==" tests
This commit is contained in:
committed by
Steffen Jaeckel
parent
70a908e18b
commit
a60d2ea19d
@@ -123,7 +123,7 @@ if test x"$have_va_copy$have___va_copy" = x"nono"; then
|
|||||||
AC_DEFINE([VA_LIST_IS_ARRAY], [1],[Define if va_list is an array type])])
|
AC_DEFINE([VA_LIST_IS_ARRAY], [1],[Define if va_list is an array type])])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$enable_tls" != xno -a "x$with_gnutls" == xyes; then
|
if test "x$enable_tls" != xno -a "x$with_gnutls" = xyes; then
|
||||||
PKG_CHECK_MODULES([gnutls], [gnutls],
|
PKG_CHECK_MODULES([gnutls], [gnutls],
|
||||||
[PC_REQUIRES="gnutls ${PC_REQUIRES}"],
|
[PC_REQUIRES="gnutls ${PC_REQUIRES}"],
|
||||||
[AC_CHECK_HEADER([gnutls/gnutls.h],
|
[AC_CHECK_HEADER([gnutls/gnutls.h],
|
||||||
@@ -133,7 +133,7 @@ if test "x$enable_tls" != xno -a "x$with_gnutls" == xyes; then
|
|||||||
],
|
],
|
||||||
[AC_MSG_ERROR([gnutls not found; gnutls required])]
|
[AC_MSG_ERROR([gnutls not found; gnutls required])]
|
||||||
)])
|
)])
|
||||||
elif test "x$enable_tls" != xno -a "x$with_schannel" == xyes; then
|
elif test "x$enable_tls" != xno -a "x$with_schannel" = xyes; then
|
||||||
if test "x$PLATFORM" != xwin32; then
|
if test "x$PLATFORM" != xwin32; then
|
||||||
AC_MSG_ERROR([schannel is only supported on Windows])
|
AC_MSG_ERROR([schannel is only supported on Windows])
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user