All, I'm attempting to generate a patch for 3.0.2p1. This patch will modify the configure script (and another file); I would like to do it via the configure.ac file. However, when I run 'autoconf ./configure.ac > ./configure.new', I get an unuseable ./configure.new script; both with and without my patch applied (including from a freshly unpacked tarball). Here is the error: [dl at spacebrain openssh-3.0.2p1]$ ./configure.new loading cache ./config.cache ./configure.new: line 606: syntax error near unexpected token `AC_CONFIG_SRCDIR(ssh.c)' ./configure.new: line 606: `AC_CONFIG_SRCDIR(ssh.c)' Now, I'm guessing that I screwed something up (i'm not terribly familular with autoconf and friends). Any help you could give me would be appriciated.... Also, while I'm at it, is the proper way to submit a patch to OpenSSH to create a 'diff -u' of the two trees? Thanks, --dl -------------------------------------------------------------------------------- That machine has got to be destroyed! --------------------------------------------------------------------------------
Make sure you have 2.5x or above autoconf package. - Ben On Fri, 21 Dec 2001, download (Jim Prewett) wrote:> All, > > I'm attempting to generate a patch for 3.0.2p1. This patch will modify > the configure script (and another file); I would like to do it via the > configure.ac file. > > However, when I run 'autoconf ./configure.ac > ./configure.new', I get an > unuseable ./configure.new script; both with and without my patch > applied (including from a freshly unpacked tarball). Here is the error: > > [dl at spacebrain openssh-3.0.2p1]$ ./configure.new > loading cache ./config.cache > ./configure.new: line 606: syntax error near unexpected token > `AC_CONFIG_SRCDIR(ssh.c)' > ./configure.new: line 606: `AC_CONFIG_SRCDIR(ssh.c)' > > Now, I'm guessing that I screwed something up (i'm not terribly familular > with autoconf and friends). Any help you could give me would be > appriciated.... > > Also, while I'm at it, is the proper way to submit a patch to OpenSSH to > create a 'diff -u' of the two trees? > > Thanks, > --dl > > -------------------------------------------------------------------------------- > That machine has got to be destroyed! > -------------------------------------------------------------------------------- > >
On Fri, 21 Dec 2001, download (Jim Prewett) wrote:> All, > > I'm attempting to generate a patch for 3.0.2p1. This patch will modify > the configure script (and another file); I would like to do it via the > configure.ac file. > > However, when I run 'autoconf ./configure.ac > ./configure.new', I get an > unuseable ./configure.new script; both with and without my patch > applied (including from a freshly unpacked tarball). Here is the error:I recreate configure by running "autoheader ; autoconf" in the source directory (with no additional arguments). -d -- | By convention there is color, \\ Damien Miller <djm at mindrot.org> | By convention sweetness, By convention bitterness, \\ www.mindrot.org | But in reality there are atoms and space - Democritus (c. 400 BCE)