Esme Povirk (@madewokherd) commented about configure.ac:
fi fi
+dnl by default build twaindsm.dll with 64-Bit build and twain_32.dll with 32-Bit build +if test "x$enable_win64" = "xyes" ; +then if test "x$enable_twain_32" != "xyes" ; then + enable_twain_32="no"; + fi +else if test "x$enable_twaindsm" != "xyes" ; then + enable_twaindsm="no"; + fi +fi
This way of doing it won't work correctly when we're building multiple architectures in a single tree. I think this should be similar to enable_dpnsvr below. I still think that twaindsm should be provided on all architectures, though at the moment it's unclear to me where it should look for data sources on arm64. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9519#note_123300