diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-05-18 21:50:21 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-05-18 21:50:21 +0000 |
commit | 6bc9252a1eaafb63718702d3f55fe35f96232b76 (patch) | |
tree | 7b54086955e3c78ce8d86831b47c1caf5c09ec5a | |
parent | 0af6930a1c31f1e854629a15646d01af600105a4 (diff) | |
download | epiphany-6bc9252a1eaafb63718702d3f55fe35f96232b76.tar.gz |
Fix the build so that we get the "Firefox/3.0" part appended to the UA on xulrunner.
svn path=/branches/gnome-2-22/; revision=8230
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index fe2548971..627e709d8 100644 --- a/configure.ac +++ b/configure.ac @@ -298,7 +298,9 @@ AC_SUBST([GECKO_LIBS]) # FIXMEchpe: find a way to always automatically use the latest weasel minor version! -if test "$gecko_cv_gecko_version_int" -ge "1009000"; then +if test "$gecko_cv_gecko" = "libxul" -o "$gecko_cv_gecko" = "libxul-embedding"; then + WEASEL_UA_VERSION="3.0" +elif test "$gecko_cv_gecko_version_int" -ge "1009000"; then WEASEL_UA_VERSION="3.0" elif test "$gecko_cv_gecko_version_int" -ge "1008001"; then WEASEL_UA_VERSION="2.0.0.4" @@ -389,7 +391,7 @@ fi # with_engine = mozilla GECKO_DEFINES AM_CONDITIONAL([WITH_GECKO_ENGINE], [test "$with_engine" = "mozilla"]) -AM_CONDITIONAL([HAVE_XULRUNNER],[test "$gecko_cv_gecko" = "xulrunner"]) +AM_CONDITIONAL([HAVE_XULRUNNER],[test "$gecko_cv_gecko" = "xulrunner" -o "$gecko_cv_gecko" = "libxul" -o "$gecko_cv_gecko" = "libxul-embedding"]) AM_CONDITIONAL([HAVE_MOZILLA_PSM],[test "$enable_psm" = "yes" -a "$have_psm" = "yes"]) AM_CONDITIONAL([ENABLE_FILEPICKER],[test "$enable_filepicker" = "yes"]) |