chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fafa09
)
sod.m4: The ACTION-IF-LIBRARY-FOUND should replace the default.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 21 Aug 2019 13:36:01 +0000
(14:36 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 21 Aug 2019 13:36:01 +0000
(14:36 +0100)
This is the behaviour I documented, but I failed to update the code to
match.
sod.m4
patch
|
blob
|
blame
|
history
diff --git
a/sod.m4
b/sod.m4
index 372c14bc071b4c3ce214752e41efb1b8e48894e1..c90b7a3740f842379c8eb1ad8ed5b038a5597214 100644
(file)
--- 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 -------------------------------------------------