Skip to content

Fix build on FreeBSD

Adriaan de Groot requested to merge build-improvements into master

Shell Scripts

Unless a shell script is really bash-dependent, its shebang can be /bin/sh. Any POSIXly system should have that (even if it is a link to bash). Fix the shebang in the test-script, so that key-generation succeeds during the build.

CMake Modules

  • Reduce duplication with ARPA2CM
  • Improve the macro used for building Apache modules:
    • Add support for just naming imported targets, which saves us from the kind of acrobatics demonstrated in caa2154a
    • Add support for -I flags (for apxs) from imported targets. This is important when the headers live somewhere unusual and search paths for those headers need to be added to the build.

Merge request reports