mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
build: Create define for Ethernet daemon storage directory
This commit is contained in:
parent
2606bc73ad
commit
a160989e65
10
configure.ac
10
configure.ac
@ -64,13 +64,19 @@ fi
|
|||||||
|
|
||||||
if (test "$localstatedir" = '${prefix}/var'); then
|
if (test "$localstatedir" = '${prefix}/var'); then
|
||||||
daemon_storagedir="${prefix}/var/lib/iwd"
|
daemon_storagedir="${prefix}/var/lib/iwd"
|
||||||
|
wired_storagedir="${prefix}/var/lib/ead"
|
||||||
else
|
else
|
||||||
daemon_storagedir="${localstatedir}/lib/iwd"
|
daemon_storagedir="${localstatedir}/lib/iwd"
|
||||||
|
wired_storagedir="${localstatedir}/lib/ead"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED(DAEMON_STORAGEDIR, "${daemon_storagedir}",
|
AC_DEFINE_UNQUOTED(DAEMON_STORAGEDIR, "${daemon_storagedir}",
|
||||||
[Directory for the storage files])
|
[Directory for Wireless daemon storage files])
|
||||||
AC_DEFINE_UNQUOTED(DAEMON_CONFIGDIR, "/etc/iwd", [Configuration directory])
|
AC_DEFINE_UNQUOTED(DAEMON_CONFIGDIR, "/etc/iwd",
|
||||||
|
[Directory for Wireless daemon configuration])
|
||||||
|
|
||||||
|
AC_DEFINE_UNQUOTED(WIRED_STORAGEDIR, "${wired_storagedir}",
|
||||||
|
[Directory for Ethernet daemon storage files])
|
||||||
|
|
||||||
AC_CHECK_HEADERS(linux/types.h linux/if_alg.h)
|
AC_CHECK_HEADERS(linux/types.h linux/if_alg.h)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user