[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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