bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openssh-2.9.9p2, AC_SYS_LARGEFILE, SCO, and HPUX


From: Paul Eggert
Subject: Re: openssh-2.9.9p2, AC_SYS_LARGEFILE, SCO, and HPUX
Date: Thu, 27 Sep 2001 23:38:13 -0700 (PDT)

> Date: Thu, 27 Sep 2001 14:02:39 -0700 (PDT)
> From: Tim Rice <address@hidden>
> 
> The problem on SCO (Open Server 3, aka. 3.2v4.2) is the sed scripts
> produced by autoconf make sed choke.
> The configure script worked fine on SCO Open Server 5
> 
> .....
> checking if your system defines WTMPX_FILE... no
> configure: creating ./config.status
> sed: command garbled: s,^[    ]*#[    ]*define[       ][      ]*\(\([^        
> (][^    (]*\)([^)]*)\)[         
> ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
> config.status: creating Makefile
> .....
> 
> If the autoconf testsuite.log is of any interest,
> I can e-mail it to you or grab it from
> ftp://ftp.multitalents.net/pub/testsuite.log
> http://www.multitalents.net/testsuite.log

This reminds me of the bug fix suggested by Philippe De Muyter in

http://mail.gnu.org/pipermail/bug-autoconf/2000-May/000413.html

Is there any reason why that bug fix wasn't installed?
(I'll CC: this to bug-autoconf to see.)

Can you please try the following shell script on the troublesome host?
You'll need to cut and paste, to get the exact set of tabs.  If the
first 'sed' fails, but the second one succeeds, it suggests that the
autoconf bug fix should be installed, and that it will fix your
problem.

   echo '#define x(y) z' | sed -n 's,^[         ]*#[    ]*define[       ][      
]*\(\([^        (][^    (]*\)([^)]*)\)[         
]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp'
   echo xxxxx
   echo '#define x(y) z' | sed -n 's,^[         ]*#[    ]*define[       ][      
]*\([^  (][^    (]*\)\(([^)]*)\)[       
]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp'

Here's what the output should look like for a host with a working 'sed':

   ${ac_dA}x${ac_dB}x(y)${ac_dC}z${ac_dD}
   xxxxx
   ${ac_dA}x${ac_dB}x(y)${ac_dC}z${ac_dD}

but my theory is that you'll get an error message instead.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]