From: Jim Meyering <[email protected]>
* pkgconfig/Makefile.am (lib%.pc): Add extra quotes to avoid
triggering check for use of obsolescent @VAR@ notation.
---
pkgconfig/Makefile.am | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am
index d43a692..48897bf 100644
--- a/pkgconfig/Makefile.am
+++ b/pkgconfig/Makefile.am
@@ -42,10 +42,10 @@ target_PACKAGE = corosync.pc
lib%.pc: libtemplate.pc.in Makefile
rm -f $...@-t $@
sed \
- -e 's...@prefix@#$(exec_prefix)#g' \
- -e 's...@libdir@#$(libdir)#g' \
- -e 's...@libversion@#$(VERSION)#g' \
- -e 's...@lib@#'$(*:lib%=%)'#g' \
+ -e 's#@''pre...@#$(exec_prefix)#g' \
+ -e 's#@''lib...@#$(libdir)#g' \
+ -e 's#@''libvers...@#$(VERSION)#g' \
+ -e 's#@''l...@#'$(*:lib%=%)'#g' \
$< > $...@-t
chmod a-w $...@-t
mv $...@-t $@
@@ -53,11 +53,11 @@ lib%.pc: libtemplate.pc.in Makefile
%: %.in Makefile
rm -f $...@-t $@
sed \
- -e 's...@prefix@#$(exec_prefix)#g' \
- -e 's...@libdir@#$(libdir)#g' \
- -e 's...@libversion@#$(VERSION)#g' \
- -e 's...@corolcrsodir@#$(LCRSODIR)#g' \
- -e 's...@corosocketdir@#$(SOCKETDIR)#g' \
+ -e 's#@''pre...@#$(exec_prefix)#g' \
+ -e 's#@''lib...@#$(libdir)#g' \
+ -e 's#@''libvers...@#$(VERSION)#g' \
+ -e 's#@''corolcrso...@#$(LCRSODIR)#g' \
+ -e 's#@''corosocket...@#$(SOCKETDIR)#g' \
$< > $...@-t
chmod a-w $...@-t
mv $...@-t $@
--
1.6.3.1.135.g540c.dirty
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais