Load IPMI provider libraries into net-ipmid
The logic to scan /usr/lib/net-ipmid for shared libraries
and load them and the callback function to register commands
to command table.
Change-Id: Ib09cce5a9b418171822208d1d7b322e4b1c8b2b9
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/configure.ac b/configure.ac
index 1b12c59..0248c39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,5 +26,9 @@
# Checks for header files.
AC_CHECK_HEADER(systemd/sd-bus.h, ,[AC_MSG_ERROR([Could not find systemd/sd-bus.h...systemd developement package required])])
+# Checks for library functions.
+LT_INIT([dlopen disable-static shared])
+LT_LIB_DLLOAD
+
AC_CONFIG_FILES([Makefile])
AC_OUTPUT