pkgsrc-wip/coccinelle/patches/patch-configure.ac

20 lines
750 B
Plaintext

$NetBSD$
Do not use non-standard `==' test(1) operator.
--- configure.ac.orig 2019-09-25 09:19:54.000000000 +0000
+++ configure.ac
@@ -331,10 +331,10 @@ AS_IF([test "x$enable_pcre_syntax" != "x
],
[dnl
AC_CHECK_COCCI_EXTPKG([pcre]) dnl will set $enable_pcre to 'yes', 'no', or 'local'
- AS_IF([test "x$enable_pcre" == "xyes"],
+ AS_IF([test "x$enable_pcre" = "xyes"],
[dnl
AC_MSG_CHECKING([if pcre depends on bytes])
- AS_IF([test "x`$OCAMLFIND query -r -format '%p' pcre 2>/dev/null | grep bytes`" == "xbytes"],
+ AS_IF([test "x`$OCAMLFIND query -r -format '%p' pcre 2>/dev/null | grep bytes`" = "xbytes"],
[dnl
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([if bytes is an actual module])