Fix POSIX error in configure.ac

POSIX shells use = rather than == for comparison.  This change fixes the
build on NetBSD.
This commit is contained in:
James Woodcock 2020-10-17 15:20:29 +02:00 committed by Nirgal Vourgère
parent a5e3e8a438
commit 6f566eeab8

View File

@ -195,7 +195,7 @@ AM_CONDITIONAL(ICONV, test "$am_cv_func_iconv" = "yes")
dnl Testing presence of pkg-config
AC_MSG_CHECKING([pkg-config m4 macros])
if test m4_ifdef([PKG_CHECK_MODULES], [yes], [no]) == yes; then
if test m4_ifdef([PKG_CHECK_MODULES], [yes], [no]) = yes; then
AC_MSG_RESULT([yes]);
else
AC_MSG_RESULT([no]);