hsjung1305 / stressapptest

Automatically exported from code.google.com/p/stressapptest
Apache License 2.0
0 stars 0 forks source link

fix handling of target vs host in autoconf #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 9 years ago
Fixed as suggested.

Original comment by nick.j.s...@gmail.com on 11 Feb 2014 at 9:18