Mercurial > hg > release > icedtea-web-1.1
changeset 284:3c0f13d17deb
Use the mozilla-plugin pkgconfig module if the libxul module is not available
2012-02-27 Matthias Klose <doko@ubuntu.com>
* acinclude.m4 (IT_CHECK_PLUGIN_DEPENDENCIES): Use the mozilla-plugin
pkgconfig module if the libxul module is not available.
author | doko@ubuntu.com |
---|---|
date | Mon, 27 Feb 2012 22:06:10 +0100 |
parents | 08b063e5536b |
children | 343ad2a1e216 |
files | ChangeLog acinclude.m4 |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Feb 27 22:05:46 2012 +0100 +++ b/ChangeLog Mon Feb 27 22:06:10 2012 +0100 @@ -1,3 +1,8 @@ +2012-02-27 Matthias Klose <doko@ubuntu.com> + + * acinclude.m4 (IT_CHECK_PLUGIN_DEPENDENCIES): Use the mozilla-plugin + pkgconfig module if the libxul module is not available. + 2012-02-27 Matthias Klose <doko@ubuntu.com> * acinclude.m4 (IT_FIND_JAVA): Set VERSION_DEFS.
--- a/acinclude.m4 Mon Feb 27 22:05:46 2012 +0100 +++ b/acinclude.m4 Mon Feb 27 22:06:10 2012 +0100 @@ -396,6 +396,9 @@ if pkg-config --modversion libxul >/dev/null 2>&1 then xulrunner_cv_collapsed_version=`pkg-config --modversion libxul | awk -F. '{power=6; v=0; for (i=1; i <= NF; i++) {v += $i * 10 ^ power; power -=2}; print v}'` + elif pkg-config --modversion mozilla-plugin >/dev/null 2>&1 + then + xulrunner_cv_collapsed_version=`pkg-config --modversion mozilla-plugin | awk -F. '{power=6; v=0; for (i=1; i <= NF; i++) {v += $i * 10 ^ power; power -=2}; print v}'` else AC_MSG_FAILURE([cannot determine xulrunner version]) fi])