summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-06-12 16:39:12 +0200
committerRenato Westphal <renato@openbsd.org>2017-06-16 19:43:42 +0200
commitc740f7d3678a8ea2c70a062c1207157e999bd6e8 (patch)
tree43dd4ca1494eb53827854efa1476ee0ae9e5b838 /configure.ac
parentMerge pull request #718 from qlyoung/fix-vtysh-shit (diff)
downloadfrr-c740f7d3678a8ea2c70a062c1207157e999bd6e8.tar.xz
frr-c740f7d3678a8ea2c70a062c1207157e999bd6e8.zip
ldpd: convert cli and get rid of the xml interface
The xml2cli.pl script was useful years ago when the vty code was very rudimentary. This is not the case anymore, so convert all ldpd CLI commands to use DEFUNs directly and get rid of the XML interface. The benefits are: * Consistency with the other daemons; * One less build dependency (the LibXML perl module); * Easier to add new commands. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac8
1 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 65ba26d5f..43e1625b9 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1284,14 +1284,6 @@ AM_CONDITIONAL(OSPFD, test "x$OSPFD" = "xospfd")
if test "${enable_ldpd}" = "no";then
LDPD=""
else
- AX_PROG_PERL_MODULES(XML::LibXML, , [
- if test -f "${srcdir}/ldpd/ldp_vty_cmds.c"; then
- AC_MSG_WARN([XML::LibXML perl module not found, using pregenerated ldp_vty_cmds.c])
- else
- AC_MSG_ERROR([XML::LibXML perl module not found and pregenerated ldp_vty_cmds.c missing])
- fi
- ])
-
LDPD="ldpd"
AC_DEFINE(HAVE_LDPD, 1, ldpd)
fi