configure: respect the --dest-os flag consistently
authorNathan Rajlich <nathan@tootallnate.net>
Tue, 21 May 2013 16:26:42 +0000 (09:26 -0700)
committerNathan Rajlich <nathan@tootallnate.net>
Wed, 22 May 2013 01:38:11 +0000 (18:38 -0700)
commit99b737bd60a5c3c4e0569d7c24fae0326fda548d
tree7b365c48180b1ec9f3e403891fc66031874ee7ca
parenta846d9388cbdf298f17b341d0ed669c1852185a8
configure: respect the --dest-os flag consistently

Consider a user on his Mac, who wants to cross-compile for his Linux ARM device:

    ./configure --dest-cpu=arm --dest-os=linux

Before this patch, for example, DTrace probes would incorrectly attempt to be
enabled because the configure script is running on a MacOS machine, even though
we're trying to compile a binary for `linux`.

With this patch, the `--dest-os` flag is respected throughout the configure
script, thus leaving DTrace probes disabled in this cross-compiling scenario.
configure