On Mon, 8 Sep 2014, Thorsten Glaser wrote:
> Sage Weil dixit:
> 
> >I'll apply the original patch (and backport) to start.  But making the 
> >build properly detect amd64 would be even better.  Right now we are 
> >testing whether `arch` = 'x86_64'.  What should we do to distinguish 
> >between an x86_64 and x32 build?
> 
> Mh okay.
> 
> if test x"$cpu" = x"x86_64" || test x"$cpu" = x"i386"; then
>       cat >conftest.c <<-'EOF'
>       #if defined(__x86_64__) && defined(__ILP32__)
>       #error x32
>       #endif
>       EOF
>       $CC -c conftest.c || cpu=x32
> fi

Grr, my attempts to add this to our configure.ac are failing when $CC is 
called.. any ideas?  It doesn't make much sense to me... it starts to 
complain about jni.h, which isn't mentioned until much later in 
configure.ac.  I think $CC isn't defined or something?  My autotools-fu is 
weak... :(

sage


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to