Hello Albert,

* Albert Chin wrote on Tue, Feb 08, 2011 at 08:45:13PM CET:
>   wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
>         $(AM_V_GEN)rm -f $@-t $@ && \
>         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
> 27:       sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
>               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
>               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
>               ...
>               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
>               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
>               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
> 128:        < $(srcdir)/wchar.in.h; \
> 
> So, 101 lines which causes sed to fail.
> 
> I suppose we need to require AC_PROG_SED and use $SED instead of sed
> accordingly?

gnulib has split such commands manually before, cf.  gnulib/modules/stdio.
AC_PROG_SED doesn't help if you don't have another sed there.

Cheers,
Ralf

Reply via email to