cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Applying patch to 7.8.1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Aug 2001 07:56:46 +0200 (MET DST)

On Tue, 21 Aug 2001, Jon Apostoles wrote:

[This reply is CC'ed to the curl mailing list, please keep further
discussions on this topic there!]

> I apply the patch you supplied, and I get the following:
>
> % patch --verbose < configure.in.diff
>
> Hunk #1 succeeded at 1.
> Hunk #2 succeeded at 305.
> Hmm... Ignoring the trailing garbage.
> done
>
> then when I run autoconf I get:
>
> configure.in:36: AC_PROG_CPP was called before AC_PROG_CC
> configure.in:185: warning cannot check for file existence when cross compiling
> configure.in:432: warning AC_TRY_RUN called without default to allow cross
> compiling
> autoconf: Undefined macros:
> configure.in:39:AC_SYS_LARGEFILE
> configure.in:4:AC_CONFIG_SRCDIR([lib/urldata.h])
> configure.in:560:AC_CONFIG_FIELS([Makefile \
>
> Any ideas as to what I could be doing wrong? Thanks!

It is alsmost certainly because you're using an older version of autoconf. If
you really *must* patch the configure.in file instead of the configure patch
that Troy suggested, you need at least autoconf 2.50 (I use 2.52 in my
development/release machine).

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2001-08-22