]> git.sesse.net Git - vlc/commitdiff
Do not build hal and dbus for windows, they are linux only.
authorJean-Paul Saman <jpsaman@videolan.org>
Thu, 14 Aug 2008 07:12:30 +0000 (15:12 +0800)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 14 Aug 2008 10:56:08 +0000 (18:56 +0800)
configure.ac

index 3614f7ec9a81c6e11778e41127d4c46a4d5a2d03..a4a9cebaf7646602678e4e2ecdc370a7203ee05a 100644 (file)
@@ -869,7 +869,7 @@ dnl Check for hal
 AC_ARG_ENABLE(hal,
   [  --enable-hal            Linux HAL services discovery (default enabled)])
  
-if test "${enable_hal}" != "no"
+if test "${enable_hal}" != "no" -a "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
 then
   PKG_CHECK_MODULES(HAL, hal >= 0.5.0,
     [
@@ -887,7 +887,7 @@ AC_ARG_ENABLE(dbus,
   [  --enable-dbus           Linux D-BUS message bus system (default enabled)])
 case "${SYS}" in
     linux*|*bsd*)
-if test "${enable_dbus}" != "no"
+if test "${enable_dbus}" != "no" -a "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
 then
   dnl api stable dbus
   PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0.0,