Add environment variable for WHITELIST_CONF

Change-Id: Ib9bb50332c4203ccbbe72e3e5b9e641a51bdacbb
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/configure.ac b/configure.ac
index daba2c5..f9acc0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,11 @@
     AC_SUBST([OESDK_TESTCASE_FLAGS], [$testcase_flags])
 )
 
+AC_ARG_VAR(WHITELIST_CONF, [Paths to IPMI whitelisted commands conf files. (default = ${srcdir}/host-ipmid-whitelist.conf)])
+if test -z "$WHITELIST_CONF"; then
+        WHITELIST_CONF=${srcdir}/host-ipmid-whitelist.conf
+fi
+
 # Create configured output
 AC_CONFIG_FILES([Makefile test/Makefile])
 AC_OUTPUT