fix handling of target vs host in autoconf
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
the configure.ac handling of target/host is incorrect. you should delete these
lines:
AC_CANONICAL_BUILD
AC_CANONICAL_TARGET
the "host" in autoconf terms is where the code will be run, not the "target".
then change $target_cpu to $host_cpu in the few places it gets used.
further, the code currently runs `uname` to figure out the os. please use
$host_os instead as autoconf will set that up for you.
Original issue reported on code.google.com by vapier@gmail.com
on 27 Nov 2012 at 6:57
GoogleCodeExporter commented
Fixed as suggested.
Original comment by nick.j.s...@gmail.com
on 11 Feb 2014 at 9:18
- Changed state: Fixed