Subject: bin/11318: eval bugs out on modern autoconf
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/26/2000 13:38:14
>Number:         11318
>Category:       bin
>Synopsis:       eval fails with work correctly with |
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 26 13:38:01 PDT 2000
>Originator:     Love <>
>Release:        1.5H
	Stacken Computer Club
System: NetBSD 1.5H NetBSD 1.5H (NUTCRACKER) #2: Tue Oct 24 19:07:02 CEST 2000 i386

	eval failes inside config.guess in that is generated from
	a configure that comes from a autoconf-current. heimdal uses
	such a generated configure.
	The following statements fails on 1.5H, but works on 1.5_ALPHA2, 
	solaris8 and OSF/1. So I think it have to do with the new expr.

expr X"lib/roken/Makefile" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     X"lib/roken/Makefile" : 'X\(//\)[^/]' \| \
     X"lib/roken/Makefile" : 'X\(//\)$' \| \
     X"lib/roken/Makefile" : 'X\(/\)' \| \
     .   : '\(.\)'

	This should produce "lib/roken" (w/o quotes).

	Note that 

expr X"lib/roken/Makefile" : 'X\(.*[^/]\)//*[^/][^/]*/*$'

	does the right thing, so I think that the | somehow do the
	wrong thing.

	No clue.