On Thu, 2011 Oct 13 23:25+0200, Bruno Haible wrote: > > Gnulib attempts to target computer systems from this era, see > <https://www.gnu.org/software/gnulib/manual/html_node/Target-Platforms.html> > . NeXTstep had its highlight time from 1992 to 1995; that is way too > old for gnulib to support.
"Niche operating systems are generally unsupported by Gnulib, unless some of their developers or users contribute support to Gnulib." diff --git a/m4/absolute-header.m4 b/m4/absolute-header.m4 index b7276a3..baabb87 100644 --- a/m4/absolute-header.m4 +++ b/m4/absolute-header.m4 @@ -81,7 +81,10 @@ changequote(,) gl_dirsep_regex='/' ;; esac - gl_absolute_header_sed='\|'"${gl_dirsep_regex}"'$1|{ + dnl Older seds don't support '\#blah#{...}' + gl_absolute_header_sed='s,\([/.]\),\\\1,g' + gl_absolute_header_match=`echo "${gl_dirsep_regex}"'$1' | sed "$gl_absolute_header_sed"` + gl_absolute_header_sed="/${gl_absolute_header_match}/"'{ s|.*"\(.*'"${gl_dirsep_regex}"'$1\)".*|\1| s|^/[^/]|//&| p It's a fairly small and straightforward patch, and even adds escaping of the "." character in header filenames for free. I'd have expected pushback if major changes were needed, but this? > And the workaround for you is simple: Just install a version of GNU > sed 3.02 in your PATH, and you'll be done. Unfortunately, this isn't enough. The configure script does not search for a conforming sed, and setting SED has no effect because "sed" is invoked literally. I have to install the newer sed, and put its location at the head of PATH for it to be used instead of the old one. (Doing this with /usr/local/bin causes other breakage that I have yet to investigate.) > Your patch replaces 1 line of code with 4 lines of code and is the > kind of complexity we want to avoid if we can. Gnulib and Autoconf are already rife with checks and workarounds for broken system environments; dealing with this sort of complexity is the whole point of the exercise. --Daniel -- Daniel Richard G. || sk...@iskunk.org My ASCII-art .sig got a bad case of Times New Roman.