diff --git a/INSTALL b/INSTALL index ddcdb76..f812f5a 120000 --- a/INSTALL +++ b/INSTALL @@ -1 +1 @@ -/usr/share/automake-1.15/INSTALL \ No newline at end of file +/usr/share/automake-1.14/INSTALL \ No newline at end of file diff --git a/README.md b/README.md index a878b87..cdafa7f 100644 --- a/README.md +++ b/README.md @@ -112,3 +112,17 @@ Known Limitations - Optional values are supported through `xml::Optional` - `std::bitset`, `std::priority_queue`, `std::queue` and `std::stack` are not implemented - Polymorfic serialisation is not yet implemented + + +In the Web +---------- + + - The official project page is on: https://mrw.sh/libraries/libxml-cxx + - The official documentation is on: https://doc.mrw.sh/libxml-cxx + - The official repositories are on: https://repository.mrw.sh + + +Missing a Feature, Found a Bug +------------------------------ + +You are missing a feature, or an implementation is too incomplete for the purpose you need it? Or you even found a bug? Just register and open an issue [on the project management page](https://mrw.sh/libraries/libxml-cxx/issues). diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index 528841d..880499d 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -365,7 +365,7 @@ AC_DEFUN([AX_USE_CXX], [ CXXFLAGS="${CXXFLAGS//-g -O2/}" CFLAGS="${CFLAGS//-g -O2/}" -# pass compile flags to make distcheck + # pass compile flags to make distcheck AM_DISTCHECK_CONFIGURE_FLAGS="CXXFLAGS='${CXXFLAGS}' CPPFLAGS='${CPPFLAGS}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" AC_SUBST(AM_DISTCHECK_CONFIGURE_FLAGS) @@ -391,6 +391,20 @@ maintainer-clean-cxx-targets: EOF ]) +# require specific C++ version +AC_DEFUN([AX_USE_CXX_11], [ + AX_USE_CXX + AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory]) +]) +AC_DEFUN([AX_USE_CXX_14], [ + AX_USE_CXX + AX_CXX_COMPILE_STDCXX([14], [noext], [mandatory]) +]) +AC_DEFUN([AX_USE_CXX_17], [ + AX_USE_CXX + AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory]) +]) + # use this in configure.ac to support old school C AC_DEFUN([AX_USE_C], [ AC_LANG(C) @@ -637,7 +651,6 @@ AC_DEFUN([AX_USE_DOXYGEN], [ AC_CHECK_PROG(have_doxygen, doxygen, yes, no) AC_CHECK_PROG(have_dot, dot, yes, no) AC_CHECK_PROG(have_mscgen, mscgen, yes, no) - AM_CONDITIONAL(NEED_PLANTUML, test "$have_doxygen" = "yes" -a "1.8.11" != $((echo "1.8.11"; doxygen -v 2>/dev/null) | sort -V | head -1)) PDF_DOC=${PACKAGE_NAME}-${PACKAGE_VERSION}.pdf AC_SUBST(PDF_DOC) if test "$have_doxygen" = "no"; then @@ -662,28 +675,12 @@ AC_DEFUN([AX_USE_DOXYGEN], [ AX_ADD_MAKEFILE_TARGET_DEP([.PHONY], [pdf gen-uml-images], [doc/makefile.in]) test -f doc/makefile.in && cat >> doc/makefile.in <&2 - exit 1 - ;; - esac + if test -z "$img"; then + case "$mode" in + (deb|apt) img="mwaeckerlin/debbuildenv";; + (rpm|zypper) img="opensuse:latest";; + (yum) img="centos:latest";; + (dnf) img="fedora:latest";; + (win) + img="mwaeckerlin/debbuildenv"; host="${host:---host=i686-w64-mingw32}" + targets="all install" + flags+=("--prefix=/workdir/usr") + packages+=("mingw-w64") + ;; + (*) + echo "**** ERROR: unknown mode '$1', try --help" 1>&2 + exit 1 + ;; + esac + fi ;; (-i|--image) shift; img="$1" @@ -243,6 +246,9 @@ function ifthenelse() { set -x +if test -z "$img"; then + img="mwaeckerlin/debbuildenv" +fi docker pull $img DOCKER_ID=$(docker create ${dns[@]} ${dirs[@]} ${envs[@]} -w /workdir $img sleep infinity) trap 'traperror '"${DOCKER_ID}"' "$? ${PIPESTATUS[@]}" $LINENO $BASH_LINENO "$BASH_COMMAND" "${FUNCNAME[@]}" "${FUNCTION}"' SIGINT INT TERM EXIT @@ -262,8 +268,8 @@ if test -z "$mode"; then (*deb*) mode=deb;; (*rpm*) mode=rpm;; (*) case "$img" in - (*ubuntu*|*debian*|*mint*) mode=deb;; - (*fedora*|*centos*|*mageia*) mode=rpm;; + (*deb*|*ubuntu*|*debian*|*mint*) mode=deb;; + (*rpm*|*fedora*|*centos*|*mageia*) mode=rpm;; (*mingw*|*win*) mode=win;; (*) mode=deb;; esac;; diff --git a/configure.ac b/configure.ac index c6c31b2..e282b92 100644 --- a/configure.ac +++ b/configure.ac @@ -16,7 +16,7 @@ AM_INIT_AUTOMAKE([1.9 tar-pax]) AX_INIT_STANDARD_PROJECT # requirements, uncomment, what you need: -AX_USE_CXX +AX_USE_CXX_11 AX_USE_LIBTOOL #AX_USE_SCRIPTS AX_USE_DOXYGEN diff --git a/doc/plantuml.jar b/doc/plantuml.jar index 9502c23..2fcafa0 100644 Binary files a/doc/plantuml.jar and b/doc/plantuml.jar differ