]> git.sesse.net Git - vlc/commitdiff
Fix mozilla autoconf check : AC_PATH_PROGS() was used incorrectly, and the check...
authorRafaël Carré <rafael.carre@gmail.com>
Wed, 27 May 2009 09:12:20 +0000 (11:12 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 29 May 2009 22:32:41 +0000 (00:32 +0200)
(cherry picked from commit f3fe98dbb4255e70fec8f12c5bba44749122930b)

configure.ac

index 8603f46c58f8a63541261acac075fda34627f80a..3b510a18812ee723e66c16910de38a9e9b02fd13 100644 (file)
@@ -5562,8 +5562,8 @@ then
           [
             AC_PATH_PROGS(MOZILLA_CONFIG,
            [mozilla-config seamonkey-config xulrunner-config],
-            AC_MSG_ERROR([Please install the Mozilla development tools. mozilla-config was not found.])
-                 )
+        [no])
+            test "${MOZILLA_CONFIG}" = "no" && AC_MSG_ERROR([Please install the Mozilla development tools. mozilla-config was not found.])
           ]
         )
     dnl pkg-config failed but we might have found a mozilla-config