]> git.sesse.net Git - vlc/commitdiff
Don't use Hal elsewhere than Linux
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 21 Sep 2005 17:11:02 +0000 (17:11 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 21 Sep 2005 17:11:02 +0000 (17:11 +0000)
configure.ac

index 81ae4fd35514dc063d7f523acad38fca4733ef5e..234276177d0e8a78a4605ec06b6d3c5515c5f41e 100644 (file)
@@ -709,7 +709,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}" = "linux"
 then
   PKG_CHECK_MODULES(HAL, hal >= 0.2.97,
     [AC_DEFINE(HAVE_HAL, [], [Define if you have the HAL library])