IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Unless we are on Windows, the following POSIX headers are required.
They're part of the earliest POSIX specs and it doesn't make sense to
check for them.
- fcntl.h
- unistd.h
- sys/stat.h
- sys/time.h
On Windows, io.h, fcntl.h and sys/stat.h are always available.
Simpler and easier to force enable.
Also removed wrong curses check. This is meant for static readline and
not needed with meson.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The autotools build results in a pkgconfig file, which looks like this:
"
...
includedir=${prefix}/include
...
Cflags: -I${includedir}/libxml2
"
The latter part is missing when built with meson.
libdir is needed when searching for iconv, not includedir.
Remove OpenBSD from the bsd list. Something is wrong there and iconv.h
is installed somewhere else.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
on BSDs, icu is installed and included from /usr/local. When found,
libiconv headers override the normal ones and thus result in a missing
link. Work around this oddity and add the link.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Adding a configuration flag as an include directory is wrong and errors
on BSDs.
ERROR: Include dir -DU_DISABLE_RENAMING=1 does not exist.
Matches the autotools build now.
Requires has_argument to fix non BSDs because of an annoying meson
quirk.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Move source code for xmllint shell to shell.c and move it from the
libxml2 library to the xmllint executable.
Also allow shell to run without XPath and debug modules.
Add stubs for old shell API functions in legacy build mode.
This option would allow for a smaller, but mostly useless minimal build.
But it complicates the symbol availability logic in an insane way and
requires specialized tools like our custom C parser in doc/apibuild.py.
See #717.
The latest spec for what it essentially an XPath extension seems to be
this working draft from 2002:
https://www.w3.org/TR/xptr-xpointer/
The xpointer() scheme is listed as "being reviewed" in the XPointer
registry since at least 2006. libxml2 seems to be the only modern
software that tries to implement this spec, but the code has many bugs
and quality issues.
If you configure --with-legacy, old symbols are retained for ABI
compatibility.
include directories must be passed to that projects can use headers.
Also add override_dependencies to make sure that it's used when
available as a subproject.
Signed-off-by: Rosen Penev <rosenp@gmail.com>