Hi Rick, I think it is correct. That variable is also set when we are cross compiling. Cross-compile is the usual build method for windows binaries.
Best regards, Wouter On 24/06/16 11:25, Rick van Rein via Unbound-users wrote: > Hello, > > Should this in configure.ac... > >> # are we on MinGW? >> if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes" >> else >> if echo $target | grep mingw32 >/dev/null; then on_mingw="yes" >> else on_mingw="no"; fi >> fi > > ...have been... > >> # are we on MinGW? >> if uname -s 2>&1 | grep MINGW32 >/dev/null; then on_mingw="yes" >> else >> if echo $host | grep mingw32 >/dev/null; then on_mingw="yes" >> else on_mingw="no"; fi >> fi > > ...since you are not building a cross-compiler? > > > That's according to > > --host: In which system the generated program will run. > --build: In which system the program will be built. > --target: this option is only used to build a cross-compiling toolchain. > When the tool chain generates executable program, in which target system > the program will run. > > on > http://jingfenghanmax.blogspot.nl/2010/09/configure-with-host-target-and-build.html > > > Cheers, > Rick & Henri >
signature.asc
Description: OpenPGP digital signature
