[tracker/tracker-1.0] build: update firefox and thunderbird detection
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.0] build: update firefox and thunderbird detection
- Date: Fri, 22 Aug 2014 11:53:28 +0000 (UTC)
commit 95d479f549fba6c23b0f94d3043a358c5907db6b
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Wed Aug 6 13:54:20 2014 +0200
build: update firefox and thunderbird detection
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d5c5295..233088c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -459,7 +459,7 @@ have_tracker_miner_thunderbird="no "
AC_PATH_PROG(THUNDERBIRD, thunderbird, thunderbird)
if test -n $THUNDERBIRD; then
- thunderbird_version=`$THUNDERBIRD --version | cut -d" " -f3`
+ thunderbird_version=`$THUNDERBIRD --version 2>/dev/null | awk '{print $NF}'`
AX_COMPARE_VERSION([$thunderbird_version], ge, [$TRACKER_MINER_THUNDERBIRD_REQUIRED],
have_tracker_miner_thunderbird="yes",
@@ -473,7 +473,7 @@ have_tracker_miner_firefox="no "
AC_PATH_PROG(FIREFOX, firefox, firefox)
if test -n $FIREFOX; then
- firefox_version=`$FIREFOX --version | cut -d" " -f3`
+ firefox_version=`$FIREFOX --version 2>/dev/null | awk '{print $NF}'`
AX_COMPARE_VERSION([$firefox_version], ge, [$TRACKER_MINER_FIREFOX_REQUIRED],
have_tracker_miner_firefox="yes",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]