Default DSOFLAGS to LDFLAGS (Issue #325)

This commit is contained in:
Michael R Sweet 2024-04-21 16:50:30 -04:00
parent 7ed214cbcf
commit ef6b4684c3
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
7 changed files with 79 additions and 44 deletions

View File

@ -1,16 +1,30 @@
# Changes in Mini-XML 4.0.2 Changes in Mini-XML
===================
Changes in Mini-XML 4.0.3
-------------------------
- The configure script now defaults the `DSOFLAGS` value to `LDFLAGS` if not
set (Issue #325)
Changes in Mini-XML 4.0.2
-------------------------
- Fixed an issue with GNU make and parallel builds (Issue #314) - Fixed an issue with GNU make and parallel builds (Issue #314)
# Changes in Mini-XML 4.0.1 Changes in Mini-XML 4.0.1
-------------------------
- Fixed missing "docdir" definition in makefile (Issue #313) - Fixed missing "docdir" definition in makefile (Issue #313)
- Fixed missing CPPFLAGS, OPTIM, and WARNINGS in CFLAGS in makefile. - Fixed missing CPPFLAGS, OPTIM, and WARNINGS in CFLAGS in makefile.
- Fixed configure script issues. - Fixed configure script issues.
# Changes in Mini-XML 4.0.0 Changes in Mini-XML 4.0.0
-------------------------
- Now require C99 support (Issue #300) - Now require C99 support (Issue #300)
- Now install as "libmxml4" to support installing both Mini-XML 3.x and 4.x at - Now install as "libmxml4" to support installing both Mini-XML 3.x and 4.x at
@ -34,18 +48,21 @@
- Fixed real number support in non-English locales (Issue #311) - Fixed real number support in non-English locales (Issue #311)
# Changes in Mini-XML 3.3.2 Changes in Mini-XML 3.3.2
-------------------------
- Updated the autoconf `config.guess` and `config.sub` scripts to support cross - Updated the autoconf `config.guess` and `config.sub` scripts to support cross
compilation for newer platforms (Issue #296) compilation for newer platforms (Issue #296)
# Changes in Mini-XML 3.3.1 Changes in Mini-XML 3.3.1
-------------------------
- Fixed POSIX thread cleanup bugs (Issue #293) - Fixed POSIX thread cleanup bugs (Issue #293)
# Changes in Mini-XML 3.3 Changes in Mini-XML 3.3
-----------------------
- Cleaned up usage of `free` throughout the library (Issue #276) - Cleaned up usage of `free` throughout the library (Issue #276)
- Added more error handling to the library (Issue #277) - Added more error handling to the library (Issue #277)
@ -56,7 +73,8 @@
- Fixed some minor memory leaks found by Coverity. - Fixed some minor memory leaks found by Coverity.
# Changes in Mini-XML 3.2 Changes in Mini-XML 3.2
-----------------------
- Added support for shared libraries on Haiku (Issue #262) - Added support for shared libraries on Haiku (Issue #262)
- Fixed handling of unquoted attribute values that start with a Unicode - Fixed handling of unquoted attribute values that start with a Unicode
@ -65,7 +83,8 @@
- Fixed some minor issues identified by the LGTM security scanner. - Fixed some minor issues identified by the LGTM security scanner.
# Changes in Mini-XML 3.1 Changes in Mini-XML 3.1
-----------------------
- The `mxmlLoad*` functions now print an error when the XML does not start with - The `mxmlLoad*` functions now print an error when the XML does not start with
`<` and no parent node is supplied (Issue #256, Issue #259) `<` and no parent node is supplied (Issue #256, Issue #259)
@ -73,7 +92,8 @@
- Fixed some DSO installation issues on Linux. - Fixed some DSO installation issues on Linux.
# Changes in Mini-XML 3.0 Changes in Mini-XML 3.0
-----------------------
- Changed the license to Apache 2.0 with exceptions (Issue #239) - Changed the license to Apache 2.0 with exceptions (Issue #239)
- All of the internal node structures are now moved out of the public header - All of the internal node structures are now moved out of the public header
@ -90,7 +110,8 @@
- The `_mxml_strdupf` function did not work on Windows (Issue #245) - The `_mxml_strdupf` function did not work on Windows (Issue #245)
# Changes in Mini-XML 2.12 Changes in Mini-XML 2.12
------------------------
- Added yet more documentation about using `MXML_OPAQUE_CALLBACK` when you want - Added yet more documentation about using `MXML_OPAQUE_CALLBACK` when you want
to get full strings for inline text instead of separated words (Issue #190) to get full strings for inline text instead of separated words (Issue #190)
@ -106,7 +127,8 @@
- Updated the markdown and ZIP container libraries used for mxmldoc. - Updated the markdown and ZIP container libraries used for mxmldoc.
# Changes in Mini-XML 2.11 Changes in Mini-XML 2.11
------------------------
- CDATA nodes now omit the trailing "]]" for convenience (Issue #170) - CDATA nodes now omit the trailing "]]" for convenience (Issue #170)
- Fixed a memory leak in mxmlDelete (Issue #183) - Fixed a memory leak in mxmlDelete (Issue #183)
@ -131,7 +153,8 @@
`@exclude man,html@`. `@exclude man,html@`.
# Changes in Mini-XML 2.10 Changes in Mini-XML 2.10
------------------------
- The version number in mxml.h was wrong. - The version number in mxml.h was wrong.
- The mxml.spec file was out of date. - The mxml.spec file was out of date.
@ -144,13 +167,15 @@
stack space depending on the file. (CVE-2016-4571) stack space depending on the file. (CVE-2016-4571)
# Changes in Mini-XML 2.9 Changes in Mini-XML 2.9
-----------------------
- `mxmlLoad*` did not correctly load value nodes with `MXML_NO_CALLBACK` or - `mxmlLoad*` did not correctly load value nodes with `MXML_NO_CALLBACK` or
`MXML_TEXT_CALLBACK`. `MXML_TEXT_CALLBACK`.
# Changes in Mini-XML 2.8 Changes in Mini-XML 2.8
-----------------------
- Now call docsetutil using xcrun on macOS. - Now call docsetutil using xcrun on macOS.
- mxmldoc did not escape special HTML characters inside @code foo@ comments. - mxmldoc did not escape special HTML characters inside @code foo@ comments.
@ -161,7 +186,8 @@
- Fixed an XML fragment loading problem. - Fixed an XML fragment loading problem.
# Changes in Mini-XML 2.7 Changes in Mini-XML 2.7
-----------------------
- Added 64-bit configurations to the VC++ project files. - Added 64-bit configurations to the VC++ project files.
- Fixed conformance of mxmldoc's HTML and CSS output. - Fixed conformance of mxmldoc's HTML and CSS output.
@ -181,7 +207,8 @@
and its children. and its children.
# Changes in Mini-XML 2.6 Changes in Mini-XML 2.6
-----------------------
- Documentation fixes. - Documentation fixes.
- The mxmldoc program did not handle typedef comments properly. - The mxmldoc program did not handle typedef comments properly.
@ -198,7 +225,8 @@
- The mxmldoc program now handles "typedef enum name {} name" correctly. - The mxmldoc program now handles "typedef enum name {} name" correctly.
# Changes in Mini-XML 2.5 Changes in Mini-XML 2.5
-----------------------
- The mxmldoc program now makes greater use of CSS and supports a `--css` option - The mxmldoc program now makes greater use of CSS and supports a `--css` option
to embed an alternate stylesheet. to embed an alternate stylesheet.
@ -215,7 +243,8 @@
- Spaces around the "=" in attributes were not supported. - Spaces around the "=" in attributes were not supported.
# Changes in Mini-XML 2.4 Changes in Mini-XML 2.4
-----------------------
- Fixed shared library build problems on HP-UX and Mac macOS. - Fixed shared library build problems on HP-UX and Mac macOS.
- The mxmldoc program did not output argument descriptions for functions - The mxmldoc program did not output argument descriptions for functions
@ -234,7 +263,8 @@
node with no children as the top node. node with no children as the top node.
# Changes in Mini-XML 2.3 Changes in Mini-XML 2.3
-----------------------
- Added two exceptions to the LGPL to support static linking of applications - Added two exceptions to the LGPL to support static linking of applications
against Mini-XML. against Mini-XML.
@ -268,13 +298,15 @@
- `mxmlLoad*` crashed when reporting an error in some invalid XML. - `mxmlLoad*` crashed when reporting an error in some invalid XML.
# Changes in Mini-XML 2.2.2 Changes in Mini-XML 2.2.2
-------------------------
- `mxmlLoad*` did not treat custom data as opaque, so whitespace characters - `mxmlLoad*` did not treat custom data as opaque, so whitespace characters
would be lost. would be lost.
# Changes in Mini-XML 2.2.1 Changes in Mini-XML 2.2.1
-------------------------
- `mxmlLoad*` now correctly return NULL on error. - `mxmlLoad*` now correctly return NULL on error.
- `mxmlNewInteger`, `mxmlNewOpaque`, `mxmlNewReal`, `mxmlNewText`, and - `mxmlNewInteger`, `mxmlNewOpaque`, `mxmlNewReal`, `mxmlNewText`, and
@ -285,7 +317,8 @@
- Fixed a MingW/Cygwin compilation problem. - Fixed a MingW/Cygwin compilation problem.
# Changes in Mini-XML 2.2 Changes in Mini-XML 2.2
-----------------------
- Added shared library support. - Added shared library support.
- `mxmlLoad*` now return an error when an XML stream contains illegal control - `mxmlLoad*` now return an error when an XML stream contains illegal control
@ -298,7 +331,8 @@
- Added checking for invalid comment termination: "--->" is not allowed. - Added checking for invalid comment termination: "--->" is not allowed.
# Changes in Mini-XML 2.1 Changes in Mini-XML 2.1
-----------------------
- Added support for custom data nodes. - Added support for custom data nodes.
- Now treat UTF-8 sequences which are longer than necessary as an error. - Now treat UTF-8 sequences which are longer than necessary as an error.
@ -309,7 +343,8 @@
- Fixed multi-word UTF-16 handling. - Fixed multi-word UTF-16 handling.
# Changes in Mini-XML 2.0 Changes in Mini-XML 2.0
-----------------------
- New programmers manual. - New programmers manual.
- Added Visual C++ project files for Microsoft Windows users. - Added Visual C++ project files for Microsoft Windows users.

24
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for Mini-XML 4.0.2. # Generated by GNU Autoconf 2.71 for Mini-XML 4.0.3.
# #
# Report bugs to <https://github.com/michaelrsweet/mxml/issues>. # Report bugs to <https://github.com/michaelrsweet/mxml/issues>.
# #
@ -610,8 +610,8 @@ MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='Mini-XML' PACKAGE_NAME='Mini-XML'
PACKAGE_TARNAME='mxml' PACKAGE_TARNAME='mxml'
PACKAGE_VERSION='4.0.2' PACKAGE_VERSION='4.0.3'
PACKAGE_STRING='Mini-XML 4.0.2' PACKAGE_STRING='Mini-XML 4.0.3'
PACKAGE_BUGREPORT='https://github.com/michaelrsweet/mxml/issues' PACKAGE_BUGREPORT='https://github.com/michaelrsweet/mxml/issues'
PACKAGE_URL='https://www.msweet.org/mxml' PACKAGE_URL='https://www.msweet.org/mxml'
@ -1299,7 +1299,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures Mini-XML 4.0.2 to adapt to many kinds of systems. \`configure' configures Mini-XML 4.0.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1365,7 +1365,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of Mini-XML 4.0.2:";; short | recursive ) echo "Configuration of Mini-XML 4.0.3:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -1468,7 +1468,7 @@ fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
Mini-XML configure 4.0.2 Mini-XML configure 4.0.3
generated by GNU Autoconf 2.71 generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc. Copyright (C) 2021 Free Software Foundation, Inc.
@ -1667,7 +1667,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by Mini-XML $as_me 4.0.2, which was It was created by Mini-XML $as_me 4.0.3, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw $ $0$ac_configure_args_raw
@ -2425,7 +2425,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_config_headers="$ac_config_headers config.h" ac_config_headers="$ac_config_headers config.h"
MXML_VERSION="4.0.2" MXML_VERSION="4.0.3"
printf "%s\n" "#define MXML_VERSION \"Mini-XML v$MXML_VERSION\"" >>confdefs.h printf "%s\n" "#define MXML_VERSION \"Mini-XML v$MXML_VERSION\"" >>confdefs.h
@ -2524,10 +2524,10 @@ fi
CFLAGS="${CFLAGS:=}" CFLAGS="${CFLAGS:=}"
CPPFLAGS="${CPPFLAGS:=}" CPPFLAGS="${CPPFLAGS:=}"
DSO=""
DSOFLAGS="${DSOFLAGS:=}"
LDFLAGS="${LDFLAGS:=}" LDFLAGS="${LDFLAGS:=}"
LIBS="${LIBS:=}" LIBS="${LIBS:=}"
DSO=""
DSOFLAGS="${DSOFLAGS:=$LDFLAGS}"
OPTIM="${OPTIM:=}" OPTIM="${OPTIM:=}"
@ -5232,7 +5232,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by Mini-XML $as_me 4.0.2, which was This file was extended by Mini-XML $as_me 4.0.3, which was
generated by GNU Autoconf 2.71. Invocation command line was generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -5297,7 +5297,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped' ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\ ac_cs_version="\\
Mini-XML config.status 4.0.2 Mini-XML config.status 4.0.3
configured by $0, generated by GNU Autoconf 2.71, configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"

View File

@ -14,7 +14,7 @@ AC_PREREQ([2.70])
dnl Package name and version... dnl Package name and version...
AC_INIT([Mini-XML], [4.0.2], [https://github.com/michaelrsweet/mxml/issues], [mxml], [https://www.msweet.org/mxml]) AC_INIT([Mini-XML], [4.0.3], [https://github.com/michaelrsweet/mxml/issues], [mxml], [https://www.msweet.org/mxml])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
MXML_VERSION="AC_PACKAGE_VERSION" MXML_VERSION="AC_PACKAGE_VERSION"
@ -42,10 +42,10 @@ AS_IF([test "x$host_os_version" = x], [
dnl Compiler options... dnl Compiler options...
CFLAGS="${CFLAGS:=}" CFLAGS="${CFLAGS:=}"
CPPFLAGS="${CPPFLAGS:=}" CPPFLAGS="${CPPFLAGS:=}"
DSO=""
DSOFLAGS="${DSOFLAGS:=}"
LDFLAGS="${LDFLAGS:=}" LDFLAGS="${LDFLAGS:=}"
LIBS="${LIBS:=}" LIBS="${LIBS:=}"
DSO=""
DSOFLAGS="${DSOFLAGS:=$LDFLAGS}"
OPTIM="${OPTIM:=}" OPTIM="${OPTIM:=}"
AC_SUBST([DSO]) AC_SUBST([DSO])

View File

@ -57,7 +57,7 @@
// Version number // Version number
// //
# define MXML_VERSION "Mini-XML v4.0.2" # define MXML_VERSION "Mini-XML v4.0.3"
// //

View File

@ -3,7 +3,7 @@
<metadata> <metadata>
<id>libmxml2_native</id> <id>libmxml2_native</id>
<title>Small XML File Parsing Library for VS2019+</title> <title>Small XML File Parsing Library for VS2019+</title>
<version>4.0.2</version> <version>4.0.3</version>
<authors>Michael R Sweet</authors> <authors>Michael R Sweet</authors>
<owners>michaelrsweet</owners> <owners>michaelrsweet</owners>
<projectUrl>https://github.com/michaelrsweet/mxml</projectUrl> <projectUrl>https://github.com/michaelrsweet/mxml</projectUrl>
@ -16,7 +16,7 @@
<copyright>Copyright © 2003-2024 by Michael R Sweet</copyright> <copyright>Copyright © 2003-2024 by Michael R Sweet</copyright>
<tags>xml</tags> <tags>xml</tags>
<dependencies> <dependencies>
<dependency id="libmxml2_native.redist" version="4.0.2" /> <dependency id="libmxml2_native.redist" version="4.0.3" />
</dependencies> </dependencies>
</metadata> </metadata>
<files> <files>

View File

@ -3,7 +3,7 @@
<metadata> <metadata>
<id>libmxml2_native.redist</id> <id>libmxml2_native.redist</id>
<title>Small XML File Parsing Library for VS2019+ Redist</title> <title>Small XML File Parsing Library for VS2019+ Redist</title>
<version>4.0.2</version> <version>4.0.3</version>
<authors>Michael R Sweet</authors> <authors>Michael R Sweet</authors>
<owners>michaelrsweet</owners> <owners>michaelrsweet</owners>
<projectUrl>https://github.com/michaelrsweet/mxml</projectUrl> <projectUrl>https://github.com/michaelrsweet/mxml</projectUrl>

View File

@ -22,7 +22,7 @@
// Version number // Version number
// //
# define MXML_VERSION "Mini-XML v4.0.2" # define MXML_VERSION "Mini-XML v4.0.3"
// //