]> granicus.if.org Git - curl/commitdiff
acinclude.m4: fix test for default CA cert bundle/path
authorMichael Osipov <1983-01-06@gmx.net>
Thu, 30 Apr 2015 13:52:23 +0000 (15:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 30 Apr 2015 16:36:27 +0000 (18:36 +0200)
test(1) on HP-UX requires a single equals sign and fails with two.
Let's use one and make every OS happy.

acinclude.m4

index ca0186984b2e9599cf45b1991862adecf670d1d4..b394b901dc409bbf4052db502f57dfc3f55d2239 100644 (file)
@@ -2676,7 +2676,7 @@ AC_HELP_STRING([--without-ca-path], [Don't use a default CA path]),
     AC_DEFINE_UNQUOTED(CURL_CA_PATH, "$capath", [Location of default ca path])
     AC_MSG_RESULT([$capath (capath)])
   fi
-  if test "x$ca" == "xno" && test "x$capath" == "xno"; then
+  if test "x$ca" = "xno" && test "x$capath" = "xno"; then
     AC_MSG_RESULT([no])
   fi
 ])