Rev: nettle/ChangeLog:1.234
Rev: nettle/configure.ac:1.50
environment of run-tests.
* configure.ac (EMULATOR): New substituted variable. Set to wine
- or wine64 when compiling for windows, otherwise empty.
+ or wine64 when cross compiling for windows, otherwise empty.
* config.make.in (EMULATOR): Set from autoconf value.
LIBHOGWEED_FORLINK='cyghogweed-$(LIBHOGWEED_MAJOR)-$(LIBHOGWEED_MINOR).dll'
;;
esac
- # FIXME: Support native compilation using mingw on windows.
- case "$ABI" in
- 64)
- EMULATOR=wine64
- ;;
- *)
- EMULATOR=wine
- ;;
- esac
+ if test "x$cross_compiling" = xyes ; then
+ case "$ABI" in
+ 64)
+ EMULATOR=wine64
+ ;;
+ *)
+ EMULATOR=wine
+ ;;
+ esac
+ fi
LIBNETTLE_SONAME=''
LIBNETTLE_FILE='libnettle.dll.a'
LIBNETTLE_FILE_SRC='$(LIBNETTLE_FILE)'