diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0e124a3..ac42e1d 100644 --- a/configure.ac +++ b/configure.ac @@ -152,6 +152,11 @@ AS_IF([test "x$CONTROL_HOST_OBJ_MGR" == "x"], [CONTROL_HOST_OBJ_MGR="/xyz/openbmc_project/control"]) AC_DEFINE_UNQUOTED([CONTROL_HOST_OBJ_MGR], ["$CONTROL_HOST_OBJ_MGR"], [The Control Host D-Bus Object Manager]) +# Power reading sensor configuration file +AC_ARG_VAR(POWER_READING_SENSOR, [Power reading sensor configuration file]) +AS_IF([test "x$POWER_READING_SENSOR" == "x"],[POWER_READING_SENSOR="/usr/share/ipmi-providers/power_reading.json"]) +AC_DEFINE_UNQUOTED([POWER_READING_SENSOR], ["$POWER_READING_SENSOR"], [Power reading sensor configuration file]) + # Create configured output AC_CONFIG_FILES([Makefile test/Makefile softoff/Makefile softoff/test/Makefile]) AC_OUTPUT |