]> git.sesse.net Git - vlc/commitdiff
tweak the error message
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 4 Mar 2007 20:29:45 +0000 (20:29 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 4 Mar 2007 20:29:45 +0000 (20:29 +0000)
configure.ac

index a3f575589eaca0b5059e536b3285ca1e576cf603..2075f17bac6175a016a9a3e1f280d171327fd7c4 100644 (file)
@@ -4891,7 +4891,12 @@ AS_IF([test "${enable_qt4}" != "no" &&
       MOC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/moc
       RCC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/rcc
       UIC=`$PKG_CONFIG --variable=exec_prefix QtCore`/bin/uic],
-    [AC_MSG_ERROR(QT4 library not found)])
+      AS_IF([test "${enable_qt4}" = "yes"],[
+       AC_MSG_ERROR(QT4 library not found)
+      ],[
+        AC_MSG_WARN(QT4 library not found)
+      ])
+    ])
 ])
 AM_CONDITIONAL(ENABLE_QT4, test "$enableqt4" = "true")