xfs
[Top] [All Lists]

Re: PATCH: xfsprogs-1.3.1/configure.in - Cross Compilation

To: Grant Erickson <gerickson@xxxxxxxxxxx>
Subject: Re: PATCH: xfsprogs-1.3.1/configure.in - Cross Compilation
From: Nathan Scott <nathans@xxxxxxx>
Date: Sat, 4 Aug 2001 11:09:40 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.33.0108031028160.17629-100000@marathon>; from gerickso@brocade.com on Fri, Aug 03, 2001 at 10:31:44AM -0700
References: <Pine.GSO.4.33.0108031028160.17629-100000@marathon>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi,

On Fri, Aug 03, 2001 at 10:31:44AM -0700, Grant Erickson wrote:
> Below is a patch to allow the xfsprogs-1.3.1/configure script to work
> correctly (at least mostly correctly) when cross-compiling ...

Thanks for the patch - I tried it out with a local build and it
works just fine, but produces these warnings:

$ autoconf --version
Autoconf version 2.13
$ autoconf
$ ./configure
configure.in:187: warning: AC_TRY_RUN called without default to allow cross 
compiling
configure.in:188: warning: AC_TRY_RUN called without default to allow cross 
compiling
./configure
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
...[snip]...

Which is from here in your patch:

> +AC_CHECK_SIZEOF(long)
> +AC_CHECK_SIZEOF(char *)

I've made a couple of adjustments to work around this, and checked
the changes in - let me know if it still works as you expected.

thanks.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>