]> git.sesse.net Git - vlc/commitdiff
Fix the condition for HAVE_QTKIT.
authorRalph Giles <giles@mozilla.com>
Fri, 25 Nov 2011 01:41:54 +0000 (17:41 -0800)
committerRafaël Carré <funman@videolan.org>
Fri, 25 Nov 2011 01:54:58 +0000 (20:54 -0500)
    The AM_CONDITIONAL call for HAVE_QTKIT has had a bug since
    3ddb9e51, where a 'test' invocation was elided. On MacOS X
    10.7.2 this caused the configure script to hang with an
    obscure launchd message:

      launch_msg("CheckIn") IPC failure: Operation not permitted

    This patch restores the intended logic.

Signed-off-by: Rafaël Carré <funman@videolan.org>
configure.ac

index aa5cc39a8ae43dc1c096b46f06715a8b8cf5929a..cb14be23ac0d56b0ba880d655b65dbeb1a9fd654 100644 (file)
@@ -2105,7 +2105,7 @@ then
   VLC_ADD_PLUGIN([qtcapture])
   VLC_ADD_PLUGIN([qtsound])
 fi
-AM_CONDITIONAL(HAVE_QTKIT, [test "${SYS}" = "darwin" && "x${enable_macosx_qtkit}" != "xno"])
+AM_CONDITIONAL(HAVE_QTKIT, [test "${SYS}" = "darwin" -a "x${enable_macosx_qtkit}" != "xno"])
 
 
 dnl