From d504247bf7aedf80858a04b7c86be194390f4fd9 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 21 Aug 2019 14:36:01 +0100 Subject: [PATCH] sod.m4: The ACTION-IF-LIBRARY-FOUND should replace the default. This is the behaviour I documented, but I failed to update the code to match. --- sod.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sod.m4 b/sod.m4 index 372c14b..c90b7a3 100644 --- a/sod.m4 +++ b/sod.m4 @@ -49,8 +49,7 @@ AC_DEFUN([SOD_CHECK], SOD="echo >&2 \"Sod translator not found! Can't rebuild \\\`\$[]@'.\" && exit 2; \\#" fi PKG_CHECK_MODULES([SOD], [sod], - [AM_CFLAGS="$AM_CFLAGS $SOD_CFLAGS" - $1], + [m4_default([$1], [AM_CFLAGS="$AM_CFLAGS $SOD_CFLAGS"])], [$2])]) dnl ----- That's all, folks ------------------------------------------------- -- 2.11.0