[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4623 - in gnunet-qt: . src/plugins/stats
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4623 - in gnunet-qt: . src/plugins/stats |
Date: |
Sat, 3 Mar 2007 17:44:04 -0700 (MST) |
Author: grothoff
Date: 2007-03-03 17:44:04 -0700 (Sat, 03 Mar 2007)
New Revision: 4623
Modified:
gnunet-qt/configure.ac
gnunet-qt/src/plugins/stats/statsPlugin.cc
Log:
fixing stats detection
Modified: gnunet-qt/configure.ac
===================================================================
--- gnunet-qt/configure.ac 2007-03-04 00:40:03 UTC (rev 4622)
+++ gnunet-qt/configure.ac 2007-03-04 00:44:04 UTC (rev 4623)
@@ -90,11 +90,14 @@
AC_MSG_ERROR([gnunet-qt requires ECRS]))
AC_CHECK_LIB(gnunetfsui,FSUI_start,,
AC_MSG_ERROR([gnunet-qt requires FSUI]))
-LIBS=$SAVELIBS
+LIBS="-lgnunetstats_api $LIBS"
# check for newer STATS functions
-AC_CHECK_FUNC(STATS_getStatistics, [AC_DEFINE_UNQUOTED(HAVE_STATS, 1)])
+AC_CHECK_FUNC(STATS_getStatistics, HAVE_STATS=1, HAVE_STATS=0)
+LIBS=$SAVELIBS
+AC_DEFINE_UNQUOTED([HAVE_STATS], $HAVE_STATS, [We have the new stats library])
+
# test for libextractor
extractor=0
AC_MSG_CHECKING(for libextractor)
Modified: gnunet-qt/src/plugins/stats/statsPlugin.cc
===================================================================
--- gnunet-qt/src/plugins/stats/statsPlugin.cc 2007-03-04 00:40:03 UTC (rev
4622)
+++ gnunet-qt/src/plugins/stats/statsPlugin.cc 2007-03-04 00:44:04 UTC (rev
4623)
@@ -23,7 +23,7 @@
* @brief gnunet-qt's statistics tab
* @author Nils Durner
*/
-
+#include "config.h"
#include "statsPlugin.h"
#include <QTreeWidgetItem>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4623 - in gnunet-qt: . src/plugins/stats,
gnunet <=