summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-03 13:42:11 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-04 11:09:50 +0200
commit86e463cf9bd2ffb0ce8e4dba94c8ebcefb971d1e (patch)
treef7df7463d6422506bff3897fd36edd764b68a35a /configure.ac
parentbuild: non-recursive ospf* (diff)
downloadfrr-86e463cf9bd2ffb0ce8e4dba94c8ebcefb971d1e.tar.xz
frr-86e463cf9bd2ffb0ce8e4dba94c8ebcefb971d1e.zip
build: non-recursive isisd
(Also fix a minor snafu in the autoconf logic) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac14
1 files changed, 6 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index c734f9d8e..a1d4f6751 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1063,8 +1063,11 @@ case "$host_os" in
if test $ac_cv_header_net_bpf_h = no; then
if test $ac_cv_header_sys_dlpi_h = no; then
AC_MSG_RESULT(none)
+ if test "${enable_isisd}" = yes; then
+ AC_MSG_FAILURE([IS-IS support requested but no packet backend found])
+ fi
AC_MSG_WARN([*** IS-IS support will not be built ***])
- ISISD=""
+ enable_isisd="no"
else
AC_MSG_RESULT(DLPI)
fi
@@ -1307,12 +1310,7 @@ esac
AM_CONDITIONAL(BABELD, test "x$BABELD" = "xbabeld")
AM_CONDITIONAL(OSPF6D, test "${enable_ospf6d}" != "no")
-
-case "${enable_isisd}" in
- "no" ) ISISD="";;
- * ) ISISD="isisd";;
-esac
-AM_CONDITIONAL(ISISD, test "x$ISISD" = "xisisd")
+AM_CONDITIONAL(ISISD, test "${enable_isisd}" != "no")
case "${enable_pimd}" in
"no" ) PIMD="";;
@@ -1807,7 +1805,7 @@ AC_MSG_RESULT($ac_cv_htonl_works)
AC_CONFIG_FILES([Makefile
bgpd/Makefile watchfrr/Makefile
- ldpd/Makefile isisd/Makefile vtysh/Makefile
+ ldpd/Makefile vtysh/Makefile
doc/Makefile tests/Makefile
bgpd/rfp-example/rfptest/Makefile bgpd/rfp-example/librfp/Makefile
babeld/Makefile