[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Powerguru-commit] [SCM] powerguru branch, master, updated. 8df8c0ae6c84
From: |
Rob Savoye |
Subject: |
[Powerguru-commit] [SCM] powerguru branch, master, updated. 8df8c0ae6c849c4c039aed3ab0134b622b0de293 |
Date: |
Mon, 17 Dec 2018 16:43:13 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "powerguru".
The branch, master has been updated
via 8df8c0ae6c849c4c039aed3ab0134b622b0de293 (commit)
from 0284551ba6e4a83255215b277063c24948ac8548 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/powerguru.git/commit/?id=8df8c0ae6c849c4c039aed3ab0134b622b0de293
commit 8df8c0ae6c849c4c039aed3ab0134b622b0de293
Author: Rob Savoye <address@hidden>
Date: Mon Dec 17 14:43:07 2018 -0700
Add tests for libboost and DejaGnu
diff --git a/configure.ac b/configure.ac
index c3187f7..d835770 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,8 @@ else
AC_DOCBOOK_STYLES
fi
+optional=""
+missing=""
devices=""
BUILD_OWNET="yes"
BUILD_OUTBgACK="no"
@@ -295,7 +297,7 @@ AC_TRY_COMPILE([#include <net-snmp/net-snmp-config.h>
netsnmp_pid_t foo;
],
has_snmp=yes,
- has_snmp=yes
+ has_snmp=no
)
AC_MSG_RESULT([${has_snmp}])
if test x"${has_snmp}" = x"yes"; then
@@ -313,26 +315,29 @@ AC_MSG_CHECKING([For libownet development files])
AC_TRY_COMPILE([#include <owcapi.h>], [
int foo = OWFS_VERSION;
],
- has_ownet=true,
- has_ownet=false
+ has_ownet=yes
+ has_ownet=no
)
AC_MSG_RESULT([${has_ownet}])
-if test x"${has_ownet}" = x"true"; then
+if test x"${has_ownet}" = x"yes"; then
AC_DEFINE([HAVE_OWNET], [1], [Has ownet development files])
OWNET_LIBS="-lownet -lowcapi"
AC_SUBST(OWNET_LIBS)
fi
-AM_CONDITIONAL(BUILD_OWNET, [ test x${has_ownet} = xtrue ])
+AM_CONDITIONAL(BUILD_OWNET, [ test x${has_ownet} = xyes ])
dnl ow-shell is a collection off shell utilities
AC_CHECK_PROG([owshell], [owdir], [yes], [no], [/usr/bin])
if test x"${owshell}" = x"no"; then
- AC_MSG_WARNING([You should install the 'ow-shell' package])
+ AC_MSG_WARN([You should install the 'ow-shell' package])
+ optional="${optional} owshell"
fi
dnl mariadb development files
dnl FIXME
-dnl FIXME: add tests for libboost, libownet-dev, dejagnu
+dnl FIXME: add tests for libownet-dev
+save_CC="${CC}"
+CC="${CXX}"
AC_MSG_CHECKING([For Boost development files])
AC_TRY_COMPILE([#include <boost/algorithm/string.hpp>], [
std::vector<std::string> results;
@@ -340,8 +345,23 @@ AC_TRY_COMPILE([#include <boost/algorithm/string.hpp>], [
boost::split(results, buf, boost::is_any_of(","));
],
has_boost=yes,
- has_boost=yes
+ has_boost=no
)
+if test x"${has_boost}" = x"no"; then
+ AC_MSG_WARN([You should install the 'libboost-dev' package])
+ optional="${optional} libboost-dev"
+fi
+AC_MSG_RESULT([${has_boost}])
+
+AC_MSG_CHECKING([For DejaGnu])
+AC_TRY_COMPILE([#include <dejagnu.h>], [
+ TestState test;
+ ],
+ has_dejagnu=yes,
+ has_dejagnu=no
+)
+AC_MSG_RESULT([${has_dejagnu}])
+CC="${save_CC}"
dnl FIXME: Force this definition as there is a type conflict between the
net-snmp
dnl defintion and tje sys/types,h one.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 36 ++++++++++++++++++++++++++++--------
1 file changed, 28 insertions(+), 8 deletions(-)
hooks/post-receive
--
powerguru
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Powerguru-commit] [SCM] powerguru branch, master, updated. 8df8c0ae6c849c4c039aed3ab0134b622b0de293,
Rob Savoye <=