configure fails when using --with-ipfw-rules-range option

Issue #9 resolved
njogun created an issue

Commit a856007 ("Move option checking macros to the top") messed up configure.ac causing it to fail with:

configure: error: Can not define define ipfw path in this context, where ipfw has not been chosen as firewall backend

The reason is that the mentioned commit moved the option AC_ARG_WITH([firewall], [AS_HELP_STRING([--with-firewall=fw] below the option AC_ARG_WITH([ipfw-rules-range], [AS_HELP_STRING([--with-ipfw-rules-range=MIN-MAX]. This poses a problem since the latter option (lines 67-82) uses a variable ($useipfw) which is defined in the block that now comes later in the code (lines 111-199).

Please fix this by moving the option after $useipfw is defined. If necessary, I can provide a diff/patch.

Comments (2)

  1. Log in to comment