Skip to content

Commit

Permalink
Merge pull request #96 from burghardt/poco_unbundled_check
Browse files Browse the repository at this point in the history
If Poco/XML/expat.h unavailable set POCO_UNBUNDLED to 1.
  • Loading branch information
burghardt authored Jul 3, 2024
2 parents 1c8d4c6 + 8583e1b commit cc61127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ jobs:
uses: ./.github/actions/build-ubuntu-rolling
- name: debian-unstable
uses: ./.github/actions/build-debian-unstable
# E: Unable to locate package libpoco-dev
#- name: debian-testing
# uses: ./.github/actions/build-debian-testing
- name: debian-testing
uses: ./.github/actions/build-debian-testing
- name: debian-stable
uses: ./.github/actions/build-debian-stable
- name: debian-oldstable
uses: ./.github/actions/build-debian-oldstable
# fatal error: Poco/XML/expat.h: No such file or directory
# rawhide is disabled because it cannot install dependencies
#- name: fedora-rawhide
# uses: ./.github/actions/build-fedora-rawhide
- name: fedora-latest
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ AC_CHECK_HEADER(Poco/ExpireLRUCache.h,,AC_MSG_ERROR([Poco/ExpireLRUCache.h not f
AC_CHECK_HEADER(Poco/Net/MailMessage.h,,AC_MSG_ERROR([Poco/Net/MailMessage.h]))
AC_CHECK_HEADER(Poco/Net/MailRecipient.h,,AC_MSG_ERROR([Poco/Net/MailRecipient.h]))
AC_CHECK_HEADER(Poco/Net/SMTPClientSession.h,,AC_MSG_ERROR([Poco/Net/SMTPClientSession.h]))
AC_CHECK_HEADER(Poco/XML/expat.h,,AC_DEFINE([POCO_UNBUNDLED],[1],[Set to 1 if you prefer system dependencies instead of components bundled with the `POCO` library.]))
AC_CHECK_HEADER(Poco/SAX/SAXParser.h,,AC_MSG_ERROR([Poco/SAX/SAXParser.h]))
AC_CHECK_HEADER(Poco/SAX/ContentHandler.h,,AC_MSG_ERROR([Poco/SAX/ContentHandler.h]))
AC_CHECK_HEADER(Poco/SAX/LexicalHandler.h,,AC_MSG_ERROR([Poco/SAX/LexicalHandler.h]))
Expand Down

0 comments on commit cc61127

Please sign in to comment.