debug collector: use sdbus++ for exception files

Log sbusplus exceptions instead of phosphor-logging
error exceptions.

For metadata use manually generated elog-errors.hpp this
is to cater for building repositories without depending
on phosphor-logging

Resolves openbmc/openbmc#1469

Change-Id: I9789edd80f3477eeb66b93dff6e12a95e89a0005
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/configure.ac b/configure.ac
index 476dc72..d862a43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,11 @@
 AX_CXX_COMPILE_STDCXX_14([noext])
 AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS])
 
+# Check for sdbus++
+AC_PATH_PROG([SDBUSPLUSPLUS], [sdbus++])
+AS_IF([test "x$SDBUSPLUSPLUS" == "x"],
+    AC_MSG_ERROR(["Requires sdbus++"]))
+
 LT_INIT
 
 # Checks for libraries.