diff options
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ee42dbe..92b9b73 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,10 @@ AS_IF([test "x$enable_libphosphor_dbus" != "xno"], [ AX_APPEND_COMPILE_FLAGS([-Wall -Werror], [CXXFLAGS]) # Checks for header files. + old_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$SDBUSPLUS_CFLAGS $CPPFLAGS" AC_CHECK_HEADER(sdbusplus/server.hpp, ,[AC_MSG_ERROR([Could not find sdbusplus/server.hpp...sdbusplus package required])]) + CPPFLAGS="$old_CPPFLAGS" # Checks for library functions. LT_INIT([dlopen disable-static shared]) |