reassign 391248 ssh
tags 391248 + patch upstream
thanks

"Oliver Kurth" <[EMAIL PROTECTED]> writes:

> I am trying to compile openssh-4.3p2 (upstream). It requires a few
> changes in the configure script to cross-compile, so I need to run
> autoconf, but it also happens without these changes, after unpacking
> the tarball:
>
> $ autoconf
> $ ./configure
> checking for gcc... gcc
> ...
> checking for (overly) strict mkstemp... yes
> checking if openpty correctly handles controlling tty... yes
> ./configure: line 16385: syntax error near unexpected token `]]'
> ./configure: line 16385: `]])'
>
> I tried this on other (non-Debian) systems with autoconf versions 2.57,
> and it does not happen there.

At almost 4000 lines long, plus countless system-specific hacks,
the OpenSSH configure.ac is a horrible abuse of Autoconf that I
shudder even to look at.  Thus, I'm not surprised to report that
this is an upstream quoting bug.  Here's a fix:

diff -up /home/blp/tmp/openssh-4.3p2/configure.ac\~ 
/home/blp/tmp/openssh-4.3p2/configure.ac
--- /home/blp/tmp/openssh-4.3p2/configure.ac~   2006-02-08 03:11:06.000000000 
-0800
+++ /home/blp/tmp/openssh-4.3p2/configure.ac    2006-10-05 11:16:25.000000000 
-0700
@@ -1608,6 +1608,7 @@ main(void)
                        AC_MSG_RESULT(no)
                        AC_DEFINE(BROKEN_GETADDRINFO)
                ],
+               [
                        AC_MSG_RESULT(cross-compiling, assuming no)
                ]
        )

I'm reassigning this bug to OpenSSH.
-- 
Ben Pfaff 
email: [EMAIL PROTECTED]
web: http://benpfaff.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to