summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-09-30 15:52:33 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-09-30 16:35:18 +0100
commit274d9854729b37956a0f3916fa0e43fbd97155b3 (patch)
tree0a24fb456d5a832553cb823d4a208ff384e7649a
parent95c438cf85db2be7c0d457048b207af84ae8f9c8 (diff)
libgstcheck: Don't use character classes in sed expressions
Apparently the sed that ships on Solaris 10 doesn't support character classes like [:alnum:], so don't use them. We don't need them for the symbol names that are being extracted anyway. Also, use $(SED) instead of 'sed' Fixes: #596877
-rw-r--r--libs/gst/check/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gst/check/Makefile.am b/libs/gst/check/Makefile.am
index 8d39c95737..70b2f5f1da 100644
--- a/libs/gst/check/Makefile.am
+++ b/libs/gst/check/Makefile.am
@@ -87,19 +87,19 @@ LIBGSTCHECK_EXPORTED_FUNCS = \
LIBGSTCHECK_EXPORTED_SYMBOLS = \
$(LIBGSTCHECK_EXPORTED_VARS) \
$(LIBGSTCHECK_EXPORTED_FUNCS)
print-check-symbols:
- CHECK_SYMS=`sed -n -e 's/^..*CK_EXPORT[[:space:]][[:space:]]*\([[:alnum:]_][[:alnum:]_]*\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \
+ CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9A-Za-z]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \
for s in $$CHECK_SYMS; do \
echo $$s; \
done;
$(SYMBOLS_FILE):
- CHECK_SYMS=`sed -n -e 's/^..*CK_EXPORT[[:space:]][[:space:]]*\([[:alnum:]_][[:alnum:]_]*\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \
+ CHECK_SYMS=`$(SED) -n -e 's/^..*CK_EXPORT[ ]\{1,\}\([_0-9A-Za-z]\{1,\}\)..*$$/\1/p' @top_srcdir@/libs/gst/check/libcheck/check.h.in` ; \
rm -f $(SYMBOLS_FILE) 2>/dev/null; \
for s in $(LIBGSTCHECK_EXPORTED_SYMBOLS) $$CHECK_SYMS; do \
echo $$s >> $(SYMBOLS_FILE); \
done
if HAVE_INTROSPECTION