[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
Wed May 27 11:21:36 CEST 2009


vlc | branch: 1.0-bugfix | Rafaël Carré <rafael.carre at gmail.com> | Wed May 27 11:12:20 2009 +0200| [f3fe98dbb4255e70fec8f12c5bba44749122930b] | committer: Rafaël Carré 

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

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

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

diff --git a/configure.ac b/configure.ac
index 434da55..a89b062 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5650,8 +5650,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