[PATCH v2] configure: Provide configure option for 64-bit installations.

Adhir Ramjiawan adhirramjiawan0 at gmail.com
Mon May 11 14:18:32 CDT 2020


configure should provide hints of checking dependencies where possible
when running on 64-bit platforms.

Signed-off-by: Adhir Ramjiawan <adhirramjiawan0 at gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 3e05113..4229578 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,7 +147,7 @@ case $host in
       CXX="$CXX -m32"
       AC_CACHE_CHECK([whether $CC works], wine_cv_cc_m32,
           [AC_LINK_IFELSE([AC_LANG_PROGRAM()],[wine_cv_cc_m32=yes],[wine_cv_cc_m32=no])])
-      test $wine_cv_cc_m32 != no || AC_MSG_ERROR([Cannot build a 32-bit program, you need to install 32-bit development libraries.])
+      test $wine_cv_cc_m32 != no || AC_MSG_ERROR([Cannot build a 32-bit program, you need to install 32-bit development libraries. For 64-bit installation run with --enable-win64.])
       host_cpu="i386"
       notice_platform="32-bit "
       AC_SUBST(TARGETFLAGS,"-m32")
-- 
2.17.1




More information about the wine-devel mailing list