mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
pim6d: Disable pim6d compilation by default
By default, disable pim6d compilation. If someone wants to enable the compilation, should use ./configure option with --enable-pim6d. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
This commit is contained in:
parent
0238d27f50
commit
7e08c08069
|
@ -635,6 +635,8 @@ AC_ARG_ENABLE([isisd],
|
|||
AS_HELP_STRING([--disable-isisd], [do not build isisd]))
|
||||
AC_ARG_ENABLE([pimd],
|
||||
AS_HELP_STRING([--disable-pimd], [do not build pimd]))
|
||||
AC_ARG_ENABLE([pim6d],
|
||||
AS_HELP_STRING([--enable-pim6d], [build pim6d]))
|
||||
AC_ARG_ENABLE([pbrd],
|
||||
AS_HELP_STRING([--disable-pbrd], [do not build pbrd]))
|
||||
AC_ARG_ENABLE([sharpd],
|
||||
|
@ -1751,6 +1753,10 @@ AS_IF([test "$enable_pimd" != "no"], [
|
|||
AC_DEFINE([HAVE_PIMD], [1], [pimd])
|
||||
])
|
||||
|
||||
AS_IF([test "$enable_pim6d" = "yes"], [
|
||||
AC_DEFINE([HAVE_PIM6D], [1], [pim6d])
|
||||
])
|
||||
|
||||
AS_IF([test "$enable_pbrd" != "no"], [
|
||||
AC_DEFINE([HAVE_PBRD], [1], [pbrd])
|
||||
])
|
||||
|
@ -2711,6 +2717,7 @@ AM_CONDITIONAL([BABELD], [test "$enable_babeld" != "no"])
|
|||
AM_CONDITIONAL([OSPF6D], [test "$enable_ospf6d" != "no"])
|
||||
AM_CONDITIONAL([ISISD], [test "$enable_isisd" != "no"])
|
||||
AM_CONDITIONAL([PIMD], [test "$enable_pimd" != "no"])
|
||||
AM_CONDITIONAL([PIM6D], [test "$enable_pim6d" = "yes"])
|
||||
AM_CONDITIONAL([PBRD], [test "$enable_pbrd" != "no"])
|
||||
AM_CONDITIONAL([SHARPD], [test "$enable_sharpd" = "yes"])
|
||||
AM_CONDITIONAL([STATICD], [test "$enable_staticd" != "no"])
|
||||
|
|
|
@ -171,17 +171,11 @@ clippy_scan += \
|
|||
pimd_pimd_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=4
|
||||
pimd_pimd_LDADD = lib/libfrr.la $(LIBCAP)
|
||||
|
||||
if PIMD
|
||||
if DEV_BUILD
|
||||
#
|
||||
# pim6d is only enabled for --enable-dev-build, and NOT installed currently
|
||||
# (change noinst_ to sbin_ below to install it.)
|
||||
#
|
||||
noinst_PROGRAMS += pimd/pim6d
|
||||
if PIM6D
|
||||
sbin_PROGRAMS += pimd/pim6d
|
||||
pimd_pim6d_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=6
|
||||
pimd_pim6d_LDADD = lib/libfrr.la $(LIBCAP)
|
||||
endif
|
||||
endif
|
||||
|
||||
pimd_test_igmpv3_join_LDADD = lib/libfrr.la
|
||||
pimd_test_igmpv3_join_SOURCES = pimd/test_igmpv3_join.c
|
||||
|
|
Loading…
Reference in a new issue