build: fix configure formatting of IN6_ADDR_GEN_MODE check
Print the result, and make the m4 formatting consistent with the other kernel checks.
This commit is contained in:
12
configure.ac
12
configure.ac
@@ -419,10 +419,14 @@ AC_COMPILE_IFELSE(
|
|||||||
#endif
|
#endif
|
||||||
#include <linux/if_link.h>]],
|
#include <linux/if_link.h>]],
|
||||||
[[int a = IN6_ADDR_GEN_MODE_EUI64; a++;]])],
|
[[int a = IN6_ADDR_GEN_MODE_EUI64; a++;]])],
|
||||||
[ac_have_kernel_gen_mode="1"],
|
[ac_have_kernel_gen_mode=yes],
|
||||||
[ac_have_kernel_gen_mode="0"])
|
[ac_have_kernel_gen_mode=no])
|
||||||
AC_DEFINE_UNQUOTED(HAVE_KERNEL_INET6_ADDR_GEN_MODE,
|
AC_MSG_RESULT($ac_have_kernel_gen_mode)
|
||||||
$ac_have_kernel_gen_mode, [Define if the kernel has IN6_ADDR_GEN_MODE_*])
|
if test "$ac_have_kernel_gen_mode" = yes; then
|
||||||
|
AC_DEFINE(HAVE_KERNEL_INET6_ADDR_GEN_MODE, 1, [Define if the kernel has IN6_ADDR_GEN_MODE_*])
|
||||||
|
else
|
||||||
|
AC_DEFINE(HAVE_KERNEL_INET6_ADDR_GEN_MODE, 0, [Define if the kernel has IN6_ADDR_GEN_MODE_*])
|
||||||
|
fi
|
||||||
|
|
||||||
# uuid library
|
# uuid library
|
||||||
PKG_CHECK_MODULES(UUID, uuid)
|
PKG_CHECK_MODULES(UUID, uuid)
|
||||||
|
Reference in New Issue
Block a user