openssh-2.9.9p2, AC_SYS_LARGEFILE, SCO, and HPUX

Paul Eggert eggert at twinsun.com
Sat Sep 29 03:46:16 EST 2001


> From: Gert Doering <gert at greenie.muc.de>
> Date: Fri, 28 Sep 2001 11:41:40 +0200
> 
> > my theory is that you'll get an error message instead.
> So it is.

In that case, here is an (untested) patch to a recent Autoconf
snapshot that should fix the problem.

2001-09-28  Paul Eggert  <eggert at twinsun.com>

	* doc/autoconf.texi (Limitations of Usual Tools):
	Document that some older sed implementations can't handle
	nested parenthesization.

	* lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
	Don't use nested parenthesization.  This patch was originally
	suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
	but somehow it didn't get incorporated then.

diff -pru autoconf-fiy0/doc/autoconf.texi autoconf-fiy1/doc/autoconf.texi
--- autoconf-fiy0/doc/autoconf.texi	Thu Sep 27 12:17:00 2001
+++ autoconf-fiy1/doc/autoconf.texi	Fri Sep 28 10:19:26 2001
@@ -9129,6 +9129,9 @@ deletes only lines that contain the lite
 
 Anchors (@samp{^} and @samp{$}) inside groups are not portable.
 
+Nested parenthesization in patterns (e.g., @samp{\(\(a*\)b*)\)}) is not
+supported by some older @command{sed} implementations like SVR3.
+
 Nested groups are extremely portable, but there is at least one
 @command{sed} (System V/68 Base Operating System R3V7.1) that does not
 support it.
diff -pru autoconf-fiy0/lib/autoconf/status.m4 autoconf-fiy1/lib/autoconf/status.m4
--- autoconf-fiy0/lib/autoconf/status.m4	Wed Sep 26 14:50:10 2001
+++ autoconf-fiy1/lib/autoconf/status.m4	Fri Sep 28 10:25:32 2001
@@ -545,7 +545,7 @@ dnl Double quote for `[ ]' and `define'.
 s,[\\$`],\\&,g
 t clear
 : clear
-s,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
+s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
 t end
 s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 : end]



More information about the openssh-unix-dev mailing list