mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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
This commit is contained in:
parent
95c438cf85
commit
274d985472
1 changed files with 2 additions and 2 deletions
|
@ -90,13 +90,13 @@ LIBGSTCHECK_EXPORTED_SYMBOLS = \
|
|||
$(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); \
|
||||
|
|
Loading…
Reference in a new issue