* Added clicon_handle as parameter to all validate functions
* Added libxml2 XSD regexp mode as alternative to posix translation * Added `CLICON_YANG_REGEXP` option with possible values libxml2 and posix
This commit is contained in:
parent
69f2eb30f1
commit
a804e05375
27 changed files with 501 additions and 289 deletions
10
configure.ac
10
configure.ac
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
AC_INIT(lib/clixon/clixon.h.in)
|
||||
|
||||
# Default CFLAGS unless set by environment
|
||||
# Default CFLAGS and INSTALLFLAGS unless set by environment
|
||||
: ${CFLAGS="-O2 -Wall"}
|
||||
: ${INSTALLFLAGS="-s"}
|
||||
|
||||
|
|
@ -220,10 +220,14 @@ AC_CHECK_LIB(socket, socket)
|
|||
AC_CHECK_LIB(nsl, xdr_char)
|
||||
AC_CHECK_LIB(dl, dlopen)
|
||||
|
||||
# This is for Libxml2 code which we can use for XSD regexp
|
||||
# AC_CHECK_HEADERS([libxml2/libxml/xmlexports.h])
|
||||
# This is for libxml2 code which we can use for XSD regexp
|
||||
AC_CHECK_LIB(xml2, xmlRegexpCompile)
|
||||
|
||||
# Libxml2 may hide its include files under /usr/include/libxml2/libxml
|
||||
# You may need to prepend CFLAGS="-I/usr/include/libxml2 to configure
|
||||
AC_CHECK_HEADERS([libxml/xmlregexp.h], [], [], [#include "libxml/xmlversion.h"])
|
||||
|
||||
#
|
||||
AC_CHECK_FUNCS(inet_aton sigaction sigvec strlcpy strsep strndup alphasort versionsort)
|
||||
|
||||
# CLIXON_DATADIR is where clixon installs the "system" yang files in yang/Makfile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue