From b32653235a03d1edca3d5698a1dcbd6ea56e2fb0 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 21 Apr 2010 12:28:22 +0200 Subject: [PATCH] configure: Default to /lib64 as libdir for 64-bit builds, and use plain /lib for 32-bit builds. --- configure | 4 +++- configure.ac | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 93b12c8c70c..783b776d407 100755 --- a/configure +++ b/configure @@ -4123,7 +4123,9 @@ then enable_fonts=${enable_fonts:-no} enable_server=${enable_server:-no} enable_tools=${enable_tools:-no} - test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib32" +elif test "x$enable_win64" = "xyes" +then + test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5 diff --git a/configure.ac b/configure.ac index 4aa7cfd1d50..83b32402c47 100644 --- a/configure.ac +++ b/configure.ac @@ -192,7 +192,9 @@ then enable_fonts=${enable_fonts:-no} enable_server=${enable_server:-no} enable_tools=${enable_tools:-no} - test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib32" +elif test "x$enable_win64" = "xyes" +then + test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64" fi AC_CACHE_CHECK([for the directory containing the Wine tools], wine_cv_toolsdir,