summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* autoconf: Only use --undefined-version with version scriptsNick Wellnhofer2023-04-291-5/+4
|
* Link with --undefined-versionNick Wellnhofer2023-04-291-0/+4
| | | | | | | lld 16 defaults to --no-undefined-version but the version script can contain symbols disabled by configuration options. See #473.
* Bump version to 2.12.0Nick Wellnhofer2023-04-281-1/+1
|
* autoconf: Add AC_LANG_SOURCE to fix warningNick Wellnhofer2023-04-261-1/+1
|
* autoconf: Warn about outdated C compilersNick Wellnhofer2023-04-191-1/+7
|
* Remove RPM build, Makefile.tests, README.testsNick Wellnhofer2022-12-211-1/+1
|
* autotools: Don't use version script on WindowsNick Wellnhofer2022-09-201-1/+7
| | | | | A feature test would be better, but blacklisting Windows platforms seems good enough for now.
* autotools: Fix winsock detectionNick Wellnhofer2022-09-071-10/+19
| | | | | | | Hardcode the required library on MinGW because winsock uses non-standard calling conventions on 32-bit Windows which makes AC_SEARCH_LIBS fail. Should fix #406.
* autotools: Only add network libraries if HTTP/FTP enabledNick Wellnhofer2022-09-071-64/+66
|
* python: Create .pyd on WindowsNick Wellnhofer2022-09-061-1/+1
|
* build: Remove check for broken ss_familyNick Wellnhofer2022-09-061-51/+5
| | | | This only seemed to affect ancient AIX systems.
* autotools: Fix bug with multiline argumentsNick Wellnhofer2022-09-051-8/+8
| | | | Should fix #404.
* autotools: Try to fix bug with multiline argumentsNick Wellnhofer2022-09-051-16/+9
| | | | Only happens with older autoconf?
* http: Simplify IPv6 checksNick Wellnhofer2022-09-051-10/+5
| | | | | This should also enable IPv6 support on Windows. Untested and mostly useless anyway, since we don't support HTTPS.
* autotools: Fix network checks on WindowsNick Wellnhofer2022-09-051-2/+10
|
* Fix detection of GNU libiconvNick Wellnhofer2022-09-041-5/+9
| | | | GNU libiconv prefixes symbols with "lib".
* configure.ac: Also check for MSYS hostNick Wellnhofer2022-09-041-2/+2
|
* Disable fuzzer tests if glob.h wasn't foundNick Wellnhofer2022-09-041-1/+3
|
* Fix Python build on WindowsNick Wellnhofer2022-09-041-13/+5
| | | | | Build Python bindings with -no-undefined on Windows. Remove libs that should already be set by PKG_CHECK_MODULE.
* Improve network library detectionNick Wellnhofer2022-09-041-11/+8
|
* Detect ws2_32 with AC_SEARCH_LIBSNick Wellnhofer2022-09-041-32/+22
|
* Rework network configure checksNick Wellnhofer2022-09-041-16/+23
| | | | Migrate to AC_SEARCH_LIBS. Don't pollute LIBS.
* Remove arg cast configure checksNick Wellnhofer2022-09-041-30/+0
| | | | We can simply cast to non-const char * unconditionally.
* Fix dlopen checkNick Wellnhofer2022-09-041-1/+1
|
* Remove HAVE_WIN32_THREADS configuration flagNick Wellnhofer2022-09-041-1/+0
| | | | Check for LIBXML_THREAD_ENABLED and _WIN32 instead.
* Remove BeOS supportNick Wellnhofer2022-09-041-4/+0
| | | | Haiku shouldn't be affected.
* Rework dlopen and pthread detectionNick Wellnhofer2022-09-041-91/+59
| | | | Migrate to AC_SEARCH_LIBS. Remove check for ancient GCC 3.3.
* Fix test in configure.acNick Wellnhofer2022-09-041-1/+1
| | | | Broken in commit b4847d60.
* Always link with -no-undefinedNick Wellnhofer2022-09-021-2/+0
| | | | This is a good idea to detect errors early.
* Use AM_CFLAGS and AM_LDFLAGS consistentlyNick Wellnhofer2022-09-021-30/+25
|
* Remove -Wredundant-declsNick Wellnhofer2022-09-021-1/+1
| | | | Some Python headers contain redundant redeclarations.
* Call AC_CHECK_* with multiple argumentsNick Wellnhofer2022-09-021-20/+15
|
* Remove unused code in nanohttp.cNick Wellnhofer2022-09-021-9/+0
| | | | This was hidden behind an undocumented flag RES_USE_INET6.
* Stop including sys/types.hNick Wellnhofer2022-09-021-36/+6
|
* configure.ac: Remove checks for unused programsNick Wellnhofer2022-09-021-3/+0
|
* Don't define WIN32 macroNick Wellnhofer2022-09-021-1/+0
|
* Rework library detection in configure.acNick Wellnhofer2022-09-021-123/+88
| | | | | Migrate to AC_CHECK_LIB and AC_SEARCH_LIBS. Don't pollute CPPFLAGS, LDFLAGS and LIBS.
* Rearrange configure.acNick Wellnhofer2022-09-021-205/+190
| | | | Move some sections around and align headers.
* Consolidate zlib and lzma detectionNick Wellnhofer2022-09-021-13/+16
| | | | | Don't depend on a global variable for flag backup. Now the blocks can be moved freely around.
* Remove "runtime debugging"Nick Wellnhofer2022-09-021-8/+0
| | | | This doesn't seem useful as configuration option.
* Consolidate simple API modules in configure.acNick Wellnhofer2022-09-021-233/+232
| | | | Add some small consistency fixes.
* Fix dependency resolution in configure.acNick Wellnhofer2022-09-021-177/+125
| | | | | | | | | | | | | | | | | | This mainly fixes the case of disabling a single module, for example ./configure --without-xpath Before, there were still a few cases where a module wouldn't be disabled unless another module depending on it were disabled, too. Finding the correct options to really disable some modules could be extremely hard for casual users. Now every --without option should reliably disable dependent modules unless they were specifcally requested. In the latter case, a warning is printed consistently. Some missing dependencies were added and the logic was consolidated in a single code section.
* Don't build unneeded .c source filesNick Wellnhofer2022-09-021-51/+21
|
* build: require automake-1.16.3 or laterXi Ruoyao2022-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need https://git.savannah.gnu.org/cgit/automake.git/commit/?id=e21d46f to avoid an error like checking for PYTHON... no configure: error: Package requirements (python-3.1) were not met: No package 'python-3.1' found With python-3.10. Partially fixes #392. Note that there is another issue with python-3.10, like: checking for python... no checking for python2... no checking for python3... no checking for python3.9... no ... configure: error: no suitable Python interpreter found Fixing this one will need to require bumping automake version again, but the automake version containing this fix is not released yet. And, this is rather minor because most environment has "python3" as a symlink to "python3.10" or whatever the latest python3.x installed.
* Consolidate private header filesNick Wellnhofer2022-08-261-1/+1
| | | | | | | | | | | Private functions were previously declared - in header files in the root directory - in public headers guarded with IN_LIBXML - in libxml.h - redundantly in source files that used them. Consolidate all private header files in include/private.
* Bump version to 2.11.0Nick Wellnhofer2022-08-251-1/+1
| | | | This will be the next release cut from the master branch.
* Release v2.10.0v2.10.0Nick Wellnhofer2022-08-171-2/+2
|
* Fix build with older pkg-config versionsNick Wellnhofer2022-08-051-1/+2
| | | | | | | The PKG_CHECK_VAR macro was introduced in pkg-config 0.28. Guard the invocation with m4_ifdef. Fixes #374.
* Add configuration flag for XPointer locations supportNick Wellnhofer2022-04-211-0/+13
| | | | | | | | | | | | | | | | | | | | | Add a new configuration flag that controls whether the outdated support for XPointer locations (ranges and points) is enabled. --with-xptr-locs # Autotools LIBXML2_WITH_XPTR_LOCS # CMake 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. The flag defaults to "off" and support for this extensions has to be requested explicitly. The relevant API functions are deprecated.
* configure: move XML_PRIVATE_LIBS after WIN32_EXTRA_LIBADD is setChristopher Degawa2022-04-041-1/+3
| | | | | | | currently the pkg-config file lacks -lws2_32 because WIN32_EXTRA_LIBADD isn't set by the time XML_PRIVATE_LIBS is set Signed-off-by: Christopher Degawa <ccom@randomderp.com>