]> git.sesse.net Git - vlc/blobdiff - configure.ac
MSVC build: only keep the plugins that compile out of the box
[vlc] / configure.ac
index 376bede94c912a1f6d849121bfb6c1ad866b87e0..ff2e37721b2ef2392ca9da94ad557cfdc7c99256 100644 (file)
@@ -4160,10 +4160,12 @@ dnl Not necessarily in ${PATH}
 if test -z "${XPIDL}" -o ! -x "${XPIDL}"; then
   XPIDL="/usr/lib/mozilla/xpidl"
 fi
-if test -z "${XPIDL_INCL}"; then
-  XPIDL_INCL="`${MOZILLA_CONFIG} --cflags plugin xpcom java` \
- `${MOZILLA_CONFIG} --idlflags plugin xpcom java` "
-fi
+AS_IF([test "${MOZILLA_CONFIG}"], [
+  if test -z "${XPIDL_INCL}"; then
+    XPIDL_INCL="`${MOZILLA_CONFIG} --cflags plugin xpcom java` \
+    `${MOZILLA_CONFIG} --idlflags plugin xpcom java` "
+  fi
+])
 AM_CONDITIONAL(BUILD_MOZILLA,${mozilla})
 
 dnl