bubblewrap
bubblewrap copied to clipboard
make configure.ac more m4'onic
M4sh differs from the standard sh syntax by using AS_IF and AS_CASE, it is used to know when to initialize pkg-config for example. Here, some code are using the classic sh syntax, thus, autoconf is unable to know that it is a conditional and fail to generate correctly. This PR fixes that by using the correct macros and allow --with-bash-completion-dir=... --enable-selinux to work. It also simplified some branching.
Can one of the admins verify this patch? I understand the following commands:
bot, add author to whitelistbot, test pull requestbot, test pull request once
I've merged #441 which basically did the same thing as the non-behaviour-changing parts of this.
(Also, consider using the new Meson build system, available since 0.6.0, which avoids Autotools quirks by not being Autotools; the Autotools build system will probably be removed at some point.)