[vlc-devel] commit: Fix mozilla autoconf check : AC_PATH_PROGS() was used incorrectly, and the check wouldn't error if {mozilla, seamonkey}-config or xulrunner wasn't found ( Rafaël Carré )

git version control git at videolan.org
Sat May 30 00:32:48 CEST 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed May 27 11:12:20 2009 +0200| [6ab0bd532b01ede4a7f1de3f2d6fca2e8c7b8ea6] | committer: Jean-Baptiste Kempf 

Fix mozilla autoconf check : AC_PATH_PROGS() was used incorrectly, and the check wouldn't error if {mozilla,seamonkey}-config or xulrunner wasn't found
(cherry picked from commit f3fe98dbb4255e70fec8f12c5bba44749122930b)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6ab0bd532b01ede4a7f1de3f2d6fca2e8c7b8ea6
---

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8603f46..3b510a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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




More information about the vlc-devel mailing list