[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HP-UX sed limited to 100 commands problematic for modules/wchar
From: |
Ralf Wildenhues |
Subject: |
Re: HP-UX sed limited to 100 commands problematic for modules/wchar |
Date: |
Tue, 8 Feb 2011 21:51:30 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
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 address@hidden $@ && \
> { 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