summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Luca Petrucci2023-05-07 23:59:43 +0200
committerGravatar Nikias Bassen2023-12-16 00:36:38 +0100
commitb18bfef130a43219694f67d433ac7776866082f6 (patch)
tree5fcf7fe6ddd6bcd1d822ca43e56379ee1e591b82
parenta7f993d45cf1516a2ed6c82fcddd9677984a65c8 (diff)
downloadlibimobiledevice-b18bfef130a43219694f67d433ac7776866082f6.tar.gz
libimobiledevice-b18bfef130a43219694f67d433ac7776866082f6.tar.bz2
Remove bashisms in configure.ac
-rw-r--r--configure.ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 8ba094a..8f24522 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,7 +165,7 @@ AC_ARG_WITH([mbedtls],
[Do not look for mbedtls])],
[use_mbedtls=$withval],
[use_mbedtls=no])
-if test "x$use_mbedtls" == "xyes"; then
+if test "x$use_mbedtls" = "xyes"; then
default_openssl=no
fi
AC_ARG_WITH([gnutls],
@@ -173,7 +173,7 @@ AC_ARG_WITH([gnutls],
[Do not look for GnuTLS])],
[use_gnutls=$withval],
[use_gnutls=no])
-if test "x$use_gnutls" == "xyes"; then
+if test "x$use_gnutls" = "xyes"; then
default_openssl=no
fi
AC_ARG_WITH([openssl],
@@ -182,7 +182,7 @@ AC_ARG_WITH([openssl],
[use_openssl=$withval],
[use_openssl=$default_openssl])
-if test "x$use_mbedtls" == "xyes"; then
+if test "x$use_mbedtls" = "xyes"; then
CACHED_CFLAGS="$CFLAGS"
conf_mbedtls_CFLAGS=""
if test -n "$mbedtls_INCLUDES"; then
@@ -209,7 +209,7 @@ if test "x$use_mbedtls" == "xyes"; then
ssl_requires=""
AC_SUBST(ssl_requires)
else
- if test "x$use_openssl" == "xyes"; then
+ if test "x$use_openssl" = "xyes"; then
pkg_req_openssl="openssl >= 0.9.8"
PKG_CHECK_MODULES(openssl, $pkg_req_openssl, have_openssl=yes, have_openssl=no)
if test "x$have_openssl" != "xyes"; then
@@ -225,7 +225,7 @@ else
AC_SUBST(ssl_requires)
fi
else
- if test "x$use_gnutls" == "xyes"; then
+ if test "x$use_gnutls" = "xyes"; then
pkg_req_gnutls="gnutls >= 2.2.0"
pkg_req_libtasn1="libtasn1 >= 1.1"
PKG_CHECK_MODULES(libgnutls, $pkg_req_gnutls)
@@ -246,9 +246,9 @@ else
fi
fi
fi
-AM_CONDITIONAL(HAVE_MBEDTLS, test "x$use_mbedtls" == "xyes")
-AM_CONDITIONAL(HAVE_OPENSSL, test "x$use_openssl" == "xyes")
-AM_CONDITIONAL(HAVE_GCRYPT, test "x$use_gnutls" == "xyes")
+AM_CONDITIONAL(HAVE_MBEDTLS, test "x$use_mbedtls" = "xyes")
+AM_CONDITIONAL(HAVE_OPENSSL, test "x$use_openssl" = "xyes")
+AM_CONDITIONAL(HAVE_GCRYPT, test "x$use_gnutls" = "xyes")
AC_ARG_ENABLE([wireless-pairing],
[AS_HELP_STRING([--disable-wireless-pairing],