bugzilla-daemon at mindrot.org
2006-Oct-18 22:13 UTC
[Bug 1251] grep incompatibility in configure
http://bugzilla.mindrot.org/show_bug.cgi?id=1251 Summary: grep incompatibility in configure Product: Portable OpenSSH Version: 4.4p1 Platform: PPC OS/Version: other Status: NEW Severity: minor Priority: P2 Component: Build system AssignedTo: bitbucket at mindrot.org ReportedBy: jeff.crutchfield at motorola.com The configure script's check for a compatible 'grep' fails when the one on my system apprears to be acceptable. My OS is LynxOS 4.0 and my grep version is... $ grep -V GNU e?grep, version 1.6 There are two issues why this fails. First, my grep does not support long options, so 'grep --version' on line 3169 fails. Then in the default case, the test "grep -e 'GREP$' -e '-(cannot match)-' ..." on line 3208 doesn't match. I found that my older version of grep appears to /AND/ all of the '-e' expressions where newer versions of grep /OR/ the '-e' expressions. I searched through the script and it doesn't appear to me that the behavior described above is utilized anywhere else. As a hack I changed line 3169 to "grep -V" and the configure script completed successfully. Also, I have installed openSSH 4.3p2 previously on this same platform and I didn't run into this issue. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2006-Nov-01 02:29 UTC
[Bug 1251] grep incompatibility in configure
http://bugzilla.mindrot.org/show_bug.cgi?id=1251 ------- Comment #1 from dtucker at zip.com.au 2006-11-01 13:29 ------- This appears to be something that autoconf 2.60 (which 4.4p1 uses) does that 2.59 (which 4.3x used) doesn't rather than a change in OpenSSH's configure.ac. I'm not sure if there's anything configure.ac can do about this, though. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.