mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 12:39:21 +00:00
configure.ac: add --with-yangmodelsdir=DIR and
--with-libyang-pluginsdir=DIR config options Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
parent
12d35cedf5
commit
62565dc96b
15
configure.ac
15
configure.ac
@ -91,10 +91,19 @@ AC_ARG_WITH([moduledir], [AS_HELP_STRING([--with-moduledir=DIR], [module directo
|
|||||||
])
|
])
|
||||||
AC_SUBST([moduledir], [$moduledir])
|
AC_SUBST([moduledir], [$moduledir])
|
||||||
|
|
||||||
yangmodelsdir="\${datarootdir}/yang"
|
|
||||||
AC_SUBST([yangmodelsdir], [$yangmodelsdir])
|
|
||||||
|
|
||||||
libyang_pluginsdir="\${libdir}/frr/libyang_plugins"
|
AC_ARG_WITH([yangmodelsdir], [AS_HELP_STRING([--with-yangmodelsdir=DIR], [yang models directory (${datarootdir}/yang)])], [
|
||||||
|
yangmodelsdir="$withval"
|
||||||
|
], [
|
||||||
|
yangmodelsdir="\${datarootdir}/yang"
|
||||||
|
])
|
||||||
|
AC_SUBST(yangmodelsdir)
|
||||||
|
|
||||||
|
AC_ARG_WITH([libyang_pluginsdir], [AS_HELP_STRING([--with-libyang-pluginsdir=DIR], [yangmodule plugins directory (${libdir}/frr/libyang_plugins)])], [
|
||||||
|
libyang_pluginsdir="$withval"
|
||||||
|
], [
|
||||||
|
libyang_pluginsdir="\${libdir}/frr/libyang_plugins"
|
||||||
|
])
|
||||||
AC_SUBST(libyang_pluginsdir)
|
AC_SUBST(libyang_pluginsdir)
|
||||||
|
|
||||||
AC_ARG_ENABLE(tcmalloc,
|
AC_ARG_ENABLE(tcmalloc,
|
||||||
|
Loading…
Reference in New Issue
Block a user