configure bug (was Re: OpenSSH_4.3p1, OpenSSL 0.9.8a 11 Oct 2005 on solaris 8/9)

Tim Rice tim at multitalents.net
Fri Feb 3 11:24:54 EST 2006


On Fri, 3 Feb 2006, Darren Tucker wrote:

> On Thu, Feb 02, 2006 at 11:07:57PM +0100, Corinna Vinschen wrote:
> [...]
> > I have found the cause.  It's sort of an autoconf problem.  The
> > OSSH_CHECK_HEADER_FOR_FIELD macro uses $EGREP.  The configure.ac
> > file does not explicitely test for egrep, but relies on a formerly
> > made egrep test.
> [...]
> > Another possible fix is to add an explicit test for egrep, which would
> > be the best solution probably.
> 
> Sigh.  So something like this ought to do it?

Yes that works. And a much more elegant solution than what I was
considering. Next time I'll read all my mail before diving into
a problem. ;-)

Good work Corinna.

> 
> Index: configure.ac
> ===================================================================
> RCS file: /var/cvs/openssh/configure.ac,v
> retrieving revision 1.323
> diff -u -p -r1.323 configure.ac
> --- configure.ac	2 Feb 2006 07:44:19 -0000	1.323
> +++ configure.ac	2 Feb 2006 22:49:29 -0000
> @@ -27,6 +27,7 @@ AC_PROG_AWK
>  AC_PROG_CPP
>  AC_PROG_RANLIB
>  AC_PROG_INSTALL
> +AC_PROG_EGREP
>  AC_PATH_PROG(AR, ar)
>  AC_PATH_PROG(CAT, cat)
>  AC_PATH_PROG(KILL, kill)
> 
> 

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net





More information about the openssh-unix-dev mailing list