Added the network conf dir variable in configure
Change-Id: If8f7cfa2cf33c4814939234c8497ac8c6bd297e6
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/configure.ac b/configure.ac
index 17a8efb..93df373 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,10 @@
AS_IF([test "x$OBJ_NETWORK" == "x"], [OBJ_NETWORK="/xyz/openbmc_project/network"])
AC_DEFINE_UNQUOTED([OBJ_NETWORK], ["$OBJ_NETWORK"], [The network manager DBus object path])
+AC_ARG_VAR(NETWORK_CONF_DIR, [Network configuration directory])
+AS_IF([test "x$NETWORK_CONF_DIR" == "x"], [NETWORK_CONF_DIR="/etc/systemd/network"])
+AC_DEFINE_UNQUOTED([NETWORK_CONF_DIR], ["$NETWORK_CONF_DIR"], [Network configuration directory])
+
# Create configured output.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT