[Wine-patches] [1/3] configure: Fix handling --without-usb.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Дек 31 14:44:26 MSK 2008


Wine собирался с поддержкой USB при ./configure --without-usb
----------- следующая часть -----------
From bd04ea056f4fc061177bb2b3db00bf48a3ab31b0 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 31 Dec 2008 14:34:11 +0300
Subject: [PATCH] configure: Fix handling --without-usb.

---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 953100f..e8fef07 100644
--- a/configure.ac
+++ b/configure.ac
@@ -984,7 +984,7 @@ WINE_NOTICE_WITH(sane,[test "x$ac_cv_lib_soname_sane" = "x"],
 
 dnl **** Check for LIBUSB ****
 AC_SUBST(USBLIBS,"")
-if test "$ac_cv_header_usb_h" = "yes"
+if test "$ac_cv_header_usb_h" = "yes" -a "x$with_usb" != "xno"
 then
     AC_CHECK_LIB(usb, usb_init,
         [AC_DEFINE(HAVE_LIBUSB, 1, [Define if you have the libusb library and header])
-- 
1.6.0.2.GIT



Подробная информация о списке рассылки Wine-patches