* don't default enable QT4 on Darwin
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 4 Mar 2007 19:52:40 +0000 (19:52 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 4 Mar 2007 19:52:40 +0000 (19:52 +0000)
configure.ac

index 966b060..a3f5755 100644 (file)
@@ -4880,7 +4880,8 @@ dnl
 enableqt4=false
 AC_ARG_ENABLE(qt4,
   [  --enable-qt4            QT 4 support (default enabled) ])
-AS_IF([test "${enable_qt4}" != "no"], [
+AS_IF([test "${enable_qt4}" != "no" &&
+  (test "${SYS}" != "darwin" || test "${enable_qt4}" = "yes")], [
   PKG_CHECK_MODULES(QT4, QtCore QtGui,
     [ VLC_ADD_PLUGINS([qt4])
       ALIASES="${ALIASES} qvlc"