On Solaris the default sed program in the PATH may not work
very well. Attempt to find a better one with the AC_PROG_SED macro
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1131
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
# Checks for programs.
+AC_PROG_SED
AC_PROG_AWK
AC_PROG_CC
# Automake wants this for per-target CFLAGS
EXPORT_SYM = exported.sym
$(EXPORT_SYM): check.h.in
- sed -n -e 's/^..*CK_EXPORT[[:space:]][[:space:]]*\([[:alnum:]_][[:alnum:]_]*\)..*$$/\1/p' @top_srcdir@/src/check.h.in > $@
+ ${SED} -n -e 's/^..*CK_EXPORT[[:space:]][[:space:]]*\([[:alnum:]_][[:alnum:]_]*\)..*$$/\1/p' @top_srcdir@/src/check.h.in > $@
libcheck_la_DEPENDENCIES= $(EXPORT_SYM)
libcheck_la_LDFLAGS = -no-undefined -export-symbols $(EXPORT_SYM)