]> git.sesse.net Git - vlc/commitdiff
Do not attempt to run "--cflags" and "--idlflags" which are non-existant commands
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 7 May 2005 19:09:11 +0000 (19:09 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 7 May 2005 19:09:11 +0000 (19:09 +0000)
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